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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x510b1c
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x510f1e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e9154]
call fcn.004ea638
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x510efc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4fca8c]
call fcn.004fc444
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x510edf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x70]
call fcn.00514d0c
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 1]
mov edx, dword [ebp - 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x40]
mov dword [ebp - 4], eax
test bl, bl
je 0x510bbd
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x510ec2
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax + 0x6c]
mov dl, 1
mov eax, dword [0x510064]
call fcn.00510170
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x48]
call fcn.005108d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0xc6], 0
je 0x510d23
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510f38
call fcn.004f9ab8
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.00513d98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1c]
call fcn.00404dbc
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510f38
call fcn.004f9ab8
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x510f50
call fcn.00405074
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510f38
call fcn.004f9ab8
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov eax, ebx
call fcn.00513d34
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x20]
call fcn.00404dbc
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510f68
call fcn.004f9ab8
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x18]
call fcn.00404dbc
lea ecx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510f68
call fcn.004f9ab8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x510f8c
call fcn.00405074
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510fb0
call fcn.004f9ab8
mov edx, dword [ebp - 0x3c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, 0x510fc4
call fcn.004f9ab8
mov edx, dword [ebp - 0x40]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x510e87
lea ecx, [ebp - 0x48]
mov eax, dword [esi + 0x78]
mov edx, 0x510f38
call fcn.00420fd8
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov eax, ebx
call fcn.00513d98
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x1c]
call fcn.00404dbc
lea ecx, [ebp - 0x50]
mov eax, dword [esi + 0x78]
mov edx, 0x510f38
call fcn.00420fd8
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x510f50
call fcn.00405074
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x58]
mov eax, dword [esi + 0x78]
mov edx, 0x510f38
call fcn.00420fd8
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov eax, ebx
call fcn.00513d34
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x20]
call fcn.00404dbc
lea ecx, [ebp - 0x5c]
mov eax, dword [esi + 0x78]
mov edx, 0x510f68
call fcn.00420fd8
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x18]
call fcn.00404dbc
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x78]
mov edx, 0x510f68
call fcn.00420fd8
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x510f8c
call fcn.00405074
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 0x78]
mov edx, 0x510fb0
call fcn.00420fd8
mov edx, dword [ebp - 0x68]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x6c]
mov eax, dword [esi + 0x78]
mov edx, 0x510fc4
call fcn.00420fd8
mov edx, dword [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx + 0x28]
add eax, 0x30
mov edx, 0x510fe0
call fcn.00404dbc
mov eax, dword [esi + 0x78]
mov edx, dword [eax]
call dword [edx + 0x14]
sub eax, 1
jno 0x510e3a
call fcn.00403d94
test eax, eax
jl 0x510e87
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x70]
mov eax, dword [esi + 0x78]
mov edx, dword [ebp - 0x10]
call fcn.00420df8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x2c]
call fcn.004f9c40
test eax, eax
jge 0x510e7f
lea ecx, [ebp - 0x74]
mov eax, dword [esi + 0x78]
mov edx, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x510e49
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebx + 0x1c]
mov ecx, 0xa
mov edx, 1
call fcn.00405288
mov eax, dword [ebp - 0x78]
mov edx, 0x510fec
call fcn.004ea500
test al, al
je 0x510eb9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov dword [ebx + 0x40], eax
jmp 0x510ec2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebx + 0x40], eax
mov eax, esi
call fcn.00403e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510ee6
lea eax, [ebp - 8]
call fcn.00410048
ret