joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418930
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x566148]
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, ecx
push 0x27
xor eax, eax
xor esi, esi
push str.SELECT_guid_FROM_guid_v1_WHERE_guid_1_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], edi
mov ebx, edx
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00404dc0
mov dword [ebp - 4], esi
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x6c]
call fcn.00466340
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x4189ae
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e895a
add esp, 4
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x68]
xor edx, edx
push esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], dx
call fcn.004818a0
add esp, 4
push esi
call fcn.00481950
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4189ef
push eax
lea esi, [ebp - 0x48]
call fcn.0042e470
push 0x555590
mov eax, esi
push eax
call fcn.004ecd9a
mov ecx, ebx
call fcn.00404420
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov ebx, 1
mov eax, ebx
mov ecx, esi
call fcn.00482cc0
add esp, 0x10
cmp eax, edi
je 0x418a28
push eax
lea esi, [ebp - 0x48]
call fcn.0042e470
push 0x555590
mov ecx, esi
push ecx
call fcn.004ecd9a
cmp esi, edi
je 0x418a34
movzx eax, word [esi + 0x30]
cmp eax, ebx
je 0x418a8d
push 0xb
push str.uibr::error
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
call fcn.00407b20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
jb 0x418a63
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x34], edx
jmp 0x418a69
lea eax, [ebp - 0x64]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004e8fea
push 0x555550
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], vtable.uibr::error.0
mov dword [ebp - 0x38], edi
call fcn.004ecd9a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x3c]
call fcn.004c0a60
mov byte [ebp - 4], 4
nop
push esi
call fcn.004822b0
mov ecx, eax
add esp, 4
sub ecx, 0
je 0x418b25
sub ecx, 0x64
jne 0x418aba
mov byte [ebp - 0x2d], bl
jmp 0x418aa0
sub ecx, ebx
je 0x418ac2
test eax, eax
jne 0x418b3b
lea edi, [ebp - 0x3c]
call fcn.004c0b80
mov byte [ebp - 4], 2
cmp byte [ebp - 0x38], 0
jne 0x418af6
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push str.ROLLBACK_
push eax
mov dword [ebp - 0x34], 0
call fcn.004a3fc0
add esp, 0x14
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004817e0
mov al, byte [ebp - 0x2d]
add esp, 4
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.004e8965
mov esp, ebp
pop ebp
ret
push ebx
lea esi, [ebp - 0x80]
call fcn.0042e470
push 0x555590
mov ecx, esi
push ecx
call fcn.004ecd9a
push eax
lea esi, [ebp - 0x5c]
call fcn.0042e470
push 0x555590
mov edx, esi
push edx
call fcn.004ecd9a
int3
Function at 0x41aa20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52db6b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x566148]
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.004e90d8
add esp, 4
cmp eax, ebx
je 0x41aaf9
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.4.1
mov byte [ebp - 4], 1
call fcn.004c34f0
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [ecx + 0xc], ebx
je 0x41aae0
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004cb0c0
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.004e8fea
push 0x555514
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004ecd9a
int3
Function at 0x41fd10
Capabilities:
Create process on windows

Disassembly:
push 3
push 0
push str.http:__go.gmx.ch_tb_ie_productpage
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x41fd52
mov eax, dword [esi + 4]
push eax
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41fd52
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
ret

Function at 0x420ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x566148]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x56d354]
push edi
push pe_nt_image_headers32
push ecx
mov edi, 1
push esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x420d70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x420d70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x420d70
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x420c18
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor edx, edx
cmp dx, ax
je 0x420d5b
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov edx, 0x403
add esi, 8
mov dword [ebp - 0x114], ecx
cmp dx, ax
jne 0x420ca9
push 3
push esi
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x104]
push ecx
mov dword [ebp - 0x108], eax
call fcn.00405dd0
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x110]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x143
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x420c87
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x420d2f
push eax
call fcn.004e8a92
add esp, 4
jmp 0x420d2f
mov edx, 0x1234
cmp dx, ax
jne 0x420d2f
push 3
push esi
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x104]
push ecx
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.00405dd0
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, edx
je 0x420d05
push eax
call fcn.004e8a92
add esp, 4
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edx + 4]
push 0
push 0x40b
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x420d2f
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x420c12
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e8965
mov esp, ebp
pop ebp
ret 8
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e8965
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004e8965
mov esp, ebp
pop ebp
ret 8
Function at 0x428150
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
cmp dword [0x56e6dc], esi
jne 0x42818e
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x428184
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x56e6d8], eax
mov dword [0x56e6dc], 1
mov eax, dword [0x56e6d8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4281aa
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4281e6
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x4281d9
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4281c8
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push eax
call ecx
jmp 0x4281d0
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
push edx
call eax
test eax, eax
je 0x4281e6
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
push edx
push eax
call edi
pop edi
pop esi
pop ebp
ret 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x430ea0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52638b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x566148]
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.004cca91
push 4
mov dword [ebp - 4], 0
call fcn.004e90d8
mov edi, eax
add esp, 4
test edi, edi
je 0x430f1c
call fcn.004cc393
mov dword [edi], eax
call fcn.004cc152
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004cc487
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x430f12
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004cc4af
jmp 0x430f1e
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 0x432870
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d7f6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x566148]
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.004e90d8
add esp, 4
cmp eax, ebx
je 0x43295c
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.4.1
mov byte [ebp - 4], 1
call fcn.004c34f0
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 0x432943
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004cb0c0
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.004e8fea
push 0x555514
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004ecd9a
int3
Function at 0x433290
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5300a2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x566148]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x566148]
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.004d0050
mov edx, dword [0x5689e8]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4332f0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00404540
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x568ae0
push edx
mov dword [esp + 0x84], 1
call fcn.00412bf0
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call fcn.00406400
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x433354
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e895a
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 0x43337f
mov edx, dword [esp + 0x30]
push edx
call fcn.004e895a
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.00406ce0
mov edi, edx
lea edx, [esp + 0xc]
push edx
mov esi, eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00406b70
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.004e8965
mov esp, ebp
pop ebp
ret
Function at 0x4333e0
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5300a2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x566148]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x566148]
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.004d0050
mov edx, dword [0x5689e8]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x433440
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00404540
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x568ae0
push edx
mov dword [esp + 0x84], 1
call fcn.00412bf0
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call fcn.00406400
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x4334a4
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e895a
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 0x4334cf
mov edx, dword [esp + 0x30]
push edx
call fcn.004e895a
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.00406ce0
mov edi, edx
lea edx, [esp + 0xc]
push edx
mov esi, eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00406b70
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.004e8965
mov esp, ebp
pop ebp
ret
Function at 0x433530
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5300a2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x566148]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x566148]
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.004d0050
mov edx, dword [0x5689e8]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x433590
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00404540
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x568ae0
push edx
mov dword [esp + 0x84], 1
call fcn.00412bf0
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call fcn.00406400
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x4335f4
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e895a
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 0x43361f
mov edx, dword [esp + 0x30]
push edx
call fcn.004e895a
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.00406ce0
mov edi, edx
lea edx, [esp + 0xc]
push edx
mov esi, eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00406b70
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.004e8965
mov esp, ebp
pop ebp
ret
Function at 0x433bf0
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 0x5300a2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x566148]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x566148]
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.004d0050
mov edx, dword [0x5689e8]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x433c50
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00404540
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x568ae0
push edx
mov dword [esp + 0x84], 1
call fcn.00412bf0
add esp, 0xc
mov ecx, eax
lea esi, [esp + 0xc]
mov byte [esp + 0x78], 2
call fcn.00406400
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x433cb4
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e895a
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 0x433cdf
mov edx, dword [esp + 0x30]
push edx
call fcn.004e895a
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.00406f10
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.00406b70
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.004e8965
mov esp, ebp
pop ebp
ret 8
Function at 0x434600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5282c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x566148]
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 0x434641
xor eax, eax
jmp 0x4347da
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
xor eax, eax
cmp edx, eax
je 0x43466f
mov ecx, dword [esi + 0x34]
mov ebx, dword [ecx]
lea ebx, [edx + ebx*2]
cmp edx, ebx
jae 0x43466f
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 0x4347da
cmp dword [esi + 0x54], eax
je 0x4347d5
mov edx, dword [esi + 0x10]
lea ebx, [esi + 0x48]
cmp dword [edx], ebx
jne 0x434698
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 0x4346c2
mov esi, dword [esi + 0x54]
push esi
push edi
call fcn.004eb056
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x4347da
mov eax, ecx
jmp 0x4347da
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 0x4346ea
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 0x434702
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 0x4347cd
cmp eax, 1
jg 0x434795
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x434742
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, ecx
je 0x43476b
cmp ebx, 0x10
jae 0x434751
lea eax, [ebp - 0x2c]
mov ecx, dword [esi + 0x54]
push ecx
push edi
push 1
push eax
call fcn.004eb67b
add esp, 0x10
cmp edi, eax
jne 0x4347cd
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 0x4347bf
test edi, edi
jne 0x4346f6
cmp dword [ebp - 0x1c], 0x20
lea ecx, [ebp - 0x2c]
jae 0x4347d0
push edi
push 8
call fcn.00410d30
jmp 0x4346f0
cmp eax, 3
jne 0x4347cd
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x30]
call fcn.00435960
movzx esi, word [ebp + 8]
test al, al
jne 0x4347b2
mov esi, 0xffff
lea ecx, [ebp - 0x2c]
call fcn.004d3cd0
mov ax, si
jmp 0x4347da
lea ecx, [ebp - 0x2c]
call fcn.004d3cd0
mov ax, word [ebp + 8]
jmp 0x4347da
lea ecx, [ebp - 0x2c]
call fcn.004d3cd0
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.004e8965
mov esp, ebp
pop ebp
ret 4