joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429050
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4291e8
cmp ebp, ebx
jle 0x4291e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4290ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4290b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4290c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4290cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00474b97
add esp, 4
cmp eax, ebx
je 0x4290ec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00474b97
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4291de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4291c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4291b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4291a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4291b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4291b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x429150
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x429141
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x434370
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482928
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042ec70
test eax, eax
je 0x434478
lea ecx, [esp + 0xc]
call fcn.00405340
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042ec70
mov ecx, eax
call fcn.0042c310
test eax, eax
je 0x43445f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43445f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43445f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00405540
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x434441
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43445f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x5e1890]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4ee0c0
call fcn.00405540
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x4344c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042ec70
test eax, eax
je 0x4345af
mov ecx, edi
call fcn.0042ec70
mov ecx, eax
call fcn.0042c1c0
test eax, eax
jne 0x4345af
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4345af
mov eax, dword [0x5e1890]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x434522
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042ec70
mov ecx, eax
call fcn.0042c3f0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4345af
cmp ebx, eax
jne 0x4345af
cmp dword [esp + 0x10], eax
jne 0x434595
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x437140
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482bb8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437179
inc eax
mov dword [esi + 0x10], eax
jmp 0x43728c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43718d
mov eax, 0xffffffc7
jmp 0x43728e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43719e
cmp dword [esi + 8], eax
jne 0x43718d
cmp dword [esi + 8], eax
jne 0x4371b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4371b7
mov eax, 0xffffffc7
jmp 0x43728e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4371cb
push eax
mov ecx, ebx
call fcn.00436970
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00405340
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4371fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00405360
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004360e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43722f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4ee0c0
call fcn.00405540
mov eax, dword [esp + 0x38]
jmp 0x43728e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00436fa0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437273
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436fc0
mov esi, eax
test esi, esi
jne 0x4372a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00436fa0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437245
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4ee0c0
call fcn.00405540
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4ee0c0
call fcn.00405540
mov eax, esi
jmp 0x43728e

Function at 0x43a3b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43a410
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43a410
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43a410
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43a410
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43a450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4507a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4837f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00450350
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004503d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004503d0
lea ecx, [esi + 0xc]
call fcn.00474de1
lea ecx, [esi + 0x10]
call fcn.00474de1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00452c00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00452c00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00452c00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00474e56
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00474e56
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x451448
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483a18
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x451458
call fcn.00451970
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x45153b
cmp byte [edi], 0
je 0x45153b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45147d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00450170
test eax, eax
jne 0x45149d
push 0x5d04f4
lea ecx, [esi + 0x38]
call fcn.00474f93
jmp 0x45153b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004501c0
test eax, eax
jne 0x4514cc
mov ecx, esi
call fcn.004502c0
push edi
add esi, 0x38
push 0x5d04d0
push esi
call fcn.00472df2
add esp, 0xc
jmp 0x45153b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004521f0
test eax, eax
je 0x451534
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00451610
test eax, eax
jne 0x451550
push edi
lea eax, [esi + 0x38]
push 0x5d04ac
push eax
call fcn.00472df2
add esp, 0xc
mov ecx, esi
call fcn.00451970
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4515f8
mov ecx, dword [0x5d0d10]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00472df2
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00450270
test eax, eax
jne 0x4515ba
push 0x5d0490
lea ecx, [esi + 0x38]
call fcn.00474f93
jmp 0x4515ca
push 0xfa
mov ecx, esi
call fcn.004521f0
test eax, eax
jne 0x4515e7
mov ecx, esi
call fcn.00451970
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00474e56
jmp 0x45153b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00474e56
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x408068
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48331a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
mov dword [esp + 8], esi
call dword [0x490e6c]
mov edi, eax
mov eax, 8
push edi
mov word [esp + 0x10], ax
call dword [0x48ff5c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4080a3
test edi, edi
je 0x4080a3
push 0x8007000e
call fcn.00482c20
mov dword [esp + 0x24], 0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call dword [0x490a64]
mov byte [esp + 0x24], 1
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call dword [0x49126c]
mov byte [esp + 0x24], 3
lea ecx, [esp + 0x2c]
call dword [0x490e9c]
mov byte [esp + 0x24], 4
lea eax, [esp + 0xc]
push eax
call dword [0x48ff68]
mov dword [esi], 0x493c8c
mov dword [esi + 0x110], 0
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x411b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x484066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x4974a4
mov dword [esp + 8], esi
mov dword [esi + 0x30], 0x497474
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x44], 0x49745c
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
push 0x40
push ebx
push 0x4f0328
mov dword [esi + 4], eax
call fcn.00480396
add esp, 0xc
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], bl
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x411b99
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x484066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x4974a4
mov dword [esp + 8], esi
mov dword [esi + 0x30], 0x497474
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x44], 0x49745c
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
push 0x40
push ebx
push 0x4f0328
mov dword [esi + 4], eax
call fcn.00480396
add esp, 0xc
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], bl
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4149b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4843ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call dword [0x490e94]
mov dword [esp + 0x20], 0
mov ecx, dword [0x4911e8]
push 0x497974
call dword [0x490e6c]
push eax
lea eax, [esp + 0x14]
push 0x491c28
push eax
call dword [0x490e3c]
add esp, 0x10
push 0
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x497a04
call dword [0x490ea0]
mov byte [esp + 0x30], 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [0x490ae8]
mov byte [esp + 0x34], 2
call dword [0x491118]
mov byte [esp + 0x34], 0
mov ecx, eax
call dword [0x49111c]
mov ebp, eax
test ebp, ebp
je 0x414ab0
xor esi, esi
mov eax, dword [esi*4 + 0x4f0328]
test eax, eax
je 0x414a71
cmp esi, 1
je 0x414a71
cmp esi, 0xf
je 0x414a71
push eax
push ebp
mov ecx, edi
call fcn.00414780
inc esi
cmp esi, 0x10
jl 0x414a53
mov esi, 0x2329
lea esp, [esp]
mov ecx, dword [edi + 4]
lea eax, [esi - 0x2329]
push eax
call dword [0x48f0c4]
test eax, eax
je 0x414a9d
push eax
push ebp
mov ecx, edi
call fcn.00414780
inc esi
cmp esi, 0x2332
jl 0x414a80
push ebp
call dword [0x48ff34]
add esp, 4
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call dword [0x490e9c]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret
Function at 0x42af40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48633d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call dword [0x490ae8]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edx
call dword [0x490ae8]
mov byte [esp + 0x14], 1
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], edx
call dword [0x490ae8]
mov byte [esp + 0x14], 2
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0x6c], edx
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x74], ecx
mov edx, dword [edi + 0x78]
add edi, 0x7c
push edi
lea ecx, [esi + 0x7c]
mov dword [esi + 0x78], edx
call dword [0x490ae8]
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x42c400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4864e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0x491cd4
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call dword [0x490ea0]
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x30]
push eax
call dword [0x491504]
mov edi, eax
add esp, 4
test edi, edi
jne 0x42c463
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [0x490ae8]
jmp 0x42c581
lea esi, [edi + 0x34]
mov ecx, esi
call dword [0x490b84]
test eax, eax
je 0x42c562
lea ecx, [esp + 0x30]
call dword [0x490e94]
mov byte [esp + 0x24], 2
push 0xa
push 1
mov ecx, esi
call dword [0x490e6c]
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0047f6bc
test eax, eax
je 0x42c4bf
push esi
lea ecx, [esp + 0xc]
call dword [0x490e64]
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x30]
call dword [0x490e9c]
jmp 0x42c570
push 0xa
push 1
lea ecx, [edi + 0x1c]
call dword [0x490e6c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0047f6bc
push 0x4923fc
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00405350
mov byte [esp + 0x30], 3
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004052c0
mov byte [esp + 0x3c], 4
push 0x4923fc
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00405350
add esp, 0x24
mov byte [esp + 0x24], 5
push eax
lea ecx, [esp + 0xc]
call dword [0x490e64]
mov byte [esp + 0x24], 4
lea ecx, [esp + 0x10]
call dword [0x490e9c]
mov byte [esp + 0x24], 3
lea ecx, [esp + 0x14]
call dword [0x490e9c]
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x18]
call dword [0x490e9c]
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x30]
call dword [0x490e9c]
jmp 0x42c570
add edi, 0x1c
push edi
lea ecx, [esp + 0xc]
call dword [0x490e64]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call dword [0x490ae8]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 8]
call dword [0x490e9c]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x42d860
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x486678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call dword [0x490770]
xor edi, edi
mov dword [esp + 0xc], 0x49800c
mov dword [esp + 0x10], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0xc], 0x498a9c
mov ebx, 1
mov dword [esp + 0x78], ebx
push 0x11
call dword [0x48fcd8]
lea ecx, [esp + 0x14]
push ecx
push 0x5c
push eax
mov dword [esp + 0x1c], eax
call dword [0x48fcbc]
movzx ecx, byte [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x28], edx
movzx edx, byte [esp + 0x29]
mov dword [esi + 0x2c], eax
movzx eax, byte [esp + 0x2a]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
call dword [0x490e98]
mov eax, 0xffffff
mov dword [esi + 0x5c], ebx
or ebx, 0xffffffff
lea ecx, [esi + 0x64]
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ebx
call dword [0x490770]
mov eax, 2
lea ecx, [esi + 0xa0]
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 3
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call dword [0x490770]
mov dword [esp + 0x78], ebx
mov dword [esp + 0xc], 0x498a9c
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0xc]
call fcn.00414b80
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4