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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5960
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x6c21e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
push 0
mov edi, dword [esi + 0x1c]
push 3
push edi
push dword [esi + 0x18]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], ebx
call fcn.005b6120
or eax, edx
jne 0x51fdf0
push dword [esi + 0xc]
mov ebx, 0x64
mov eax, edi
push dword [esi + 8]
mul ebx
mov ecx, eax
mov eax, dword [esi + 0x18]
mul ebx
add ecx, edx
push ecx
push eax
call fcn.005b60b0
push dword [ebp - 0x280]
lea ecx, [esi + 0x48]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x14], edx
call fcn.00516e30
mov ebx, dword [ebp - 0x284]
lea ecx, [ebx + 0x14b0]
call fcn.004e6f80
push eax
mov edx, 0x12c
lea ecx, [esi + 0x48]
call fcn.004852b0
sub esp, 0x18
lea ecx, [esi + 0x48]
push 0
push 0
push 0
push 0
push 0
push 0x642010
call fcn.005150b0
lea ecx, [esi + 0x48]
call fcn.00516ab0
push eax
push dword [ebp - 0x27c]
lea ecx, [ebx + 0x14b0]
call fcn.004e73c0
mov ebx, dword [ebp - 0x278]
test ebx, ebx
je 0x51fe00
cmp byte [ebx], 0
je 0x51fe00
xor al, al
jmp 0x520117
sub esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5ed664
push dword [ebp - 0x280]
call fcn.00516e40
push 0x258
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00420570
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00516ab0
push 0x250
mov edi, eax
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.00420570
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
push edi
call dword [0x5cd4f4]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x51fe9b
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x20], 1
call fcn.004016d0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
je 0x5200fd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x248]
push eax
push 0x5ed514
push dword [ebp - 0x280]
lea ecx, [ebp - 0x1c]
call fcn.00516b20
test byte [ebp - 0x274], 0x10
je 0x51ffb0
add dword [esi + 0x18], 1
mov al, byte [ebp + 0x10]
adc dword [esi + 0x1c], 0
mov byte [ebp - 0x27c], al
test al, al
jne 0x51ff7c
lea ecx, [ebp - 0x270]
call fcn.00505ae0
add eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jb 0x51ff7c
push dword [esi + 0x38]
lea eax, [ebp - 0x270]
push eax
call dword [0x5cd424]
mov ecx, dword [esi + 0x38]
lea edx, [esi + 0x54]
call fcn.00513a90
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
lea ebx, [esi + 0x48]
call fcn.00516ab0
push eax
push 0x612588
lea ecx, [esi + 0x54]
call fcn.00516ab0
push eax
push 0x64205c
mov ecx, ebx
call fcn.00516b20
mov ecx, dword [esi + 0x40]
push ebx
call fcn.00504c50
add dword [esi + 0x28], 1
mov ebx, dword [ebp - 0x278]
adc dword [esi + 0x2c], 0
mov byte [ebp - 0x27c], 1
push ebx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x1c]
push esi
call fcn.00516ab0
mov ecx, dword [ebp - 0x284]
push eax
call fcn.0051fd00
test al, al
jne 0x5200b8
mov eax, dword [ebp - 0x24]
xor bl, bl
mov esi, dword [0x5cd484]
jmp 0x520105
lea ecx, [ebp - 0x260]
call fcn.00505ae0
add eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jb 0x5200cd
xor edi, edi
lea edx, [ebp - 0x248]
cmp word [ebp - 0x248], di
je 0x51fff6
nop dword [eax + eax]
movzx ecx, word [edx + 2]
add edx, 2
cmp ecx, 0x2e
mov eax, edx
cmovne eax, edi
mov edi, eax
test cx, cx
jne 0x51ffe0
lea ebx, [esi + 0x48]
push edi
mov ecx, ebx
call fcn.00516e30
push ecx
push dword [esi + 0x44]
mov ecx, ebx
call fcn.00514490
test al, al
je 0x5200c7
lea eax, [esi + 0x78]
push eax
lea ecx, [esi + 0x6c]
push ecx
lea edx, [esi + 0x60]
push edx
push dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.00516ab0
mov ecx, dword [ebp - 0x284]
push eax
call fcn.00520d90
test al, al
je 0x5200c7
push dword [esi + 0x38]
lea eax, [ebp - 0x260]
push eax
call dword [0x5cd424]
mov ecx, dword [esi + 0x38]
lea edx, [esi + 0x54]
call fcn.00513a90
push 0
push 0
push 0
push 0
push 0
lea ecx, [esi + 0x78]
call fcn.00516ab0
push eax
lea ecx, [esi + 0x6c]
call fcn.00516ab0
push eax
lea ecx, [esi + 0x60]
call fcn.00516ab0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00516ab0
push eax
push 0x612588
lea ecx, [esi + 0x54]
call fcn.00516ab0
push eax
push 0x642084
mov ecx, ebx
call fcn.00516b20
mov ecx, dword [esi + 0x3c]
push ebx
call fcn.00504c50
add dword [esi + 0x20], 1
mov ebx, dword [ebp - 0x278]
adc dword [esi + 0x24], 0
test ebx, ebx
je 0x5200cd
cmp byte [ebx], 0
jne 0x51ffa0
jmp 0x5200cd
mov ebx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x5200fd
lea ecx, [ebp - 0x274]
push ecx
push eax
call dword [0x5cd4e0]
test eax, eax
je 0x520135
lea ecx, [ebp - 0x274]
call fcn.004016d0
test al, al
jne 0x51fea8
mov eax, dword [ebp - 0x24]
mov esi, dword [0x5cd484]
mov bl, 1
cmp eax, 0xffffffff
je 0x52010d
push eax
call esi
lea ecx, [ebp - 0x1c]
call fcn.00516d50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e865
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0x24]
mov esi, dword [0x5cd484]
call esi
or eax, 0xffffffff
mov dword [ebp - 0x24], eax
jmp 0x520103