joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x59858e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x598595
ret
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x5998f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x5b654c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x5b654c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x5b5378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5998fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x69a9250e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x74ad1241
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x40115f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [esp + 0x2c], 1
je 0x401178
movzx esi, word [esp + 0x30]
xor eax, eax
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x402660], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040114f
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x401050
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Lyrik
mov dword [ebp - 0x20], eax
call fcn.00401142
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x40124c
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Dindom
push str.Lyrik
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x402668], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402668]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x40124c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x401230
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x800013d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x1a300214
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x368c182f
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x56fa6ad8
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000d9c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000db84
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x1000d9ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000d9f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000d9e0
mov eax, 1
add ebx, ebx
jne 0x1000da03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000d9f8
jne 0x1000da14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000d9f8
xor ecx, ecx
sub eax, 3
jb 0x1000da28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000da9a
mov ebp, eax
add ebx, ebx
jne 0x1000da33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000da40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000da64
inc ecx
add ebx, ebx
jne 0x1000da50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000da45
jne 0x1000da61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000da45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000da84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000da75
jmp 0x1000d9e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000da84
add edi, ecx
jmp 0x1000d9e6
pop esi
mov edi, esi
mov ecx, 0x1ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000daa2
cmp byte [edi], 4
jne 0x1000daa2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1000daa7
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x1000db16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd0f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd1c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000dad4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd1c8]
or eax, eax
je 0x1000db10
mov dword [ebx], eax
add ebx, 4
jmp 0x1000daf1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000db47
cmp al, 0xef
ja 0x1000db3a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000db1c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000db29
mov ebp, dword [esi + 0xd1cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000db7b
sub esp, 0xffffff80
jmp 0x10005ae9
Function at 0x41e2d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5593c8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov dword [esi], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
push eax
mov dword [esi + 4], 0
call fcn.004019c6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
mov eax, 1
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e38d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x28

Function at 0x46b050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54f0a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004260ab
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi], 0x569834
call fcn.00427609
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46b0a5
push 0x80004005
call fcn.00401a5c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x54], eax
mov ebx, 1
mov byte [esp + 0x1c], bl
call fcn.00427609
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46b0d7
push 0x80004005
call fcn.00401a5c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x58], eax
lea ecx, [esi + 0x6c]
call fcn.0046a3e0
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.0044199b
or eax, 0xffffffff
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x40], edi
call dword [0x56063c]
mov dword [esi + 0x64], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x68], ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x46dbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54f394
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x569c48
mov dword [esp + 0x14], 2
call fcn.0046d970
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 1
call fcn.0046d7b0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.0046d2e0
mov esi, dword [esi + 0x2c]
sub esi, 0x10
mov dword [esp + 0x14], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dc3f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4746a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x54f929
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004260ab
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], 0x56a404
call fcn.00427609
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4746f6
push 0x80004005
call fcn.00401a5c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.0042a05d
mov dword [edi], 0x56a32c
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x6c]
push 0xa
mov ecx, ebp
mov byte [esp + 0x24], 2
call fcn.00432885
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x28], 3
call fcn.004342e4
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x68], ebx
call fcn.00429116
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00474160
lea eax, [esi + 0x64]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.00491c20
add esp, 0x10
push ebx
mov dword [esi + 0x60], eax
call dword [0x560540]
mov ebp, eax
push ebp
call dword [0x560100]
push eax
mov ecx, edi
call fcn.0042a54a
push ebp
push ebx
call dword [0x56053c]
lea ecx, [esi + 0x34]
push ecx
call dword [0x560424]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x474a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54f9d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
mov dword [esp + 0x24], 1
call fcn.004019c6
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
mov byte [esp + 0x28], 2
call fcn.004019c6
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x30]
add esp, 4
push edi
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.004742b0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x48c0e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x550a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x5ba870]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004260ab
xor ebx, ebx
lea edi, [esi + 0x98]
mov dword [esi], 0x56bc1c
mov dword [esp + 0x218], ebx
mov dword [edi + 4], ebx
mov dword [edi], 0x563da0
lea ebp, [esi + 0xa0]
mov dword [ebp + 4], ebx
mov dword [ebp], 0x563da0
push ebx
mov byte [esp + 0x21c], 2
mov dword [esi + 0x60], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call dword [0x56076c]
cdq
sub eax, edx
sar eax, 1
push 0x2c
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x64]
push ebx
push eax
call fcn.0044b050
add esp, 0xc
call fcn.004bcb70
mov ecx, eax
call fcn.004bdc50
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
or eax, 0xffffffff
push ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x40], 2
call dword [0x5605d0]
push 0x1f4
or eax, 0xffffffff
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
call fcn.0044b050
add esp, 0xc
push ebx
lea eax, [esp + 0x1c]
push eax
push 0x1f4
push 0x29
mov dword [esp + 0x28], 0x1f4
call dword [0x560574]
mov ebx, dword [0x5601b0]
lea ecx, [esp + 0x154]
push ecx
mov dword [esp + 0x168], 0x190
call ebx
push eax
mov ecx, edi
call fcn.0042a81c
lea edx, [esp + 0x154]
push edx
mov dword [esp + 0x168], 0x2bc
call ebx
push eax
mov ecx, ebp
call fcn.0042a81c
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.00448f8e
add esp, 0x208
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x551481
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.00493cf0
lea eax, [esi + 0x58]
push eax
call dword [0x560418]
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 1
call fcn.004923b0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.004923b0
mov eax, dword [esi + 0x18]
add esi, 8
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x56ce3c
test eax, eax
je 0x4947bc
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [0x560148]
mov ecx, esi
call fcn.0042a5c9
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x494ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55156f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x56d004
push 1
mov dword [esp + 0x18], 8
call fcn.004943d0
lea ecx, [esi + 0x12c]
mov byte [esp + 0x14], 7
call fcn.00494aa0
lea ecx, [esi + 0x108]
mov byte [esp + 0x14], 6
call fcn.00494aa0
lea ecx, [esi + 0xe4]
mov byte [esp + 0x14], 5
call fcn.00494aa0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 4
call fcn.00494aa0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 3
call fcn.00494aa0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 2
call fcn.00494aa0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 1
call fcn.00494aa0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.00494aa0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004260d3
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret