Function at 0x10001d40
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get number of processors
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.10001c90
mov dword [ebp - 0x1c], eax
mov eax, 1
test eax, eax
je 0x10001dcf
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x10001dc4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x40
jb 0x10001dc4
cmp dword [ebp - 0x24], 0x400
jae 0x10001dc4
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x4550
jne 0x10001dc4
jmp 0x10001dcf
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x10001d7f
mov edx, dword fs:[0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000209d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 0x24]
mov word [ebp - 4], cx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.10001ce0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
cmp ecx, 0x61
jl 0x10001e3c
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax - 0x20]
mov dword [ebp - 0x10], edx
jmp 0x10001e48
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ax, word [ebp - 4]
sub ax, 1
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x10001e10
cmp dword [ebp - 0x10], 0x6a4abc5b
jne 0x10001fa2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x34], eax
mov ecx, 4
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
test edx, edx
jle 0x10001f9d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.10001ca0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xec0e4e8e
je 0x10001f09
cmp dword [ebp - 0x30], 0x7c0dfcaa
je 0x10001f09
cmp dword [ebp - 0x30], 0x91afca54
je 0x10001f09
cmp dword [ebp - 0x30], 0x7946c61b
jne 0x10001f86
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x30], 0xec0e4e8e
jne 0x10001f3a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
add eax, dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x10001f7a
cmp dword [ebp - 0x30], 0x7c0dfcaa
jne 0x10001f50
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x44], edx
jmp 0x10001f7a
cmp dword [ebp - 0x30], 0x91afca54
jne 0x10001f66
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
mov dword [ebp - 0x38], ecx
jmp 0x10001f7a
cmp dword [ebp - 0x30], 0x7946c61b
jne 0x10001f7a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
add eax, dword [edx]
mov dword [ebp - 0x54], eax
mov cx, word [ebp - 4]
sub cx, 1
mov word [ebp - 4], cx
mov edx, dword [ebp - 0x2c]
add edx, 4
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x34]
add eax, 2
mov dword [ebp - 0x34], eax
jmp 0x10001ec5
jmp 0x10002076
cmp dword [ebp - 0x10], 0x3cfa685d
jne 0x10002076
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 0x78]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x34], edx
mov eax, 1
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jle 0x10002076
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, dword [edx]
push eax
call fcn.10001ca0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x534c0ab8
jne 0x10002062
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x30], 0x534c0ab8
jne 0x10002056
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov ax, word [ebp - 4]
sub ax, 1
mov word [ebp - 4], ax
mov ecx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x34], edx
jmp 0x10002002
cmp dword [ebp - 0x40], 0
je 0x10002090
cmp dword [ebp - 0x44], 0
je 0x10002090
cmp dword [ebp - 0x38], 0
je 0x10002090
cmp dword [ebp - 0x48], 0
je 0x10002090
jmp 0x1000209d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x10001deb
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x50]
add edx, 0x3c00000
push edx
push 0
call dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 6]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x58], 0
je 0x10002184
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x50], 0
jne 0x10002137
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x4c], 0
jne 0x10002143
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x5c], 0
je 0x10002176
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x10002143
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov dword [ebp - 0xc], eax
jmp 0x100020f5
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x10002299
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, dword [ecx + 0xc]
push edx
call dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x1000228b
cmp dword [ebp - 0x14], 0
je 0x10002250
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x80000000
je 0x10002250
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0xffff
mov ecx, dword [ebp - 0x20]
sub eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x28]
lea eax, [edx + eax*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
jmp 0x1000226e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x44]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
je 0x10002286
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x100021d5
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
jmp 0x100021a1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, 8
imul eax, edx, 5
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x78]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x10002462
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x10002462
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 8
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x60], 0
je 0x10002451
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
shr ax, 0xc
and ax, 0xf
movzx ecx, ax
cmp ecx, 0xa
jne 0x1000235d
mov edx, 0xfff
mov eax, dword [ebp - 0x14]
and dx, word [eax]
movzx ecx, dx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx]
add eax, dword [ebp - 0x1c]
mov ecx, 0xfff
mov edx, dword [ebp - 0x14]
and cx, word [edx]
movzx ecx, cx
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx], eax
jmp 0x10002443
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 3
jne 0x100023a3
mov eax, 0xfff
mov ecx, dword [ebp - 0x14]
and ax, word [ecx]
movzx edx, ax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx]
add ecx, dword [ebp - 0x1c]
mov edx, 0xfff
mov eax, dword [ebp - 0x14]
and dx, word [eax]
movzx edx, dx
mov eax, dword [ebp - 0xc]
mov dword [eax + edx], ecx
jmp 0x10002443
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
shr dx, 0xc
and dx, 0xf
movzx eax, dx
cmp eax, 1
jne 0x100023f6
mov ecx, 0xfff
mov edx, dword [ebp - 0x14]
and cx, word [edx]
movzx eax, cx
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax]
add eax, edx
mov ecx, 0xfff
mov edx, dword [ebp - 0x14]
and cx, word [edx]
movzx ecx, cx
mov edx, dword [ebp - 0xc]
mov word [edx + ecx], ax
jmp 0x10002443
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 2
jne 0x10002443
mov eax, 0xfff
mov ecx, dword [ebp - 0x14]
and ax, word [ecx]
movzx edx, ax
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
movzx ecx, ax
mov eax, dword [ebp - 0xc]
movzx edx, word [eax + edx]
add edx, ecx
mov eax, 0xfff
mov ecx, dword [ebp - 0x14]
and ax, word [ecx]
movzx eax, ax
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax], dx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
jmp 0x100022fe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x100022cf
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x28]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0xffffffffffffffff
call dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
push ecx
push 0x20
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [ebp - 0x54]
push 0
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0xc]
push 0
push 4
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret