joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f3e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a62cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push esi
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0x10]
cmp byte [ebx + 0x40], 0
mov dword [ebp + 0xc], eax
cmovne ecx, eax
mov byte [ebx + 0x10], 1
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], eax
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x42f4f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.0042f1d0
mov esi, eax
mov byte [ebx + 0x10], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42f497
cmp dword [ebp + 0x10], eax
je 0x42f497
mov esi, 0x2ee2
jmp 0x42f4af
test esi, esi
jne 0x42f4af
mov esi, dword [ebx + 4]
cmp esi, dword [edi + 4]
je 0x42f4ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [edi + 4], esi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42f4de
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004027c0
int3
Function at 0x430ad0
Capabilities:
Connect to http server

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x68]
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x430b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x430b56
cmp byte [esi + 0x38], 0
jne 0x430b6c
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax]
lea ecx, [esi + 0xc]
call fcn.00431f10
test al, al
jne 0x430b4b
push 0xa
push dword [esi + 0x68]
call edi
cmp byte [esi + 0x38], 0
je 0x430b30
jmp 0x430b6c
pop edi
pop esi
mov eax, 0xe0000008
pop ebx
ret 0x1c
test eax, eax
je 0x430b6c
pop edi
pop esi
pop ebx
ret 0x1c
push dword [esi + 0x68]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 4], 0
jne 0x430b7b
mov eax, dword [esi + 0x2c]
pop edi
pop esi
pop ebx
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x1c
Function at 0x432090
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x4320ca
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmp ecx, 0x110
jne 0x4320d2
sub esp, 8
mov dword [edi + 0x40], ebx
mov ecx, edi
call fcn.004325e0
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
cmp dword [edi + 0x40], 0
jne 0x43225e
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x18
mov esi, dword [esp + 0x18]
cmp ecx, 0x111
jne 0x4321c0
movzx eax, si
mov edx, eax
cmp bx, ax
jne 0x432148
lea eax, [edi + 0x44]
push eax
lea ecx, [edi + 0x5c]
call fcn.0041ecc0
lea eax, [edi + 0x48]
push eax
lea ecx, [edi + 0x60]
call fcn.0041ecc0
push 0x428
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
push 1
push dword [edi + 4]
sete cl
mov byte [edi + 0x4c], cl
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x20]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword [ecx], 0
ret 0x18
mov eax, 2
cmp ax, dx
jne 0x43216e
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], 0
mov eax, ebx
pop ebx
ret 0x18
mov eax, esi
mov edx, 0x300
shr eax, 0x10
cmp dx, ax
jne 0x4321c0
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x5c]
cmp eax, dword [ecx]
jne 0x4321ae
lea esi, [edi + 0x44]
push esi
call fcn.0041ecc0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
xor edx, edx
cmp dword [ecx - 0xc], edx
setne dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
ret 0x18
lea edx, [edi + 0x20]
cmp ecx, 5
jne 0x43222f
xor eax, eax
test edx, edx
cmove edi, eax
cmp byte [edx + 0x1c], al
je 0x432201
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x4321f2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x432206
test esi, esi
jne 0x432201
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x432206
cmp esi, 1
je 0x432254
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.00432dc0
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], 0
mov eax, ebx
pop ebx
ret 0x18
cmp ecx, 0x24
jne 0x4320ca
cmp dword [edx + 0x14], 0xffffffff
je 0x432254
cmp dword [edx + 0x18], 0xffffffff
je 0x432254
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x20]
mov dword [eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0x18
Function at 0x43b1a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a86c5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00404500
test eax, eax
je 0x43b305
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0043c170
or esi, 0xffffffff
test al, al
jne 0x43b207
xor bl, bl
jmp 0x43b2d0
mov edi, dword [edi + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp + 8], eax
call fcn.00404500
test eax, eax
je 0x43b305
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edi
call fcn.00408f80
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x43b271
xor bl, bl
jmp 0x43b296
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 8]
push edx
push dword [ebp + 0x10]
lea edx, [ebp + 0xc]
mov dword [ebp + 8], 4
push edx
push 0
push dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43b2a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b2d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43b2ef
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004027c0
int3
Function at 0x43b600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a873d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x43b7f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0043c170
or edi, 0xffffffff
test al, al
jne 0x43b667
xor bl, bl
jmp 0x43b783
mov esi, dword [esi + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp + 8], eax
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x43b7f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
call fcn.00408f80
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43b747
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push 0
push dword [ebx]
mov dword [ebp + 8], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b747
mov eax, dword [ebp + 8]
test eax, eax
je 0x43b747
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e324
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
push eax
push esi
push 0
push 0
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43b7b8
mov byte [ebp - 4], 4
push esi
call fcn.0047e31f
add esp, 4
mov dword [ebp + 0xc], 0
xor bl, bl
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43b75b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b783
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43b7a2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b7c0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0x10]
push esi
call fcn.004037d0
mov byte [ebp - 4], 4
push esi
call fcn.0047e31f
add esp, 4
mov dword [ebp + 0xc], 0
mov bl, 1
jmp 0x43b749
push 0x80004005
call fcn.004027c0
int3
Function at 0x43cbd0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
cmp dword [eax - 0xc], 0
jne 0x43cbe6
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
je 0x43cc4a
cmp byte [esi + 0x50], 0
jne 0x43cc4a
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 4]
push eax
lea eax, [esi + 0x58]
push eax
push 5
call edx
test al, al
je 0x43cc0d
cmp dword [esp + 4], 0
je 0x43cc4a
call fcn.00420750
test al, al
je 0x43cc21
mov ecx, esi
pop esi
add esp, 4
jmp fcn.0043e3b0
push edi
push 0
push 0
push esi
push 0x43f5c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, dword [esi + 0x64]
je 0x43cc49
mov edx, dword [esi + 0x60]
lea ecx, [esi + 0x60]
call dword [edx + 4]
mov dword [esi + 0x64], edi
pop edi
pop esi
pop ecx
ret

Function at 0x43dc90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a910e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x10], 0
xor edi, edi
movzx eax, word [ebp + 0xc]
mov esi, dword [0x4e53fc]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x43dd08
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43dd08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43dd08
push dword [ebp + 0xc]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
call fcn.00404500
test eax, eax
je 0x43ddfe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x43ddfe
test ebx, ebx
jne 0x43dd4d
test edi, edi
jne 0x43de0d
mov eax, dword [ecx]
push 1
push edi
call dword [eax]
test eax, eax
je 0x43de08
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
test edi, edi
js 0x43de0d
cmp edi, dword [esi - 8]
jg 0x43de0d
mov dword [esi - 0xc], edi
mov byte [esi + edi], 0
test edi, edi
je 0x43ddae
test esi, esi
je 0x43dd9e
push edi
test ebx, ebx
je 0x43dd93
push ebx
push esi
call fcn.0047f8f0
add esp, 0xc
jmp 0x43ddae
push 0
push esi
call fcn.0047fe70
add esp, 0xc
call fcn.0048321d
mov dword [eax], 0x16
call fcn.0048311f
mov dword [ebp - 4], 3
mov ecx, esi
mov ebx, dword [ebp + 8]
mov edx, ebx
push 0xfde9
call fcn.0040d1a0
add esp, 4
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43dde8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004027c0
call fcn.004027e0
push 0x80070057
call fcn.004027c0
int3
Function at 0x4417f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9e06
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 4
lea esi, [edi + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], 0x4c424c
mov dword [edi + 0x24], 0x4c74fc
mov dword [edi], 0x4c7d90
mov dword [edi + 0x20], 0x4c7d64
mov dword [edi + 0x24], 0x4c7d60
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004027f0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [edi + 0x38], 0
mov dword [edi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [edi + 0x44], 2
mov byte [edi + 0x48], al
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x443380
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa48d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], 0x4c258c
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
jne 0x4433e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x443406
push 0
lea eax, [ebp - 0x10]
push eax
push 4
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x443404
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x443406
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x4c258c
test edi, edi
je 0x443426
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x443440
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa4d5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x443583
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, 0x100
push 0x200
call fcn.0047e324
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x44351e
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.0047e31f
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e324
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x4434c7
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443523
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.004037d0
mov byte [ebp - 4], 1
push edi
call fcn.0047e31f
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44356f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004027c0
int3
Function at 0x44cb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abd05
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
movzx eax, word [ebp + 0xc]
xor edi, edi
mov esi, dword [0x4e53fc]
push 0xa
push eax
push esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44cbee
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44cbee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x44cbee
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x44cd0e
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x44cc7d
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x44cc7d
cmp eax, 0x38a0
jge 0x44cc38
mov esi, 0x20
jmp 0x44cc82
push 0
call esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
push 0x5a
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x60
je 0x44cc7d
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4caef8]
divsd xmm0, qword [0x4caf00]
addsd xmm0, qword [0x4caee0]
cvttsd2si esi, xmm0
jmp 0x44cc82
mov esi, 0x18
push 0
push esi
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x44cd0e
push 0
push esi
push esi
push 0x30000
push 1
push dword [ebp - 0x10]
add eax, edi
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov edi, eax
test edi, edi
je 0x44cd0e
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 1
mov esi, eax
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.004099f0
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44cd0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44d280
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x44d47d
mov ebx, dword [esp + 0x18]
cmp ebx, 0x110
jne 0x44d334
sub esp, 8
mov dword [esi + 0x104], 1
call fcn.0044df70
mov ebx, dword [esp + 0x24]
mov dword [ebx], eax
cmp dword [esi + 0x104], 0
jne 0x44d46b
cmp byte [esi + 0x75], 0
lea edi, [esi + 0x70]
mov ebp, dword [edi]
mov dword [edi], 1
je 0x44d2e7
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x44d309
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.0044edc0
mov dword [edi], 0
mov dword [ebx], 0
cmp dword [edi], 0
jne 0x44d469
mov dword [edi], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
mov dword [esp + 0x28], eax
cmp ebx, 2
jne 0x44d37f
push str.IsExterior
push dword [esi + 4]
mov dword [edi], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [edi], 0
mov dword [eax], 0
cmp dword [edi], 0
jne 0x44d469
mov dword [edi], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp ebx, 0x4e
jne 0x44d3df
cmp dword [ebp + 8], 0xffffff38
jne 0x44d3b2
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push dword [esp + 0x20]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push ebp
sub esp, 8
mov ecx, esi
call fcn.0044ec30
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
jne 0x44d465
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x44d43e
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x44d424
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x1c]
cmp edx, 2
jne 0x44d415
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44d429
test edx, edx
jne 0x44d424
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44d429
cmp edx, 1
je 0x44d45b
mov eax, ebp
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, bp
push eax
call fcn.0044b1f0
jmp 0x44d45b
cmp ebx, 0x24
jne 0x44d477
cmp dword [ecx + 0x14], 0xffffffff
je 0x44d45b
cmp dword [ecx + 0x18], 0xffffffff
je 0x44d45b
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
mov ebp, dword [esp + 0x28]
mov dword [edi], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ebp, dword [esp + 0x28]
mov dword [edi], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18