joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b5fe
Capabilities:
Get graphical window text

Disassembly:
push 0xec
mov eax, 0x494e0e
call fcn.00479e3f
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
xor edi, edi
push 0x94
lea eax, [ebp - 0xa6]
push edi
push eax
mov dword [ebp - 0xe4], esi
mov word [ebp - 0xa8], di
call fcn.00471300
add esp, 0xc
push 0x4b
lea eax, [ebp - 0xa8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc4]
call fcn.004040e1
mov dword [ebp - 4], edi
cmp dword [ebp - 0xb0], edi
je 0x41b782
lea eax, [ebp - 0xf8]
lea ecx, [ebp - 0xc4]
call fcn.0040447d
mov esi, eax
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0xc4]
call fcn.0040445d
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0xe0]
push dword [eax + 4]
push dword [eax]
call fcn.0041c1ef
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc8], 0x10
mov ebx, dword [ebp - 0xdc]
jae 0x41b6c2
lea ebx, [ebp - 0xdc]
call fcn.0042f615
test al, al
jne 0x41b774
mov eax, dword [0x4c3680]
mov esi, 0x4c3680
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf4], eax
push 0x66
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 2
call fcn.0040adb9
mov eax, dword [0x4c3680]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe8], eax
push 0xa1
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 3
call fcn.0040adb9
mov ebx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf0]
push 0x10
push ebx
push dword [ebp - 0xe8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0xcc], edi
je 0x41b75e
lea esi, [ebp - 0xe4]
call fcn.0041b863
push dword [ebp - 0xe4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xe8]
add eax, 0xfffffff0
call fcn.00405e8e
lea eax, [ebx - 0x10]
call fcn.00405e8e
push edi
push 1
lea ecx, [ebp - 0xe0]
call fcn.00401e14
push edi
push 1
lea esi, [ebp - 0xc4]
call fcn.004012a8
xor eax, eax
call fcn.00479ec2
ret 8
Function at 0x41bdd6
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x40e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0x70
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x41be8d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.0041a328
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret

Function at 0x41bea9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x68
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x41bf2a
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x41bfa9
push 0xf0
push 0x68
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x41bf7a
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x41bf9e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x41bfa9
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x41d3a2
Capabilities:
Get graphical window text

Disassembly:
push 0xec
mov eax, 0x49a9ca
call fcn.00479e3f
xor esi, esi
push 0x94
lea eax, [ebp - 0xaa]
push esi
push eax
mov edi, ecx
mov word [ebp - 0xac], si
call fcn.00471300
add esp, 0xc
push 0x450
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b
lea ecx, [ebp - 0xac]
push ecx
push eax
mov dword [ebp - 0xe8], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xe4]
call fcn.004040e1
mov dword [ebp - 4], esi
cmp dword [ebp - 0xd0], esi
jne 0x41d41c
mov esi, dword [edi + 0x64]
push 1
call fcn.004355c4
lea eax, [ebp - 0xf8]
lea ecx, [ebp - 0xe4]
call fcn.0040447d
mov esi, eax
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0xe4]
call fcn.0040445d
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0xc8]
push dword [eax + 4]
push dword [eax]
call fcn.0041c1ef
mov byte [ebp - 4], 1
cmp dword [ebp - 0xb0], 0x10
mov ebx, dword [ebp - 0xc4]
jae 0x41d46e
lea ebx, [ebp - 0xc4]
call fcn.0042f615
test al, al
jne 0x41d545
mov esi, dword [edi + 0x64]
push 1
call fcn.004355c4
mov eax, dword [0x4c3680]
mov esi, 0x4c3680
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4c3680]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xec], eax
push 0x66
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 3
call fcn.0040adb9
push 0xa1
lea eax, [ebp - 0xec]
push eax
call fcn.0040adb9
mov ebx, dword [ebp - 0xf4]
push 0x10
push ebx
push dword [ebp - 0xec]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [ebp - 0xe8]
call fcn.0041b863
push dword [ebp - 0xe8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xec]
add eax, 0xfffffff0
call fcn.00405e8e
lea eax, [ebx - 0x10]
call fcn.00405e8e
or edi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.00401e14
push 0
push 1
lea esi, [ebp - 0xe4]
call fcn.004012a8
mov eax, edi
call fcn.00479ec2
ret
mov ecx, edi
call fcn.0041cd3b
xor edi, edi
jmp 0x41d51f

Function at 0x41d550
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb8
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp + 0x70], eax
and word [ebp - 0x28], 0
push esi
push 0x94
lea eax, [ebp - 0x26]
push 0
push eax
mov esi, ecx
call fcn.00471300
add esp, 0xc
push 0x4b
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
call fcn.004040e1
cmp dword [ebp - 0x30], 0
mov esi, dword [esi + 0x64]
je 0x41d5a8
push 3
jmp 0x41d5aa
push 1
call fcn.004355c4
push 0
push 1
lea esi, [ebp - 0x44]
call fcn.004012a8
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00470af5
add ebp, 0x74
leave
ret 4
Function at 0x41d944
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x40f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0xb2
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x41d9fe
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebx
call fcn.0041d37b
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret

Function at 0x41da1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x69
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x41da9b
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x41db1a
push 0xf0
push 0x69
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x41daeb
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x41db0f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x41db1a
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x41e9f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, eax
mov eax, dword [esi]
test eax, eax
mov ebx, ecx
je 0x41ea15
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [esi], 0
cmp dword [edi + 0x18], 8
jb 0x41ea20
mov edi, dword [edi + 4]
jmp 0x41ea23
add edi, 4
cmp dword [ebx + 0x18], 8
jb 0x41ea2e
mov eax, dword [ebx + 4]
jmp 0x41ea31
lea eax, [ebx + 4]
push edi
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41ea47
xor al, al
jmp 0x41eaa3
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41ea43
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ea43
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x41ea43
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esi], eax
je 0x41ea43
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41eaa1
push ebx
push edi
push eax
call fcn.00474580
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, 1
pop edi
pop ebx
ret 4
Function at 0x41f9ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
push edi
mov esi, ecx
jne 0x41fb0b
mov edi, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00422fd1
test eax, eax
je 0x41f9e0
xor eax, eax
inc eax
jmp 0x41fb0d
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x41fa12
mov eax, dword [esi + 0x18]
xor edi, edi
inc edi
mov ecx, esi
mov dword [eax + 0x20], edi
call fcn.0041fb14
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], ebx
je 0x41fb0b
mov eax, edi
jmp 0x41fb0d
cmp eax, 0xf
jne 0x41fa39
mov eax, dword [esi + 0x18]
xor edi, edi
push ecx
mov ecx, dword [ebp + 0x10]
inc edi
mov dword [eax + 0x20], edi
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
mov dword [ebp + 0xc], esp
call fcn.00420ab3
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x41f9ff
cmp eax, 0x4e
jne 0x41fa87
mov eax, 0x41b
cmp dword [edi + 4], eax
jne 0x41fb0b
cmp dword [edi + 8], 0xfffffffe
jne 0x41fb0b
xor edi, edi
inc edi
cmp dword [ebp + 0x10], eax
jne 0x41fa80
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x41fa6c
cmp ecx, edi
jne 0x41fa80
push 5
push ebx
push ebx
add eax, 0x7c
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x41fa0b
cmp eax, 0x111
jne 0x41fb0b
mov eax, 0x3f0
cmp word [ebp + 0x10], ax
jne 0x41fadb
mov ecx, dword [esi + 0x18]
xor edi, edi
inc edi
push eax
mov dword [ecx + 0x20], edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
push 0x3f1
push dword [esi + 4]
je 0x41fac2
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push edi
jmp 0x41faca
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41fa32
mov eax, 0x3f1
cmp word [ebp + 0x10], ax
jne 0x41fb0b
mov ecx, dword [esi + 0x18]
xor edi, edi
inc edi
push eax
mov dword [ecx + 0x20], edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x41fa32
push 0x3f0
push dword [esi + 4]
jmp 0x41fab8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x4232e0
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x495d09
call fcn.00479dd6
mov edi, ecx
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x423324
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0041fb14
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00405e8e
mov eax, edi
call fcn.00479eae
ret
Function at 0x426186
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov ebx, ecx
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x415
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0x84
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x426242
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0042437f
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret

Function at 0x42625c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x70
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x4262dd
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x42635c
push 0xf0
push 0x70
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x42632d
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x426351
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x42635c
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4266ed
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x491da6
call fcn.00479e3f
mov edi, ecx
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x38], edi
je 0x426804
cmp byte [edi + 0x42], 0
je 0x426804
mov eax, dword [edi]
mov esi, 0xffff
push esi
call dword [eax + 4]
movzx eax, ax
cmp ax, si
jne 0x42672c
xor al, al
jmp 0x426806
lea esi, [ebp - 0x30]
call fcn.00426035
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.004188bf
mov esi, eax
call fcn.00418f2c
mov ebx, eax
add ebx, dword [ebp - 0x40]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.004188bf
mov esi, eax
call fcn.00418f2c
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
push ebx
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x42679c
dec eax
je 0x4267a0
dec eax
dec eax
je 0x426800
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00401e14
mov al, bl
jmp 0x426806
mov byte [edi + 0x42], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.004188bf
mov esi, eax
call fcn.00418f2c
mov ebx, dword [ebp - 0x34]
sub ebx, eax
je 0x4267de
push dword [edi + 0x4c]
lea eax, [ebp - 0x50]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004188bf
mov esi, eax
call fcn.00418f2c
push eax
call fcn.00474ed4
add esp, 0x10
cmp ebx, eax
jne 0x42678a
cmp byte [edi + 0x42], 0
je 0x426800
test ebx, ebx
jne 0x42673e
push ebx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.0041c34b
mov edi, dword [ebp - 0x38]
jmp 0x42673e
mov bl, 1
jmp 0x42678c
mov al, 1
call fcn.00479ec2
ret
Function at 0x4284eb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49766e
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4bea34]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, ebx
call fcn.00401d26
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, edi
mov dword [esp + 0x2b8], edi
je 0x428554
cmp esi, 0xffffffff
jne 0x42857a
xor al, al
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00470af5
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x74]
push eax
push esi
mov dword [esp + 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42859e
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x428556
push dword [esp + 0x7c]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4286b1
cmp eax, 0xffffffff
je 0x4286b1
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x34]
call fcn.0040410d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x2b8], 5
push dword [esp + 0x24]
lea ecx, [esp + 0x54]
call fcn.004286ed
mov esi, dword [ebx + 4]
cmp esi, edi
pop ecx
je 0x428660
mov eax, dword [ebx + 0xc]
sub eax, esi
push 0x4c
cdq
pop ecx
idiv ecx
mov edi, eax
mov eax, ebx
call fcn.004020f1
cmp eax, edi
jae 0x42867f
lea eax, [esp + 0x24]
push eax
push 1
push dword [ebx + 8]
call fcn.004288b8
mov dword [ebx + 8], eax
jmp 0x42869e
mov edi, dword [ebx + 8]
cmp esi, edi
jbe 0x42868b
call fcn.0047122b
push edi
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, ebx
call fcn.00428834
lea edi, [esp + 0x24]
call fcn.00402cff
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
mov byte [esp + 0x2b8], 0
je 0x4286c9
cmp eax, 0xffffffff
je 0x4286c9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x74]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42859e
mov eax, ebx
call fcn.004020f1
test eax, eax
seta bl
jmp 0x428593