joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4288f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575d18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi], vtable.pix::ipc::job_base.0
xor ebx, ebx
mov dword [edi + 4], ebx
mov byte [edi + 8], bl
mov ecx, dword [eax]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0x1f4
mov byte [edi + 0x14], bl
lea esi, [edi + 0x18]
push 8
mov dword [esi], ebx
call fcn.0052b764
add esp, 4
cmp eax, ebx
je 0x4289a1
mov dword [esi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0xc]
mov dword [edi], vtable.uibr::job_search.0
xor eax, eax
cmp dword [ecx + 0xc], ebx
je 0x428988
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004d7f80
add eax, 0x64
mov dword [edi + 0x30], eax
mov eax, edi
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
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0052b87d
push 0x5a8cb4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00532abb
int3

Function at 0x428a40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [eax], 0x2000001f
push esi
mov esi, ecx
mov dword [ebp - 0x28], ebx
jne 0x428b5d
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x4ba4], ebx
jne 0x428a94
push 0x593000
call fcn.004c7f00
add esp, 4
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 0x4ba4], 1
jne 0x428ab7
lea ecx, [ebp - 0x20]
push ecx
mov ebx, 1
call fcn.004cdbc0
add esp, 4
cmp dword [eax + 0x10], 0
mov byte [ebp - 0x21], bl
jne 0x428abb
mov byte [ebp - 0x21], 0
test bl, 1
je 0x428ad5
and ebx, 0xfffffffe
cmp dword [ebp - 0xc], 8
jb 0x428ad5
mov edx, dword [ebp - 0x20]
push edx
call fcn.0052b74a
add esp, 4
cmp byte [ebp - 0x21], 0
je 0x428aeb
push 3
push 0
push 0x593000
push str.firefox.exe
jmp 0x428b50
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x4ba4], 2
jne 0x428b10
lea ecx, [ebp - 0x20]
push ecx
or ebx, 2
call fcn.004cec10
add esp, 4
cmp dword [eax + 0x10], 0
mov byte [ebp - 0x21], 1
jne 0x428b14
mov byte [ebp - 0x21], 0
test bl, 2
je 0x428b21
lea ecx, [ebp - 0x20]
call fcn.004129f0
cmp byte [ebp - 0x21], 0
je 0x428b45
mov eax, 0x593000
call fcn.004cecb0
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
push 3
push 0
push 0
push 0x593000
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
Function at 0x42a270
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5775cb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.pix::ipc::job_base.0
xor ebx, ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0x1f4
mov byte [esi + 0x14], bl
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0052b764
add esp, 4
cmp eax, ebx
je 0x42a349
mov dword [edi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [edi]
mov dword [edx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [ebp - 4], ebx
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esi + 0x40]
mov dword [esi], vtable.uibr::job_topsearch.0
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [ebp + 0xc], ecx
mov dword [ecx], ebx
mov dword [ecx + 4], eax
push str.GMX_MailCheck_2.6.0
mov byte [ebp - 4], 1
call fcn.004cf880
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [ecx + 0xc], ebx
je 0x42a330
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004d7f80
add eax, 0x64
mov dword [esi + 0x30], eax
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 8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0052b87d
push 0x5a8cb4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00532abb
int3
Function at 0x43b160
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f2db
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050fa9c
push 4
mov dword [ebp - 4], 0
call fcn.0052b764
mov edi, eax
add esp, 4
test edi, edi
je 0x43b1dc
call fcn.0050f39e
mov dword [edi], eax
call fcn.0050f15d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0050f492
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43b1d2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0050f4ba
jmp 0x43b1de
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x43caa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577266
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.pix::ipc::job_base.0
mov dword [esi + 4], 0xe10
mov byte [esi + 8], 1
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0x1f4
mov byte [esi + 0x14], bl
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0052b764
add esp, 4
cmp eax, ebx
je 0x43cb8c
mov dword [edi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [edi]
mov dword [edx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [ebp - 4], ebx
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esi + 0x34]
mov dword [esi], vtable.uibr::job_aib.0
mov dword [ebp + 0xc], ecx
mov dword [ecx], ebx
mov dword [ecx + 4], eax
push str.GMX_MailCheck_2.6.0
mov byte [ebp - 4], 1
call fcn.004cf880
xor ecx, ecx
mov dword [esi + 0x50], 7
mov dword [esi + 0x4c], ebx
mov word [esi + 0x3c], cx
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [ecx + 0xc], ebx
je 0x43cb73
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004d7f80
add eax, 0x64
mov dword [esi + 0x30], eax
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 8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0052b87d
push 0x5a8cb4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00532abb
int3
Function at 0x43d4b0
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579f82
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0x78], edi
call fcn.00513000
mov edx, dword [0x5be19c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43d510
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00406420
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x5be2cc
push edx
mov dword [esp + 0x84], 1
call fcn.00412940
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call section..text
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x43d574
mov eax, dword [esp + 0x4c]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
mov byte [esp + 0x78], 5
cmp dword [esp + 0x44], esi
jb 0x43d59f
mov edx, dword [esp + 0x30]
push edx
call fcn.0052b74a
add esp, 4
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
call fcn.00401910
mov edi, edx
lea edx, [esp + 0xc]
push edx
mov esi, eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00401790
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x43d600
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579f82
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0x78], edi
call fcn.00513000
mov edx, dword [0x5be19c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43d660
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00406420
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x5be2cc
push edx
mov dword [esp + 0x84], 1
call fcn.00412940
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call section..text
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x43d6c4
mov eax, dword [esp + 0x4c]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
mov byte [esp + 0x78], 5
cmp dword [esp + 0x44], esi
jb 0x43d6ef
mov edx, dword [esp + 0x30]
push edx
call fcn.0052b74a
add esp, 4
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
call fcn.00401910
mov edi, edx
lea edx, [esp + 0xc]
push edx
mov esi, eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00401790
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x43d750
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579f82
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0x78], edi
call fcn.00513000
mov edx, dword [0x5be19c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43d7b0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00406420
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x5be2cc
push edx
mov dword [esp + 0x84], 1
call fcn.00412940
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call section..text
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x43d814
mov eax, dword [esp + 0x4c]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
mov byte [esp + 0x78], 5
cmp dword [esp + 0x44], esi
jb 0x43d83f
mov edx, dword [esp + 0x30]
push edx
call fcn.0052b74a
add esp, 4
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
call fcn.00401910
mov edi, edx
lea edx, [esp + 0xc]
push edx
mov esi, eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00401790
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x43de10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579f82
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0x78], edi
call fcn.00513000
mov edx, dword [0x5be19c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43de70
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00406420
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x5be2cc
push edx
mov dword [esp + 0x84], 1
call fcn.00412940
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call section..text
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x43ded4
mov eax, dword [esp + 0x4c]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
mov byte [esp + 0x78], 5
cmp dword [esp + 0x44], esi
jb 0x43deff
mov edx, dword [esp + 0x30]
push edx
call fcn.0052b74a
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
xor eax, eax
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
call fcn.00401b40
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.00401790
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 8
Function at 0x43e820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571078
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5bafe0]
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
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x43e861
xor eax, eax
jmp 0x43e9fa
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
xor eax, eax
cmp edx, eax
je 0x43e88f
mov ecx, dword [esi + 0x34]
mov ebx, dword [ecx]
lea ebx, [edx + ebx*2]
cmp edx, ebx
jae 0x43e88f
dec dword [ecx]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x43e9fa
cmp dword [esi + 0x54], eax
je 0x43e9f5
mov edx, dword [esi + 0x10]
lea ebx, [esi + 0x48]
cmp dword [edx], ebx
jne 0x43e8b8
mov ecx, dword [esi + 0x40]
mov ebx, dword [esi + 0x3c]
mov dword [edx], ebx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov edx, dword [esi + 0x30]
sub ecx, ecx
sar ecx, 1
mov dword [edx], ecx
cmp dword [esi + 0x44], eax
jne 0x43e8e2
mov esi, dword [esi + 0x54]
push esi
push edi
call fcn.0052ded4
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x43e9fa
mov eax, ecx
jmp 0x43e9fa
movzx edx, di
mov ecx, 0xf
mov dword [ebp - 0x30], edx
mov edx, eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x43e90a
lea edx, [ebp - 0x2c]
mov byte [edx + 8], al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x43e922
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push edx
push eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x2e]
push edx
mov edx, dword [edi + 0x14]
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call edx
test eax, eax
js 0x43e9ed
cmp eax, 1
jg 0x43e9b5
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x43e962
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, ecx
je 0x43e98b
cmp ebx, 0x10
jae 0x43e971
lea eax, [ebp - 0x2c]
mov ecx, dword [esi + 0x54]
push ecx
push edi
push 1
push eax
call fcn.0052e4f9
add esp, 0x10
cmp edi, eax
jne 0x43e9ed
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
mov byte [esi + 0x4a], 1
cmp dword [ebp - 0x38], edx
jne 0x43e9df
test edi, edi
jne 0x43e916
cmp dword [ebp - 0x1c], 0x20
lea ecx, [ebp - 0x2c]
jae 0x43e9f0
push edi
push 8
call fcn.00410830
jmp 0x43e910
cmp eax, 3
jne 0x43e9ed
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x30]
call fcn.0043fba0
movzx esi, word [ebp + 8]
test al, al
jne 0x43e9d2
mov esi, 0xffff
lea ecx, [ebp - 0x2c]
call fcn.0051b240
mov ax, si
jmp 0x43e9fa
lea ecx, [ebp - 0x2c]
call fcn.0051b240
mov ax, word [ebp + 8]
jmp 0x43e9fa
lea ecx, [ebp - 0x2c]
call fcn.0051b240
mov eax, 0xffff
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.0052b755
mov esp, ebp
pop ebp
ret 4
Function at 0x43f2c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571af8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x43f3eb
cmp byte [edi + 0x4a], bl
je 0x43f3eb
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, edi
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x43f3df
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x43f33f
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x43f357
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x43f380
dec eax
je 0x43f384
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x43f3da
jmp 0x43f3e6
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x43f394
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x43f3bd
cmp ebx, 0x10
jae 0x43f3a3
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0052e4f9
add esp, 0x10
cmp esi, eax
jne 0x43f3d7
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x43f3e3
test esi, esi
jne 0x43f34b
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00410830
jmp 0x43f345
lea ecx, [ebp - 0x2c]
call fcn.0051b240
xor al, al
jmp 0x43f3ed
lea ecx, [ebp - 0x2c]
call fcn.0051b240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x43fd70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575d18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi], vtable.pix::ipc::job_base.0
xor ebx, ebx
mov dword [edi + 4], ebx
mov byte [edi + 8], 1
mov ecx, dword [eax]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0x1f4
mov byte [edi + 0x14], bl
lea esi, [edi + 0x18]
push 8
mov dword [esi], ebx
call fcn.0052b764
add esp, 4
cmp eax, ebx
je 0x43fe28
mov dword [esi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0xc]
mov dword [edi], vtable.uibr::job_deskband.0
xor eax, eax
cmp dword [ecx + 0xc], ebx
je 0x43fe09
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004d7f80
add eax, 0x64
mov dword [edi + 0x30], eax
mov al, byte [ebp + 0x10]
mov byte [edi + 0x34], al
mov eax, edi
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
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0052b87d
push 0x5a8cb4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00532abb
int3

Function at 0x43ffe0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5c4088]
cmp eax, 6
ja 0x43fff0
jne 0x440033
test bl, bl
je 0x440028
push 0
push str.Shell_TrayWnd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x440017
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x440021
or eax, 0xffffffff
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov al, bl
call fcn.004ca3a0
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00440040
add esp, 4
mov esp, ebp
pop ebp
ret