joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5732dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp edx, eax
je 0x40536f
cmp dword [edx], 5
jne 0x405364
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x30]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, edx
or eax, 0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword fs:[0x18]
jne 0x40533b
mov dword [eax + 0xbf4], 0xc0000141
jmp 0x405361
mov dword [eax + 0xbf4], 0
lea esi, [ebp - 0x20]
mov eax, dword [ecx + 0xa4]
push esi
push dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push edi
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 0xc]
jne 0x405306
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045e039
mov esp, ebp
pop ebp
ret

Function at 0x405380
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5732dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp edx, eax
je 0x40540f
cmp dword [edx], 5
jne 0x405404
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x30]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, edx
or eax, 0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword fs:[0x18]
jne 0x4053db
mov dword [eax + 0xbf4], 0xc0000141
jmp 0x405401
mov dword [eax + 0xbf4], 0
lea esi, [ebp - 0x20]
mov eax, dword [ecx + 0xa4]
push esi
push dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push edi
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 0xc]
jne 0x4053a6
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045e039
mov esp, ebp
pop ebp
ret
Function at 0x405420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5732dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp edx, eax
je 0x4054af
cmp dword [edx], 5
jne 0x4054a4
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x30]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, edx
or eax, 0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword fs:[0x18]
jne 0x40547b
mov dword [eax + 0xbf4], 0xc0000141
jmp 0x4054a1
mov dword [eax + 0xbf4], 0
lea esi, [ebp - 0x20]
mov eax, dword [ecx + 0xa4]
push esi
push dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push edi
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 0xc]
jne 0x405446
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045e039
mov esp, ebp
pop ebp
ret

Function at 0x4054c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5732dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp edx, eax
je 0x40554f
cmp dword [edx], 5
jne 0x405544
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x30]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x14], eax
mov eax, edx
or eax, 0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword fs:[0x18]
jne 0x40551b
mov dword [eax + 0xbf4], 0xc0000141
jmp 0x405541
mov dword [eax + 0xbf4], 0
lea esi, [ebp - 0x20]
mov eax, dword [ecx + 0xa4]
push esi
push dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push edi
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 0xc]
jne 0x4054e6
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045e039
mov esp, ebp
pop ebp
ret

Function at 0x406730
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f7a8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5732dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ecx + 4], 1
mov dword [ecx + 8], 0xffff0001
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x10], 0xff
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 3
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov eax, dword [ebp + 8]
mov dword [ecx + 0x28], 0
mov dword [ecx], 2
mov al, byte [eax]
mov byte [ecx + 0x28], al
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x406cf0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0040f6d0
push edi
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.0040ba60
lea esi, [edi + 0x58]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0040e7d0
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [edi + 0xa8], edi
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
push esi
lea ecx, [edi + 0xb8]
mov byte [ebp - 4], 3
call fcn.0040fb00
mov dword [edi + 0xf0], edi
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov word [edi + 0x138], 1
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov word [edi + 0x158], 0
push edi
lea ecx, [edi + 0x160]
mov byte [ebp - 4], 5
call fcn.004093c0
push edi
lea ecx, [edi + 0x1d8]
call fcn.004136d0
push edi
lea ecx, [edi + 0x258]
mov byte [ebp - 4], 7
call fcn.004138d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 0x10
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SeDebugPrivilege
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403750
lea eax, [ebp - 0x28]
push eax
call fcn.00407260
cmp dword [ebp - 0x14], 8
mov esi, dword [0x46a2c4]
jb 0x406e66
push dword [ebp - 0x28]
call esi
add esp, 4
push 0x15
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SeLoadDriverPrivilege
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403750
lea eax, [ebp - 0x28]
push eax
call fcn.00407260
cmp dword [ebp - 0x14], 8
jb 0x406ea0
push dword [ebp - 0x28]
call esi
add esp, 4
mov eax, dword [0x575050]
test al, 1
jne 0x406ecb
or eax, 1
mov dword [0x575050], eax
mov byte [ebp - 4], 9
call fcn.00411a20
push 0x4694b0
call fcn.0045e024
add esp, 4
mov byte [ebp - 4], 8
mov ecx, 0x575060
call fcn.00411bd0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4075d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x10]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ecx
cmp ecx, 0x10
jb 0x4075f0
mov esi, dword [eax]
jmp 0x4075f2
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x407611
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x407600
mov ecx, dword [0x574f84]
mov edi, ecx
and edi, edx
cmp dword [0x574f88], edi
ja 0x40762c
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edi, eax
mov ecx, dword [0x574f78]
lea eax, [edi + edi]
lea eax, [eax + 1]
mov edx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov esi, dword [ecx + edi*8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x407650
mov ecx, dword [0x574f70]
cmp edx, ecx
jne 0x40765e
mov eax, ecx
jmp 0x407662
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x40777d
cmp dword [ebp - 0xc], 0x10
lea ecx, [esi + 8]
jb 0x40767a
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x40767d
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 8], eax
jb 0x40768b
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 8], eax
cmovb edx, dword [ebp - 8]
test edx, edx
je 0x4076f5
sub edx, 4
jb 0x4076b1
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4076b6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4076a0
cmp edx, 0xfffffffc
je 0x4076ea
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4076e3
cmp edx, 0xfffffffd
je 0x4076ea
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4076e3
cmp edx, 0xfffffffe
je 0x4076ea
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4076e3
cmp edx, 0xffffffff
je 0x4076ea
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4076ea
sbb eax, eax
or eax, 1
jmp 0x4076ec
xor eax, eax
test eax, eax
je 0x4076f5
mov edx, dword [ebp - 4]
jmp 0x407706
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, edx
jb 0x40770a
xor eax, eax
cmp ecx, edx
setne al
test eax, eax
je 0x407717
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x407650
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x10]
jb 0x407725
mov ecx, dword [ecx]
cmp dword [ebp - 0xc], 0x10
jb 0x407733
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp edx, edi
mov eax, edi
cmovb eax, edx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.00406c70
add esp, 0xc
test eax, eax
jne 0x407770
mov ecx, dword [ebp - 4]
cmp ecx, edi
jb 0x407770
cmp ecx, edi
setne al
test eax, eax
jne 0x407770
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x574f70]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4093c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f9cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea edx, [esi + 0x58]
push 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], edi
push 0
mov dword [edi + 4], eax
lea eax, [esi + 0xa8]
mov dword [edi], esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x4c]
push 0x10005b
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
call dword [0x46a0f4]
mov dword [edi + 0x18], eax
mov byte [edi + 0x1c], 1
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 1
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov word [edi + 0x50], 1
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov word [edi + 0x68], 1
mov dword [edi + 0x6c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push 9
xor eax, eax
mov byte [edi + 0x70], 0
push 0x54c15c
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403750
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0xb
push 0x54c170
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004034c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [0x46a08c]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004106c0
cmp dword [ebp - 0x14], 0x10
mov esi, dword [0x46a2c4]
jb 0x40952c
push dword [ebp - 0x28]
call esi
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x409550
push dword [ebp - 0x40]
call esi
add esp, 4
push 9
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x54c17c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403750
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push 0xd
push 0x54c190
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004034c0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [0x46a08c]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004106c0
cmp dword [ebp - 0x14], 0x10
jb 0x4095c6
push dword [ebp - 0x28]
call esi
add esp, 4
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4095e6
push dword [ebp - 0x40]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fc88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0xffff0001
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x10], 0xff
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 3
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov eax, dword [ebp + 8]
mov dword [ecx + 0x28], 0
mov dword [ecx], 2
mov eax, dword [eax]
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c7f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x3e
push eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x56]
push eax
mov dword [ebp - 4], esi
call fcn.0045e0c2
add esp, 0xc
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x14c]
push 0xf4
push 0
push eax
call fcn.0045e0c2
mov edi, dword [ebp + 8]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, edi
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
or eax, edx
movlpd qword [ebp - 0x18], xmm0
mov eax, dword fs:[0x18]
jne 0x40c866
mov dword [eax + 0xbf4], 0xc0000141
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0xbf4], 0
lea esi, [ebp - 0x18]
mov eax, dword [ecx + 0x4c]
push esi
push 0x40
lea esi, [ebp - 0x58]
mov ecx, dword [eax + 8]
push esi
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x40c85c
mov eax, 0x5a4d
cmp word [ebp - 0x58], ax
jne 0x40c85c
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
cdq
mov esi, eax
movlpd qword [ebp - 0x10], xmm0
mov eax, dword [ebp - 4]
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
mov edi, dword [eax + 4]
mov eax, dword fs:[0x18]
je 0x40c852
mov dword [eax + 0xbf4], 0
mov eax, dword [edi + 0x4c]
lea edi, [ebp - 0x10]
push edi
push 0xf8
lea edi, [ebp - 0x150]
mov ecx, dword [eax + 8]
push edi
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x40c85c
cmp dword [ebp - 0x150], 0x4550
jne 0x40c85c
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x40d1f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x40d20c
mov edi, dword [edx]
jmp 0x40d20e
mov edi, edx
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x40d234
lea esp, [esp]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40d220
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x14]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
xor eax, esi
and eax, edi
cmp dword [ecx + 0x18], eax
ja 0x40d24f
shr edi, 1
or ecx, 0xffffffff
sub ecx, edi
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fb00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fff6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov eax, dword [eax + 0x4c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 4
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.0040fed0
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.0040ff00
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0040ff00
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x410f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46015b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x50]
sub esp, 8
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004119b0
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10]
mov eax, dword [esi]
push edx
mov dword [esi + 0x1c], 0x3f800000
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push ecx
push eax
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004117e0
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], 8
mov byte [ebp - 4], 3
lea esi, [edi + 0x70]
sub esp, 8
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004119b0
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x10]
mov eax, dword [esi]
push edx
mov dword [esi + 0x1c], 0x3f800000
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push ecx
push eax
mov dword [ecx + 4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004117e0
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], 8
xor eax, eax
mov dword [edi + 0xa4], 7
mov dword [edi + 0xa0], 0
mov word [edi + 0x90], ax
mov dword [edi + 0xbc], 7
mov dword [edi + 0xb8], eax
mov word [edi + 0xa8], ax
lea esi, [edi + 0xc0]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov dword [ebp - 0x1c], esi
mov word [esi], ax
mov byte [ebp - 4], 9
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.00421a20
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, edi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x411250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x411262
mov dword [esi + 8], eax
mov edi, dword [esi + 8]
test edi, edi
jne 0x411275
mov eax, 0xc0000141
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, 0x5a4d
cmp word [edi], ax
je 0x41128b
mov eax, 0xc000007b
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
cmp dword [eax], 0x4550
jne 0x41127f
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x4112d9
mov ecx, eax
mov byte [esi + 0xd], 1
mov eax, dword [ecx + 0x30]
lea ebx, [ecx + 0x108]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x50]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x2c], eax
movzx eax, word [ecx + 0x5c]
jmp 0x411315
mov ebx, dword [esi + 0x14]
mov byte [esi + 0xd], 0
add ebx, 0xf8
mov eax, dword [eax + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], 0
mov eax, dword [eax + 0x50]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 0x5c]
mov dword [esi + 0x3c], eax
mov ecx, esi
mov eax, dword [esi + 0x14]
push 0xe
mov ax, word [eax + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [esi + 0xe], al
call fcn.004113b0
test eax, eax
je 0x411341
test byte [eax + 0x10], 1
je 0x411341
mov cl, 1
jmp 0x411343
xor cl, cl
mov byte [esi + 0xf], cl
test cl, cl
je 0x411374
sub eax, edi
lea ecx, [esi + 0xc0]
add eax, 0x10
mov dword [esi + 0x40], eax
lea eax, [esi + 0x90]
push eax
call fcn.004212c0
test al, al
je 0x411374
push ecx
lea ecx, [esi + 0xc0]
call fcn.004213c0
mov eax, dword [esi + 0x14]
xor ecx, ecx
xor edi, edi
cmp cx, word [eax + 6]
jae 0x41139e
lea eax, [esi + 0x44]
push ebx
mov ecx, eax
call fcn.00411450
mov eax, dword [esi + 0x14]
inc edi
add ebx, 0x28
movzx eax, word [eax + 6]
cmp edi, eax
lea eax, [esi + 0x44]
jl 0x411384
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4