joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40238f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d22b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c3360]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x4c3360]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x2c]
push ecx
xor edi, edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x24], eax
push eax
lea esi, [esp + 0x10]
mov dword [esp + 0x84], edi
call fcn.0040156c
mov byte [esp + 0x80], 1
lea eax, [esp + 0x14]
push eax
push dword [ebx + 4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x20]
sub edi, dword [esp + 0x18]
lea ecx, [ebx + 0x158]
call fcn.0040df35
mov esi, eax
call fcn.00401802
sub edi, eax
push edi
push 0
lea ecx, [ebx + 0x158]
call fcn.0040df35
lea esi, [esp + 0x14]
call fcn.00401596
push 0x1e
push 0x28
lea ecx, [ebx + 0x170]
call fcn.0040df35
call fcn.00401596
push dword [esp + 0xc]
call sub.gdiplus.dll_GdipDeleteGraphics
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0044fc8e
mov esp, ebp
pop ebp
ret
Function at 0x4025b9
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0x49fa68
call fcn.00454d31
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x10], 0xf020
jne 0x4025e3
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x4027ab
cmp dword [ebp + 0x10], 0xf060
jne 0x402799
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x402752
call fcn.004117e3
cmp eax, 0xfffffffe
je 0x402752
cmp eax, 4
je 0x402752
mov edi, 0x4c6540
push edi
cmp eax, 0xffffffff
jne 0x4026ad
lea ecx, [ebp - 0x14]
call fcn.0040cc78
push 0x85
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00402b46
push edi
lea ecx, [ebp - 0x18]
call fcn.0040cc78
push 0x8d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00402b46
mov edi, dword [ebp - 0x14]
push 0x24
push edi
push dword [ebp - 0x18]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x402695
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x402688
mov ebx, eax
call fcn.00412087
push dword [esi + 0x24]
call fcn.0041211f
xor ebx, ebx
push ebx
push ebx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401395
lea ecx, [edi - 0x10]
call fcn.00401395
jmp 0x4025dc
lea ecx, [ebp - 0x18]
call fcn.0040cc78
push 0x85
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402b46
push edi
lea ecx, [ebp - 0x14]
call fcn.0040cc78
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
cmp byte [esi + 0x244], bl
je 0x40270f
push 0x9c
call fcn.00402b46
push 0x23
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
cmp edi, 7
jne 0x402708
push dword [esi + 0x24]
call fcn.0041211f
cmp edi, 2
je 0x40273c
jmp 0x40272f
push 0x8d
call fcn.00402b46
push 0x24
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40273c
push ebx
push ebx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401395
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
jmp 0x4026a3
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x40276a
mov ebx, eax
call fcn.00412087
push dword [esi + 0x24]
call fcn.0041211f
xor ebx, ebx
push ebx
push ebx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4025dc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.00454dd6
ret 0x10
Function at 0x4035c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x403612
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x403639
shr eax, 2
test al, 1
je 0x403642
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x403675
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x4aeecc
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x403674
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret
Function at 0x403f95
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403ffe
cmp dword [ebp + 0x10], 1
je 0x403fd6
cmp dword [ebp + 0x10], 2
je 0x403fd6
push 0xd
pop eax
jmp 0x403ffe
mov eax, dword [ebp - 4]
test edi, edi
je 0x403ff8
test eax, eax
je 0x403ff3
test al, 1
jne 0x403fd1
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x403ff8
jmp 0x403fd1
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x406abb
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x49f5e6
call fcn.00454cfe
fldz
fcomp qword [esi + 0x320]
fnstsw ax
test ah, 0x44
jp 0x406aec
mov eax, dword [ebp + 8]
fild dword [ebp + 8]
test eax, eax
jge 0x406ae6
fadd qword [0x4b3418]
fstp qword [esi + 0x320]
fld qword [esi + 0x328]
lea eax, [esi + 0x318]
cmp byte [eax], 0
fstp qword [esi + 0x330]
fild dword [ebp + 0xc]
fstp qword [esi + 0x328]
je 0x406cd8
xor ebx, ebx
push ebx
push 0x1f4
push 0xd
push dword [esi + 4]
mov byte [eax], 0
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x406b50
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x406b3e
and eax, 0xffff
or eax, 0x80070000
push 0x4af160
push ebx
push eax
push dword [esi + 0x35c]
call fcn.00418e71
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x338], eax
lea eax, [esi + 0x204]
call fcn.0040ea43
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x208]
call edi
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406b8a
push 5
push dword [esi + 0x2c]
call edi
mov edi, 0x4c6540
push edi
lea ecx, [ebp + 8]
call fcn.0040cc78
mov dword [ebp - 4], ebx
fldz
fst qword [ebp - 0x18]
fcomp qword [esi + 0x320]
fnstsw ax
fld qword [0x4aecd0]
test ah, 5
jp 0x406bcf
fcom qword [esi + 0x320]
fnstsw ax
test ah, 0x41
jne 0x406bcf
fstp st(0)
push 0x8b
fld qword [esi + 0x320]
jmp 0x406c31
fcomp qword [esi + 0x320]
fnstsw ax
fld qword [0x4c5220]
test ah, 5
jp 0x406c04
fcom qword [esi + 0x320]
fnstsw ax
test ah, 0x41
jne 0x406c04
fstp st(0)
push 0x89
fld qword [esi + 0x320]
fmul qword [0x4b3460]
jmp 0x406c31
fcom qword [esi + 0x320]
fnstsw ax
fld qword [0x4c88d0]
test ah, 5
jp 0x406c3e
fcom qword [esi + 0x320]
fnstsw ax
test ah, 0x41
jne 0x406c3e
fstp st(0)
push 0x81
fdivr qword [esi + 0x320]
lea ecx, [ebp + 8]
fstp qword [ebp - 0x18]
call fcn.00402b46
jmp 0x406c69
fstp st(1)
fcom qword [esi + 0x320]
fnstsw ax
test ah, 5
jp 0x406c67
fld qword [0x4c88d8]
fcomp qword [esi + 0x320]
fnstsw ax
test ah, 0x41
jne 0x406c67
push 0x8c
jmp 0x406c2b
fstp st(0)
push edi
lea ecx, [ebp + 0xc]
call fcn.0040cc78
fld qword [ebp - 0x18]
push ecx
push ecx
mov byte [ebp - 4], 1
fstp qword [esp]
lea eax, [ebp + 0xc]
push 0x4af1a4
push eax
call fcn.004082d5
mov ebx, dword [ebp + 8]
add esp, 0x10
push dword [ebx - 0xc]
lea ecx, [ebp + 0xc]
push ebx
call fcn.004080e2
push dword [ebp + 0xc]
lea edi, [esi + 0xa4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401395
lea ecx, [ebx - 0x10]
call fcn.00401395
fldz
fcomp qword [esi + 0x320]
fnstsw ax
test ah, 5
jp 0x406d22
fld qword [esi + 0x330]
fcomp qword [esi + 0x328]
fnstsw ax
test ah, 5
jp 0x406d22
fld qword [esi + 0x328]
push 0
fmul qword [0x4b3458]
fdiv qword [esi + 0x320]
call fcn.00458e96
push eax
push 0x402
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
call fcn.00454dd6
ret 8
Function at 0x406d2c
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0
push dword [esi + 0x2c8]
call ebx
lea edi, [esi + 0x310]
mov eax, dword [edi]
call fcn.004117e3
cmp eax, 3
jne 0x406d9c
mov ecx, dword [edi]
call fcn.00411c72
push 0x4af248
lea edi, [esi + 0x15c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x2c8]
call edi
lea ecx, [esi + 0x204]
call fcn.0040e96d
push 5
push dword [esi + 0x208]
call edi
push 1
push dword [esi + 0x2c8]
call ebx
pop edi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x407472
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x49f5a0
call fcn.00454cfe
mov edi, ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x354]
mov ecx, dword [eax + 0x310]
push ecx
call fcn.0041173b
and dword [ebp - 0x18], 0xfffffe00
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0040752c
test al, al
jne 0x4074cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041ec6c
xor al, al
call fcn.00454dd6
ret 4
push 0x4aeba4
lea eax, [ebp - 0x20]
push eax
call fcn.0041f44f
lea esi, [ebp - 0x3c]
mov ecx, eax
call fcn.0041ee43
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00407a21
push ebx
push 1
mov ecx, esi
call fcn.00407ab4
cmp dword [edi + 0x18], 8
jb 0x407509
mov edi, dword [edi + 4]
jmp 0x40750c
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x407528
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041ec6c
mov al, bl
jmp 0x4074c5
mov bl, 1
jmp 0x407518

Function at 0x4085c4
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.0040136b
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.0040859a
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x409839
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x409847
push 0xd
pop eax
jmp 0x40987a
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40984e
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x409caa
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4c3360]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00404004
mov ebx, eax
cmp ebx, edi
je 0x409d15
lea ecx, [ebp - 0x214]
call fcn.00404045
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fc8e
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x409d33
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00409caa
cmp eax, edi
jne 0x409d78
lea eax, [ebp - 0x224]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x409d1d
lea ecx, [ebp - 0x214]
call fcn.00404045
push dword [ebp - 0x21c]
call fcn.00409dc1
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.00404045
mov eax, esi
jmp 0x409d04

Function at 0x409dc1
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x4c8a84], 0
jne 0x409df1
push 0x4af4e8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409dea
push 0x4af504
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c8a88], eax
mov byte [0x4c8a84], 1
mov eax, dword [0x4c8a88]
test eax, eax
je 0x409e09
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x409e15
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x40adf2
Capabilities:
Inspect load icon resource

Disassembly:
push 0xc
mov eax, 0x49f541
call fcn.00454cfe
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi + 0x28], eax
mov eax, 0xc9
push eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], 0x8068
push dword [0x4c6564]
or edi, 0xffffffff
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x4c6540
lea ecx, [ebp - 0x10]
mov dword [esi + 0x38], eax
call fcn.0040cc78
and dword [ebp - 4], 0
push 0x85
lea ecx, [ebp - 0x10]
call fcn.00402b46
push dword [ebp - 0x10]
lea eax, [esi + 0x3c]
push 0x80
push eax
call fcn.00450bf8
push 0x248
call fcn.004502b8
add esp, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x40aea3
push dword [esi + 0x428]
lea eax, [esi + 0x41c]
mov edx, dword [eax]
push ecx
push ecx
mov ecx, esp
add eax, 4
mov dword [ebp - 0x18], esp
mov dword [ecx], edx
push eax
add ecx, 4
call fcn.004017e7
push dword [ebp - 0x14]
call fcn.00401ae9
jmp 0x40aea5
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x418]
mov dword [esi + 0x418], eax
test ecx, ecx
je 0x40aec0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push dword [esi + 4]
mov ebx, dword [esi + 0x418]
call fcn.0040b408
mov eax, dword [esi + 0x418]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40af0c
mov eax, dword [esi + 0x418]
xor ebx, ebx
cmp byte [esi + 0x424], bl
je 0x40aef4
push ebx
jmp 0x40aef6
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x24
push esi
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401395
mov eax, edi
call fcn.00454dd6
ret
Function at 0x40af1f
Capabilities:
Hide graphical window

Disassembly:
push 0x40
mov eax, 0x49f50a
call fcn.00454d67
mov edi, edx
mov eax, dword [edi + 0x418]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x40b099
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push ecx
push 0x80c8
push dword [eax + 4]
call esi
cmp dword [ebp + 8], 4
jne 0x40af6b
mov eax, dword [edi + 0x418]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40af9d
cmp dword [ebp + 8], 0xa
jne 0x40af9d
lea ebx, [edi + 0x41c]
mov eax, dword [ebx]
test eax, eax
je 0x40af9d
call fcn.004117e3
cmp eax, 4
jne 0x40af9d
push dword [ebx]
call fcn.0041211f
or dword [ebp - 4], 0xffffffff
push 0
push 0
push 0x10
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x418]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40b099
push 0x4af248
lea ecx, [ebp - 0x2c]
call fcn.0040b362
cmp dword [ebp - 0x30], 0
push 2
pop ebx
mov dword [ebp - 4], ebx
je 0x40b00e
push 0x4ae864
push dword [ebp - 0x30]
call fcn.0041f44f
push 0x4ae844
push eax
call fcn.0041f44f
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.0041ee43
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00407a21
push 0
push 1
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00407ab4
mov eax, dword [ebp + 8]
cmp eax, 7
jg 0x40b038
je 0x40b046
cmp eax, 0xfffffffe
jl 0x40b08d
test eax, eax
jl 0x40b046
cmp eax, ebx
je 0x40b02c
cmp eax, 5
je 0x40b046
jmp 0x40b08d
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.0040b126
jmp 0x40b08d
sub eax, 0xc
je 0x40b059
sub eax, ebx
je 0x40b046
sub eax, 4
jne 0x40b08d
mov eax, dword [edi + 0x418]
push 9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b08d
mov eax, dword [edi + 0x418]
push 9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [edi + 0x3c8], 0x10
mov dword [edi + 0x30], 0x1c
mov dword [edi + 0x13c], 1
add edi, 0x24
push edi
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407ab4
xor eax, eax
call fcn.00454dea
ret 4
Function at 0x40df99
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x49c65f
call fcn.00454cfe
mov esi, ecx
xor ebx, ebx
push ebx
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00446ad9
mov dword [ebp - 4], ebx
call fcn.0040df08
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x40dfe7
lea ecx, [ebp - 0x18]
call fcn.00437b63
xor al, al
call fcn.00454dd6
ret 0xc
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x40dfd5
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x40dfd5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
jne 0x40e01f
lea ecx, [ebp - 0x18]
call fcn.00437b63
mov al, bl
jmp 0x40dfdf
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x40e013
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x40e0cd
push dword [ebp + 0xc]
push edi
push eax
call fcn.00450c90
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [esi + 4]
mov dword [ebp + 0x10], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40e0c4
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 0xc], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x40e08e
lea eax, [edi + 4]
push eax
push dword [ebp + 0xc]
mov dword [edi], 0x4af9a4
mov dword [eax], ebx
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x40e090
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40e0c4
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x40e0b4
mov bl, 1
jmp 0x40e013
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x40e0c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], ebx
jmp 0x40e013
Function at 0x40eadf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d815
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c3360]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
mov eax, dword [0x4c3360]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x2c]
push ecx
xor esi, esi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x24], eax
mov dword [esp + 0x80], esi
lea eax, [esp + 0xc]
push eax
push dword [edi + 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esp + 0x24]
lea esi, [esp + 0x20]
call fcn.0040156c
mov byte [esp + 0x80], 1
mov ebx, dword [esp + 0x18]
sub ebx, dword [esp + 0x10]
lea ecx, [edi + 0x3c]
call fcn.0040df35
mov esi, eax
call fcn.00401802
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
call fcn.0045153e
cmp byte [edi + 0xa4], 0
pop ecx
je 0x40ebb7
push eax
push 0
lea ecx, [edi + 0x24]
call fcn.0040df35
lea esi, [esp + 0x24]
call fcn.00401596
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipDeleteGraphics
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0044fc8e
mov esp, ebp
pop ebp
ret
Function at 0x41c4c0
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x49ce80
call fcn.00454d67
cmp dword [edi + 0x3c], 0
je 0x41c5d0
cmp byte [edi + 0x42], 0
je 0x41c5d0
mov eax, dword [edi]
mov esi, 0xffff
push esi
mov ecx, edi
call dword [eax + 4]
movzx eax, ax
cmp si, ax
jne 0x41c4fc
xor al, al
jmp 0x41c5d2
lea esi, [ebp - 0x30]
call fcn.0041c27d
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
call fcn.0041c303
mov ecx, eax
call fcn.0041d0cd
mov esi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
call fcn.0041c303
mov ecx, eax
call fcn.0041d0cd
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add esi, ebx
push esi
push dword [ebp - 0x38]
lea eax, [edi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x41c56a
dec eax
je 0x41c56e
dec eax
dec eax
je 0x41c5cc
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004050f1
mov al, bl
jmp 0x41c5d2
mov byte [edi + 0x42], 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
call fcn.0041c303
mov ecx, eax
call fcn.0041d0cd
mov esi, dword [ebp - 0x34]
sub esi, eax
je 0x41c5ae
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
call fcn.0041c303
mov ecx, eax
call fcn.0041d0cd
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.00452731
add esp, 0x10
cmp esi, eax
jne 0x41c558
cmp byte [edi + 0x42], 0
je 0x41c5cc
test esi, esi
jne 0x41c508
push esi
push 8
lea ecx, [ebp - 0x30]
call fcn.0041c2b5
jmp 0x41c508
mov bl, 1
jmp 0x41c55a
mov al, 1
call fcn.00454dea
ret