joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c35b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x46c394
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.004681ba
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403370
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x46debb
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 0x46defe
call fcn.00471d19
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x46defe
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x46df19
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0046da72
test ebx, ebx
mov esi, eax
je 0x46df17
test edi, edi
je 0x46df17
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x46f5a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x46f5b8
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x46f65d
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x46f99f
Capabilities:
Resolve dns

Disassembly:
push 0x18
mov eax, 0x49dbe5
call fcn.0048d91b
mov esi, dword [ebp + 8]
mov ebx, ecx
call dword [0x4d799c]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x46f9df
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.00404159
xor eax, eax
call fcn.0048d99e
ret 8
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004887d0
add esp, 0xc
push esi
mov word [ebp - 0x20], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x46fa18
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x46fa36
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea ecx, [ebp - 0x20]
mov word [ebp - 0x1e], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edi, eax
jmp 0x46fa41
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.00404159
mov eax, edi
jmp 0x46f9d7
Function at 0x47c141
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 0x47c187
call fcn.00471d19
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x47c187
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x47c1ca
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 0x47c1b3
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 0x47c1b3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x47c1c7
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 0x47d029
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d6674]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x47d069
push 0x4b1640
push 4
push eax
call fcn.0048e14c
push eax
call fcn.00403312
add esp, 0x10
jmp 0x47d07b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x47d0e9
push edi
call fcn.0048d4a7
mov edi, dword [eax]
call fcn.0048d4a7
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0048c811
add esp, 0x18
mov ebx, eax
call fcn.0048d4a7
cmp dword [eax], 0
je 0x47d0c9
call fcn.0048d4a7
push dword [eax]
call fcn.00467ee9
pop ecx
jmp 0x47d0d0
call fcn.0048d4a7
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x47d0e9
cmp ebx, esi
jae 0x47d0e9
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x47d0eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004882f3
leave
ret
Function at 0x4882f3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d6674]
jne 0x4882fd
repz ret
jmp fcn.00490477

Function at 0x4938a6
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4d7030]
je 0x4938c1
inc edi
cmp edi, 0x17
jb 0x4938b2
cmp edi, 0x17
jae 0x493a41
push ebp
push 3
call fcn.004992d9
cmp eax, 1
pop ecx
je 0x493a0d
push 3
call fcn.004992d9
test eax, eax
pop ecx
jne 0x4938f5
cmp dword [0x4d6670], 1
je 0x493a0d
cmp ebx, 0xfc
je 0x493a40
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4da810
push ebp
call fcn.0048e14c
add esp, 0xc
test eax, eax
je 0x49392b
push esi
push esi
push esi
push esi
push esi
call fcn.0048ee12
add esp, 0x14
push 0x104
mov esi, 0x4da829
push esi
push 0
mov byte [0x4da92d], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x49396f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0048e14c
add esp, 0xc
test eax, eax
je 0x49396f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0048ee12
add esp, 0x14
push esi
call fcn.00487e70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4939b4
push esi
call fcn.00487e70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4dab24
push 0x4b7364
sub ecx, eax
push ecx
push eax
call fcn.0048d9bc
add esp, 0x14
test eax, eax
je 0x4939b4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0048ee12
add esp, 0x14
jmp 0x4939b6
xor esi, esi
push 0x4b33e8
push ebx
push ebp
call fcn.0048e554
add esp, 0xc
test eax, eax
je 0x4939d6
push esi
push esi
push esi
push esi
push esi
call fcn.0048ee12
add esp, 0x14
push dword [edi*8 + 0x4d7034]
push ebx
push ebp
call fcn.0048e554
add esp, 0xc
test eax, eax
je 0x4939f8
push esi
push esi
push esi
push esi
push esi
call fcn.0048ee12
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0049911c
add esp, 0xc
jmp 0x493a40
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x493a40
cmp ebp, 0xffffffff
je 0x493a40
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4d7034]
push dword [esi]
call fcn.00487e70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x49911c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00491018
xor ebx, ebx
cmp dword [0x4dacac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4991f2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4992d2
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x4b43d8
push edi
call esi
cmp eax, ebx
je 0x4992d2
push eax
call fcn.00490faa
mov dword [esp], 0x4b43c8
push edi
mov dword [0x4dacac], eax
call esi
push eax
call fcn.00490faa
mov dword [esp], 0x4b43b4
push edi
mov dword [0x4dacb0], eax
call esi
push eax
call fcn.00490faa
mov dword [0x4dacb4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0048e25a
test eax, eax
pop ecx
pop ecx
je 0x4991c0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048ee12
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4991f2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00490faa
cmp eax, ebx
pop ecx
mov dword [0x4dacbc], eax
je 0x4991f2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00490faa
pop ecx
mov dword [0x4dacb8], eax
mov eax, dword [0x4dacb8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x499277
cmp dword [0x4dacbc], ecx
je 0x499277
push eax
call fcn.00491021
push dword [0x4dacbc]
mov esi, eax
call fcn.00491021
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x499277
cmp edi, ebx
je 0x499277
call esi
cmp eax, ebx
je 0x499244
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x499244
test byte [ebp - 0x18], 1
jne 0x499277
lea eax, [ebp - 0x10]
push eax
call fcn.0048e291
test eax, eax
pop ecx
je 0x49925f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048ee12
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x49926e
or dword [ebp + 0x10], 0x200000
jmp 0x4992b2
or dword [ebp + 0x10], 0x40000
jmp 0x4992b2
mov eax, dword [0x4dacb0]
cmp eax, dword [ebp - 8]
je 0x4992b2
push eax
call fcn.00491021
cmp eax, ebx
pop ecx
je 0x4992b2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4992b2
mov eax, dword [0x4dacb4]
cmp eax, dword [ebp - 8]
je 0x4992b2
push eax
call fcn.00491021
cmp eax, ebx
pop ecx
je 0x4992b2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4dacac]
call fcn.00491021
cmp eax, ebx
pop ecx
je 0x4992d2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4992d4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49d4f0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d6674]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0049d485
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.004887d0
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 0x49d53f
cmp dword [ebp - 0x1c], 5
jb 0x49d557
jmp 0x49d553
cmp dword [ebp - 0x10], 1
jne 0x49d557
cmp dword [ebp - 0x1c], 4
ja 0x49d553
jne 0x49d557
cmp dword [ebp - 0x18], 0
jbe 0x49d557
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4b4cc0
call fcn.0049d359
test eax, eax
jge 0x49d578
mov byte [0x4dad49], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004882f3
add ebp, 0x78
leave
ret
Function at 0x405400
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, 0x4000000
je 0x405413
mov eax, 0x200
push esi
mov esi, ecx
and esi, 0x20000000
push edi
mov edx, 0x40000000
mov edi, 0x80000000
je 0x405431
test edx, ecx
je 0x405431
test edi, ecx
jne 0x40545f
test esi, esi
je 0x40543e
test edx, ecx
je 0x40543e
or eax, 0x20
jmp 0x405462
mov esi, ecx
and esi, edx
je 0x40544d
test edi, ecx
je 0x405456
or eax, 4
jmp 0x405462
test edi, ecx
je 0x405456
or eax, 8
jmp 0x405462
test esi, esi
je 0x40545f
or eax, 2
jmp 0x405462
or eax, 0x40
pop edi
pop esi
ret

Function at 0x438c8b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
sub esi, eax
and esi, eax
dec esi
call fcn.00438cbd
add esi, 0xc1f2d0b4
xor dword [edi], ecx
dec esi
add edi, 1
and esi, eax
or eax, esi
cmp edi, ebx
jne fcn.00438c8b
dec eax
ret
Function at 0x40128c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, 0x40d438
cmp dword [esi], 0
jne 0x4012d2
push 0x644
push 0
call sub.kernel32.dll_LocalAlloc
mov ecx, eax
test ecx, ecx
jne 0x4012af
xor eax, eax
pop esi
pop ebx
ret
mov eax, dword [0x40d434]
mov dword [ecx], eax
jmp loc.00417477
mov eax, dword [esi]
mov edx, dword [eax]
mov dword [esi], edx
pop esi
pop ebx
ret

Function at 0x40132c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov dword [esp], edx
mov ebp, eax
mov ebx, dword [ebp]
mov eax, dword [esp]
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov edi, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, eax
add edx, dword [ebx + 0xc]
cmp edx, dword [esi]
jne 0x40136a
mov eax, ebx
call fcn.00401314
mov eax, dword [ebx + 8]
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
add dword [esi + 4], eax
jmp 0x401380
mov edx, dword [esi]
add edx, dword [esi + 4]
cmp eax, edx
jne 0x401380
mov eax, ebx
call fcn.00401314
jmp 0x418b3d
mov ebx, edi
cmp ebp, ebx
jne 0x401348
mov edx, esi
mov eax, ebp
call fcn.004012e4
test al, al
jne 0x401397
xor eax, eax
mov dword [esi], eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4015c4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edx, eax
mov ebp, edx
and ebp, 0xfffff000
add edx, dword [esp]
add edx, 0xfff
and edx, 0xfffff000
mov dword [esp + 8], edx
mov eax, dword [esp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 8]
sub eax, ebp
mov edx, dword [esp + 4]
mov dword [edx + 4], eax
jmp loc.00415413

Function at 0x4016d8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov edi, eax
mov ebp, 0x40d44c
add edi, 0x3fff
and edi, 0xffffc000
mov ebx, dword [ebp]
jmp 0x40172c
cmp edi, dword [ebx + 0xc]
jg 0x40172a
mov ecx, esi
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.004015c4
cmp dword [esi], 0
je 0x40175f
mov eax, dword [esi + 4]
add dword [ebx + 8], eax
mov eax, dword [esi + 4]
sub dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
jne 0x40175f
mov eax, ebx
jmp 0x4155b1
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x4016f9
mov edx, esi
mov eax, edi
call fcn.00401430
cmp dword [esi], 0
je 0x40175f
mov ecx, esp
mov edx, esi
mov eax, ebp
call fcn.0040132c
cmp dword [esp], 0
jne 0x4016f4
mov ecx, esp
mov edx, dword [esi + 4]
mov eax, dword [esi]
call fcn.0040150c
xor eax, eax
mov dword [esi], eax
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40188c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov edi, ecx
mov dword [esp], edx
lea ebx, [eax + 0x3fff]
and ebx, 0xffffc000
jmp loc.00417f98
Function at 0x401ac0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
cmp eax, dword [0x40d468]
jne 0x401ad2
mov edx, dword [eax + 4]
mov dword [0x40d468], edx
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp ecx, 0x1000
jg 0x401b0a
cmp eax, edx
jne 0x401af4
shr ecx, 2
mov eax, dword [0x40d474]
xor edx, edx
mov dword [eax + ecx*4 - 0xc], edx
jmp 0x401b11
shr ecx, 2
mov ebx, dword [0x40d474]
mov dword [ebx + ecx*4 - 0xc], edx
mov eax, dword [eax]
mov dword [edx], eax
mov dword [eax + 4], edx
pop ebx
ret
mov eax, dword [eax]
jmp 0x417db5
pop ebx
ret

Function at 0x401e84
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
mov ecx, esp
lea edx, [esi + 4]
mov eax, ebx
call fcn.00401768
cmp dword [esp], 0
je 0x401eaa
mov eax, esp
jmp loc.004185f6
xor eax, eax
jmp 0x401eb0
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x40270c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
shr esi, 2
je 0x40273c
mov ecx, dword [eax]
mov ebx, dword [edx]
cmp ecx, ebx
jne 0x402763
dec esi
je 0x402736
mov ecx, dword [eax + 4]
mov ebx, dword [edx + 4]
cmp ecx, ebx
jne 0x402763
add eax, 8
add edx, 8
dec esi
jne 0x402716
jmp 0x40273c
jmp 0x418b0c
pop esi
and esi, 3
je 0x402778
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x402778
dec esi
je 0x40275e
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x402778
dec esi
je 0x40275e
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x402778
xor eax, eax
pop esi
pop ebx
ret
pop esi
cmp cl, bl
jne 0x402778
cmp ch, bh
jne 0x402778
shr ecx, 0x10
shr ebx, 0x10
cmp cl, bl
jne 0x402778
cmp ch, bh
pop esi
pop ebx
ret

Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40d02c], 0x8088405
inc edx
mov dword [0x40d02c], edx
mul edx
mov eax, edx
ret

Function at 0x402b28
Capabilities:
Allocate thread local storage

Disassembly:
cmp byte [section.DATA], 0
je 0x402b47
push eax
push eax
push edx
push esp
push 2
push 0
push 0xeedfad4
call sub.kernel32.dll_TlsAlloc
add esp, 8
pop eax
ret

Function at 0x402b5c
Capabilities:
Allocate thread local storage

Disassembly:
cmp byte [section.DATA], 1
jbe 0x402b6e
push eax
push dword [ebx + 4]
jmp 0x402b48
ret

Function at 0x402b70
Capabilities:
Allocate thread local storage

Disassembly:
push esp
push 1
push 0
push 0xeedfad0
call sub.kernel32.dll_TlsAlloc
add esp, 4
pop eax
ret
cmp byte [section.DATA], 1
jbe 0x402b80
push eax
push ebx
jmp 0x402b48
ret

Function at 0x402be8
Capabilities:
Allocate thread local storage

Disassembly:
cmp byte [section.DATA], 1
jbe 0x402c04
push eax
push edx
push esp
push 2
push 0
push 0xeedfad3
call sub.kernel32.dll_TlsAlloc
pop edx
pop eax
ret

Function at 0x40310c
Capabilities:
Packed with generic packer
Set thread local storage value

Disassembly:
push ebx
cmp dword [0x40d3d0], 0
jge fcn.00403120
mov eax, 0xe2
jmp loc.00415872
Function at 0x403154
Capabilities:
Get thread local storage value

Disassembly:
mov cl, byte [0x40d030]
mov eax, dword [0x40d3d0]
test cl, cl
jne 0x40318c
jmp loc.004173c9
jmp loc.00415a31
push eax
call sub.kernel32.dll_TlsGetValue
test eax, eax
je 0x40316f
ret

Function at 0x4031b8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx]
test edx, edx
je 0x4031dd
jmp loc.00417e80
add ebx, 4
dec esi
jne 0x4031be
pop esi
pop ebx
ret

Function at 0x4031e8
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x40320f
mov ecx, dword [edx - 8]
inc ecx
jg 0x40320c
push eax
push edx
mov eax, dword [edx - 4]
call fcn.00403254
mov edx, eax
pop eax
push edx
mov ecx, dword [eax - 4]
call fcn.00402684
pop edx
pop eax
jmp 0x40320f
mov dword [edx - 8], ecx
xchg dword [eax], edx
test edx, edx
je 0x403228
mov ecx, dword [edx - 8]
dec ecx
jl 0x403228
mov dword [edx - 8], ecx
jne 0x403228
lea eax, [edx - 8]
jmp 0x418896
ret

Function at 0x40322c
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x403239
mov ecx, dword [edx - 8]
inc ecx
jle 0x403239
mov dword [edx - 8], ecx
xchg dword [eax], edx
test edx, edx
je 0x403252
mov ecx, dword [edx - 8]
dec ecx
jl 0x403252
mov dword [edx - 8], ecx
jne 0x403252
lea eax, [edx - 8]
jmp 0x416f80
ret

Function at 0x403254
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
jle 0x403274
push eax
add eax, 9
call fcn.00402594
add eax, 8
pop edx
mov dword [eax - 4], edx
jmp loc.00418a39
xor eax, eax
ret

Function at 0x403278
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
mov eax, edi
call fcn.00403254
mov ecx, edi
mov edi, eax
test esi, esi
je fcn.00403299
mov edx, eax
mov eax, esi
jmp loc.00417c89

Function at 0x4032a8
Capabilities:
Packed with generic packer

Disassembly:
push edx
mov edx, esp
mov ecx, 1
jmp loc.004180ce

Function at 0x403454
Capabilities:
Packed with generic packer

Disassembly:
push ebx
test eax, eax
je 0x403486
mov ebx, dword [eax - 4]
test ebx, ebx
je 0x403486
dec edx
jl 0x40347e
cmp edx, ebx
jge 0x403486
sub ebx, edx
test ecx, ecx
jl 0x403486
cmp ecx, ebx
jg 0x403482
add edx, eax
mov eax, dword [esp + 8]
call fcn.00403278
jmp 0x40348f
xor edx, edx
jmp 0x403467
mov ecx, ebx
jmp 0x403471
mov eax, dword [esp + 8]
jmp 0x4159c4
pop ebx
ret 4

Function at 0x4034f0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
xor edi, edi
test edx, edx
je 0x403545
mov eax, dword [ebx]
test eax, eax
je 0x403526
cmp dword [eax - 8], 1
jne 0x403526
sub eax, 8
add edx, 9
push eax
mov eax, esp
call fcn.004025c4
pop eax
add eax, 8
mov dword [ebx], eax
mov dword [eax - 4], esi
mov byte [eax + esi], 0
jmp 0x40354e
mov eax, edx
call fcn.00403254
mov edi, eax
mov eax, dword [ebx]
test eax, eax
je 0x403545
mov edx, edi
mov ecx, dword [eax - 4]
cmp ecx, esi
jl 0x403540
mov ecx, esi
jmp 0x4188f6
mov eax, ebx
call fcn.00403198
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x4037f4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp word [ebx], 0x100
jne 0x403845
mov word [ebp - 0x10], 0
push edi
push 0
push 0x400
push esi
lea eax, [ebp - 0x10]
push eax
call sub.oleaut32.dll_VariantChangeTypeEx
test eax, eax
je fcn.0040382b
jmp loc.00417cca
push edi
push 0
push 0x400
push esi
push ebx
call sub.oleaut32.dll_VariantChangeTypeEx
test eax, eax
je 0x40385d
call fcn.0040373c

Function at 0x403864
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [edx + 8]
lea edx, [ebp - 4]
call fcn.0040369c
mov eax, ebx
call fcn.0040374c
jmp loc.00416009

Function at 0x403c25
Capabilities:
Packed with generic packer

Disassembly:
lea ecx, [eax + 0x14c]
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], 0xd7b0
mov dword [eax + 8], 0x80
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
jmp loc.00418936

Function at 0x403e30
Capabilities:
Packed with generic packer

Disassembly:
xor edx, edx
mov dword [0x40d028], edx
jmp loc.0041530d

Function at 0x403e41
Capabilities:
Packed with generic packer

Disassembly:
pop dword [0x40d028]
jmp loc.00415262

Function at 0x403f67
Capabilities:
Packed with generic packer

Disassembly:
mov edx, 0x40c078
mov ecx, 2
call fcn.00403e9c
jmp loc.00416a34

Function at 0x404014
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
jl 0x404060
je 0x40405f
jmp loc.00416597
ret
neg eax
cmp eax, 0x1400
jge 0x4040ab
mov edx, eax
and edx, 0x1f
lea edx, [edx + edx*4]
fld xword [edx*2 + 0x4040b8]
fdivp st(1)
shr eax, 5
je 0x40405f
mov edx, eax
and edx, 0xf
je 0x404092
lea edx, [edx + edx*4]
fld xword [edx*2 + 0x4041ee]
fdivp st(1)
shr eax, 4
je 0x40405f
lea eax, [eax + eax*4]
fld xword [eax*2 + 0x404284]
fdivp st(1)
ret
fldz
ret

Function at 0x4045a0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040458c
add esp, 0x104
pop ebx
ret

Function at 0x4045cc
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x404642
push dword fs:[eax]
mov dword fs:[eax], esp
fnstcw word [ebp - 2]
xor eax, eax
push ebp
push 0x404624
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403414
push eax
jmp loc.004155d4