joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d7d2
Capabilities:
Access the windows event log

Disassembly:
push 0x2c
mov eax, 0x5c0c40
call fcn.00589338
mov eax, dword [ebp + 8]
xor ebx, ebx
push str.System
push ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov edi, eax
test edi, edi
je 0x44d8b7
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], ebx
mov ebx, 0x10000
push ebx
call fcn.0059d17c
mov esi, eax
pop ecx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x44d8b0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
push 0
push 9
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x44d85e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44d8bf
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push ebx
call fcn.0044f4e6
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x44d825
jmp 0x44d8c6
lea eax, [ebp - 0x30]
push eax
push 0x1775
push str.EventLog
push dword [ebp - 0x2c]
push esi
call fcn.0044d3a1
add esp, 0x14
test al, al
je 0x44d825
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
lea eax, [ebp - 0x20]
push 0x5d2938
push eax
call fcn.0042d870
lea eax, [ebp - 0x20]
push eax
call fcn.00417220
mov ecx, dword [ebp - 0x34]
add esp, 0x10
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00417120
push esi
call fcn.0059c099
pop ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov al, 1
call fcn.005892e2
ret
push esi
call fcn.0059c099
pop ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
xor al, al
jmp 0x44d8b9

Function at 0x44dbb1
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x5c0ca0
call fcn.00589304
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ebx
jb 0x44dbcf
mov eax, dword [edi]
jmp 0x44dbd1
mov eax, edi
mov byte [eax], bl
lea eax, [ebp - 0x10]
push eax
push dword [0x63300c]
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44dc6c
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.Common_AppData
push esi
call ebx
test eax, eax
jne 0x44dc65
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0042d970
cmp dword [edi + 0x14], 0x10
jb 0x44dc2c
mov eax, dword [edi]
jmp 0x44dc2e
mov eax, edi
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Common_AppData
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x44dc65
cmp dword [edi + 0x14], 0x10
jb 0x44dc51
mov ecx, dword [edi]
jmp 0x44dc53
mov ecx, edi
mov eax, dword [edi + 0x10]
dec eax
add eax, ecx
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044cfbe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.005892cd
ret
Function at 0x453f87
Capabilities:
Check http status code
Contain obfuscated stackstrings
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x633ef8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x12], 0x656c676f
inc eax
mov dword [ebp - 0xe], 0x6d6f632e
push eax
push 0x50
sub esp, 0x18
mov word [ebp - 0x14], 0x6f67
mov edi, ecx
lea eax, [ebp - 0x14]
mov ecx, esp
xor ebx, ebx
mov byte [ebp - 0xa], bl
push eax
call fcn.00417240
mov ecx, edi
call fcn.00453840
cmp byte [edi + 0x18], bl
je 0x454059
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004538eb
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x453fed
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push 0x5d4a3c
push 0x5d4a48
push eax
push dword [edi + 0x20]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
lea ecx, [ebp - 0x2c]
xor eax, eax
push ebx
inc eax
push eax
call fcn.00417350
test esi, esi
je 0x454052
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x30], 0xc8
push 1
movzx ebx, bl
pop ecx
cmove ebx, ecx
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call fcn.004538a3
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005892bc
mov esp, ebp
pop ebp
ret
Function at 0x454073
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x84
mov eax, 0x5c13e7
call fcn.00589338
sub esp, 0x18
mov dword [ebp - 0x1d], 0x74746553
lea eax, [ebp - 0x60]
mov dword [ebp - 0x8c], esp
xor ebx, ebx
mov word [ebp - 0x2a], 0x6f69
mov ecx, esp
mov word [ebp - 0x31], 0x6e65
push eax
mov word [ebp - 0x3b], 0x646e
mov dword [ebp - 0x2e], 0x73726556
mov dword [ebp - 0x27], 0x746e495c
mov word [ebp - 0x4b], 0x7261
mov dword [ebp - 0x23], 0x656e7265
mov word [ebp - 0x38], 0x7377
mov dword [ebp - 0x19], 0x73676e69
mov dword [ebp - 0x50], 0x74666f53
mov dword [ebp - 0x35], 0x72727543
mov byte [ebp - 0x4c], 0x77
mov dword [ebp - 0x3f], 0x69575c74
mov dword [ebp - 0x48], 0x63694d5c
mov word [ebp - 0x1f], 0x2074
mov dword [ebp - 0x43], 0x666f736f
mov byte [ebp - 0x39], 0x6f
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x44], 0x72
mov byte [ebp - 0x36], 0x5c
mov byte [ebp - 0x49], 0x65
mov dword [ebp - 0x60], 0x786f7250
mov word [ebp - 0x5a], 0x616e
mov word [ebp - 0x57], 0x656c
mov word [ebp - 0x5c], 0x4579
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x58], 0x62
mov dword [ebp - 0x6a], 0x65767265
mov dword [ebp - 0x6f], 0x79786f72
mov byte [ebp - 0x6b], 0x53
mov word [ebp - 0x66], 0x72
mov byte [ebp - 0x70], 0x50
call fcn.00417240
sub esp, 0x18
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00417240
or dword [ebp - 4], 0xffffffff
mov esi, SysReAllocStringLen
push esi
call fcn.00454251
cmp eax, 1
lea eax, [ebp - 0x70]
sete bl
add esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.00417240
sub esp, 0x18
mov dword [ebp - 4], 1
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00417240
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.004542d2
mov esi, str.http
push esi
call fcn.00417220
add esp, 0x3c
lea ecx, [ebp - 0x88]
push eax
push 0
push esi
call fcn.00436ab0
cmp eax, 0xffffffff
mov esi, str.https
push esi
setne bh
call fcn.00417220
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x88]
call fcn.00436ab0
cmp eax, 0xffffffff
setne cl
test bl, bl
je 0x45422a
test bh, bh
jne 0x454220
test cl, cl
jne 0x454220
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00417350
mov al, 1
jmp 0x45423d
cmp dword [ebp + 8], 0
jne 0x454243
test bh, bh
jne 0x45420d
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00417350
mov al, bl
call fcn.005892e2
ret
cmp dword [ebp + 8], 1
jne 0x45422a
test cl, cl
je 0x45422a
mov bl, 1
jmp 0x45422c
Function at 0x454251
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push esi
push edi
push edx
xor edi, edi
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
push 0x20019
cmovae eax, dword [ebp + 0xc]
push edi
push eax
push ecx
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4542a8
cmp dword [ebp + 0x38], 0x10
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push edi
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
lea ecx, [ebp + 0xc]
push edi
push 1
call fcn.00417350
push edi
push 1
lea ecx, [ebp + 0x24]
call fcn.00417350
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4542d2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x5c1440
call fcn.00589338
mov esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 4], 2
mov dword [esi + 0x10], ebx
jb 0x454307
mov eax, dword [esi]
jmp 0x454309
mov eax, esi
mov byte [eax], bl
cmp dword [ebp + 0x24], 0x10
lea edx, [ebp - 0x34]
push edx
push 0x20019
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], 1
cmovae eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4543ce
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x30]
push ecx
push ebx
push ebx
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp + 0x28]
push ebx
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4543c6
push dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.0045446e
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp - 0x40]
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push ebx
push ebx
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4543c6
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
sub eax, dword [ebp - 0x40]
test eax, eax
jle 0x4543c6
lea eax, [ecx - 1]
lea ecx, [ebp - 0x29]
push ecx
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004543f5
push eax
mov ecx, esi
call fcn.00409b50
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00417350
lea ecx, [ebp - 0x40]
call fcn.004403e2
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp + 0x10]
call fcn.00417350
push ebx
push 1
lea ecx, [ebp + 0x28]
call fcn.00417350
mov eax, esi
call fcn.005892e2
ret
Function at 0x457afc
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5c2776
call fcn.00589304
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x457b22
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x457b81
call fcn.004555ae
push eax
lea ecx, [ebp - 0x10]
call fcn.004168f0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.0058a207
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005a32fb
push eax
call fcn.004158e0
add esp, 0x14
test esi, esi
je 0x457b74
push esi
call fcn.0059e3a0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00416920
mov eax, ebx
call fcn.005892cd
ret 8

Function at 0x458842
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x45886d
cmp dword [ebx + 0x80], 0
jne 0x45886d
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00455a60
push 5
push edi
mov esi, dword [eax + 0xc]
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 edi, eax
mov ecx, ebx
push edi
call fcn.00458afb
push edi
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 0x4588a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00455a60
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4588de
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004588ff
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45af6d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x5c1818
call fcn.00589304
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x45b017
push dword [ebp + 8]
mov ecx, eax
call fcn.0045b2a2
mov esi, eax
test esi, esi
je 0x45b0aa
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x45b000
push edx
call fcn.004544f0
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b000
xor edi, edi
inc edi
jmp 0x45b00a
push dword [ebx]
call fcn.004544f9
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00432010
jmp 0x45b0a8
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.0058a207
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x45b0a0
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.004544f0
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x45b09a
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d080
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.0042d080
add al, bl
mov edx, edi
test edx, edx
jns 0x45b08b
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x45b062
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00416920
mov eax, edi
call fcn.005892cd
ret 0x10

Function at 0x45b0b2
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x45b105
push esi
push dword [ebp + 8]
call fcn.0045b2a2
mov edi, eax
test edi, edi
jne 0x45b0d5
mov eax, dword [ebp + 0x10]
jmp 0x45b117
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45b0d0
mov eax, dword [ebp - 8]
jmp 0x45b117
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45e318
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x45e35d
call fcn.00455a60
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45e35d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45e379
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045c0c5
mov ebx, eax
test edi, edi
je 0x45e377
test esi, esi
je 0x45e377
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45ed4b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x45ee09
cmp dword [esi + 0x20], 0
je 0x45ee09
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ee09
cmp dword [ebp + 8], 0
je 0x45ee09
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00455a60
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x45edda
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45ee09
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0047048c
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x45edfa
test edi, edi
je 0x45edfa
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x45ee05
mov ecx, esi
call fcn.0045eaee
mov eax, ebx
jmp 0x45ee0b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46e350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00457a46
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x46e38c
call fcn.0046e572
mov dword [esi + 0xc], 1
jmp 0x46e391
call fcn.0046e572
cmp dword [esi], 0
je 0x46e3da
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x46e3b4
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00455250
jmp 0x46e3c5
push 0xff
mov ecx, esi
call fcn.00416610
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00415d80
jmp 0x46e3fe
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x46e3fe
push dword [esi]
push dword [ebp - 4]
call fcn.00468e6d
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46e4c7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0046e572
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46e50f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00455250
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00415d80
jmp 0x46e51a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00468e6d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x471ecc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x471ee6
mov edi, dword [esi + 0xc]
jmp 0x471f26
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x471eff
call fcn.0045648f
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x471f14
call fcn.0045648f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x471f26
call fcn.0045648f
call fcn.00455a60
cmp dword [eax + 0x3c], 0
je 0x471f3b
push edi
mov ecx, ebx
call fcn.00471605
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00472118
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x471f64
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x471f70
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47579d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004be1b2
call fcn.00455ab4
cmp dword [eax + 0x14], 0
jne 0x4757b8
mov ecx, esi
pop esi
jmp fcn.00474ac0
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.00402250
call fcn.00455ab4
cmp dword [eax + 0x14], 0
jne 0x489773
mov ecx, esi
pop esi
jmp fcn.00488fd6
pop esi
ret
Function at 0x496ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x496af9
call fcn.00455a60
mov esi, dword [eax + 0xc]
push 0x5dd7d8
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x496b4f
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x496b4e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x496b2f
xor esi, esi
jmp 0x496b45
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00496b57
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8