Function at 0x10011690
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.10011680
mov dword [ebp - 0x1c], eax
mov eax, 1
test eax, eax
je 0x1001170a
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x100116ff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x40
jb 0x100116ff
cmp dword [ebp - 0x24], 0x400
jae 0x100116ff
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 0x100116ff
jmp 0x1001170a
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x100116ba
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 0x100119b9
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.10011630
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
cmp ecx, 0x61
jl 0x10011777
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 0x10011783
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 0x1001174b
cmp dword [ebp - 0x10], 0x6a4abc5b
jne 0x100118be
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 0x100118b9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.10011640
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xec0e4e8e
je 0x1001183b
cmp dword [ebp - 0x30], 0x7c0dfcaa
je 0x1001183b
cmp dword [ebp - 0x30], 0x91afca54
jne 0x100118a2
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 0x1001186c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x10011896
cmp dword [ebp - 0x30], 0x7c0dfcaa
jne 0x10011882
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x44], edx
jmp 0x10011896
cmp dword [ebp - 0x30], 0x91afca54
jne 0x10011896
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 0x10011800
jmp 0x10011992
cmp dword [ebp - 0x10], 0x3cfa685d
jne 0x10011992
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 0x10011992
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.10011640
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x534c0ab8
jne 0x1001197e
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 0x10011972
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 0x1001191e
cmp dword [ebp - 0x40], 0
je 0x100119ac
cmp dword [ebp - 0x44], 0
je 0x100119ac
cmp dword [ebp - 0x38], 0
je 0x100119ac
cmp dword [ebp - 0x48], 0
je 0x100119ac
jmp 0x100119b9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x10011726
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 0x10011a23
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 0x100119f0
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 0x10011ab2
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 0x10011aa7
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 0x10011a74
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov dword [ebp - 0xc], eax
jmp 0x10011a3e
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 0x10011bc7
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 0x10011bb9
cmp dword [ebp - 0x14], 0
je 0x10011b7e
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x80000000
je 0x10011b7e
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 0x10011b9c
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 0x10011bb4
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x10011b03
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
jmp 0x10011acf
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 0x10011d90
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 0x10011d90
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 0x10011d7f
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
shr ax, 0xc
and ax, 0xf
movzx ecx, ax
cmp ecx, 0xa
jne 0x10011c8b
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 0x10011d71
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 3
jne 0x10011cd1
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 0x10011d71
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
shr dx, 0xc
and dx, 0xf
movzx eax, dx
cmp eax, 1
jne 0x10011d24
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 0x10011d71
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 2
jne 0x10011d71
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 0x10011c2c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x10011bfd
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