joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469ad2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x469b5f
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004de9d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x469b1f
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x469b41
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x469c1a
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x469b87
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x469b92
xor eax, eax
jmp 0x469bdb
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x469baf
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
push edx
call fcn.0046cca3
jmp 0x469bbf
cmp ecx, 2
jne 0x469bc5
push edx
push dword [edi + 0x30]
mov edx, dword [edi]
call fcn.00468c35
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.004de9d0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x469c06
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x469c1a
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x469add
pop edi
pop ebx
leave
ret
Function at 0x46d2f3
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push esi
mov dword [esi + 0x58], 0
call fcn.00426d31
test eax, eax
je 0x46d31f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
jne 0x46d31f
lea ecx, [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
ret
cmp dword [esi + 0x44], 0
jle 0x46d31a
lea ecx, [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov ecx, esi
pop esi
jmp method.CIQDownloader.virtual_52
push 0xc
mov eax, 0x505b50
call fcn.004e2589
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x24], edi
je 0x480258
push 1
push 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CCoreThread::StartThread
call fcn.00401769
mov dword [ebp - 4], edi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Thread_is_not_NULL_
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.nullthread
call fcn.00401769
mov byte [ebp - 4], 2
mov eax, dword [esi]
push 1
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax + 0x14]
xor eax, eax
jmp 0x48031e
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Starting_thread...
call fcn.00401769
mov dword [ebp - 4], 3
push 4
pop ebx
push ebx
or dword [ebp - 4], 0xffffffff
call fcn.00412200
push edi
push ebx
push edi
push edi
push esi
push 0x48039b
mov dword [esi + 0x28], edi
call fcn.004c5d94
mov dword [esi + 0x24], eax
cmp eax, edi
jne 0x4802eb
push 1
push 0x2d
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CCoreThread::StartThread
call fcn.00401769
mov dword [ebp - 4], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.AfxStartThread_failed_
call fcn.00401769
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.beginthreadfailed
call fcn.00401769
mov byte [ebp - 4], 6
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [edi + 0x14]
jmp 0x480251
mov dword [eax + 0x28], edi
mov esi, dword [esi + 0x24]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Thread_started.
call fcn.00401769
mov dword [ebp - 4], 7
push ebx
or dword [ebp - 4], 0xffffffff
call fcn.00412200
xor eax, eax
inc eax
call fcn.004e2661
ret
Function at 0x477c40
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x5c
mov eax, 0x4fdbc3
call fcn.004e2589
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
xor edi, edi
mov ebx, str.DxPresent
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], str.DxVersionSatisfy
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], str.DxUseHardware
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x50], str.DxMaxTextureHeight
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x48], str.DxMaxTextureWidth
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x40], str.DxMaxNumBlendingStages
mov dword [ebp - 0x3c], 0x20
mov dword [ebp - 0x38], str.Stencil16
mov dword [ebp - 0x34], 0x20000000
mov dword [ebp - 0x30], str.Stencil32
mov dword [ebp - 0x2c], 0x40000000
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
call fcn.00476d84
mov dword [ebp - 4], edi
lea eax, [ebp - 0x18]
push eax
mov esi, 0x521f08
push esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407e3b
mov byte [ebp - 4], 1
jmp 0x477db3
and dword [ebp - 0x10], 0
mov eax, ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.00403fee
test eax, eax
je 0x477d82
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*8 - 0x68]
test eax, eax
jne 0x477cfc
push 1
push 0x167
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CIQXmlRequirements::ParseExecuteResult
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
lea ecx, [ebp + 0xc]
push ecx
push str.Invalid_flag_in_ExecuteResult:
push eax
call fcn.004040f8
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
add eax, 0x10
push 1
mov byte [ebp - 4], 1
call dword [eax]
xor edi, edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, edi
call fcn.004e2661
ret 8
mov eax, dword [ebp - 0x10]
or edi, dword [ebp + eax*8 - 0x64]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407e3b
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 0xc]
call fcn.004043ce
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401898
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x477cf6
jmp 0x477d60
Function at 0x47800a
Capabilities:
Persist via run registry key

Disassembly:
push 0x3c
mov eax, 0x50e6eb
call fcn.004e2589
push 1
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.00401769
and dword [ebp - 4], 0
push SysReAllocString
lea eax, [ebp - 0x48]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.0041e110
mov dword [ebp - 4], 1
lea esi, [ebp - 0x14]
call fcn.00414b3e
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push 0x51cdb0
push eax
call fcn.004040f8
mov byte [ebp - 4], 3
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.___runonce
push eax
push ecx
call fcn.00404094
mov byte [ebp - 4], 4
add esp, 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.InstallIQ
call fcn.00401769
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0041f379
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041e209
call fcn.004e2661
ret

Function at 0x4780c9
Capabilities:
Persist via run registry key

Disassembly:
push 0x30
mov eax, 0x50e6a0
call fcn.004e2589
push 1
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.00401769
and dword [ebp - 4], 0
push SysReAllocString
lea eax, [ebp - 0x3c]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.0041e110
mov dword [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.InstallIQ
call fcn.00401769
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041f431
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041e209
call fcn.004e2661
ret
Function at 0x479cd5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e405
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x56d790]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebx + 0xc], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jle 0x479edb
test esi, esi
jl 0x479ec0
cmp esi, dword [ebx + 0xc]
jge 0x479ec0
mov eax, dword [ebx + 8]
mov ecx, esi
shl ecx, 3
xor edi, edi
add eax, ecx
inc edi
cmp dword [eax], edi
jne 0x479d98
cmp esi, dword [ebx + 0xc]
jge 0x479ec0
mov eax, dword [ebx + 8]
add eax, ecx
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0040184e
and dword [esp + 0x3c], 0
lea eax, [esp + 0x24]
push eax
or dword [esp + 0x40], 0xffffffff
call fcn.00479ef1
mov dword [esp + 0x38], edi
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
setne byte [esp + 0x13]
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401898
cmp byte [esp + 0x13], 0
je 0x479eb0
mov dword [esp + 0x18], edi
jmp 0x479edb
cmp esi, dword [ebx + 0xc]
jge 0x479ec0
mov eax, dword [ebx + 8]
add eax, ecx
cmp dword [eax], 2
jne 0x479e8c
cmp esi, dword [ebx + 0xc]
jge 0x479ec0
mov eax, dword [ebx + 8]
add eax, ecx
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.0040184e
mov dword [esp + 0x38], 2
push edi
lea edi, [esp + 0x18]
call fcn.0041b3bb
xor ecx, ecx
mov esi, edi
mov dword [esp], str._firefoxprofiles_
call fcn.0041271e
test eax, eax
jl 0x479e2e
push ecx
mov eax, edi
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 3
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 2
call fcn.0047a075
mov byte [esp + 0x38], 4
push eax
mov ecx, edi
call fcn.004043ce
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x24]
call fcn.00401898
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 5
mov byte [esp + 0x3c], 2
call fcn.0041391b
pop ecx
test eax, eax
jne 0x479ec5
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 6
mov byte [esp + 0x3c], 2
call fcn.004139c3
pop ecx
test eax, eax
jne 0x479ec5
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401898
mov esi, dword [esp + 0x1c]
jmp 0x479eb0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Unknown_uninstall_key_type_encountered__skipping_lookup
call fcn.00401769
mov dword [esp + 0x3c], 7
push edi
or dword [esp + 0x40], 0xffffffff
call fcn.00412200
inc esi
cmp esi, dword [ebx + 0xc]
mov dword [esp + 0x1c], esi
jl 0x479d13
jmp 0x479edb
call fcn.004bba35
mov dword [esp + 0x18], 1
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401898
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x480639
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb877
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x56d790]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x51c83c
xor esi, esi
push 1
push esi
push 0x51c81c
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x480769
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x10]
push edx
push 0x51c82c
push eax
call dword [ecx + 0xc]
cmp eax, esi
jne 0x480769
mov dword [esp + 8], esi
jmp 0x48074f
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x51c0cc
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x480745
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x20]
push edx
push 0x53bed8
push eax
call dword [ecx + 0xc]
cmp eax, esi
jge 0x48070a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x20]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x48073b
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004570b7
mov dword [esp + 0x38], esi
mov eax, dword [edi + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.004c3c2c
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401898
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0xc]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4806b3
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x480777
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x480785
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp dword [edi + 8], esi
setg al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481539
Capabilities:
Read .ini file

Disassembly:
push 0x18
mov eax, 0x5017e7
call fcn.004e2589
mov edi, dword [ebp + 8]
mov ebx, ecx
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
push ecx
lea esi, [ebx + 0x28]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.0040184e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0041302d
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x51d067
call fcn.00401769
mov byte [ebp - 4], 4
push 0x104
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Path
call fcn.00401769
mov byte [ebp - 4], 5
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 6
push edi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0041308c
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x18], 1
je 0x4816ab
push edi
call fcn.0043ee88
push dword [esi]
push 0
push str.IsRelative
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4816ab
push edi
lea ecx, [ebp - 0x10]
call fcn.0040184e
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.MozillaFirefox
call fcn.00401769
mov byte [ebp - 4], 8
push ecx
add ebx, 0x2c
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.0040184e
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
lea esi, [ebp - 0x1c]
call fcn.00414ad0
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.004043ce
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00401898
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.0040184e
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 7
lea esi, [ebp - 0x1c]
call fcn.00414ad0
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.004043ce
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00401898
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.0041306c
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, edi
call fcn.004e2661
ret 8
Function at 0x4885dc
Capabilities:
Extract http body

Disassembly:
push 0x18
mov eax, 0x5052cc
call fcn.004e25bc
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
call dword [eax + 0x10]
test eax, eax
jne 0x488614
push 0x51d067
mov ecx, dword [ebp + 8]
call fcn.00401769
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
jmp 0x488742
mov dword [ebp - 4], 1
lea esi, [edi + 0x2c]
cmp dword [esi], ebx
jne 0x48864e
mov edi, dword [edi + 0x28]
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push edi
call dword [eax + 0x48]
cmp eax, ebx
jne 0x48864a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push esi
push 0x51c03c
push eax
call dword [ecx]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi], ebx
je 0x4886cc
push 0x51d067
lea ecx, [ebp - 0x1c]
call fcn.00401769
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x4886ab
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0xf0]
cmp eax, ebx
jne 0x488695
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0040de08
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040184e
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401898
jmp 0x488742
mov dword [ebp - 4], ebx
jmp 0x48872e
push 0x51d067
mov ecx, dword [ebp + 8]
call fcn.00401769
mov dword [ebp - 4], ebx
or dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
call fcn.004e2661
ret 4
Function at 0x4bc972
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4bc996
cmp dword [edi + 0x54], 0
jne 0x4bc996
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004c6f26
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004bc933
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4c20e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4c2130
call fcn.004c6f26
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4c2130
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4c214c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004c1c63
mov esi, eax
test edi, edi
je 0x4c214a
test ebx, ebx
je 0x4c214a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c2945
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4f69f0
call fcn.004e2589
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4c296a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4c29b0
lea ecx, [ebp - 0x10]
call fcn.00404312
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.004bb70a
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.00401874
mov eax, esi
call fcn.004e2661
ret 8
Function at 0x4d90c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4d9109
call fcn.004c6f26
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4d9109
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4d914c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4d9135
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 0x4d9135
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4d9149
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 0x4dd215
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56d790]
jne 0x4dd21f
repz ret
jmp fcn.004e56cc
Function at 0x4f0ae1
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.004e7d1b
and dword [ebp - 4], 0
cmp dword [0x574668], 0
mov ebx, eax
jne 0x4f0b92
push 0x51be5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4f0c43
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51be50
push edi
call esi
test eax, eax
je 0x4f0c43
push eax
call fcn.004e7ca9
mov dword [esp], 0x51be40
push edi
mov dword [0x574668], eax
call esi
push eax
call fcn.004e7ca9
mov dword [esp], 0x51be2c
push edi
mov dword [0x57466c], eax
call esi
push eax
call fcn.004e7ca9
mov dword [esp], 0x51be10
push edi
mov dword [0x574670], eax
call esi
push eax
call fcn.004e7ca9
pop ecx
mov dword [0x574678], eax
test eax, eax
je 0x4f0b92
push 0x51bdf8
push edi
call esi
push eax
call fcn.004e7ca9
pop ecx
mov dword [0x574674], eax
mov eax, dword [0x574674]
cmp eax, ebx
je 0x4f0bea
cmp dword [0x574678], ebx
je 0x4f0bea
push eax
call fcn.004e7d24
push dword [0x574678]
mov esi, eax
call fcn.004e7d24
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4f0bea
test edi, edi
je 0x4f0bea
call esi
test eax, eax
je 0x4f0be1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4f0be1
test byte [ebp - 0xc], 1
jne 0x4f0bea
or dword [ebp + 0x10], 0x200000
jmp 0x4f0c23
mov eax, dword [0x57466c]
cmp eax, ebx
je 0x4f0c23
push eax
call fcn.004e7d24
pop ecx
test eax, eax
je 0x4f0c23
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4f0c23
mov eax, dword [0x574670]
cmp eax, ebx
je 0x4f0c23
push eax
call fcn.004e7d24
pop ecx
test eax, eax
je 0x4f0c23
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x574668]
call fcn.004e7d24
pop ecx
test eax, eax
je 0x4f0c43
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4f0c45
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret