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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x57fa7c
sub esp, 0xc4
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.0046c0bb
mov ecx, dword [0x89e244]
test ecx, ecx
jbe 0x57fa72
mov esi, dword [0x89e240]
lea edi, [esp + 0x9c]
call fcn.0046c59e
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x57f1f9
mov eax, dword [esp + 0x68]
add eax, 0xc
mov edx, dword [esp + 0x50]
lea ebx, [edx + 1]
mov edx, dword [esp + 0xcc]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov ecx, eax
mov ebp, dword [esp + 0x48]
xor eax, eax
cmp edx, ebx
jle 0x57f2c3
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], ecx
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x48], ebx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x88]
lea esi, [esp + 0x9c]
call fcn.0046c59e
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
xor edi, edi
jmp 0x57f32d
lea edi, [esp + 0xb0]
call fcn.0046c0bb
mov dword [esp], edx
call fcn.0057fa90
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edi, [esp + 0xb0]
lea esi, [esp + 4]
call fcn.0046c59e
lea edi, [esp + 0x9c]
lea esi, [esp + 0xb0]
call fcn.0046c59e
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x57f53d
movzx ecx, byte [esp + 0x9d]
test cl, cl
je 0x57f2b5
mov ecx, dword [esp + 0x48]
jmp 0x57f1d4
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x57f1d4
jmp 0x57f341
movzx eax, byte [esp + 0x9c]
test al, al
je 0x57f2ec
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
add esp, 0xc4
ret
lea eax, [0x63cf40]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x6872a4]
mov dword [eax], ecx
lea ecx, [0x701730]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xc4
ret
inc edi
mov ebx, dword [esp + 0x48]
cmp edi, esi
jge 0x57f552
lea ebx, [ecx + edi*4]
cmp dword [ebx], edx
jne 0x57f328
jmp 0x57f24d
mov eax, dword [esp + 0x4c]
cmp eax, 7
jg 0x57f3e5
cmp eax, 3
jg 0x57f396
cmp eax, 1
jne 0x57f368
mov eax, 6
lea ecx, [0x67d7e8]
jmp 0x57f480
cmp eax, 2
jne 0x57f37d
mov eax, 7
lea ecx, [0x67dbc1]
jmp 0x57f480
cmp eax, 3
jne 0x57f475
mov eax, 7
lea ecx, [0x67dbc8]
jmp 0x57f480
cmp eax, 5
jg 0x57f3c0
cmp eax, 4
jne 0x57f3b0
mov eax, 6
lea ecx, [0x67d7ee]
jmp 0x57f480
mov eax, 7
lea ecx, [0x67dbcf]
jmp 0x57f480
cmp eax, 6
jne 0x57f3d5
mov eax, 4
lea ecx, [0x67d298]
jmp 0x57f480
mov eax, 8
lea ecx, [0x67e073]
jmp 0x57f480
cmp eax, 0xb
jg 0x57f42d
cmp eax, 9
jg 0x57f40e
cmp eax, 8
jne 0x57f401
mov eax, 8
lea ecx, [0x67e07b]
jmp 0x57f480
mov eax, 9
lea ecx, [0x67e539]
jmp 0x57f480
cmp eax, 0xa
jne 0x57f420
mov eax, 0xa
lea ecx, [0x67eb97]
jmp 0x57f480
mov eax, 9
lea ecx, [0x67e542]
jmp 0x57f480
cmp eax, 0xd
jg 0x57f451
cmp eax, 0xc
jne 0x57f444
mov eax, 8
lea ecx, [0x67e083]
jmp 0x57f480
mov eax, 6
lea ecx, [0x67d7f4]
jmp 0x57f480
cmp eax, 0xe
jne 0x57f463
mov eax, 0xc
lea ecx, [0x67f951]
jmp 0x57f480
cmp eax, 0xf
jne 0x57f475
mov eax, 7
lea ecx, [0x67dbd6]
jmp 0x57f480
mov eax, 7
lea ecx, [0x67da55]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d540
mov eax, dword [esp + 8]
lea ecx, [0x62efe0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x68a7c2]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e7650
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
lea edx, [0x63cf40]
mov dword [esp], edx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x57f515
mov ecx, dword [esp + 0x64]
jmp 0x57f520
call fcn.0046beb0
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x701730]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xc4
ret
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], ebx
add esp, 0xc4
ret
mov eax, dword [esp + 0x38]
cmp eax, 7
jne 0x57f606
cmp edx, 0xd
jne 0x57f606
lea eax, [0x62efe0]
cmp ebp, eax
jne 0x57fa5c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x682ddc]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00455480
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
lea edx, [0x63cf40]
mov dword [esp], edx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x57f5de
mov ecx, dword [esp + 0x58]
jmp 0x57f5e9
call fcn.0046beb0
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x701730]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xc4
ret
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0xa0]
cmp eax, 7
jg 0x57f6b1
cmp eax, 3
jg 0x57f662
cmp eax, 1
jne 0x57f634
mov eax, 6
lea ecx, [0x67d7e8]
jmp 0x57f74c
cmp eax, 2
jne 0x57f649
mov eax, 7
lea ecx, [0x67dbc1]
jmp 0x57f74c
cmp eax, 3
jne 0x57f741
mov eax, 7
lea ecx, [0x67dbc8]
jmp 0x57f74c
cmp eax, 5
jg 0x57f68c
cmp eax, 4
jne 0x57f67c
mov eax, 6
lea ecx, [0x67d7ee]
jmp 0x57f74c
mov eax, 7
lea ecx, [0x67dbcf]
jmp 0x57f74c
cmp eax, 6
jne 0x57f6a1
mov eax, 4
lea ecx, [0x67d298]
jmp 0x57f74c
mov eax, 8
lea ecx, [0x67e073]
jmp 0x57f74c
cmp eax, 0xb
jg 0x57f6f9
cmp eax, 9
jg 0x57f6da
cmp eax, 8
jne 0x57f6cd
mov eax, 8
lea ecx, [0x67e07b]
jmp 0x57f74c
mov eax, 9
lea ecx, [0x67e539]
jmp 0x57f74c
cmp eax, 0xa
jne 0x57f6ec
mov eax, 0xa
lea ecx, [0x67eb97]
jmp 0x57f74c
mov eax, 9
lea ecx, [0x67e542]
jmp 0x57f74c
cmp eax, 0xd
jg 0x57f71d
cmp eax, 0xc
jne 0x57f710
mov eax, 8
lea ecx, [0x67e083]
jmp 0x57f74c
mov eax, 6
lea ecx, [0x67d7f4]
jmp 0x57f74c
cmp eax, 0xe
jne 0x57f72f
mov eax, 0xc
lea ecx, [0x67f951]
jmp 0x57f74c
cmp eax, 0xf
jne 0x57f741
mov eax, 7
lea ecx, [0x67dbd6]
jmp 0x57f74c
mov eax, 7
lea ecx, [0x67da55]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d540
mov eax, dword [esp + 8]
lea ecx, [0x62efe0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [0x67dbdd]
mov dword [esp], eax
mov dword [esp + 4], 7
lea edx, [esp + 0x78]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004e7650
mov eax, dword [esp + 0x4c]
cmp eax, 7
jg 0x57f878
cmp eax, 3
jg 0x57f829
cmp eax, 1
jne 0x57f7fb
mov eax, 6
lea ecx, [0x67d7e8]
jmp 0x57f913
cmp eax, 2
jne 0x57f810
mov eax, 7
lea ecx, [0x67dbc1]
jmp 0x57f913
cmp eax, 3
jne 0x57f908
mov eax, 7
lea ecx, [0x67dbc8]
jmp 0x57f913
cmp eax, 5
jg 0x57f853
cmp eax, 4
jne 0x57f843
mov eax, 6
lea ecx, [0x67d7ee]
jmp 0x57f913
mov eax, 7
lea ecx, [0x67dbcf]
jmp 0x57f913
cmp eax, 6
jne 0x57f868
mov eax, 4
lea ecx, [0x67d298]
jmp 0x57f913
mov eax, 8
lea ecx, [0x67e073]
jmp 0x57f913
cmp eax, 0xb
jg 0x57f8c0
cmp eax, 9
jg 0x57f8a1
cmp eax, 8
jne 0x57f894
mov eax, 8
lea ecx, [0x67e07b]
jmp 0x57f913
mov eax, 9
lea ecx, [0x67e539]
jmp 0x57f913
cmp eax, 0xa
jne 0x57f8b3
mov eax, 0xa
lea ecx, [0x67eb97]
jmp 0x57f913
mov eax, 9
lea ecx, [0x67e542]
jmp 0x57f913
cmp eax, 0xd
jg 0x57f8e4
cmp eax, 0xc
jne 0x57f8d7
mov eax, 8
lea ecx, [0x67e083]
jmp 0x57f913
mov eax, 6
lea ecx, [0x67d7f4]
jmp 0x57f913
cmp eax, 0xe
jne 0x57f8f6
mov eax, 0xc
lea ecx, [0x67f951]
jmp 0x57f913
cmp eax, 0xf
jne 0x57f908
mov eax, 7
lea ecx, [0x67dbd6]
jmp 0x57f913
mov eax, 7
lea ecx, [0x67da55]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d540
mov eax, dword [esp + 8]
lea ecx, [0x62efe0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
lea eax, [0x67dbdd]
mov dword [esp], eax
mov dword [esp + 4], 7
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004e7650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
lea edx, [0x68980a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x23
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x67d2a0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004555b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
lea edx, [0x63cf40]
mov dword [esp], edx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x57fa34
mov ecx, dword [esp + 0x54]
jmp 0x57fa3f
call fcn.0046beb0
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x701730]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xc4
ret
mov dword [esp], ebp
mov dword [esp + 4], eax
lea eax, [0x630fc0]
mov dword [esp + 8], eax
call fcn.0040d1d0
xor eax, eax
mov ecx, eax
call fcn.0046bf30
nop
call fcn.0046aab0
jmp fcn.0057f170