Function at 0x10061350
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, 0x5c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], 0
call fcn.10061340
mov dword [ebp - 0x1c], eax
mov eax, 1
test eax, eax
je 0x100613ca
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x100613bf
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x40
jb 0x100613bf
cmp dword [ebp - 0x24], 0x400
jae 0x100613bf
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 0x100613bf
jmp 0x100613ca
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x1006137a
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 0x10061679
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.100612f0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
cmp ecx, 0x61
jl 0x10061437
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 0x10061443
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 0x1006140b
cmp dword [ebp - 0x10], 0x6a4abc5b
jne 0x1006157e
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 0x10061579
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.10061300
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xec0e4e8e
je 0x100614fb
cmp dword [ebp - 0x30], 0x7c0dfcaa
je 0x100614fb
cmp dword [ebp - 0x30], 0x91afca54
jne 0x10061562
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 0x1006152c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x10061556
cmp dword [ebp - 0x30], 0x7c0dfcaa
jne 0x10061542
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
add edx, dword [ecx]
mov dword [ebp - 0x44], edx
jmp 0x10061556
cmp dword [ebp - 0x30], 0x91afca54
jne 0x10061556
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 0x100614c0
jmp 0x10061652
cmp dword [ebp - 0x10], 0x3cfa685d
jne 0x10061652
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 0x10061652
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
push ecx
call fcn.10061300
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x534c0ab8
jne 0x1006163e
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 0x10061632
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 0x100615de
cmp dword [ebp - 0x40], 0
je 0x1006166c
cmp dword [ebp - 0x44], 0
je 0x1006166c
cmp dword [ebp - 0x38], 0
je 0x1006166c
cmp dword [ebp - 0x48], 0
je 0x1006166c
jmp 0x10061679
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x100613e6
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 - 0x50], edx
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x50], 0
je 0x100616e3
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 0x100616b0
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 - 0x54], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x54], 0
je 0x10061772
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 - 0x58], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x58], 0
je 0x10061767
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 0x10061734
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov dword [ebp - 0xc], eax
jmp 0x100616fe
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 0x10061891
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
cmp dword [ebp - 0x1c], 0
je 0x10061883
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 0x10061883
cmp dword [ebp - 0x14], 0
je 0x10061848
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x80000000
je 0x10061848
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 0x10061866
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 0x1006187e
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x100617cd
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
jmp 0x1006178f
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 0x10061a5a
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 0x10061a5a
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 - 0x5c], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x5c], 0
je 0x10061a49
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
shr ax, 0xc
and ax, 0xf
movzx ecx, ax
cmp ecx, 0xa
jne 0x10061955
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 0x10061a3b
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 3
jne 0x1006199b
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 0x10061a3b
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
shr dx, 0xc
and dx, 0xf
movzx eax, dx
cmp eax, 1
jne 0x100619ee
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 0x10061a3b
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 2
jne 0x10061a3b
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 0x100618f6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x100618c7
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]
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
ret 4