joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x478c18
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x498550]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498550]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
test byte [0x4a6d10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
jne 0x41d19c
call fcn.0043eff0
mov esi, eax
jmp 0x41d1a1
mov esi, 0x4a6af8
mov cl, byte [esp + 0x78]
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x1c]
mov byte [esp + 0x1c], cl
call fcn.00426570
mov ebp, dword [esp + 0x24]
cmp esi, ebp
mov edi, dword [esi + 4]
je 0x41d1c7
call fcn.0045d601
mov ebx, dword [esp + 0x28]
cmp edi, ebx
je 0x41d336
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
and ecx, 1
cmp cl, 1
sete byte [esp + 0x18]
test ebp, ebp
jne 0x41d1ed
call fcn.0045d601
cmp ebx, dword [ebp + 4]
jne 0x41d1f7
call fcn.0045d601
movzx eax, byte [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + eax*4 + 0x2c]
test eax, eax
jne 0x41d338
cmp ebx, dword [ebp + 4]
jne 0x41d216
call fcn.0045d601
lea edx, [esp + 0x40]
lea edi, [ebx + 0x10]
push edx
call fcn.00422660
push ebx
push ebp
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x80], 0
call fcn.0043f430
lea ebx, [esp + 0x30]
lea edi, [esp + 0x40]
call fcn.00417fa0
push 0x44
call fcn.0043f81a
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x41d28b
mov byte [eax + 4], cl
mov byte [eax + 5], cl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov word [eax + 0x28], cx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x40], ecx
mov dword [eax], vtable.regex::detail::charset.0
jmp 0x41d28d
xor eax, eax
mov dword [esp + 0x1c], eax
xor edx, edx
cmp byte [esp + 0x18], cl
sete dl
mov eax, dword [esp + edx*4 + 0x5c]
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x38]
lea edi, [esp + 0x40]
mov byte [esp + 0x70], 2
call fcn.00417ff0
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042f760
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov dl, byte [esp + 0x8c]
mov dword [esp + ecx*4 + 0x70], eax
mov byte [esp + 0x2c], dl
add esp, 0x14
lea ecx, [esp + 0x18]
mov edx, esi
mov edi, eax
call fcn.00426440
push 0xffffffffffffffff
mov esi, eax
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00403090
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x20], edx
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x1c], 0
jb 0x41d332
mov eax, dword [esp + 0x44]
push eax
call fcn.0043f84a
add esp, 4
mov eax, edi
jmp 0x41d338
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045c2d7
add esp, 0x60
ret
Function at 0x41d600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4786d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498550]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, dword [ebp + 0x30]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ebp
mov ecx, edi
call edx
test al, al
je 0x41d6f1
cmp dword [ebp + 0x18], 0
je 0x41d6ca
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 8]
cmp dword [esi + 0x20], ecx
mov dword [esi + 0x1c], ecx
jae 0x41d685
push 8
mov dword [esi + 0x1c], eax
call fcn.00426740
test eax, eax
je 0x41d68b
mov dword [eax], edi
mov dword [eax + 4], 0x4a3f8c
mov edi, dword [ebp + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ebp
mov ecx, edi
mov dword [esp + 0x30], edi
call edx
test al, al
jne 0x41d667
cmp ebx, dword [esi + 0x1c]
je 0x41d6f1
lea eax, [esp + 0x2c]
push eax
call fcn.00430080
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push ebp
mov ecx, edi
call eax
test al, al
je 0x41d6a7
jmp 0x41d667
mov dword [esp + 0x24], 0xffffffff
mov ebx, dword [esp + 0x18]
call fcn.0041b7e0
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x24], 0xffffffff
mov ebx, dword [esp + 0x18]
call fcn.0041b7e0
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x425120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477d08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498550]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
cmp eax, 0xfffffffe
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esi + 4], 0
mov dword [esi], vtable.regex::detail::match_literal_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
je 0x425186
test eax, eax
je 0x425181
cmp eax, ecx
je 0x425186
call fcn.0045d601
mov eax, dword [esp + 0x44]
sub eax, ebp
mov dword [esi + 0x18], eax
mov dword [esp + 0x28], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esi], vtable.regex::detail::match_literal_nocase_t_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov edi, dword [eax]
jne 0x4251ac
mov ebx, 1
mov eax, dword [edi]
test eax, eax
je 0x4251bb
mov ecx, dword [eax]
add ecx, ebx
cmp ecx, dword [edi + 4]
jbe 0x4251c1
push ebx
call fcn.00414bf0
mov eax, dword [edi]
mov edx, dword [eax]
add ebx, 3
lea edx, [edx + eax + 0xc]
and ebx, 0xfffffffc
add dword [eax], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 0x1c], edx
je 0x4251fc
mov edi, edx
sub edi, eax
mov dl, byte [eax]
mov byte [edi + eax], dl
add eax, 1
cmp eax, ecx
jne 0x4251f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push eax
push ecx
push ebp
push edx
call fcn.004334f0
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
add ebx, edi
add esp, 0x10
cmp ebx, edi
je 0x425235
movsx eax, byte [edi]
push eax
call fcn.0045f377
mov byte [edi], al
add edi, 1
add esp, 4
cmp edi, ebx
jne 0x425220
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
Function at 0x425990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477a43
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x498550]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], vtable.regex::detail::independent_group_char_const__.0
mov dword [esp + 0x14], 1
call fcn.00426c70
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 0
mov dword [ecx], vtable.regex::detail::indestructable_sub_expr_char_const___class_regex::detail::independent_group_char_const__::end_group_.0
call fcn.00425570
mov dword [esp + 0x14], 0xffffffff
mov dword [edi], vtable.regex::detail::match_group_base_char_const__.0
cmp dword [edi + 0xc], 0
je 0x4259ff
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [edi + 0xc], ecx
jne 0x4259f2
mov ecx, edi
call fcn.00425570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret

Function at 0x425cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477a13
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x498550]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], vtable.regex::detail::lookbehind_assertion_char_const__.0
mov dword [esp + 0x14], 1
call fcn.00426c70
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 0
mov dword [ecx], vtable.regex::detail::indestructable_sub_expr_char_const___struct_regex::detail::lookbehind_assertion_char_const__::end_group_.0
call fcn.00425570
mov dword [esp + 0x14], 0xffffffff
mov dword [edi], vtable.regex::detail::match_group_base_char_const__.0
cmp dword [edi + 0xc], 0
je 0x425d2f
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [edi + 0xc], ecx
jne 0x425d22
mov ecx, edi
call fcn.00425570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
Function at 0x437c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477fb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498550]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
cmp eax, 0xfffffffe
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esi + 4], 0
mov dword [esi], vtable.regex::detail::match_literal_char_const__.0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
je 0x437c86
test eax, eax
je 0x437c81
cmp eax, ecx
je 0x437c86
call fcn.0045d601
mov eax, dword [esp + 0x44]
sub eax, ebp
mov dword [esi + 0x18], eax
mov dword [esp + 0x28], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esi], vtable.regex::detail::match_literal_nocase_t_char_const__.0
mov edi, dword [eax]
jne 0x437cac
mov ebx, 1
mov eax, dword [edi]
test eax, eax
je 0x437cbb
mov ecx, dword [eax]
add ecx, ebx
cmp ecx, dword [edi + 4]
jbe 0x437cc1
push ebx
call fcn.00414bf0
mov eax, dword [edi]
mov edx, dword [eax]
add ebx, 3
lea edx, [edx + eax + 0xc]
and ebx, 0xfffffffc
add dword [eax], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 0x1c], edx
je 0x437cfc
mov edi, edx
sub edi, eax
mov dl, byte [eax]
mov byte [edi + eax], dl
add eax, 1
cmp eax, ecx
jne 0x437cf0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push eax
push ecx
push ebp
push edx
call fcn.004334f0
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
add ebx, edi
add esp, 0x10
cmp ebx, edi
je 0x437d35
movsx eax, byte [edi]
push eax
call fcn.0045f377
mov byte [edi], al
add edi, 1
add esp, 4
cmp edi, ebx
jne 0x437d20
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18

Function at 0x443c60
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x443c99
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00443bfb
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004035f0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x4452ca
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4811db
mov ecx, edi
call fcn.00402730
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x44531d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x445330
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00443bfb
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004035f0
jmp 0x445330
mov ecx, esi
call fcn.0044636a
test eax, eax
je 0x445330
push edi
mov ecx, eax
call fcn.00443c60
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x445817
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x44585a
call fcn.0044b9e1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44585a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x445875
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004453ce
test ebx, ebx
mov esi, eax
je 0x445873
test edi, edi
je 0x445873
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44963d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x449683
call fcn.0044b9e1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x449683
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4496c6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4496af
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4496af
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4496c3
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44d0cb
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x44d0d4
xor eax, eax
jmp 0x44d13d
cmp dword [esp + 8], 0
jne 0x44d0e0
call fcn.00445c2a
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0045e6fd
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44d11b
push dword [esi + 0x10]
call fcn.00460eaa
test eax, eax
pop ecx
jne 0x44d11b
mov esi, dword [esi + 0xc]
call fcn.0045ff43
push esi
push dword [eax]
push 1
call fcn.00459f98
push dword [esi + 0x10]
call fcn.00460ed9
test eax, eax
pop ecx
je 0x44d13a
push dword [esi + 0x10]
call fcn.00460dfe
push eax
call fcn.00401e90
pop ecx
pop ecx
jmp 0x44d109
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x44d146
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x44d150
call fcn.00445c2a
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0045e832
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x44d17d
mov esi, dword [esi + 0xc]
call fcn.0045ff43
push esi
push dword [eax]
push 1
call fcn.00459f98
pop esi
ret 8

Function at 0x44df1c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x44df45
call fcn.0044b9e1
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x44df68
push eax
push dword [esi + 4]
call fcn.0044dea7
push esi
push eax
mov ecx, 0x4a5b70
call fcn.0044db47
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x44e803
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x476c5e
call fcn.0045fa61
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0044e7c5
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401320
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x44e869
push eax
push dword [esi + 8]
call fcn.0044dea7
push dword [esi + 0xc]
mov ecx, 0x4a5b70
push eax
call fcn.0044db47
mov eax, esi
call fcn.0045fb39
ret 0x18
Function at 0x4504e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45050e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45052c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045044a
jmp 0x45052c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45052c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0045044a
test edi, edi
mov eax, edi
jne 0x450516
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4a5c08]
test ecx, ecx
je 0x4505ef
jmp 0x4504df
ret 8

Function at 0x45c2d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498550]
jne 0x45c2e1
repz ret
jmp fcn.00461efd
Function at 0x4711fe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00462bf0
xor ebx, ebx
cmp dword [0x4a6964], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4712d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x47123e
xor eax, eax
jmp 0x471397
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x480474
push edi
call esi
cmp eax, ebx
je 0x471237
push eax
call fcn.00462b8d
mov dword [esp], 0x480464
push edi
mov dword [0x4a6964], eax
call esi
push eax
call fcn.00462b8d
mov dword [esp], 0x480450
push edi
mov dword [0x4a6968], eax
call esi
push eax
call fcn.00462b8d
mov dword [0x4a696c], eax
lea eax, [ebp - 8]
push eax
call fcn.00460390
test eax, eax
pop ecx
pop ecx
je 0x4712a1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045d4e1
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4712d3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00462b8d
cmp eax, ebx
pop ecx
mov dword [0x4a6974], eax
je 0x4712d3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00462b8d
pop ecx
mov dword [0x4a6970], eax
mov eax, dword [0x4a6970]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x47134c
cmp dword [0x4a6974], esi
je 0x47134c
push eax
call fcn.00462bf9
pop ecx
call eax
cmp eax, ebx
je 0x471319
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4a6974]
call fcn.00462bf9
pop ecx
call eax
test eax, eax
je 0x471319
test byte [ebp - 0x18], 1
jne 0x47134c
lea eax, [ebp - 0xc]
push eax
call fcn.004603c7
test eax, eax
pop ecx
je 0x471334
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045d4e1
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x471343
or dword [ebp + 0x10], 0x200000
jmp 0x47137d
or dword [ebp + 0x10], 0x40000
jmp 0x47137d
mov eax, dword [0x4a6968]
cmp eax, esi
je 0x47137d
push eax
call fcn.00462bf9
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47137d
mov eax, dword [0x4a696c]
cmp eax, esi
je 0x47137d
push dword [ebp - 4]
push eax
call fcn.00462bf9
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4a6964]
call fcn.00462bf9
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x476063
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x498550]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00475ff8
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0045f620
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4760b2
cmp dword [ebp - 0x1c], 5
jb 0x4760ca
jmp 0x4760c6
cmp dword [ebp - 0x10], 1
jne 0x4760ca
cmp dword [ebp - 0x1c], 4
ja 0x4760c6
jne 0x4760ca
cmp dword [ebp - 0x18], 0
jbe 0x4760ca
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x480e00
call fcn.00475ee9
test eax, eax
jge 0x4760eb
mov byte [0x4a6af0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045c2d7
add ebp, 0x78
leave
ret

Function at 0x412390
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x415ad0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x602364]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, 1
jne 0x415bae
mov ebp, dword [0x602370]
push 0x28
call fcn.0053c3bb
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x415b1c
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x5ec77c
push 0x5fef80
call fcn.0053cf6b
add esp, 0xc
push 2
call fcn.0053ce78
push 0x4002
mov dword [esi + 0xc], 0x4000
call fcn.0053c3bb
add esp, 4
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x415b55
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x5ec77c
push 0x5fef80
call fcn.0053cf6b
add esp, 0xc
push 2
call fcn.0053ce78
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [eax], bl
mov eax, dword [esi + 4]
mov byte [eax + 1], bl
mov ecx, dword [esi + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], ebx
mov eax, dword [0x602364]
cmp esi, eax
jne 0x415b9f
mov edx, dword [eax + 0x10]
mov dword [0x602354], edx
mov ecx, dword [eax + 8]
mov dword [0x602368], ecx
mov dword [0x60234c], ecx
mov eax, dword [eax]
mov dword [0x602370], eax
mov cl, byte [ecx]
mov byte [0x602350], cl
mov eax, esi
mov dword [esi], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [0x602364], eax
mov edx, dword [eax + 4]
mov dword [eax + 0x10], ebx
mov byte [edx], bl
mov ecx, dword [eax + 4]
mov byte [ecx + 1], bl
mov edx, dword [eax + 4]
mov dword [eax + 8], edx
mov dword [eax + 0x1c], edi
mov dword [eax + 0x24], ebx
mov ecx, dword [0x602364]
cmp eax, ecx
jne 0x415bfa
mov edx, dword [ecx + 0x10]
mov dword [0x602354], edx
mov edx, dword [ecx + 8]
mov dword [0x602368], edx
mov dword [0x60234c], edx
mov ecx, dword [ecx]
mov dword [0x602370], ecx
mov dl, byte [edx]
mov byte [0x602350], dl
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], edi
mov dword [eax], ecx
mov dword [eax + 0x18], edi
mov eax, dword [0x602364]
pop edi
pop esi
pop ebp
mov edx, dword [eax + 0x10]
pop ebx
mov dword [0x602354], edx
mov ecx, dword [eax + 8]
mov dword [0x602368], ecx
mov dword [0x60234c], ecx
mov eax, dword [eax]
mov dword [0x602370], eax
mov cl, byte [ecx]
mov byte [0x602350], cl
ret