Function at 0x5118b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x511d28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
movzx eax, byte [eax + 0x56425e]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x198]
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x511d12
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xdc], 0
jne 0x511919
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x511d08
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x51194b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 1
mov edx, dword [ebp - 0xc]
call fcn.00511538
jmp 0x51196b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.005114e8
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x60], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5119a4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005114e8
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x51197a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x511cff
push ebp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
call fcn.00511884
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x5119db
mov edx, dword [ebp + 8]
push edx
call fcn.00511818
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x511cc4
call fcn.0050f4e4
jmp 0x511cc4
mov eax, dword [0x5669d0]
cmp byte [eax + 0x119], 0
jne 0x511cda
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc8], 0
je 0x511a2a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00511818
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00511838
pop ecx
jmp 0x511a37
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00511818
pop ecx
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x19c]
cmp eax, dword [ebp - 4]
jle 0x511a84
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
inc eax
call fcn.005118b0
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jle 0x511a8e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc8], 0
je 0x511a78
mov eax, dword [ebp + 8]
push eax
call fcn.00511838
pop ecx
jmp 0x511a8e
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov byte [ebp - 5], 0
jmp 0x511a8e
mov eax, dword [ebp + 8]
push eax
call fcn.00511838
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x511c39
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x511afa
mov eax, dword [ebp - 0x10]
add eax, 0x68
call fcn.004128bc
test al, al
jne 0x511afa
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xec]
mov eax, dword [0x5669b4]
call fcn.004f3ea4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add edx, 0x68
call fcn.004058c8
je 0x511c26
mov eax, dword [ebp + 8]
mov byte [eax - 0x19d], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x511b50
xor eax, eax
push ebp
push 0x511b3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x511b50
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
cmp ebx, dword [ebp - 0x10]
je 0x511b9b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x7c]
call fcn.00511818
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, ebx
call fcn.005114e8
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x511b93
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
call fcn.005114e8
mov ebx, dword [ebx + 0x14]
cmp ebx, dword [ebp - 0x10]
jne 0x511b5b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
call fcn.00511818
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00511838
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x511c39
mov eax, dword [ebp + 8]
cmp byte [eax - 0x19d], 0
je 0x511be1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xc9], 0
je 0x511c07
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xcd], 0
je 0x511c07
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005116dc
push ebp
mov eax, dword [ebp - 0x10]
call fcn.00511884
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.005114e8
jmp 0x511c39
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x511aaf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x511c5d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 2
mov edx, dword [ebp - 0xc]
call fcn.00511538
jmp 0x511cb6
cmp byte [ebp - 5], 0
je 0x511cb6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
inc dword [eax + 0x88]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x60]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x511cb6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc9], 0
je 0x511cb6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xcd], 0
je 0x511cb6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005116dc
mov eax, dword [0x5669d0]
cmp byte [eax + 0x119], 0
jne 0x511cda
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x5119f3
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x511cf9
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.00511444
jmp 0x511cff
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5118ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511d2f
lea eax, [ebp - 0x20]
call fcn.00405914
ret