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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0045a63f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45a9e5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040ee42
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00409bf5
jmp 0x45a9f0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00417729
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45a9f6
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004159c6
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x45aa33
call fcn.0045a63f
mov dword [esi + 0xc], 1
jmp 0x45aa38
call fcn.0045a63f
cmp dword [esi], 0
je 0x45aa81
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x45aa59
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040ee42
jmp 0x45aa6b
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00404dff
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00409bf5
jmp 0x45aaa5
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45aaa5
push dword [esi]
push dword [ebp + 8]
call fcn.00417729
pop esi
pop ebp
ret 0xc

Function at 0x45d80c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004df9ce
call fcn.0040e639
cmp dword [eax + 0x14], 0
jne 0x45d829
mov ecx, esi
pop esi
jmp fcn.0045d311
pop esi
ret

Function at 0x460ddd
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0046d538
call fcn.0040e639
cmp dword [eax + 0x14], 0
jne 0x460dfa
mov ecx, esi
pop esi
jmp fcn.004607b0
pop esi
ret
Function at 0x470ee4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x470efe
call fcn.0040ec08
mov esi, dword [eax + 0xc]
push dword [0x57a618]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x470f1c
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x470f14
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x470f49
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x470f16
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00470e12
mov esi, eax
jmp 0x470f3b

Function at 0x4eb268
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4eb280
mov edi, dword [esi + 0xc]
jmp 0x4eb2c0
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4eb299
call fcn.0040b173
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4eb2ae
call fcn.0040b173
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4eb2c0
call fcn.0040b173
call fcn.0040ec08
cmp dword [eax + 0x3c], 0
je 0x4eb2d5
push edi
mov ecx, ebx
call fcn.004ea11c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004eb182
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4eb2f3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4eb2ff
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5047ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x574e04]
jne 0x5047b6
repz ret
jmp fcn.0050ac84
Function at 0x517048
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x574e04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050d56f
and dword [ebp - 0x14], 0
cmp dword [0x57cf20], 0
mov dword [ebp - 0x18], eax
jne 0x5170fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5171a3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55337c
push ebx
call edi
test eax, eax
je 0x5171a3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x55336c
push ebx
mov dword [0x57cf20], eax
call edi
push eax
call esi
push 0x553358
push ebx
mov dword [0x57cf24], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x57cf28], eax
call edi
push eax
call esi
mov dword [0x57cf30], eax
test eax, eax
je 0x5170fb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x57cf2c], eax
mov eax, dword [0x57cf2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x517154
cmp dword [0x57cf30], ecx
je 0x517154
push eax
call esi
push dword [0x57cf30]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x517154
test ebx, ebx
je 0x517154
call edi
test eax, eax
je 0x51714b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51714b
test byte [ebp - 8], 1
jne 0x517154
or dword [ebp + 0x10], 0x200000
jmp 0x517187
mov eax, dword [0x57cf24]
cmp eax, dword [ebp - 0x18]
je 0x517187
push eax
call esi
test eax, eax
je 0x517187
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x517187
mov eax, dword [0x57cf28]
cmp eax, dword [ebp - 0x18]
je 0x517187
push eax
call esi
test eax, eax
je 0x517187
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x57cf20]
call esi
test eax, eax
je 0x5171a3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5171a5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005047ac
leave
ret
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81a030]
jne 0x401116
repz ret
jmp fcn.00401c81

Function at 0x40848e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406852
and dword [ebp - 4], 0
cmp dword [0x81c814], 0
mov ebx, eax
jne 0x40853f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4085f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4085f0
push eax
call fcn.004067e0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81c814], eax
call esi
push eax
call fcn.004067e0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81c818], eax
call esi
push eax
call fcn.004067e0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81c81c], eax
call esi
push eax
call fcn.004067e0
pop ecx
mov dword [0x81c824], eax
test eax, eax
je 0x40853f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004067e0
pop ecx
mov dword [0x81c820], eax
mov eax, dword [0x81c820]
cmp eax, ebx
je 0x408597
cmp dword [0x81c824], ebx
je 0x408597
push eax
call fcn.0040685b
push dword [0x81c824]
mov esi, eax
call fcn.0040685b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408597
test edi, edi
je 0x408597
call esi
test eax, eax
je 0x40858e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40858e
test byte [ebp - 0xc], 1
jne 0x408597
or dword [ebp + 0x10], 0x200000
jmp 0x4085d0
mov eax, dword [0x81c818]
cmp eax, ebx
je 0x4085d0
push eax
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4085d0
mov eax, dword [0x81c81c]
cmp eax, ebx
je 0x4085d0
push eax
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81c814]
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4085f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cc50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x81a030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ffa114]
push ebx
mov ebx, dword [0x2ff9f60]
push esi
mov esi, dword [0x81b050]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cc91
push str.lefovuweceh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ffa114]
mov dword [0x81c9ec], esi
cmp eax, 0x114e
jne 0x40ccbb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.nanucucolumisocifozoguvex
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2ffa114]
cmp eax, 0x2f
jne 0x40ccdd
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
call fcn.0040cba0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x401037
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push esi
push edi
push ebx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403030], eax
mov dword [ebp - 8], 0
push 0xa
push section..data
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
je 0x401089
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
je 0x401089
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4010c1
push 4
push 0x1000
push dword [ebp - 0xc]
push 0
call sub.kernel32.dll_VirtualAlloc
mov edi, eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call sub.kernel32.dll_RtlMoveMemory
mov dword [ebp - 8], edi
push 0xdeadbeef
push dword [ebp - 0xc]
push dword [ebp - 8]
call section..text
cmp dword [ebp - 8], 0
je 0x4010fb
lea eax, [ebp - 0x40c]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathA
push str.dup2patcher.dll
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_lstrcatA
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 0x40c]
push eax
call fcn.00401184
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_LoadLibraryA
or eax, eax
je 0x401130
mov ebx, eax
push str.load_patcher
push ebx
call sub.kernel32.dll_GetProcAddress
or eax, eax
je 0x40111e
call eax
push ebx
call sub.kernel32.dll_FreeLibrary
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_DeleteFileA
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401184
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4011af
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x402f50
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [0x536408]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push esi
push edi
mov dword [esp + 0x10], eax
mov bl, 0x41
lea ecx, [esp + 0x10]
nop
nop
nop
nop
push ecx
call ebp
cmp eax, 5
nop
nop
push 0x536298
push str..ymbe.afp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.004a5350
mov esi, eax
add esp, 8
test esi, esi
je 0x402fd0
push 0
push 0
push esi
call fcn.004a52a4
push esi
call fcn.004a528a
xor edx, edx
cmp eax, 0x40
sete dl
push esi
mov edi, edx
call fcn.004a5234
add esp, 0x14
test edi, edi
jne 0x402fe6
inc bl
cmp bl, 0x5a
jle 0x402f66
push str.IGI_CD_not_found._Please_insert_CD_in_drive.
call fcn.004af7b0
add esp, 4
jmp 0x402fe4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x429dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
mov ecx, 0x3dcccccd
push 0
mov eax, dword [esi + 0x1b4]
push 0x7d0
push 0
mov eax, dword [eax + 0x2d4]
mov dword [esi + 0x86c], ecx
mov dword [esi + 0x870], ecx
mov dword [esi + 0x874], ecx
mov ecx, dword [eax + 0x134]
mov dword [esi + 0x880], ecx
mov edx, dword [eax + 0x12c]
mov dword [esi + 0x884], edx
mov dword [esi + 0x888], 0
mov ecx, dword [eax + 0x138]
mov dword [esi + 0x87c], 0x49fa0000
mov dword [esi + 0x88c], ecx
mov ecx, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3cb2674f
mov dword [esp + 0x18], 0x414b3333
mov dword [esp + 0x1c], 0x414b3333
mov dword [esp + 0x20], 0x414b3333
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
fld dword [eax + 0x130]
fdiv dword [eax + 0x12c]
lea ecx, [esp + 0x10]
fsub dword [0x5333e0]
fld dword [esi + 0x88c]
fmul dword [0x5333bc]
fdivp st(1)
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
push edx
push 0
push 0x1080000
push 0x49fa0000
lea edx, [esp + 0x28]
push ecx
push edx
mov edx, dword [eax + 0x24c]
lea ecx, [esp + 0x3c]
add edx, 0x18
push ecx
push edx
call fcn.00416920
push eax
call fcn.004f0ee0
push eax
call fcn.004fdf00
push 1
push eax
mov dword [esi + 0x868], eax
call fcn.004fe5d0
add esp, 0x3c
mov dword [esi + 0x878], 0
pop esi
add esp, 0x20
ret
Function at 0x47b290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov ecx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov edx, dword [ecx + 0x94]
push edi
cmp edx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
jle 0x47b49f
mov ebx, dword [ebp + 0x14]
lea esi, [ecx + 0xa4]
mov dword [esp + 0x14], esi
cmp eax, dword [ebp + 0xc]
jge 0x47b49f
mov eax, dword [esi]
cmp dword [eax], 0
je 0x47b476
lea ecx, [eax + 0x20]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
fld dword [esp + 0x34]
mov edx, dword [ecx + 4]
fmul dword [eax + 0x34]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], edx
fld dword [esp + 0x38]
fmul dword [eax + 0x34]
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x70]
push edx
push ebx
fst dword [esp + 0x40]
fld dword [esp + 0x44]
fmul dword [eax + 0x34]
fstp dword [esp + 0x44]
fld st(1)
fstp qword [esp + 0x48]
fstp qword [esp + 0x50]
fld dword [esp + 0x44]
fstp qword [esp + 0x58]
fmul dword [0x533504]
fld dword [esp + 0x40]
fmul dword [0x533504]
fld dword [esp + 0x44]
fmul dword [0x533504]
fld st(2)
fadd qword [eax + 8]
fstp qword [esp + 0x78]
fld st(1)
fadd qword [eax + 0x10]
fstp qword [esp + 0x80]
fld st(0)
fadd qword [eax + 0x18]
fstp qword [esp + 0x88]
fstp qword [esp + 0x30]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
call fcn.004b32f0
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
add esp, 8
faddp st(1)
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
faddp st(1)
fst dword [esp + 0x18]
fadd qword [0x534170]
fcompp
fnstsw ax
test ah, 0x41
jne 0x47b476
mov esi, dword [esi]
mov ecx, 6
fld qword [esp + 0x50]
fld qword [ebx + 0x10]
add esi, 8
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
fsub qword [esp + 0x68]
fmul st(1)
fld qword [ebx + 8]
fsub qword [esp + 0x60]
fmul qword [esp + 0x48]
faddp st(1)
fld qword [ebx]
fsub qword [esp + 0x58]
fmul qword [esp + 0x40]
faddp st(1)
fld st(1)
fmul st(2)
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
faddp st(1)
fld qword [esp + 0x40]
fmul qword [esp + 0x40]
faddp st(1)
fdivp st(1)
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x47b411
fcom qword [0x5333f8]
fnstsw ax
test ah, 0x41
je 0x47b472
fld st(0)
fmul qword [esp + 0x40]
mov esi, dword [ebp + 8]
push ebx
push esi
fstp qword [esp + 0x48]
fld st(0)
fmul qword [esp + 0x50]
fstp qword [esp + 0x50]
fmulp st(1)
fld qword [esp + 0x60]
fadd qword [esp + 0x48]
fstp qword [esi]
fld qword [esp + 0x68]
fadd qword [esp + 0x50]
fstp qword [esi + 8]
fld qword [esp + 0x70]
fadd st(1)
fstp qword [esi + 0x10]
fstp st(0)
call fcn.004b32b0
fcomp qword [0x534168]
add esp, 8
fnstsw ax
test ah, 1
je 0x47b476
mov eax, dword [esp + 0xc]
add esi, 0x18
inc eax
mov dword [ebp + 8], esi
mov dword [esp + 0xc], eax
jmp 0x47b476
fstp st(0)
fstp st(0)
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0x94]
add esi, 4
mov dword [esp + 0x10], eax
cmp eax, edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], esi
jl 0x47b2c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ead0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push esi
push 0
push 1
push 0
push eax
push 0
push ecx
push 0x49480000
push edx
mov edx, dword [0x5c1160]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
push eax
add edx, 0x18
push ecx
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x400eb90c
mov dword [esp + 0x30], 0x414b3333
mov dword [esp + 0x34], 0x414b3333
mov dword [esp + 0x38], 0x414b3333
call fcn.00416920
push eax
call fcn.004f0ee0
push eax
call fcn.004fdf00
mov esi, eax
push 1
push esi
call fcn.004fe5d0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add esp, 0x3c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x3f800000
push eax
push ecx
push 0x3f800000
call fcn.00416d20
push eax
call fcn.004b4770
fmul dword [0x5334a8]
fstp dword [esp]
call fcn.00416d20
push eax
call fcn.004b4770
fsubr dword [0x533504]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x30]
add ecx, 0x28
fmul dword [0x534184]
fstp dword [esp]
push edx
push eax
push ecx
push esi
call fcn.004fe120
add esp, 0x24
mov eax, esi
pop esi
add esp, 0x24
ret

Function at 0x47ebd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
fld dword [esp + 0x28]
fmul dword [0x533504]
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0x104]
mov dword [esp + 0x20], 0x3f8eb90c
fst dword [esp + 4]
fstp dword [esp + 8]
fld dword [esi + 0x110]
fmul dword [0x534188]
cmp eax, 2
mov dword [esp + 0xc], 0x414b3333
mov dword [esp + 0x10], 0x414b3333
mov dword [esp + 0x14], 0x414b3333
jne 0x47ece4
fld dword [0x5333e0]
fdiv st(1)
push edi
push 0
push 0xc8
push 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
fstp dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
push edi
push 0
push 8
push 0x49480000
push eax
mov eax, dword [0x5c1158]
push ecx
add eax, 0x18
push edx
push eax
fstp st(0)
call fcn.00416920
push eax
push esi
call fcn.004fdf00
push 0
push eax
mov dword [esi + 0x108], eax
call fcn.004fe5d0
add esp, 0x3c
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push 0
push 0xc8
push 0
push edi
push 0
push 0x10
push 0x49480000
push ecx
mov ecx, dword [0x5c1160]
push edx
add ecx, 0x18
push eax
push ecx
call fcn.00416920
push eax
call fcn.004f0ee0
push eax
call fcn.004fdf00
push 0
push eax
mov dword [esi + 0x10c], eax
call fcn.004fe5d0
add esp, 0x3c
pop edi
pop esi
add esp, 0x20
ret
cmp eax, 1
jne 0x47ed49
fld dword [0x5333e0]
fdiv st(1)
push 0
push 0xc8
push 0
push ecx
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
fstp dword [esp]
push 0
push 8
push 0x49480000
push edx
mov edx, dword [0x5c1160]
push eax
add edx, 0x18
push ecx
push edx
fstp st(0)
call fcn.00416920
push eax
call fcn.004f0ee0
push eax
call fcn.004fdf00
push 0
push eax
mov dword [esi + 0x10c], eax
call fcn.004fe5d0
add esp, 0x3c
pop esi
add esp, 0x20
ret
fstp st(0)
pop esi
add esp, 0x20
ret
Function at 0x48f020
Capabilities:
Get geographical location

Disassembly:
mov al, byte [0x5c8c20]
test al, al
jne 0x48f063
push pe_nt_image_headers32
push 0x5c8c20
push 0x1002
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push str.Germany
push 0x5c8c20
call fcn.004a5980
add esp, 8
test eax, eax
jne 0x48f063
push 1
call fcn.0048f2b0
add esp, 4
push 0
push 0
call fcn.0048f180
add esp, 8
ret
Function at 0x490d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x58
push esi
mov esi, dword [esp + 0x60]
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x490d2a
call fcn.00490370
mov dword [esi + 4], eax
jmp 0x490d3b
call fcn.00490370
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, edx
sub eax, ecx
mov dword [esi], eax
mov eax, dword [esi + 0x158]
test eax, eax
je 0x490dc4
push eax
call fcn.004966e0
add esp, 4
mov byte [esi + 0x29], al
test al, al
je 0x490d9f
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x10624dd3
shl ecx, 2
mul ecx
mov ecx, dword [esi + 0x14]
shr edx, 6
mov eax, edx
sub eax, ecx
je 0x490dc4
mov edi, eax
lea edx, [esp + 8]
push edx
call fcn.004974a0
mov ecx, dword [esi + 0x158]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00496e60
mov ecx, dword [esi + 0x14]
add esp, 0xc
inc ecx
dec edi
mov dword [esi + 0x14], ecx
jne 0x490d75
jmp 0x490dc4
mov edx, dword [esi + 0x158]
push edx
call fcn.00496e40
mov eax, dword [esi + 0x158]
push eax
call fcn.00496650
add esp, 8
mov dword [esi + 0x158], 0
call fcn.00490370
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0xc]
sub ecx, edi
sub ecx, edx
cmp ecx, eax
mov dword [esi], ecx
jae 0x490e6e
mov eax, dword [esi + 0xb8]
xor edx, edx
div dword [esi + 0xb4]
mov edx, eax
mov eax, 0x10624dd3
imul edx, ecx
mul edx
mov eax, dword [esi + 0x1c]
mov edi, edx
shr edi, 6
cmp eax, edi
je 0x490e72
cmp eax, 0xffffffff
jne 0x490e23
push 0
push edi
push esi
call fcn.00490e90
add esp, 0xc
test al, al
jne 0x490e5d
pop edi
pop esi
add esp, 0x58
ret
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jne 0x490e42
push 0
push edi
push esi
call fcn.00490e90
add esp, 0xc
test al, al
jne 0x490e5d
pop edi
pop esi
add esp, 0x58
ret
inc eax
push DirectSoundCreate
push eax
push esi
call fcn.00490e90
add esp, 0xc
test al, al
je 0x490e80
mov eax, dword [esi + 0x1c]
cmp eax, edi
jne 0x490e42
push esi
call fcn.00490f10
add esp, 4
pop edi
mov al, 1
pop esi
add esp, 0x58
ret
mov byte [esi + 0x28], 0
mov al, byte [esi + 0x29]
test al, al
jne 0x490e66
mov al, byte [esi + 0x28]
test al, al
jne 0x490e66
pop edi
xor al, al
pop esi
add esp, 0x58
ret