Function at 0x1001e030
Capabilities:
Access peb ldr_data
Enumerate pe sections
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], 0
call fcn.1001e760
mov dword [ebp - 0x1c], eax
mov eax, 1
test eax, eax
je 0x1001e0aa
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1001e09f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x40
jb 0x1001e09f
cmp dword [ebp - 0x24], 0x400
jae 0x1001e09f
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 0x1001e09f
jmp 0x1001e0aa
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x1001e05a
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 0x1001e359
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.1001e7b0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
cmp ecx, 0x61
jl 0x1001e117
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 0x1001e123
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 0x1001e0eb
cmp dword [ebp - 0x10], 0x6a4abc5b
jne 0x1001e25e
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 - 0x28], eax
mov ecx, dword [ebp - 0x28]
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 - 0x28], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x34], eax
mov ecx, 3
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
test edx, edx
jle 0x1001e259
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.1001e770
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xec0e4e8e
je 0x1001e1db
cmp dword [ebp - 0x30], 0x7c0dfcaa
je 0x1001e1db
cmp dword [ebp - 0x30], 0x91afca54
jne 0x1001e242
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], 0xec0e4e8e
jne 0x1001e20c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x1001e236
cmp dword [ebp - 0x30], 0x7c0dfcaa
jne 0x1001e222
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x44], edx
jmp 0x1001e236
cmp dword [ebp - 0x30], 0x91afca54
jne 0x1001e236
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov dx, word [ebp - 4]
sub dx, 1
mov word [ebp - 4], dx
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov dword [ebp - 0x34], ecx
jmp 0x1001e1a0
jmp 0x1001e332
cmp dword [ebp - 0x10], 0x3cfa685d
jne 0x1001e332
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 - 0x28], eax
mov ecx, dword [ebp - 0x28]
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 - 0x28], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x34], eax
mov ecx, 1
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
test edx, edx
jle 0x1001e332
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.1001e770
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x534c0ab8
jne 0x1001e31e
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], 0x534c0ab8
jne 0x1001e312
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, dword [edx]
mov dword [ebp - 0x48], eax
mov cx, word [ebp - 4]
sub cx, 1
mov word [ebp - 4], cx
mov edx, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
add eax, 2
mov dword [ebp - 0x34], eax
jmp 0x1001e2be
cmp dword [ebp - 0x40], 0
je 0x1001e34c
cmp dword [ebp - 0x44], 0
je 0x1001e34c
cmp dword [ebp - 0x38], 0
je 0x1001e34c
cmp dword [ebp - 0x48], 0
je 0x1001e34c
jmp 0x1001e359
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x1001e0c6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
push 0x40
push 0x3000
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x50]
push eax
push 0
call dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x4c], 0
je 0x1001e3c3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x1001e390
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x50], 0
je 0x1001e452
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x54], 0
je 0x1001e447
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 0x1001e414
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov dword [ebp - 0xc], eax
jmp 0x1001e3de
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 0x1001e567
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 0x1001e559
cmp dword [ebp - 0x14], 0
je 0x1001e51e
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x80000000
je 0x1001e51e
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 - 0x28], eax
mov ecx, dword [ebp - 0x28]
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 - 0x2c], 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 - 0x2c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
jmp 0x1001e53c
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 0x1001e554
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x1001e4a3
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
jmp 0x1001e46f
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 0x1001e730
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 0x1001e730
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 - 0x58], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x58], 0
je 0x1001e71f
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
shr ax, 0xc
and ax, 0xf
movzx ecx, ax
cmp ecx, 0xa
jne 0x1001e62b
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 0x1001e711
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 3
jne 0x1001e671
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 0x1001e711
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
shr dx, 0xc
and dx, 0xf
movzx eax, dx
cmp eax, 1
jne 0x1001e6c4
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 0x1001e711
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 2
jne 0x1001e711
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 0x1001e5cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x1001e59d
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]
push 0
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret