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

Disassembly:
sub esp, 0x138
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x2c]
test eax, eax
push esi
push edi
jne 0x568d94
call fcn.0055d81c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x150]
or ebx, 0xffffffff
test eax, eax
je 0x568e9b
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x568dc2
mov eax, dword [ebp + 0x318]
push eax
call fcn.0057335c
add esp, 4
jmp 0x568dec
mov eax, dword [ebp + 0x128]
test ah, 2
mov eax, dword [ebp + 0x2e8]
mov ecx, ebp
jne 0x568de4
push 0x5f7eac
push eax
push 0
call fcn.0055e7bc
jmp 0x568dec
push eax
push 0
call fcn.0055e90c
mov edi, eax
test edi, edi
je 0x568e9b
mov esi, dword [esp + 0x14c]
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x568e23
test dl, dl
je 0x568e1f
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x568e23
add ecx, 2
add esi, 2
test dl, dl
jne 0x568dff
xor ecx, ecx
jmp 0x568e27
sbb ecx, ecx
sbb ecx, ebx
xor edx, edx
test ecx, ecx
sete dl
push edi
mov esi, edx
call fcn.007152ac
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, 9
jl 0x568e84
mov eax, dword [ebp + 0x1cc]
test eax, eax
je 0x568e84
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x568e58
cmp byte [eax], 0
jne 0x568e84
mov ecx, dword [esp + 0x34]
push ecx
mov eax, 0xff000000
push eax
push 0
push 0xffffff10
push 0x5f7e98
lea ecx, [ebp + 0x68]
call fcn.0055a1fc
lea ecx, [ebp + 0x180]
call fcn.0055d1fc
jmp 0x568e93
push 1
push 0x5f6cb3
lea ecx, [ebp + 0x68]
call fcn.00559fbc
test esi, esi
jne 0x56a1dc
mov eax, dword [ebp + 0x3c]
test eax, eax
mov edi, dword [esp + 0x14c]
je 0x568ef5
push edi
call fcn.0057335c
mov esi, eax
add esp, 4
test esi, esi
je 0x568ed1
mov eax, dword [ebp + 0x318]
test eax, eax
je 0x568ecb
push eax
call fcn.007152ac
add esp, 4
mov dword [ebp + 0x318], esi
mov eax, dword [ebp + 0x4c]
test eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x44], ebx
je 0x568ef5
push eax
call fcn.007152ac
add esp, 4
mov dword [ebp + 0x4c], 0
mov ecx, ebp
call fcn.00565dcc
mov esi, dword [ebp + 0x2e8]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
je 0x568f42
push 1
push ebx
push 1
push esi
push ebx
mov ecx, ebp
call fcn.0056753c
push esi
push ebx
mov ecx, ebp
call fcn.0056560c
push 1
push 1
push 1
push ebx
push ebx
mov ecx, ebp
call fcn.0056753c
cmp dword [esp + 0x150], ebx
je 0x568f5a
mov eax, dword [ebp + 0x128]
test ah, 2
je 0x568f5a
xor eax, eax
jmp 0x568f5f
mov eax, 1
cmp dword [ebp + 0x3c], ebx
jne 0x568fc2
cmp eax, ebx
je 0x568fc2
push edi
mov byte [ebp + 0x339], 1
call fcn.0057335c
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x56a159
cmp byte [esi], 0
je 0x568f9c
jmp 0x568f8c
cmp byte [eax], 0xd
jne 0x568f94
mov byte [eax], 0xa
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x568f8c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x568fa1
push ebx
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.00568a0c
push esi
call fcn.007152ac
add esp, 4
jmp 0x56a159
mov esi, dword [esp + 0x34]
cmp esi, 8
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xbc], ebx
jl 0x568fee
mov byte [ebp + 0x338], 1
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + 0xb4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp + 0x38]
push ecx
push edx
lea ecx, [esp + 0xc8]
call fcn.005bf75c
cmp esi, 5
jle 0x56901c
cmp esi, 8
jge 0x56901c
mov al, 1
jmp 0x56901e
xor al, al
mov ecx, dword [ebp + 0x38]
xor edx, edx
mov dl, byte [ecx + 0xde0]
movzx eax, al
push eax
push 1
lea ecx, [esp + 0xac]
push edx
push esi
push edi
call fcn.00612d9c
lea ecx, [esp + 0x58]
call fcn.00612a9c
mov eax, dword [ebp + 0x20]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x56909e
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x70], ebx
jne 0x569073
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
jne 0x56906e
mov ecx, ebp
call fcn.0055d81c
cmp eax, 8
jge 0x56909e
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
mov ecx, ebp
call fcn.0055fb4c
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
jne 0x569093
mov ecx, ebp
call fcn.0055d81c
cmp eax, 8
jge 0x56909e
mov dword [ebp + 0x188], ebx
push 0xbc
mov dword [esp + 0x18], ebx
call fcn.0071528c
add esp, 4
cmp eax, ebx
je 0x5690ea
mov ecx, eax
call fcn.0055dffc
mov esi, eax
cmp esi, ebx
je 0x5690ea
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [esi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0062fc2c
lea edx, [ebp + 0x180]
push edx
lea ecx, [esi + 0x7c]
call fcn.0055d11c
mov dword [esi + 0xb8], ebx
mov dword [esp + 0x14], esi
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
call fcn.0062fc0c
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x410]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x23], 1
call fcn.00612f0c
test eax, eax
jne 0x56a0e8
cmp dword [esp + 0x7c], 3
jne 0x569201
mov eax, dword [esp + 0x14]
test eax, eax
je 0x56914d
cmp dword [eax + 0xb8], 2
je 0x5691f7
cmp dword [esp + 0x34], 8
jl 0x5691da
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5691da
mov eax, dword [ebp + 0x170]
test eax, eax
mov esi, dword [esp + 0x78]
je 0x569198
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x569198
mov eax, dword [eax + 4]
lea edx, [ecx + ecx*2]
xor ecx, ecx
mov cx, word [eax + edx*2 - 6]
push ecx
call fcn.0055b1cc
add esp, 4
test al, al
je 0x5691b6
mov al, byte [esi]
test al, al
je 0x5691b6
cmp al, 0x20
je 0x5691ae
cmp al, 9
je 0x5691ae
cmp al, 0xa
je 0x5691ae
cmp al, 0xd
jne 0x5691b6
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x56919e
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5691bc
push 0
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.00568a0c
mov byte [esp + 0x1b], 0
jmp 0x56a0c2
mov edx, dword [esp + 0x78]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5691e3
push 0
sub eax, esi
push eax
push edx
mov ecx, ebp
call fcn.00568a0c
mov byte [esp + 0x1b], 0
jmp 0x56a0c2
mov al, byte [0x5f80a0]
xor edi, edi
test al, al
mov esi, 0x5f80a0
je 0x569230
mov edx, dword [esp + 0x78]
push edx
push esi
call fcn.005737fc
add esp, 8
test al, al
jne 0x569298
inc edi
mov al, byte [esi]
inc esi
test al, al
jne 0x569224
cmp byte [esi], 0
jne 0x569211
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x2f
jne 0x56a06a
mov esi, dword [esp + 0x14]
test esi, esi
lea edx, [eax + 1]
je 0x56a06a
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x56a06a
push ecx
push edx
call fcn.005737fc
add esp, 8
test al, al
je 0x56a066
mov eax, dword [esi + 0xb8]
cmp eax, 1
jne 0x569fd0
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
call fcn.0062fc2c
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
jmp 0x56a0b9
cmp byte [esi], 0
je 0x569230
cmp edi, 0x15
ja 0x56a0c2
jmp dword [edi*4 + 0x432b40]
cmp eax, 3
je 0x56a059
test ebx, ebx
je 0x569ff3
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
call fcn.0062fc2c
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x56a059
lea eax, [esp + 0xd4]
lea edi, [ebp + 0x68]
push eax
mov ecx, edi
call fcn.0062fc2c
lea esi, [ebp + 0x180]
push esi
push edi
push 0
lea ecx, [esp + 0x20]
call fcn.0056078c
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x33], 0xa
je 0x56a036
cmp dword [eax + 0xb8], 2
je 0x56a046
push 0
push 1
lea ecx, [esp + 0x3b]
push ecx
mov ecx, ebp
call fcn.00568a0c
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.005607fc
mov dword [esp + 0x38], 0
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
jmp 0x56a0b9
mov eax, dword [esp + 0x78]
lea esi, [ebp + 0x180]
push esi
lea edi, [ebp + 0x68]
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.0056078c
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
mov ecx, ebp
call fcn.0056008c
test eax, eax
je 0x56a0a5
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
jmp 0x56a0c2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x56a0b7
mov dword [eax + 0xb8], 3
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.005607fc
mov edx, dword [ebp + 0x38]
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x410]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xac]
call fcn.00612f0c
test eax, eax
je 0x56912d
cmp dword [esp + 0x34], 8
jl 0x56a101
push 0
push 0
mov ecx, ebp
mov byte [ebp + 0x338], 0
call fcn.005654fc
mov eax, dword [ebp + 0x31c]
test eax, eax
je 0x56a112
mov ecx, ebp
call fcn.0056393c
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], 0x5f7a94
call fcn.00559e5c
lea ecx, [esp + 0x14]
call fcn.0055e06c
lea ecx, [esp + 0x58]
call fcn.00612eac
lea ecx, [esp + 0xc0]
call fcn.005be29c
mov edx, dword [esp + 0xa4]
push edx
call fcn.007152ac
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x98]
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov eax, dword [ebp + 0x2e8]
cmp eax, ecx
jge 0x56a176
mov ecx, eax
mov esi, dword [esp + 0x9c]
mov dword [ebp + 4], ecx
xor ecx, ecx
cmp esi, ebx
setl cl
dec ecx
and ecx, esi
cmp eax, ecx
jl 0x56a190
mov eax, ecx
mov ecx, dword [ebp + 0x30]
cmp ecx, ebx
mov dword [ebp + 8], eax
je 0x56a1d5
call fcn.005c44fc
test eax, eax
je 0x56a1d5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov eax, dword [ebp + 0x2e8]
cmp eax, ecx
jge 0x56a1bc
mov ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
xor edx, edx
cmp ecx, ebx
setl dl
dec edx
and ecx, edx
cmp eax, ecx
jl 0x56a1d2
mov eax, ecx
mov dword [ebp + 0x10], eax
mov byte [ebp + 0x339], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret 8