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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c0a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.TkpSnMB0l8NEQ5fKyBVYEhoRmcT46YAUQhzODc
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.R0xXLUTQ4pNiUyCPw
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x458f1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x458f7c
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x458f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x458fb2
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458fa8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458ffd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x458fe8
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458fde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458ffd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3
Function at 0x4599a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d195
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
je 0x459bbe
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x459bbe
lea esi, [edi + 1]
test esi, esi
js 0x459b70
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x459a10
push esi
lea ecx, [ebp + 8]
call fcn.0042f4e0
mov eax, dword [ebp + 8]
mov ecx, 0x5c
mov word [eax + edi*2], cx
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 8]
jg 0x459b70
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
lea ecx, [ebp + 8]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.0042dcc0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x459a62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x459b7a
mov esi, dword [ebp + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459a7d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0042f560
push str.SzlLjbAhL0Lg0_yXA8FYOVwooGCRL4MjMt9WCIA6Ll0
lea ecx, [ebp - 0x18]
call fcn.0042f690
push esi
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, esp
push eax
call fcn.0042e9b0
lea ecx, [ebp - 0x14]
call fcn.00445470
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00446790
push 0x5bf1bc
lea eax, [ebp - 0x38]
push eax
call fcn.0054fa3a
push str.cmU2dWhsLYQDsesDFIFaAgREpOx8A4Qj8AeFg
lea ecx, [ebp - 0x18]
call fcn.0042f690
push 2
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.0042e9b0
lea ecx, [ebp - 0x14]
call fcn.00445470
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00446790
push 0x5bf1bc
lea eax, [ebp - 0x44]
push eax
call fcn.0054fa3a
int3
Function at 0x466a30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x466c07
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.QUV2hVzQr7HTkuYMhg
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0042f250
test al, al
jne 0x466a95
push 0x13
push str.QUV2hVzQr7HTkuYMhg
lea ecx, [ebp - 0x14]
call fcn.0042f580
mov dword [ebp - 4], 1
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x466c11
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x594764
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0042f250
test al, al
jne 0x466ada
push 0
push 0x594764
lea ecx, [ebp - 0x10]
call fcn.0042f580
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x466b5d
push 0x228
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 0x22c
push 0
push eax
call fcn.0054f8e0
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x466b56
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x248], edi
je 0x466b48
lea eax, [ebp - 0x250]
push eax
push esi
call ebx
test eax, eax
jne 0x466b30
jmp 0x466b56
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x10]
call fcn.004668d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x466bb2
mov ebx, dword [ebp - 0x14]
push ecx
add ebx, 0xfffffff0
mov edi, esp
mov ecx, ebx
mov dword [ebp - 0x1c], edi
call fcn.0042e8d0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edi], eax
call fcn.00445470
lea edx, [esi - 0x10]
add esp, 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466ba3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x466bf3
mov ecx, dword [ebx]
push ebx
jmp 0x466bee
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.0042e8d0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
or esi, 0xffffffff
mov dword [ecx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x466bdb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x466bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f560
push 0x80004005
call fcn.0042f560
int3
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x41acd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x41acdf
pop dword [ebp - 0x48]
mov eax, 0x5f7aff4c
add eax, 0xa0c6ad93
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x4f6ee
push 0
mov eax, 0xa2620f8e
add eax, 0x5de1b2ca
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x5010
xor ebx, ebx
add ebx, eax
mov esi, 0xf72319a4
sub esi, 0xf6dc67a4
add esi, dword [ebp - 0x48]
mov edi, 0xba82626a
sub edi, 0xc09c0868
xor dword [ebp - 0x40], esi
mov edx, dword [esi]
add dword [ebp - 0x2c], 0x2d8d48d8
sub edx, edi
sub dword [ebp - 0x1c], ecx
mov dword [ebx], edx
add dword [ebp - 0x1c], 0xa0e34ee4
add ebx, 0xc158d821
sub ebx, 0xc158d81d
add esi, 4
loop 0x41ad3a
add eax, 0x562c0d02
add eax, 0xa9d52611
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40110c
Capabilities:
Terminate process

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

Function at 0x4086ae
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.00406a72
and dword [ebp - 4], 0
cmp dword [0x4b6814], 0
mov ebx, eax
jne 0x40875f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408810
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408810
push eax
call fcn.00406a00
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b6814], eax
call esi
push eax
call fcn.00406a00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b6818], eax
call esi
push eax
call fcn.00406a00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b681c], eax
call esi
push eax
call fcn.00406a00
pop ecx
mov dword [0x4b6824], eax
test eax, eax
je 0x40875f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a00
pop ecx
mov dword [0x4b6820], eax
mov eax, dword [0x4b6820]
cmp eax, ebx
je 0x4087b7
cmp dword [0x4b6824], ebx
je 0x4087b7
push eax
call fcn.00406a7b
push dword [0x4b6824]
mov esi, eax
call fcn.00406a7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087b7
test edi, edi
je 0x4087b7
call esi
test eax, eax
je 0x4087ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087ae
test byte [ebp - 0xc], 1
jne 0x4087b7
or dword [ebp + 0x10], 0x200000
jmp 0x4087f0
mov eax, dword [0x4b6818]
cmp eax, ebx
je 0x4087f0
push eax
call fcn.00406a7b
pop ecx
test eax, eax
je 0x4087f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4087f0
mov eax, dword [0x4b681c]
cmp eax, ebx
je 0x4087f0
push eax
call fcn.00406a7b
pop ecx
test eax, eax
je 0x4087f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b6814]
call fcn.00406a7b
pop ecx
test eax, eax
je 0x408810
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408812
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cc60
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x4b4030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2c94114]
push ebx
mov ebx, dword [0x2c93f60]
push esi
mov esi, dword [0x4b5050]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cca1
push str.lefovuweceh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c94114]
mov dword [0x4b69ec], esi
cmp eax, 0x114e
jne 0x40cccb
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 [0x2c94114]
cmp eax, 0x2f
jne 0x40cced
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.0040cbb0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x42210b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42214a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42214a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42214a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42214a
cmp dword [ecx + 0x74], 0xe
jbe 0x42214a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430a429f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x430a42ae
pop dword [ebp - 0x50]
mov eax, 0x59ab9f5
add eax, 0x3d6f88b9
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x399f6
push 0
mov eax, 0xa50eaf5
add eax, 0x38b925ab
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xa9e10f95
add ecx, 0x561f408b
mov edi, eax
mov esi, 0x4ebf635b
sub esi, 0xbb4855b
add esi, dword [ebp - 0x50]
mov ebx, 0x51e22b19
add ebx, 0x1f683cc4
sub dword [ebp - 0x44], edi
mov edx, dword [esi]
add dword [ebp - 0x48], ebx
add edx, ebx
mov dword [edi], edx
xor dword [ebp - 0x20], edx
add edi, 0xea4163fb
sub edi, 0xea4163f7
add esi, 0x8559c930
sub esi, 0x8559c92c
loop 0x430a430d
add eax, 0x4a979085
add eax, 0xb569a2ce
xor ebx, ebx
add ebx, eax
add eax, 0xea1afcfa
sub eax, 0xea1afcf5
mov ecx, 0x97689419
sub ecx, 0x545e9419
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9
Function at 0x5016b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa5000]
push edi
jmp 0x5016ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5016d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5016c0
mov eax, 1
add ebx, ebx
jne 0x5016e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5016f4
jne 0x501713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501713
dec eax
add ebx, ebx
jne 0x501700
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5016d8
add ebx, ebx
jne 0x50170f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x501765
xor ecx, ecx
sub eax, 3
jb 0x50172b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50179a
sar eax, 1
mov ebp, eax
jmp 0x501736
add ebx, ebx
jne 0x501736
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501704
inc ecx
add ebx, ebx
jne 0x501744
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501704
add ebx, ebx
jne 0x501751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x501746
jne 0x501762
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x501746
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x501784
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x501776
jmp 0x5016c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x501784
add edi, ecx
jmp 0x5016c6
pop esi
mov edi, esi
mov ecx, 0x3b6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5017a2
cmp byte [edi], 0x11
jne 0x5017a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5017a7
lea edi, [esi + 0xfb000]
mov eax, dword [edi]
or eax, eax
je 0x501816
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11fef8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11ff8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5017d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11ff94]
or eax, eax
je 0x501810
mov dword [ebx], eax
add ebx, 4
jmp 0x5017f1
call dword [esi + 0x11ff90]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x501847
cmp al, 0xef
ja 0x50183a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50181c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x501829
mov ebp, dword [esi + 0x11ff98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50187b
sub esp, 0xffffff80
jmp 0x435143
Function at 0x4041a3
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 0x4041eb
call fcn.0040a594
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4041eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40422e
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 0x404217
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 0x404217
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x40422b
mov ecx, dword [esi + 0x68]
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 0x40611f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040a594
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x406158
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00405d61
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4061b6
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x4061da
cmp dword [edi + 0x74], 0
jne 0x4061da
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040a594
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.00406177
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 0x4111c6
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 0x41120d
call fcn.0040a594
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41120d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x411229
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410ccb
mov esi, eax
test edi, edi
je 0x411227
test ebx, ebx
je 0x411227
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4119ff
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51d044
call fcn.0050198b
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x411a24
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x411a76
call fcn.0040228f
push eax
lea ecx, [ebp - 0x10]
call fcn.00401770
mov ecx, dword [esi + 0x6c]
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.00504320
push eax
call fcn.00402d51
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401930
mov eax, esi
call fcn.00501a63
ret 8
Function at 0x437d95
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.00437a54
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x437ddf
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040a7cb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405419
jmp 0x437dea
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041461a
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x437df0
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.004112d2
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x437e2d
call fcn.00437a54
mov dword [esi + 0xc], 1
jmp 0x437e32
call fcn.00437a54
cmp dword [esi], 0
je 0x437e7b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x437e53
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040a7cb
jmp 0x437e65
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401680
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405419
jmp 0x437e9f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x437e9f
push dword [esi]
push dword [ebp + 8]
call fcn.0041461a
pop esi
pop ebp
ret 0xc

Function at 0x4591a8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004db6e3
call fcn.00409fc5
cmp dword [eax + 0x14], 0
jne 0x4591c5
mov ecx, esi
pop esi
jmp fcn.00458cad
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004985bf
call fcn.00409fc5
cmp dword [eax + 0x14], 0
jne 0x45c8a8
mov ecx, esi
pop esi
jmp fcn.0045c25e
pop esi
ret