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

Disassembly:
push 0xffffffffffffffff
push 0x5e0ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 1
mov byte [esp + 0x38], al
call fcn.005778a0
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call fcn.00558520
movsx ebp, ax
lea esi, [ebp + 2]
push esi
mov dword [esp + 0x1c], esi
call fcn.005bcf2f
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x78]
mov byte [ebx], 0x20
lea edi, [ebx + 1]
call fcn.00558540
mov ecx, ebp
mov esi, eax
mov eax, ecx
mov dword [esp + 0x10], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x5654b1
cmp byte [esi + ebx], 0x20
jne 0x5654a0
sub esi, dword [esp + 0x10]
cmp esi, 2
jl 0x56551e
push esi
call fcn.005bcf2f
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea ecx, [esi - 1]
mov edx, ecx
mov edi, ebp
lea esi, [ebx + eax + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx eax, byte [ebp]
push eax
call fcn.005bde0c
add esp, 8
test eax, eax
je 0x565471
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx ecx, byte [ebp]
push ecx
call fcn.005bddbc
add esp, 4
test eax, eax
je 0x565414
push 0x2e
push ebp
call fcn.005bdd00
add esp, 8
test eax, eax
jne 0x565400
push ebp
mov byte [esp + 0x24], 3
call fcn.005bd3b2
add esp, 4
mov dword [esp + 0x24], eax
jmp 0x565461
push ebp
mov byte [esp + 0x24], 0xc
call fcn.005bd51a
fstp qword [esp + 0x34]
add esp, 4
jmp 0x565461
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx eax, byte [ebp]
add eax, 0xffffffbe
cmp eax, 0x20
ja case.0x565439.71
xor edx, edx
mov dl, byte [eax + 0x565a7c]
jmp dword [edx*4 + 0x565a64]
mov byte [esp + 0x20], 7
jmp 0x565461
mov byte [esp + 0x20], 5
jmp 0x565461
mov byte [esp + 0x20], 9
jmp 0x565461
mov byte [esp + 0x20], 6
jmp 0x565461
mov byte [esp + 0x20], 0xa
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
call fcn.00567740
jmp 0x56548d
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push edx
call fcn.00564100
test al, al
je 0x5655d3
push ebp
call fcn.005bc500
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x56535c
cmp dword [esp + 0x64], 1
je 0x56563f
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x565503
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x5654f2
cmp ecx, dword [esp + 0x40]
jne 0x5654fb
lea ecx, [esp + 0x38]
call fcn.00568130
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5654d7
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.005581a0
mov dword [esp + 0x70], 0xffffffff
jmp 0x565a44
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x565503
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x565554
cmp ecx, dword [esp + 0x40]
jne 0x56555d
lea ecx, [esp + 0x38]
call fcn.00568130
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x565539
jmp 0x565503
push ebp
call fcn.005bc500
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov byte [esp + 0x70], 1
je 0x5655b8
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x5655a7
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp edx, eax
jne 0x5655b0
lea ecx, [esp + 0x38]
call fcn.00568130
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x565588
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.005581a0
mov dword [esp + 0x70], 0xffffffff
jmp 0x565a44
push ebp
call fcn.005bc500
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov byte [esp + 0x70], 1
je 0x565624
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x565613
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x56561c
lea ecx, [esp + 0x38]
call fcn.00568130
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5655f4
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.005581a0
mov dword [esp + 0x70], 0xffffffff
jmp 0x565a44
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x58]
or ebp, 0xffffffff
mov dword [esp + 0x28], ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
call fcn.00568580
mov esi, dword [esp + 0x28]
mov ecx, 6
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
cmp al, 7
jae 0x565770
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x565692
jmp dword [eax*4 + 0x565aa0]
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x565a32
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x5656db
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x56575f
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x565743
lea ecx, [esp + 0x20]
call fcn.005778a0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.005bc500
add esp, 4
jmp 0x56575f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5656b8
jmp 0x565a32
cmp al, 0xa
jbe 0x565960
cmp al, 0xb
je case.0x565692.1
cmp al, 0xc
jne 0x56588d
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0xa4]
add esp, 4
mov ecx, 6
lea esi, [esp + 0x20]
mov byte [esp + 0x70], 1
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x565868
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x5657d8
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp edx, eax
jne 0x56585c
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x565840
lea ecx, [esp + 0x20]
call fcn.005778a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.005bc500
add esp, 4
jmp 0x56585c
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5657b5
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.005581a0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], ebp
call fcn.00559d60
mov eax, 1
jmp 0x565a4f
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x565a32
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x5658cb
cmp ecx, dword [esp + 0x40]
jne 0x56594f
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x565933
lea ecx, [esp + 0x20]
call fcn.005778a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], esi
call fcn.005bc500
add esp, 4
jmp 0x56594f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5658ac
jmp 0x565a32
push ebx
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x565a32
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x5659a2
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x565a26
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.005bc500
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x565a0a
lea ecx, [esp + 0x20]
call fcn.005778a0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.005bc500
add esp, 4
jmp 0x565a26
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x56597f
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.005581a0
mov dword [esp + 0x70], ebp
lea ecx, [esp + 0x7c]
call fcn.00559d60
xor eax, eax
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x2c