joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147f
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x40149a
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ee
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ee
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f2
xor eax, eax
jmp 0x401504
cmp dword [ebp - 4], edi
je 0x401501
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x401944
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
xor esi, esi
call edi
test eax, eax
jbe 0x40197b
push ebx
mov ebx, ebp
sub ebx, 0x404418
mov al, byte [ebx + esi + 0x404418]
push ebp
xor al, 1
mov byte [esi + 0x404418], al
inc esi
call edi
cmp esi, eax
jb 0x401963
pop ebx
and byte [esi + 0x404418], 0
pop edi
pop esi
mov eax, 0x404418
pop ebp
ret

Function at 0x1110988
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1110992
pushal
call 0x1110998
pop ebp
sub ebp, 0x10
sub ebp, 0xd10988
jmp 0x11109ae
mov eax, 0xd10988
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ff
mov edx, 0x38c1dcb
xor byte [eax], dl
inc eax
dec ecx
jne 0x11109c5
jmp 0x11109d8
inc eax
push es
inc eax
inc edx
test ebx, 0xa4acbcb
xor ecx, ebx
retf
Function at 0x417400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push ebx
push esi
mov esi, ecx
mov edx, esi
mov dword [esi], vtable.axcl::CAxCryptLib.0
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], eax
mov word [esi + 0x38], ax
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], eax
mov byte [esi + 0x50], al
mov dword [esi + 0x7c], 7
mov dword [esi + 0x78], eax
mov word [esi + 0x68], ax
mov dword [esi + 0x94], 7
mov dword [esi + 0x90], eax
mov word [esi + 0x80], ax
call fcn.0041cc50
push 0x208
test eax, eax
mov dword [esi + 4], eax
push 0x46d350
push 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
test bl, bl
je 0x4174b6
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.NULL_pointer
push 0x3e
push 0x45d51c
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x10
push dword [ebp - 4]
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3

Function at 0x417ce9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 3
ja case.default.0x417ce2
jmp dword [eax*4 + 0x417dc8]
mov eax, dword [esi + 0x24]
test eax, eax
je case.default.0x417ce2
cmp eax, 1
jne 0x417d03
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 2
jne 0x417d14
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 0
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 1
je case.default.0x417ce2
cmp eax, 3
je case.default.0x417ce2
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x24], 1
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 2
je case.default.0x417ce2
cmp eax, 1
jne 0x417d72
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 2
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 3
je case.default.0x417ce2
cmp eax, 1
jne 0x417da5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 2
jne 0x417db6
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 3
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x417d8e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 3
ja case.default.0x417ce2
jmp dword [eax*4 + 0x417dc8]
mov eax, dword [esi + 0x24]
test eax, eax
je case.default.0x417ce2
cmp eax, 1
jne 0x417d03
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 2
jne 0x417d14
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 0
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 1
je case.default.0x417ce2
cmp eax, 3
je case.default.0x417ce2
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x24], 1
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 2
je case.default.0x417ce2
cmp eax, 1
jne 0x417d72
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 2
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 3
je case.default.0x417ce2
cmp eax, 1
jne 0x417da5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 2
jne 0x417db6
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 3
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x417e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x469070]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test edx, edx
je 0x417ea4
cmp word [edx], 0
je 0x417ea4
cmp dword [0x46c2c8], 8
mov eax, 0x46c2b4
push edx
cmovae eax, dword [0x46c2b4]
mov ecx, str.CDialogsWin_s____s
push eax
call fcn.0040fa50
push eax
lea eax, [ebp - 0x19c]
push 0x190
push eax
call fcn.00412710
add esp, 0x14
test eax, eax
js 0x417ed3
lea eax, [ebp - 0x19c]
jmp 0x417eb7
cmp dword [0x46c2c8], 8
mov eax, 0x46c2b4
cmovae eax, dword [0x46c2b4]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00429d08
mov esp, ebp
pop ebp
ret 4
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.StringCbPrintf
push 0x149
push str.CDialogsWin.h
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3
Function at 0x41ce60
Capabilities:
Get file size

Disassembly:
cmp byte [ecx + 0x48], 0
jne method.AxPipe::CSourceFileIO.virtual_48
mov al, 1
ret
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x20], 0xffffffff
jne 0x4238c6
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x20], eax
cmp eax, 0xffffffff
jne 0x4238c6
mov ecx, dword [edi + 0x38]
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x14], esi
push esi
mov dword [ebp - 4], 0
push str.CSourceFileIO::CSourceFileIO_open_error___s_
push 2
lea ecx, [edi + 8]
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x42391c
call ebx
test eax, eax
je 0x42391c
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x18], esi
push esi
push str.CSinkFileIO::Cant_get_size_of_file___s_
push 2
lea ecx, [edi + 8]
mov dword [ebp - 4], 1
call fcn.004247b0
push 2
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00429fda
add esp, 8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x423936
call fcn.00424840
jmp 0x423939
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4238b2
push 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x423982
call ebx
test eax, eax
je 0x423982
mov ecx, dword [edi + 0x38]
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x18], esi
push esi
mov dword [ebp - 4], 2
push str.CSourceFileIO::CSourceFileIO_SetFilePointer_error___s_
jmp 0x42389d
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425f80
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
push 0x38
push 0
lea esi, [edi + 0x28]
mov dword [edi + 0x20], 0
push esi
mov dword [edi + 0x24], 0
call fcn.0042c5c0
add esp, 0xc
mov dword [esi], 0
mov dword [edi + 0x48], 0x425e50
mov dword [edi + 0x4c], 0x425e70
push 0x38
push str.1.2.8
push esi
call fcn.00444170
test eax, eax
je 0x42601f
push 0x800
call fcn.00429fed
mov esi, eax
add esp, 4
test esi, esi
je 0x42601f
push 0
push str.ZLIB_initialization_error
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [edi + 8]
add esp, 0xc
test ecx, ecx
je 0x425ffc
push esi
push 5
call fcn.00424760
jmp 0x42601f
cmp dword [edi + 0x10], 0
je 0x42600a
push esi
call fcn.00429fe8
jmp 0x42601c
push dword [edi + 0xc]
call fcn.00429fe8
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 5
add esp, 4
cmp dword [edi + 0x68], 0
jne 0x42602a
pop edi
mov al, 1
pop esi
ret
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.CPipeInflate::OutOpen____m_pOutSeg_non_NULL_
push 0x55
push str.CPipeInflate.cpp
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3

Function at 0x426ec0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x38]
mov dword [esi + 0x28], 0
push eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x80], 0
mov byte [esi + 0x30], 1
call fcn.00426ab0
mov ecx, esi
call fcn.004269b0
cmp dword [esi + 0x78], 0
push 0x208
push 0x46d350
push 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
mov edi, eax
test bl, bl
je 0x426f3c
pop edi
pop esi
mov al, 1
pop ebx
ret
push str.NULL_pointer
push 0xdb
push 0x460f3c
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3
Function at 0x4811fc
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x52e478
mov ecx, edi
call fcn.00480069
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x48124f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x481262
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00480280
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00480258
jmp 0x481262
mov ecx, esi
call fcn.00482eae
test eax, eax
je 0x481262
push edi
mov ecx, eax
call fcn.004811b4
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x482774
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4827b6
call fcn.00486ead
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4827b6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4827ad
xor eax, eax
jmp 0x4827be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004827c4
pop edi
pop esi
pop ebx
ret 4

Function at 0x4879e3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x487a11
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x487a2f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00487949
jmp 0x487a2f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x487a2f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00487949
test edi, edi
mov eax, edi
jne 0x487a19
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401bf0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5235e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x570df0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00408df9
push 0
push 0
push 0x40000
mov ecx, esi
mov dword [esi + 0x13c], 0
call fcn.004150c2
mov eax, dword [esi + 0xb8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402470
xor eax, eax
lea edx, [ebp - 0x10]
mov dword [ebp - 4], eax
push edx
mov dword [ebp - 0x10], eax
call ebx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x10], 2
jne 0x401cf7
mov eax, dword [eax + 4]
push eax
lea ecx, [esi + 0xc4]
mov dword [esi + 0x138], eax
call fcn.004150ee
mov eax, dword [esi + 0x160]
push 0x32
push 1
push 0x40a
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00501874
int3

Function at 0x402020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40203b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402072
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40206e
jmp 0x402060
cmp esi, eax
jae 0x402072
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402060
cmp esi, eax
jb 0x402079
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403d1f
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 0x403d67
call fcn.0041637c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x403d67
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x403daa
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 0x403d93
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 0x403d93
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x403da7
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 0x40930b
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.0041637c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409344
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.00408f48
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 0x4093a2
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 0x4093c6
cmp dword [edi + 0x74], 0
jne 0x4093c6
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041637c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.00409363
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 0x414ef6
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 0x414f3d
call fcn.0041637c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414f3d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414f59
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004149f6
mov esi, eax
test edi, edi
je 0x414f57
test ebx, ebx
je 0x414f57
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41572f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51a3d6
call fcn.00501e6f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x415754
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4157a6
call fcn.0040b434
push eax
lea ecx, [ebp - 0x10]
call fcn.004013b0
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.00502c12
push eax
call fcn.004020d0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401460
mov eax, esi
call fcn.00501f47
ret 8

Function at 0x41675b
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.004163ff
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4167a5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040980f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404f19
jmp 0x4167b0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00416a99
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4167b6
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.00415002
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4167f3
call fcn.004163ff
mov dword [esi + 0xc], 1
jmp 0x4167f8
call fcn.004163ff
cmp dword [esi], 0
je 0x416841
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x416819
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040980f
jmp 0x41682b
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004015c0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404f19
jmp 0x416865
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x416865
push dword [esi]
push dword [ebp + 8]
call fcn.00416a99
pop esi
pop ebp
ret 0xc