joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446610
Capabilities:
Get file version info

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48907b
push eax
mov dword fs:[0], esp
xor eax, eax
sub esp, 0x140
mov dword [esi], eax
push edi
mov edi, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov dword [esi + 0xc], eax
call fcn.0041e370
add esp, 4
test al, al
je 0x446787
push ebx
push edi
lea ecx, [esp + 0x18]
call fcn.00427510
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x158], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
ja 0x44667b
xor edi, edi
jmp 0x446686
push ebx
call fcn.00450669
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x18]
push edi
push ebx
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop ebx
jne 0x4466b5
test edi, edi
je 0x4466a6
push edi
call fcn.00450664
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
jmp 0x44677c
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push 0x4b1198
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x446765
cmp dword [esp + 8], 0x34
jb 0x446765
mov eax, dword [esp + 0x154]
sub eax, 0
je 0x44670c
sub eax, 1
jne 0x44672b
mov eax, dword [esp + 4]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx edx, word [eax + 8]
mov dword [esi + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx edx, word [eax + 0xc]
jmp 0x446728
mov eax, dword [esp + 4]
movzx ecx, word [eax + 0x12]
mov dword [esi], ecx
movzx edx, word [eax + 0x10]
mov dword [esi + 4], edx
movzx ecx, word [eax + 0x16]
mov dword [esi + 8], ecx
movzx edx, word [eax + 0x14]
mov dword [esi + 0xc], edx
test edi, edi
je 0x446738
push edi
call fcn.00450664
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x44674d
push eax
call fcn.00450664
add esp, 4
mov al, 1
pop edi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
add esp, 0x14c
ret
test edi, edi
je 0x446772
push edi
call fcn.00450664
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x446787
push eax
call fcn.00450664
add esp, 4
mov ecx, dword [esp + 0x144]
xor al, al
pop edi
mov dword fs:[0], ecx
add esp, 0x14c
ret
Function at 0x446920
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebp
mov ebp, dword [esp + 0x118]
lea eax, [esp + 4]
push eax
push 0x2001b
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x446a42
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 4]
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
jne 0x446a30
push 0x104
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0041e8a0
add esp, 0xc
mov eax, dword [esp + 8]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
push esi
push esi
lea edx, [esp + 0x2c]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, eax
test esi, esi
jne 0x446a30
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea esp, [esp]
cmp dword [esp + 0x10], 0
jne 0x446a30
cmp dword [esp + 0xc], 0
jne 0x446a30
lea ecx, [esp + 0x14]
push ecx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x446a30
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push 0x5c
push eax
mov dword [esp + 0x10], esi
call fcn.00473670
add esp, 8
test eax, eax
je 0x446a30
lea ecx, [esp + 8]
push ecx
push 0x2001b
push esi
lea edx, [esp + 0x20]
push edx
push edi
mov byte [eax], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x446a41
push eax
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, eax
test esi, esi
je 0x4469b0
mov eax, dword [esp + 8]
test eax, eax
je 0x446a3f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
add esp, 0x110
ret
Function at 0x446b40
Capabilities:
Set registry value

Disassembly:
sub esp, 0x240
push ebx
push esi
mov ebx, eax
test bl, 2
push edi
mov byte [esp + 0x14], 0
push 0x104
je 0x446b66
push str.SoftwareBattle.net_
lea eax, [esp + 0x1c]
push eax
jmp 0x446b70
push str.SoftwareBlizzard_Entertainment_
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041e8a0
mov edx, dword [esp + 0x25c]
add esp, 0xc
push 0x104
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0041e8f0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
and bl, 4
lea edx, [esp + 0x10]
push edx
push 0
neg bl
push 0x20006
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
sbb ebx, ebx
neg ebx
add ebx, 0x80000001
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x446c51
mov ecx, dword [esp + 0x254]
push ecx
lea ecx, [esp + 0x11c]
call fcn.00427510
mov edx, dword [esp + 0x260]
mov ecx, dword [esp + 0x25c]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x25c]
push ecx
push edx
push esi
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x120]
cmp eax, ecx
je 0x446c27
push eax
call fcn.00450664
add esp, 4
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x446c4a
mov edx, dword [esp + 0xc]
push edx
call edi
mov esi, eax
test esi, esi
jne 0x446c4a
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x240
ret
mov eax, dword [esp + 0xc]
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x240
ret

Function at 0x446d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x138
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x446dc1
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x14c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esi], eax
call fcn.00427510
mov edx, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
mov eax, dword [eax + 4]
push esi
push edx
mov edx, dword [esp + 0xc]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x446db4
push eax
call fcn.00450664
add esp, 4
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x138
ret
Function at 0x449af0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x449afb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.004477e0

Function at 0x450510
Capabilities:
Get disk size

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x45052e
xor edx, edx
add esp, 8
ret
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 8
ret

Function at 0x450590
Capabilities:
Get hostname

Disassembly:
sub esp, 0x104
lea eax, [esp]
push eax
lea ecx, [esp + 8]
mov dword [esp + 4], 0
push ecx
mov dword [esp + 8], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x4505d8
mov edx, dword [str._unknown_]
mov eax, dword [0x4bd724]
mov cx, word [0x4bd728]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov word [esp + 0xc], cx
push esi
mov esi, dword [esp + 0x10c]
lea eax, [esp + 8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x450600
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00401500
mov eax, esi
pop esi
add esp, 0x104
ret
Function at 0x450e0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x489132
call fcn.00475613
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00458850
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x450e55
call fcn.00458850
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x450e66
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x450e73
or eax, 0xffffffff
jmp 0x450fcf
mov ecx, esi
call fcn.0045093a
mov dword [ebp - 0x14], eax
call fcn.00453901
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x450ef1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x450ef1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x450ef1
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004047a0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x450ef1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x450ef1
mov ecx, ebx
call fcn.00456fe8
test eax, eax
je 0x450ef1
push 0
mov ecx, ebx
call fcn.00457003
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00455496
push dword [ebp - 0x14]
call fcn.00453859
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00450c12
xor edi, edi
cmp eax, edi
je 0x450f4e
test byte [esi + 0x3c], 0x10
je 0x450f38
push 4
pop edi
mov ecx, esi
call fcn.00456ea5
test ax, 0x100
je 0x450f2e
push 5
pop edi
push edi
mov ecx, esi
call fcn.004533ca
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x450f4e
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004571d6
or dword [ebp - 4], 0xffffffff
jmp 0x450f79
cmp dword [ebp - 0x28], edi
je 0x450f87
push 1
mov ecx, ebx
call fcn.00457003
cmp dword [ebp - 0x2c], edi
je 0x450f97
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x450fb0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x450fb0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00450974
cmp dword [esi + 0x58], edi
je 0x450fcc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004756b8
ret
Function at 0x4566db
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 0x45671e
call fcn.00458850
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45671e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x456739
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00456292
test ebx, ebx
mov esi, eax
je 0x456737
test edi, edi
je 0x456737
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x45f490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4db3c8]
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 0x45f4d0
push 0x4c5768
push 4
push eax
call fcn.00476054
push eax
call fcn.00406af0
add esp, 0x10
jmp 0x45f4e2
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45f550
push edi
call fcn.004733d2
mov edi, dword [eax]
call fcn.004733d2
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.00470df1
add esp, 0x18
mov ebx, eax
call fcn.004733d2
cmp dword [eax], 0
je 0x45f530
call fcn.004733d2
push dword [eax]
call fcn.004510a5
pop ecx
jmp 0x45f537
call fcn.004733d2
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x45f550
cmp ebx, esi
jae 0x45f550
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x45f552
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00470aa1
leave
ret
Function at 0x460851
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 0x460897
call fcn.00458850
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x460897
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4608da
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 0x4608c3
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 0x4608c3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4608d7
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 0x462032
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 0x462060
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46207e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00461f9c
jmp 0x46207e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46207e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00461f9c
test edi, edi
mov eax, edi
jne 0x462068
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4e95c0]
test ecx, ecx
je 0x462141
jmp 0x462031
ret 8

Function at 0x470aa1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4db3c8]
jne 0x470aab
repz ret
jmp fcn.004781dc
Function at 0x4782e0
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 + 0x4db830]
je 0x4782fb
inc edi
cmp edi, 0x17
jb 0x4782ec
cmp edi, 0x17
jae 0x47847b
push ebp
push 3
call fcn.00481641
cmp eax, 1
pop ecx
je 0x478447
push 3
call fcn.00481641
test eax, eax
pop ecx
jne 0x47832f
cmp dword [0x4db568], 1
je 0x478447
cmp ebx, 0xfc
je 0x47847a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4e9c08
push ebp
call fcn.00476054
add esp, 0xc
test eax, eax
je 0x478365
push esi
push esi
push esi
push esi
push esi
call fcn.00471250
add esp, 0x14
push 0x104
mov esi, 0x4e9c21
push esi
push 0
mov byte [0x4e9d25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4783a9
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00476054
add esp, 0xc
test eax, eax
je 0x4783a9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00471250
add esp, 0x14
push esi
call fcn.00475930
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4783ee
push esi
call fcn.00475930
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4e9f1c
push 0x4c71bc
sub ecx, eax
push ecx
push eax
call fcn.00475819
add esp, 0x14
test eax, eax
je 0x4783ee
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00471250
add esp, 0x14
jmp 0x4783f0
xor esi, esi
push 0x4c71b8
push ebx
push ebp
call fcn.004760b9
add esp, 0xc
test eax, eax
je 0x478410
push esi
push esi
push esi
push esi
push esi
call fcn.00471250
add esp, 0x14
push dword [edi*8 + 0x4db834]
push ebx
push ebp
call fcn.004760b9
add esp, 0xc
test eax, eax
je 0x478432
push esi
push esi
push esi
push esi
push esi
call fcn.00471250
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00481484
add esp, 0xc
jmp 0x47847a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x47847a
cmp ebp, 0xffffffff
je 0x47847a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4db834]
push dword [esi]
call fcn.00475930
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 0x481484
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00477b7c
xor ebx, ebx
cmp dword [0x4ea424], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x48155a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x48163a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c7b88
push edi
call esi
cmp eax, ebx
je 0x48163a
push eax
call fcn.00477b0e
mov dword [esp], 0x4c7b78
push edi
mov dword [0x4ea424], eax
call esi
push eax
call fcn.00477b0e
mov dword [esp], 0x4c7b64
push edi
mov dword [0x4ea428], eax
call esi
push eax
call fcn.00477b0e
mov dword [0x4ea42c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00471f29
test eax, eax
pop ecx
pop ecx
je 0x481528
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00471250
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x48155a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00477b0e
cmp eax, ebx
pop ecx
mov dword [0x4ea434], eax
je 0x48155a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00477b0e
pop ecx
mov dword [0x4ea430], eax
mov eax, dword [0x4ea430]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4815df
cmp dword [0x4ea434], ecx
je 0x4815df
push eax
call fcn.00477b85
push dword [0x4ea434]
mov esi, eax
call fcn.00477b85
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4815df
cmp edi, ebx
je 0x4815df
call esi
cmp eax, ebx
je 0x4815ac
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4815ac
test byte [ebp - 0x18], 1
jne 0x4815df
lea eax, [ebp - 0x10]
push eax
call fcn.00471f60
test eax, eax
pop ecx
je 0x4815c7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00471250
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4815d6
or dword [ebp + 0x10], 0x200000
jmp 0x48161a
or dword [ebp + 0x10], 0x40000
jmp 0x48161a
mov eax, dword [0x4ea428]
cmp eax, dword [ebp - 8]
je 0x48161a
push eax
call fcn.00477b85
cmp eax, ebx
pop ecx
je 0x48161a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x48161a
mov eax, dword [0x4ea42c]
cmp eax, dword [ebp - 8]
je 0x48161a
push eax
call fcn.00477b85
cmp eax, ebx
pop ecx
je 0x48161a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ea424]
call fcn.00477b85
cmp eax, ebx
pop ecx
je 0x48163a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48163c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4864c2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4db3c8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00486457
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.00470ce0
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 0x486511
cmp dword [ebp - 0x1c], 5
jb 0x486529
jmp 0x486525
cmp dword [ebp - 0x10], 1
jne 0x486529
cmp dword [ebp - 0x1c], 4
ja 0x486525
jne 0x486529
cmp dword [ebp - 0x18], 0
jbe 0x486529
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c8d4c
call fcn.0048632b
test eax, eax
jge 0x48654a
mov byte [0x4dcc60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00470aa1
add ebp, 0x78
leave
ret
Function at 0x40864e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418028]
jne 0x408658
repz ret
jmp fcn.00408fee

Function at 0x40dffc
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.00409e0d
and dword [ebp - 4], 0
cmp dword [0x419b80], 0
mov ebx, eax
jne 0x40e0ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e15e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40e15e
push eax
call fcn.00409d9b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x419b80], eax
call esi
push eax
call fcn.00409d9b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x419b84], eax
call esi
push eax
call fcn.00409d9b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x419b88], eax
call esi
push eax
call fcn.00409d9b
pop ecx
mov dword [0x419b90], eax
test eax, eax
je 0x40e0ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00409d9b
pop ecx
mov dword [0x419b8c], eax
mov eax, dword [0x419b8c]
cmp eax, ebx
je 0x40e105
cmp dword [0x419b90], ebx
je 0x40e105
push eax
call fcn.00409e16
push dword [0x419b90]
mov esi, eax
call fcn.00409e16
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e105
test edi, edi
je 0x40e105
call esi
test eax, eax
je 0x40e0fc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e0fc
test byte [ebp - 0xc], 1
jne 0x40e105
or dword [ebp + 0x10], 0x200000
jmp 0x40e13e
mov eax, dword [0x419b84]
cmp eax, ebx
je 0x40e13e
push eax
call fcn.00409e16
pop ecx
test eax, eax
je 0x40e13e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e13e
mov eax, dword [0x419b88]
cmp eax, ebx
je 0x40e13e
push eax
call fcn.00409e16
pop ecx
test eax, eax
je 0x40e13e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419b80]
call fcn.00409e16
pop ecx
test eax, eax
je 0x40e15e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e160
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret