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

Disassembly:
push 0xffffffffffffffff
push 0x5fe5b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp + 0xf0]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x57d43f
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
jne 0x57d020
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xa0]
cmp ecx, eax
jne 0x57d020
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0xa4]
cmp edx, eax
je 0x57d43f
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.00513a90
mov edi, dword [eax]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], esi
mov ebx, dword [eax + 4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x94]
call fcn.004fd6a0
test eax, eax
jne 0x57d072
lea eax, [esp + 0x28]
lea ecx, [esp + 0x90]
push eax
call fcn.004ff620
test eax, eax
je 0x57d431
mov eax, dword [esp + 0x90]
cmp eax, edi
jg 0x57d431
jne 0x57d0a7
mov eax, dword [esp + 0x94]
cmp eax, ebx
jg 0x57d431
jne 0x57d0a7
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x98]
cmp eax, ecx
jg 0x57d431
lea edx, [esp + 0x28]
lea ecx, [esp + 0x9c]
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004fd6a0
test eax, eax
jne 0x57d0e1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x9c]
push eax
call fcn.004ff620
test eax, eax
je 0x57d428
mov esi, dword [esp + 0x9c]
cmp esi, edi
jg 0x57d428
mov ecx, dword [esp + 0xa0]
jne 0x57d116
cmp ecx, ebx
jg 0x57d428
jne 0x57d116
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x3c]
cmp edx, eax
jg 0x57d428
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
cmp eax, esi
jg 0x57d142
cmp eax, esi
jne 0x57d18b
cmp edx, ecx
jg 0x57d142
jne 0x57d18b
cmp ebx, dword [esp + 0xa4]
jle 0x57d18b
mov edi, eax
mov dword [esp + 0x2c], edx
mov eax, esi
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xa4]
mov edx, ecx
mov ecx, dword [esp + 0x2c]
mov esi, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edi
mov edi, eax
cmp eax, esi
mov dword [esp + 0x14], edi
jne 0x57d1e0
sub esp, 0xc
mov edi, esp
sub esp, 0xc
mov dword [edi], esi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, esp
sub esp, 0x3c
mov dword [ecx], eax
mov dword [esp + 0x74], esp
mov dword [ecx + 4], edx
lea edx, [esp + 0xa8]
mov dword [ecx + 8], ebx
mov ecx, esp
push edx
call fcn.004e3080
mov eax, dword [esp + 0xa4]
mov ecx, ebp
push eax
call fcn.0057d7b0
jmp 0x57d43f
push eax
mov ecx, ebp
call fcn.0050d1c0
push esi
mov ecx, ebp
mov ebx, eax
call fcn.0050d1c0
test ebx, ebx
je 0x57d43f
test eax, eax
je 0x57d43f
mov eax, dword [ebx + 0x9c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
mov ecx, ebx
lea edx, [eax - 1]
dec eax
push eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], edx
call fcn.004e3e00
test eax, eax
je 0x57d43f
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x94]
sub esp, 0xc
mov eax, dword [eax - 8]
mov ecx, esp
sub esp, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xac]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xa8]
mov eax, esp
sub esp, 0x3c
mov dword [esp + 0x74], esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xec]
mov dword [eax + 4], edx
lea edx, [esp + 0xa8]
mov dword [eax + 8], ecx
mov ecx, esp
push edx
call fcn.004e3080
mov eax, dword [esp + 0xa4]
mov ecx, ebp
push eax
call fcn.0057d7b0
sub esi, edi
dec esi
mov eax, esi
mov esi, 1
cmp eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], esi
jl 0x57d3ce
jmp 0x57d2b8
mov edi, dword [esp + 0x14]
lea ecx, [esi + edi]
push ecx
mov ecx, ebp
call fcn.0050d1c0
mov ebx, eax
xor edi, edi
mov eax, dword [ebx + 0x9c]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x57d3bd
push edi
mov ecx, ebx
call fcn.004e3e00
sub esp, 0x3c
lea edx, [esp + 0x90]
mov esi, esp
mov dword [esp + 0x60], esp
push edx
mov ecx, esi
mov ebp, eax
mov dword [esp + 0x64], esi
call fcn.005c5029
mov eax, dword [esp + 0x94]
mov byte [esp + 0x84], 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x98]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x9c]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0xa4]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0xac]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0xb4]
mov dword [esi + 0x20], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.005c5029
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x84], 0
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0xbc]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0xc0]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xc8]
mov dword [esi + 0x38], ecx
mov ecx, ebp
call fcn.0050b5e0
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x57d2d9
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jle 0x57d2b4
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
sub esp, 0xc
xor ecx, ecx
mov esi, esp
sub esp, 0xc
xor edx, edx
mov dword [esi], eax
mov dword [esi + 4], edi
mov edi, dword [esp + 0xbc]
mov dword [esi + 8], edi
mov esi, esp
sub esp, 0x3c
mov dword [esi], eax
mov dword [esp + 0x78], esp
mov dword [esi + 4], ecx
mov ecx, esp
mov dword [esi + 8], edx
lea edx, [esp + 0xa8]
push edx
call fcn.004e3080
mov eax, dword [esp + 0xa4]
mov ecx, ebp
push eax
call fcn.0057d7b0
jmp 0x57d43f
mov ecx, dword [esp + 0x50]
push 1
push ecx
jmp 0x57d438
mov edx, dword [esp + 0x50]
push 1
push edx
mov ecx, ebp
call fcn.00512170
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], 0xffffffff
call fcn.004dd010
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 0x58