joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476fd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x64a4cc], 0
mov dword [0x64a4c8], 0
je 0x476fec
xor eax, eax
add esp, 0xc
ret
mov eax, 0x64a4d8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x476ff4
sub eax, edx
push esi
jne 0x477069
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSIDc6f7158b_a330_474c_b76e_ecf14355aabaInprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47707d
lea ecx, [esp + 0xc]
push ecx
push 0x64a4d8
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47705a
cmp dword [esp + 8], 1
jne 0x47705a
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x47707d
push 0x64a4d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x64a4cc], eax
jne 0x477099
cmp dword [0x64a4c8], 0
jle 0x47708f
mov word [0x64a4ca], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x477150
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4d4d4b
mov eax, dword fs:[0]
push eax
mov eax, 0x1108
call fcn.004b2840
mov eax, dword [0x518860]
xor eax, esp
mov dword [esp + 0x1104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518860]
xor eax, esp
push eax
lea eax, [esp + 0x111c]
mov dword fs:[0], eax
push 0x64a4b0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 1
mov dword [esp + 0x14], esi
xor edi, edi
cmp dword [0x64a4cc], edi
mov dword [esp + 0x1124], edi
je 0x4771c0
cmp dword [0x64a4d0], edi
jne 0x477319
mov byte [esp + 0x118], 0
call fcn.00476fd0
test eax, eax
jge 0x4771f5
push 0x1000
push str.This_program_requires_the_file_advrcntr3.dll__which_was_not_found_on_this_system.
lea eax, [esp + 0x120]
push 0x1000
push eax
call fcn.004b5e0a
add esp, 0x10
jmp 0x47728a
mov ebp, dword [esp + 0x1130]
mov ebx, dword [esp + 0x112c]
push ebp
push ebx
call fcn.004770a0
add esp, 8
test eax, eax
jge 0x477319
test bl, bl
je 0x47724a
push ebp
push 0
call fcn.004770a0
add esp, 8
test eax, eax
jl 0x47724a
mov ebp, dword [0x64a4d0]
add ebp, 0x14
push ebp
mov esi, 2
call fcn.00477100
add esp, 4
test eax, eax
je 0x47724a
mov ecx, dword [ebp]
call ecx
mov edi, eax
mov edx, dword [esp + 0x1130]
mov eax, dword [esp + 0x1138]
mov ecx, dword [esp + 0x1134]
push edx
push eax
push ecx
push edi
push 7
push 0xcf
push esi
push str.Fatal_Error:_r_nInstallation_corrupted___please_reinstall_NERO__r_n_r_nError_Code:__i____i____i____i_r_nParameters:__i____i____i_r_nSee_Doc4536
push 0x1000
lea edx, [esp + 0x13c]
push 0x1000
push edx
call fcn.004b0a49
add esp, 0x2c
push 0x64a4b0
mov dword [0x64a4d0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, word [0x4e4088]
mov cl, byte [0x4e408a]
push 0xfd
lea edx, [esp + 0x1f]
push 0
push edx
mov word [esp + 0x24], ax
mov byte [esp + 0x26], cl
call fcn.004b0a70
add esp, 0xc
push 0x100
lea eax, [esp + 0x1c]
push eax
push str.NeroSuppressProxyCheck
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4772f2
lea ecx, [esp + 0x18]
push ecx
call fcn.004b38f5
add esp, 4
test eax, eax
jne 0x477312
test byte [0x64a4d4], 1
jne 0x477312
push 0x10
push str.Nero
lea edx, [esp + 0x120]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x477326
push 0x64a4b0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x111c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1104]
xor ecx, esp
call fcn.004b5576
add esp, 0x1114
ret
Function at 0x47ab60
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x4d5251
call fcn.004b5585
push dword [ebp + 8]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
call fcn.004040d0
and dword [ebp - 4], 0
push 0x4e47cc
lea ecx, [ebp - 0x18]
call fcn.004040d0
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [eax - 0xc]
push 0
push 0x40
lea ecx, [ebp - 0x14]
call fcn.00453b70
cmp eax, 0xffffffff
je 0x47abd7
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042e240
push dword [ebp - 0x18]
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
call fcn.00407970
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x47abdb
mov byte [ebp - 0xd], 0
test byte [ebp - 0x1c], bl
mov dword [ebp - 4], ebx
je 0x47abee
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401670
cmp byte [ebp - 0xd], 0
je 0x47ac20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00409ad0
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00402bd0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401670
push 5
push 0x4d9da4
push 0
push dword [ebp - 0x14]
push str.open
push dword [ebp - 0x24]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401670
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401670
mov eax, esi
call fcn.004b565d
ret

Function at 0x47ad53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebx
jne 0x47add9
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 1]
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], bl
call fcn.00477ef0
lea eax, [ebp - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00477800
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push ebx
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00477800
push esi
push eax
push esi
push dword [ebp + 0x10]
call fcn.004b5e0a
add esp, 0x10
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], ebx
call fcn.00477950
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x47addf
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x4a4
mov eax, dword [0x518860]
xor eax, ebp
mov dword [ebp + 0x420], eax
push esi
mov esi, dword [ebp + 0x42c]
xor eax, eax
cmp esi, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], eax
je 0x47af25
cmp dword [ebp + 0x434], eax
je 0x47ae28
push esi
call fcn.0047ab60
pop ecx
mov dword [ebp + 8], eax
jmp 0x47af25
push ebx
push edi
mov edi, 0x410
push edi
push eax
mov byte [ebp + 0xc], al
lea eax, [ebp + 0xd]
push eax
call fcn.004b0a70
push edi
lea eax, [ebp + 0xc]
push eax
push str..htm
mov ebx, SysReAllocStringLen
push ebx
call fcn.0047ad53
add esp, 0x1c
test eax, eax
jne 0x47af09
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea eax, [ebp + 0xc]
push eax
call esi
push edi
lea eax, [ebp + 0xc]
push eax
push eax
push ebx
call fcn.0047ad53
add esp, 0x10
test eax, eax
jne 0x47af23
lea eax, [ebp + 0xc]
push str.__1_
push eax
call fcn.004b2cdd
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x47aec1
lea eax, [ebp + 0xc]
push 0x4dbdf0
push eax
call fcn.004b2cdd
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x47aec1
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax + 0xb]
jmp 0x47aec4
mov byte [edi], 0
push 0x4dbc78
push edi
call esi
push dword [ebp + 4]
push edi
call esi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
call fcn.0047ab22
push dword [ebp + 0x430]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x80], eax
je 0x47af23
push dword [ebp - 0x80]
call fcn.004b253e
pop ecx
jmp 0x47af23
push dword [ebp + 0x430]
xor eax, eax
push eax
push eax
push esi
push str.explore
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp + 8], eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x420]
mov eax, dword [ebp + 8]
xor ecx, ebp
pop esi
call fcn.004b5576
add ebp, 0x424
leave
ret

Function at 0x47c700
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d55c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x518860]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x64a9f4
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.tinyxml::TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x64a9f4
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4d9da4
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00482720
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x47c8a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d5618
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518860]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x2c]
xor edi, edi
cmp ebp, edi
jne 0x47c8e8
push edi
push edi
push edi
push 2
call fcn.00482dd0
xor al, al
jmp 0x47ca86
mov esi, dword [ebx + 0x18]
cmp esi, edi
je 0x47c901
nop
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, edi
jne 0x47c8f0
push 2
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
or esi, 0xffffffff
push edi
push ebp
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
call fcn.004b8e0d
push ebp
call fcn.004b8d18
push 0
push 0
push ebp
mov edi, eax
call fcn.004b8e0d
add esp, 0x1c
test edi, edi
jg 0x47c948
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00482dd0
xor al, al
jmp 0x47ca86
mov dword [esp + 0x14], 0x64a9f4
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00482680
lea eax, [edi + 1]
push eax
call fcn.0048efa6
push ebp
push 1
mov ebx, eax
push edi
push ebx
mov byte [ebx], 0
call fcn.004b896b
add esp, 0x14
cmp eax, 1
je 0x47c9bb
push ebx
call fcn.0048efd6
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push 0
push 0
push 2
call fcn.00482dd0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], esi
cmp eax, 0x64a9f4
je 0x47c9b4
push eax
call fcn.0048efd6
add esp, 4
xor al, al
jmp 0x47ca86
mov byte [ebx + edi], 0
cmp byte [ebx], 0
mov eax, ebx
mov esi, ebx
je 0x47ca2a
mov cl, byte [esi]
cmp cl, 0xa
jne 0x47c9e8
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00482810
add esi, 1
mov eax, esi
jmp 0x47ca25
cmp cl, 0xd
jne 0x47ca22
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x47ca00
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00482810
push 1
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0xa
call fcn.00482810
cmp byte [esi + 1], 0xa
jne 0x47c9e1
add esi, 2
mov eax, esi
jmp 0x47ca25
add esi, 1
cmp byte [esi], 0
jne 0x47c9c8
sub esi, eax
je 0x47ca39
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00482810
push ebx
call fcn.0048efd6
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, esi
call eax
cmp byte [esi + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
jne 0x47c9a4
cmp eax, 0x64a9f4
je 0x47ca84
push eax
call fcn.0048efd6
add esp, 4
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 8
Function at 0x482390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4823a1
call fcn.00482320
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x4823b0
mov eax, dword [eax + 4]
jmp 0x4823b3
add eax, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push 0
push edx
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop esi
je 0x4823ef
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.0047da70
push 0x4fd7c4
lea ecx, [esp + 4]
push ecx
call fcn.004b3cc7
add esp, 0x14
ret 0xc

Function at 0x482400
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x482411
call fcn.00482320
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
add eax, 1
cmp dword [ecx + 0x18], 0x10
jb 0x482426
mov ecx, dword [ecx + 4]
jmp 0x482429
add ecx, 4
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x18], 0x10
jb 0x482438
mov edx, dword [edx + 4]
jmp 0x48243b
add edx, 4
push eax
mov eax, dword [esi + 0x1c]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
je 0x48246f
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.0047da70
push 0x4fd7c4
lea ecx, [esp + 4]
push ecx
call fcn.004b3cc7
add esp, 0x14
ret 8

Function at 0x482550
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6258
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518860]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov ecx, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.00482390
cmp dword [esp + 0x18], 1
je 0x4825c6
push 0x50000
push 0x65d
lea ecx, [esp + 0x24]
call fcn.0047da70
push 0x4fd7c4
lea edx, [esp + 0x20]
push edx
call fcn.004b3cc7
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], bl
call fcn.00477ef0
mov esi, dword [esp + 0x20]
cmp esi, ebx
mov dword [esp + 0x4c], ebx
je 0x4825f1
mov edx, dword [esp + 0x24]
sub edx, esi
jne 0x4825f6
call fcn.004b3b63
cmp dword [ebp + 0x18], 0x10
jb 0x482601
mov eax, dword [ebp + 4]
jmp 0x482604
lea eax, [ebp + 4]
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x482639
push 0x50000
push eax
lea ecx, [esp + 0x38]
call fcn.0047da70
push 0x4fd7c4
lea eax, [esp + 0x34]
push eax
call fcn.004b3cc7
cmp esi, ebx
je 0x482645
mov eax, dword [esp + 0x24]
sub eax, esi
jne 0x48264a
call fcn.004b3b63
mov edi, dword [esp + 0x54]
push esi
mov ecx, edi
call fcn.00448b70
cmp esi, ebx
je 0x482663
push esi
call fcn.0048efd6
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8
Function at 0x489f6c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x518860]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0xffffffff
je 0x489fab
call fcn.00489e9e
push 7
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x489fab
lea eax, [ebp - 0xc]
push eax
call fcn.004b38f5
pop ecx
jmp 0x489fad
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b5576
leave
ret

Function at 0x48a173
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x518860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x48a1a2
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x48a21f
push esi
push eax
call fcn.004b0b39
mov esi, eax
test esi, esi
pop ecx
jne 0x48a1b8
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x48a21e
push esi
push dword [ebp - 0x18]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x48a1d8
push esi
call fcn.004b253e
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x48a21d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4db1dc
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x48a1c8
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0048a07c
push esi
call fcn.004b253e
lea esi, [ebp - 0x10]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004b5576
leave
ret
Function at 0x49012f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
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 0x490145
mov edi, dword [esi + 0xc]
jmp 0x490185
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x49015e
call fcn.00492291
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x490173
call fcn.00492291
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x490185
call fcn.00492291
call fcn.0049200d
cmp dword [eax + 0x3c], 0
je 0x49019a
push edi
mov ecx, ebx
call fcn.0048f07f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00490049
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4901b8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4901c4
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x490d49
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4d4b09
call fcn.004b5585
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x490d6e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x490dba
call fcn.00498bc2
push eax
lea ecx, [ebp - 0x10]
call fcn.00402440
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004905f1
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401670
mov eax, esi
call fcn.004b565d
ret 8

Function at 0x496543
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x49657c
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.0044b190
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044ae30
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x498193
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 0x4981d6
call fcn.0049200d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4981d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4981f1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00497d4a
test ebx, ebx
mov esi, eax
je 0x4981ef
test edi, edi
je 0x4981ef
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x499980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4d7564
call fcn.004b55b8
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.0049200d
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4999cb
call fcn.0049200d
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 0x4999dc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4999e9
or eax, 0xffffffff
jmp 0x499b45
mov ecx, esi
call fcn.004994d2
mov dword [ebp - 0x14], eax
call fcn.004953c9
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x499a67
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x499a67
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x499a67
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0047b20a
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x499a67
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x499a67
mov ecx, ebx
call fcn.00490832
test eax, eax
je 0x499a67
push 0
mov ecx, ebx
call fcn.0049084d
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00496f73
push dword [ebp - 0x14]
call fcn.00495321
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00499788
xor edi, edi
cmp eax, edi
je 0x499ac4
test byte [esi + 0x3c], 0x10
je 0x499aae
push 4
pop edi
mov ecx, esi
call fcn.004906ef
test ax, 0x100
je 0x499aa4
push 5
pop edi
push edi
mov ecx, esi
call fcn.00494ee9
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x499ac4
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00490a35
or dword [ebp - 4], 0xffffffff
jmp 0x499aef
cmp dword [ebp - 0x28], edi
je 0x499afd
push 1
mov ecx, ebx
call fcn.0049084d
cmp dword [ebp - 0x2c], edi
je 0x499b0d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x499b26
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x499b26
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.0049950c
cmp dword [esi + 0x58], edi
je 0x499b42
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004b565d
ret