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

Disassembly:
push 0xffffffffffffffff
push 0x4c8873
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x503870]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [0x50b014]
mov esi, dword [eax]
mov ebp, dword [esp + 0x1b4]
mov ebx, ecx
mov ecx, dword [0x50affc]
mov edi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
test edi, edi
je 0x51ed61
cmp edi, dword [esp + 0x24]
je 0x51ed66
call 0x5846f9
cmp esi, dword [esp + 0x28]
je 0x51f3aa
test edi, edi
jne 0x51f090
call 0x5846f9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x51ed89
call 0x5846f9
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
push 0x4dd690
mov ebx, eax
call 0x55a5a0
mov ecx, eax
call 0x55a0b0
push eax
lea eax, [esp + 0x194]
push 0x4e09b8
push eax
call 0x5860ba
mov ebx, dword [ebp + 4]
add esp, 0xc
push 0x4df5f0
call 0x55a5a0
push 0x50b128
lea ecx, [esp + 0x194]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, eax
call 0x55a860
xor ebx, ebx
mov dword [esp + 0x1ac], ebx
cmp byte [esp + 0x44], bl
je 0x51f09e
cmp edi, ebx
jne 0x51f097
call 0x5846f9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x51ee0a
call 0x5846f9
mov edi, dword [esi + 0x10]
call fcn.00512920
mov esi, eax
mov eax, dword [esp + 0xe4]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xdc], ebx
mov byte [esp + 0x1ac], 1
lea ecx, [esp + 0xdc]
push ecx
push 0x4df4b8
lea edx, [esp + 0xf4]
push edx
lea ecx, [esp + 0x48]
call 0x55a860
mov byte [esp + 0x1ac], 2
mov ecx, eax
call 0x559f10
mov dword [esi], eax
mov byte [esp + 0x1ac], 1
lea eax, [esp + 0xec]
call 0x559a70
mov byte [esp + 0x1ac], bl
lea eax, [esp + 0xdc]
call 0x559a70
mov eax, dword [esp + 0xb4]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x1ac], 3
lea ecx, [esp + 0xac]
push ecx
push 0x4dea74
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x48]
call 0x55a860
mov byte [esp + 0x1ac], 4
mov ecx, eax
call 0x559f10
mov dword [esi + 4], eax
mov byte [esp + 0x1ac], 3
lea eax, [esp + 0x11c]
call 0x559a70
mov byte [esp + 0x1ac], bl
lea eax, [esp + 0xac]
call 0x559a70
mov eax, dword [esp + 0x94]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x1ac], 5
lea ecx, [esp + 0x8c]
push ecx
push 0x4df494
lea edx, [esp + 0x164]
push edx
lea ecx, [esp + 0x48]
call 0x55a860
mov byte [esp + 0x1ac], 6
mov ecx, eax
call 0x559f10
mov dword [esi + 8], eax
mov byte [esp + 0x1ac], 5
lea eax, [esp + 0x15c]
call 0x559a70
mov byte [esp + 0x1ac], bl
lea eax, [esp + 0x8c]
call 0x559a70
mov eax, dword [esp + 0xd4]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xcc], ebx
mov byte [esp + 0x1ac], 7
lea ecx, [esp + 0xcc]
push ecx
push 0x4dda18
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x48]
call 0x55a860
mov byte [esp + 0x1ac], 8
mov ecx, eax
call 0x559f10
mov dword [esi + 0xc], eax
mov byte [esp + 0x1ac], 7
lea eax, [esp + 0x13c]
call 0x559a70
mov byte [esp + 0x1ac], bl
lea eax, [esp + 0xcc]
call 0x559a70
mov eax, dword [esp + 0x74]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x1ac], 9
lea ecx, [esp + 0x6c]
push ecx
push 0x4e1028
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x48]
call 0x55a860
mov byte [esp + 0x1ac], 0xa
mov ecx, eax
call 0x559f10
mov dword [esi + 0x10], eax
mov byte [esp + 0x1ac], 9
lea eax, [esp + 0xfc]
call 0x559a70
mov byte [esp + 0x1ac], bl
lea eax, [esp + 0x6c]
jmp 0x51f370
mov eax, dword [edi]
jmp 0x51ed7f
mov eax, dword [edi]
jmp 0x51ee00
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 4]
push 0x4df5f0
call 0x55a5a0
push 0x50b128
lea ecx, [esp + 0x194]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
call 0x55a860
mov byte [esp + 0x1ac], 0xb
xor ebx, ebx
cmp byte [esp + 0x34], bl
je 0x51f365
cmp edi, ebx
jne 0x51f3a3
call 0x5846f9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x51f0f5
call 0x5846f9
mov edi, dword [esi + 0x10]
call fcn.00512920
mov esi, eax
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x1ac], 0xc
lea ecx, [esp + 0x7c]
push ecx
push 0x4df4b8
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x38]
call 0x55a860
mov byte [esp + 0x1ac], 0xd
mov ecx, eax
call 0x559f10
mov dword [esi], eax
mov byte [esp + 0x1ac], 0xc
lea eax, [esp + 0x10c]
call 0x559a70
mov byte [esp + 0x1ac], 0xb
lea eax, [esp + 0x7c]
call 0x559a70
mov eax, dword [esp + 0x54]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x1ac], 0xe
lea ecx, [esp + 0x4c]
push ecx
push 0x4dea74
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x38]
call 0x55a860
mov byte [esp + 0x1ac], 0xf
mov ecx, eax
call 0x559f10
mov dword [esi + 4], eax
mov byte [esp + 0x1ac], 0xe
lea eax, [esp + 0x12c]
call 0x559a70
mov byte [esp + 0x1ac], 0xb
lea eax, [esp + 0x4c]
call 0x559a70
mov eax, dword [esp + 0xa4]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x1ac], 0x10
lea ecx, [esp + 0x9c]
push ecx
push 0x4df494
lea edx, [esp + 0x154]
push edx
lea ecx, [esp + 0x38]
call 0x55a860
mov byte [esp + 0x1ac], 0x11
mov ecx, eax
call 0x559f10
mov dword [esi + 8], eax
mov byte [esp + 0x1ac], 0x10
lea eax, [esp + 0x14c]
call 0x559a70
mov byte [esp + 0x1ac], 0xb
lea eax, [esp + 0x9c]
call 0x559a70
mov eax, dword [esp + 0xc4]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x1ac], 0x12
lea ecx, [esp + 0xbc]
push ecx
push 0x4dda18
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0x38]
call 0x55a860
mov byte [esp + 0x1ac], 0x13
mov ecx, eax
call 0x559f10
mov dword [esi + 0xc], eax
mov byte [esp + 0x1ac], 0x12
lea eax, [esp + 0x16c]
call 0x559a70
mov byte [esp + 0x1ac], 0xb
lea eax, [esp + 0xbc]
call 0x559a70
mov eax, dword [esp + 0x64]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1ac], 0x14
lea ecx, [esp + 0x5c]
push ecx
push 0x4e1028
lea edx, [esp + 0x184]
push edx
lea ecx, [esp + 0x38]
call 0x55a860
mov byte [esp + 0x1ac], 0x15
mov ecx, eax
call 0x559f10
mov dword [esi + 0x10], eax
mov byte [esp + 0x1ac], 0x14
lea eax, [esp + 0x17c]
call 0x559a70
mov byte [esp + 0x1ac], 0xb
lea eax, [esp + 0x5c]
call 0x559a70
mov byte [esp + 0x1ac], bl
lea eax, [esp + 0x2c]
call 0x559a70
mov dword [esp + 0x1ac], 0xffffffff
lea eax, [esp + 0x3c]
call 0x559a70
lea esi, [esp + 0x1c]
call fcn.004e9fb0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x51ed57
mov eax, dword [edi]
jmp 0x51f0eb
mov esi, dword [ebx + 4]
test esi, esi
je 0x51f3c1
mov eax, esi
call 0x559a70
push esi
call 0x5600be
add esp, 4
push ebx
call fcn.00500a10
push ebx
call 0x5600be
mov esi, dword [ebp + 4]
add esp, 4
test esi, esi
je 0x51f3e7
mov eax, esi
call 0x559a70
push esi
call 0x5600be
add esp, 4
push ebp
call fcn.00500a10
push ebp
call 0x5600be
add esp, 4
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call 0x584249
add esp, 0x19c
ret 4