joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bbc9
Capabilities:
Copy file
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x438
push ebx
mov bl, byte [esp + 0x448]
lea eax, [esp + 0x230]
call fcn.0040ffb0
mov ecx, dword [esp + 0x444]
lea eax, [esp + 0x24]
call fcn.0040ffb0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44bc48
test bl, bl
je 0x44bc71
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x44bc3e
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
pop ebx
add esp, 0x438
ret
lea eax, [esp + 0x230]
push eax
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bc71
lea ecx, [esp + 0x24]
push ecx
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bc7b
test bl, bl
jne 0x44bc9d
xor al, al
pop ebx
add esp, 0x438
ret
lea edx, [esp + 0x24]
push edx
call fcn.004366be
add esp, 4
test al, al
je 0x44bc71
lea eax, [esp + 0x24]
push eax
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bc71
lea ecx, [esp + 0x230]
push 0x487240
push ecx
call fcn.00411663
lea edx, [esp + 0x238]
push edx
call fcn.004112d5
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x242], cx
call fcn.004112d5
xor ecx, ecx
mov word [esp + eax*2 + 0x36], cx
lea edx, [esp + 0x240]
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], edx
add esp, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
lea edx, [esp + 4]
mov ecx, 0x614
push edx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x438
ret
Function at 0x44bd29
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10b4
call fcn.00425210
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.0040ffb0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.0040ffb0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.00436a1d
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.00436ac4
add esp, 0xc
test al, al
je 0x44bd9e
lea eax, [esp + 0x438]
push 0x487240
push eax
call fcn.00411663
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bdc7
lea edx, [esp + 0x648]
push 0x487240
push edx
call fcn.00411663
add esp, 8
lea eax, [esp + 0xcb0]
push eax
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x448]
push ecx
call fcn.00413db0
add esp, 0x14
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov byte [esp + 0xe], 1
cmp esi, 0xffffffff
je 0x44bf7d
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x44bf7d
test byte [esp + 0x858], 0x10
jne 0x44bf5d
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x64c]
push edx
lea eax, [esp + 0xcb8]
push eax
lea ecx, [esp + 0xec4]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.00436879
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00411691
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00411663
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00411663
lea eax, [esp + 0x240]
push eax
call fcn.00436b22
add esp, 0x1c
test al, al
je 0x44bedb
cmp byte [ebp + 0x10], 0
je 0x44bf34
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44bf44
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x44bf1f
cmp byte [esp + 0xf], 0
jne 0x44befd
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x44bf30
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x44bf34
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44bf30
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x44bf5b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x44bf34
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44be20
mov byte [esp + 0xe], al
jmp 0x44be20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bf8d
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa88
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 0
call fcn.0040ffb0
lea eax, [esp + 0x18]
push eax
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bfcf
lea ecx, [esp + 0x18]
push 0x487240
push ecx
call fcn.00411663
add esp, 8
lea edx, [esp + 0x680]
push edx
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00413db0
add esp, 0x14
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44c094
cmp bl, 1
jne 0x44c094
test byte [esp + 0x228], 0x10
jne 0x44c06e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00411691
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00411663
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00411663
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x44c085
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c015
xor bl, bl
jmp 0x44c015
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
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 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b600]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b77c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21b780]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b790]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b784]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x409ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x409cb5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409cf6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x409cf2
nop word [eax + eax]
cmp esi, edx
jae 0x409cf6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x409ce0
cmp esi, edx
jb 0x409cfb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40a5c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5e0ffc]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ebx, ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], 1
mov dword [esp + 0x10], 0xffffffff
je 0x40a67a
mov esi, dword [0x5ec49c]
mov edi, dword [0x5ec4a0]
cmp esi, edi
je 0x40a67a
nop
xor eax, eax
mov dword [esp + 0x30], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040bef0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push dword [eax + 4]
call fcn.0040bb80
test eax, eax
mov eax, dword [esp + 0x30]
je 0x40a666
inc ebx
cmp eax, 8
jb 0x40a65d
inc eax
push eax
push dword [esp + 0x20]
call fcn.0040c230
add esi, 0x18
cmp esi, edi
jne 0x40a610
jmp 0x40a67a
mov dword [esp + 0x10], ebx
cmp eax, 8
jb 0x40a67a
inc eax
push eax
push dword [esp + 0x20]
call fcn.0040c230
mov ebx, dword [esp + 0x10]
mov dword [0x5ec400], 1
cmp ebx, 0xffffffff
jne 0x40a6a1
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0055829c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov al, 1
pop edi
pop esi
mov dword [0x5ec400], ebx
pop ebx
xor ecx, esp
call fcn.0055829c
mov esp, ebp
pop ebp
ret
Function at 0x40f1a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00423cf1
Function at 0x41779a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4177e4
call fcn.00430930
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4177e1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x417832
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x417810
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.00558aea
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x417810
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x417830
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.00558aea
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4233b2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x57c8a6
call fcn.00558b27
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 0x42345c
push dword [ebp + 8]
mov ecx, eax
call fcn.004236ea
mov esi, eax
test esi, esi
je 0x4234ef
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_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x423445
push edx
call fcn.004130c2
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_RegQueryValueExW]
test eax, eax
jne 0x423445
xor edi, edi
inc edi
jmp 0x42344f
push dword [ebx]
call fcn.004130cb
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00423277
jmp 0x4234ed
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.00558aea
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 0x4234e5
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.004130c2
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x4234df
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044eb09
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.0044eb09
add al, bl
mov edx, edi
test edx, edx
jns 0x4234d0
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x4234a7
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.0040a3e0
mov eax, edi
call fcn.00558af0
ret 0x10

Function at 0x4234f7
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 0x42354a
push esi
push dword [ebp + 8]
call fcn.004236ea
mov edi, eax
test edi, edi
jne 0x42351a
mov eax, dword [ebp + 0x10]
jmp 0x42355c
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_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423515
mov eax, dword [ebp - 8]
jmp 0x42355c
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423d56
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.00430930
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423d8d
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.00423dae
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 0x42aace
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 0x42ab13
call fcn.00430930
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ab13
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42ab2f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00430adf
mov ebx, eax
test edi, edi
je 0x42ab2d
test esi, esi
je 0x42ab2d
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 0x42b518
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 0x42b5d6
cmp dword [esi + 0x20], 0
je 0x42b5d6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b5d6
cmp dword [ebp + 8], 0
je 0x42b5d6
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00430930
push 0x58e338
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42b5a7
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 0x42b5d6
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.004b4883
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x42b5c7
test edi, edi
je 0x42b5c7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x42b5d2
mov ecx, esi
call fcn.0042b2bb
mov eax, ebx
jmp 0x42b5d8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42ff16
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57f4cd
call fcn.00558b27
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x42ff3c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42ff9b
call fcn.00413455
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a3b0
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.00558aea
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00566a57
push eax
call fcn.00409d40
add esp, 0x14
test esi, esi
je 0x42ff8e
push esi
call fcn.0056686a
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040a3e0
mov eax, ebx
call fcn.00558af0
ret 8

Function at 0x430d72
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.0042faf1
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x430dae
call fcn.00430f94
mov dword [esi + 0xc], 1
jmp 0x430db3
call fcn.00430f94
cmp dword [esi], 0
je 0x430dfc
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x430dd6
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00414298
jmp 0x430de7
push 0xff
mov ecx, esi
call fcn.0040a070
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004142bb
jmp 0x430e20
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x430e20
push dword [esi]
push dword [ebp - 4]
call fcn.00435d66
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x430ee9
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.00430f94
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x430f31
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00414298
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004142bb
jmp 0x430f3c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00435d66
pop edi
pop esi
pop ebp
ret 0xc