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

Disassembly:
push 0xffffffffffffffff
push 0x71ff52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
xor edi, edi
call dword [eax + 0x30]
test eax, eax
je 0x57bf03
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ef890
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp eax, 1
je 0x57c76f
mov ecx, esi
call fcn.0063e7f0
cmp eax, 1
je 0x57c76f
cmp edi, 1
je 0x57c76f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
je 0x57bf4a
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x30]
mov ecx, eax
call fcn.004f87d0
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x38]
mov ecx, dword [0x7a39fc]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 8]
push eax
call fcn.004ae750
mov ebx, eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
mov edi, eax
test edi, edi
mov ecx, esi
jne 0x57bfa2
mov eax, dword [esi]
call dword [eax + 0x30]
test eax, eax
je 0x57c795
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ef4d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov dword [eax + 0x984], edi
jmp 0x57c795
mov edx, dword [esi]
call dword [edx + 0x30]
test eax, eax
je 0x57c164
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call dword [edx + 0x30]
mov ecx, eax
call fcn.004f6000
test eax, eax
jne 0x57c164
mov edx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, eax
call fcn.004ee440
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor edx, edx
mov dx, word [ebp + 0x6c]
push 0
lea ecx, [esp + 0x70]
push ecx
push 3
mov ecx, esi
push edx
push 0x27
call fcn.004ccb00
mov bl, byte [ebx + 8]
cmp bl, byte [0x746639]
je 0x57c0af
cmp bl, byte [0x746638]
je 0x57c0af
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
push 2
lea ecx, [esp + 0x88]
push ecx
xor eax, eax
mov ax, word [ebp + 0x6c]
push 2
lea edx, [esp + 0x8c]
push edx
push 2
push eax
push 0x31
jmp 0x57c0ef
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor edx, edx
mov dx, word [ebp + 0x6c]
push 0
lea ecx, [esp + 0x70]
push ecx
push 3
push edx
push 0x13
mov ecx, esi
call fcn.004ccb00
push 0
mov ecx, dword [esp + 0x20]
push 0
push 0
mov edx, dword [esp + 0x1c]
mov edi, dword [edi + 0x8c]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
xor ecx, ecx
mov cx, word [ebp + 0x6c]
push edx
mov edx, dword [esi]
push edi
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x78], 0
push ecx
mov ecx, esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call dword [edx + 0x30]
mov ecx, eax
call fcn.004f8a50
mov eax, dword [0x745dc0]
jmp 0x57c79a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x57c293
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [eax + 0x984]
test ecx, ecx
jne 0x57c293
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov edi, 1
mov dword [eax + 0x984], edi
mov bl, byte [ebx + 8]
cmp bl, byte [0x746639]
mov dword [esp + 0x20], edi
jne 0x57c1b3
mov dword [esp + 0x54], 0x2790
jmp 0x57c1c3
cmp bl, byte [0x746638]
jne 0x57c1c3
mov dword [esp + 0x54], 0x2793
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor edx, edx
mov dx, word [ebp + 0x6c]
push 0
lea ecx, [esp + 0x70]
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x90], 0x3f800000
push edx
push 0x27
mov dword [esp + 0x94], 0x3fc00000
call fcn.004ccb00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
push edi
lea ecx, [esp + 0x74]
push ecx
push 2
xor ecx, ecx
mov cx, word [ebp + 0x6c]
lea edx, [esp + 0x80]
push edx
push 2
lea eax, [esp + 0xb4]
push eax
push edi
push ecx
push 6
mov ecx, esi
call fcn.004ccb00
mov edx, dword [esi]
push 8
push 0x5dc
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ef480
mov eax, dword [0x745dc0]
jmp 0x57c79a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x57c2dd
mov edx, dword [esi]
push 1
push edi
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004f0b20
cmp eax, 1
jne 0x57c2dd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, eax
call fcn.004ef4d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov dword [eax + 0x984], 0
mov eax, dword [0x745dc0]
jmp 0x57c79a
mov eax, dword [esi]
mov ecx, esi
mov ebp, 1
call dword [eax + 0x30]
test eax, eax
je 0x57c30c
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push 0
push 0
push ecx
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004f6000
test eax, eax
je 0x57c73e
mov eax, dword [edi]
mov ecx, edi
xor ebx, ebx
call dword [eax + 0x18]
test eax, eax
mov ecx, edi
je 0x57c3b6
mov edx, dword [edi]
call dword [edx + 0x18]
cmp dword [eax + 0x2c4], ebx
je 0x57c363
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x57c795
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebx
cmp eax, ebx
je 0x57c3fc
mov ecx, eax
call fcn.004d69f0
mov ebp, eax
jmp 0x57c3fe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
cmp dword [eax + 0x2d8], ebx
je 0x57c398
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov dword [esp + 0x4c], ebp
je 0x57c45e
mov ecx, eax
call fcn.004d7540
jmp 0x57c460
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
jne 0x57c4e7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
mov dword [eax + 0x2c4], ebp
jmp 0x57c4e3
mov eax, dword [edi]
call dword [eax + 0x48]
test eax, eax
je 0x57c4e7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
cmp dword [eax + 0x260], ebx
je 0x57c428
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x57c795
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], 2
jmp 0x57c34d
xor ebp, ebp
mov ecx, dword [edi + 4]
push ecx
push ebx
mov ecx, ebp
mov dword [esp + 0x54], 0xffffffff
call fcn.004d7780
mov edx, dword [esi]
push ebp
push 0xd
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ede10
jmp 0x57c77a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
cmp dword [eax + 0x26c], ebx
je 0x57c4ce
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov dword [esp + 0x4c], 3
je 0x57c45e
mov ecx, eax
call fcn.004d7540
jmp 0x57c460
xor eax, eax
push eax
mov word [eax], 0x22
mov eax, dword [0x7441dc]
mov edx, dword [esi + 4]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x18]
push eax
push edx
push ebx
push ebx
mov dword [esp + 0x64], 0xffffffff
call fcn.004aed80
mov ecx, eax
call fcn.004b08d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
je 0x57c795
mov eax, dword [esi]
push ebx
push 0xf
mov ecx, esi
call dword [eax + 0x30]
mov ecx, eax
call fcn.004ede10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ef4d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
jmp 0x57c78f
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
jne 0x57c4e7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
mov dword [eax + 0x260], ebp
mov dword [esp + 0x14], ebp
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x57c5da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
cmp dword [eax + 0x4e0], ebx
je 0x57c519
call fcn.006fc447
cdq
mov ecx, 0x14
idiv ecx
inc edx
mov dword [esp + 0x54], edx
jmp 0x57c525
mov dword [esp + 0x54], 0x14
mov dword [esp + 0x18], ebp
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [eax + 0xa74]
push 0
push 0
push 6
mov ecx, eax
call fcn.005aa570
movsx ebx, al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
mov edx, dword [edi]
mov ecx, edi
je 0x57c590
call dword [edx + 0x18]
cmp byte [eax + 0x2c0], 1
jae 0x57c564
mov ebp, 1
jmp 0x57c572
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
movzx ebp, byte [eax + 0x2c0]
mov ecx, dword [esp + 0x54]
lea edx, [ebx + ecx]
cmp edx, ebp
jl 0x57c5e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov dword [eax + 0x2c4], 1
jmp 0x57c5ee
call dword [edx + 0x48]
test eax, eax
je 0x57c5de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
cmp byte [eax + 0x275], 1
jae 0x57c5ae
mov ebp, 1
jmp 0x57c5bc
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
movzx ebp, byte [eax + 0x275]
mov eax, dword [esp + 0x54]
lea ecx, [ebx + eax]
cmp ecx, ebp
jl 0x57c5e2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
mov dword [eax + 0x260], 1
jmp 0x57c5ee
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57c673
mov edx, dword [0x7441e8]
mov eax, dword [esi + 4]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push 0
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
push 0
push 0
call fcn.004aed80
mov ecx, eax
call fcn.004b08d0
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x4c], 4
je 0x57c63c
mov ecx, eax
call fcn.004d7540
jmp 0x57c63e
xor eax, eax
push eax
mov word [eax], 0x1c
mov eax, dword [0x7441dc]
mov edi, dword [edi + 4]
mov edx, dword [esi + 4]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push eax
push edi
push edx
push 0
push 0
mov dword [esp + 0x64], 0xffffffff
call fcn.004aed80
mov ecx, eax
call fcn.004b08d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
je 0x57c73e
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x4c], 5
je 0x57c6a7
mov ecx, eax
call fcn.004d69f0
mov edi, eax
jmp 0x57c6a9
xor edi, edi
mov eax, dword [esi + 4]
push eax
push 0
mov ecx, edi
mov dword [esp + 0x54], 0xffffffff
call fcn.004d7780
push 0x149
push 0
mov ecx, edi
call fcn.004d76b0
mov ecx, dword [esp + 0x54]
push ecx
push 1
mov ecx, edi
call fcn.004d76b0
push ebx
push 2
mov ecx, edi
call fcn.004d76b0
push ebp
push 3
mov ecx, edi
call fcn.004d76b0
mov edx, dword [esp + 0x18]
push edx
push 4
mov ecx, edi
call fcn.004d76b0
mov eax, dword [esp + 0x54]
add ebx, eax
cmp ebx, ebp
jl 0x57c70a
push 1
jmp 0x57c718
mov eax, dword [esp + 0x18]
test eax, eax
je 0x57c716
push 3
jmp 0x57c718
push 0
mov ecx, edi
push 5
call fcn.004d76b0
push 0x149
push 6
mov ecx, edi
call fcn.004d76b0
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ec700
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x57c768
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
call fcn.004ef4d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov dword [eax + 0x984], 0
mov eax, dword [0x745dc0]
jmp 0x57c79a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
je 0x57c795
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, eax
call fcn.004ef4d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov dword [eax + 0x984], ebx
mov eax, dword [0x745dc4]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4