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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x40]
mov edi, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jae 0x456eb6
cmp edx, 8
ja case.default.0x4568f8
jmp dword [edx*4 + 0x4b4470]
mov edi, dword [ebp - 0x1c]
lea esi, [eax + 1]
mov ecx, dword [edi]
mov dword [edi + 4], esi
movzx eax, byte [ecx + eax]
test eax, eax
je 0x456ec4
cmp eax, 0xdf
ja 0x456922
cmp eax, 1
jne 0x456959
cmp dword [ebx + 0x3c], 0
mov word [ebx + 0x50], 0x100
jne 0x456949
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 0x14]
add ecx, esi
mov dword [ebx + 0x18], ecx
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x20], edi
mov dword [ebx + 0x2c], ecx
xor ecx, ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x24], ecx
jmp 0x456969
cmp byte [ebx + 0x50], 0
je 0x456969
mov eax, 7
jmp 0x456ec9
cmp eax, 0x7f
jbe 0x4569ea
mov ecx, eax
mov dword [ebx + 0x40], 1
shl ecx, 0x10
and ecx, 0x1f0000
mov dword [ebx + 0x48], ecx
cmp eax, 0xbf
jbe 0x45699a
mov byte [ebx + 0x51], 0
mov dword [ebx + 0x44], 5
jmp 0x4568d6
cmp byte [ebx + 0x51], 0
jne 0x45695f
mov dword [ebx + 0x44], 6
cmp eax, 0x9f
jbe 0x4568d6
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
mov word [ebx + edx*2 + 0x78], 0x400
inc edx
cmp edx, 0x3736
jne 0x4569c3
xor eax, eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], eax
mov dword [ebx + 8], 5
jmp 0x4568d6
cmp eax, 2
ja 0x45695f
mov dword [ebx + 0x40], 3
mov dword [ebx + 0x44], 8
jmp 0x4568d6
mov edi, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov edx, dword [edi]
mov dword [edi + 4], ecx
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], 2
shl eax, 8
add dword [ebx + 0x48], eax
jmp 0x4568d6
mov edi, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov edx, dword [edi]
mov dword [edi + 4], ecx
movzx edx, byte [edx + eax]
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x40], 3
lea eax, [edx + eax + 1]
mov dword [ebx + 0x48], eax
jmp 0x4568d6
mov edi, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov edx, dword [edi]
mov dword [edi + 4], ecx
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], 4
shl eax, 8
mov dword [ebx + 0x4c], eax
jmp 0x4568d6
mov edi, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov edx, dword [edi]
mov dword [edi + 4], ecx
movzx edx, byte [edx + eax]
mov eax, dword [ebx + 0x4c]
lea eax, [edx + eax + 1]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x40], eax
jmp 0x4568d6
mov edi, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov edx, dword [edi]
mov dword [edi + 4], ecx
mov al, byte [edx + eax]
cmp al, 0xe0
ja 0x45695f
xor ecx, ecx
cmp al, 0x2c
jbe 0x456ab3
sub eax, 0x2d
inc ecx
jmp 0x456aa9
mov edx, 1
shl edx, cl
xor ecx, ecx
dec edx
mov dword [ebx + 0x74], edx
cmp al, 8
jbe 0x456aca
sub eax, 9
inc ecx
jmp 0x456ac0
movzx eax, al
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x6c], eax
add eax, ecx
cmp eax, 4
ja 0x45695f
mov eax, 1
shl eax, cl
dec eax
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov word [ebx + eax*2 + 0x78], 0x400
inc eax
cmp eax, 0x3736
jne 0x456afc
xor eax, eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], eax
mov dword [ebx + 8], 5
mov dword [ebx + 0x40], 6
mov edi, dword [ebx + 0x4c]
cmp edi, 4
jbe 0x45695f
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 8]
mov edx, dword [esi + 4]
test eax, eax
je 0x456b78
cmp dword [ebp - 0x20], edx
jne 0x456b49
xor eax, eax
jmp 0x456ec9
mov ecx, dword [ebx + 4]
mov esi, dword [ebp - 0x1c]
dec eax
mov esi, dword [esi]
shl ecx, 8
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
lea esi, [edx + 1]
mov dword [ecx + 4], esi
mov esi, dword [ebp - 0x28]
movzx edx, byte [esi + edx]
mov esi, dword [ebp - 0x24]
mov dword [ebx + 8], eax
add edx, esi
mov dword [ebx + 4], edx
jmp 0x456b30
sub edi, 5
mov dword [ebx + 0x40], 7
mov dword [ebx + 0x4c], edi
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + 0x14]
sub eax, dword [edi + 0x10]
cmp eax, edx
cmova eax, edx
mov edx, dword [ebx + 0x2c]
mov esi, edx
sub esi, ecx
cmp eax, esi
jae 0x456baa
lea edx, [eax + ecx]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x6ee4]
mov dword [ebx + 0x28], edx
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x4c]
test ecx, ecx
jne 0x456bc8
test eax, eax
jne 0x456cab
mov edx, 0x2a
sub eax, ecx
mov edi, dword [ebp - 0x1c]
sub edx, ecx
cmp edx, eax
cmovbe eax, edx
mov edx, dword [ebp - 0x20]
sub edx, esi
cmp eax, edx
cmovbe edx, eax
add esi, dword [edi]
mov dword [ebp - 0x20], edx
lea edx, [ebx + 0x6ee8]
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x20]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x20]
add esi, dword [ebx + 0x6ee4]
cmp esi, dword [ebx + 0x4c]
jne 0x456c20
mov ecx, 0x3f
xor eax, eax
sub ecx, esi
add esi, edx
mov edi, esi
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
add eax, dword [ebx + 0x6ee4]
jmp 0x456c3c
lea eax, [esi - 0x15]
cmp esi, 0x14
ja 0x456c3c
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebx + 0x6ee4], esi
add dword [eax + 4], edi
jmp 0x456d4a
xor edi, edi
mov dword [ebx + 0x14], eax
mov eax, ebx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edi
mov dword [ebp - 0x24], edx
call fcn.00455fa5
test al, al
je 0x45695f
mov ecx, dword [ebx + 0x6ee4]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
add esi, ecx
cmp esi, eax
jb 0x45695f
sub dword [ebx + 0x4c], eax
cmp eax, ecx
mov edx, dword [ebp - 0x24]
jae 0x456c98
sub ecx, eax
add eax, edx
mov dword [ebx + 0x6ee4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_memmove
jmp 0x456d4a
mov edi, dword [ebp - 0x1c]
xor esi, esi
add eax, dword [edi + 4]
sub eax, ecx
mov dword [edi + 4], eax
mov dword [ebx + 0x6ee4], esi
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov edx, dword [edi + 4]
mov edi, eax
sub edi, edx
cmp edi, 0x14
jbe 0x456d12
mov esi, dword [ebp - 0x1c]
sub eax, 0x15
mov ecx, dword [esi]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebx + 0x4c]
lea esi, [ecx + 0x15]
cmp edi, esi
jb 0x456cdb
lea eax, [edx + ecx]
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.00455fa5
test al, al
je 0x45695f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [eax + 4]
mov esi, edx
sub esi, eax
cmp ecx, esi
jb 0x45695f
sub eax, edx
add eax, ecx
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
sub eax, esi
cmp eax, 0x14
ja 0x456d4a
mov edx, dword [ebx + 0x4c]
mov edi, dword [ebp - 0x1c]
cmp eax, edx
cmova eax, edx
lea edx, [ebx + 0x6ee8]
add esi, dword [edi]
mov edi, edx
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x6ee4], eax
add dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x20], eax
sub eax, edx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x24], eax
je 0x456d83
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x2c]
jne 0x456d6b
xor ecx, ecx
mov dword [ebx + 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
add eax, dword [edi + 0xc]
add esi, edx
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp - 0x1c]
add edx, dword [ebx + 0x48]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov esi, dword [ebp - 0x20]
sub edx, esi
mov dword [ebx + 0x48], edx
jne 0x456dd2
cmp dword [ebx + 0x4c], 0
jne 0x45695f
cmp dword [ebx + 0x68], 0
jne 0x45695f
cmp dword [ebx + 4], 0
jne 0x45695f
mov dword [ebx], 0xffffffff
mov dword [ebx + 8], 5
jmp 0x456eac
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x14], eax
je 0x456b42
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jne 0x4568d6
mov eax, dword [ebx + 0x4c]
cmp dword [ebx + 0x6ee4], eax
jae 0x4568d6
jmp 0x456b42
cmp eax, edi
jae 0x456b42
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
jae 0x456b42
mov edx, dword [ebx + 0x2c]
sub edx, dword [ebx + 0x20]
cmp edx, ecx
cmova edx, ecx
sub eax, esi
mov esi, dword [ebp - 0x20]
cmp edx, eax
cmovbe eax, edx
sub edi, esi
mov edx, dword [ebx + 0x18]
cmp eax, edi
cmova eax, edi
mov edi, dword [ebp - 0x1c]
add edx, dword [ebx + 0x20]
sub ecx, eax
mov dword [ebx + 0x4c], ecx
mov ecx, eax
mov esi, dword [edi + 4]
add esi, dword [edi]
mov edi, edx
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x20]
add edx, eax
mov dword [ebx + 0x20], edx
cmp dword [ebx + 0x24], edx
jae 0x456e5c
mov dword [ebx + 0x24], edx
cmp dword [ebx + 0x3c], 0
jne 0x456e8a
mov edx, dword [ebx + 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [ebx + 0x1c], edx
add dword [esi + 0x10], eax
add dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x4c]
mov edi, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
test ecx, ecx
jne 0x456dfe
jmp 0x456eac
cmp edx, dword [ebx + 0x2c]
jne 0x456e91
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov dword [ebx + 0x20], edx
mov ecx, eax
mov edx, dword [esi + 0x10]
mov edi, esi
add edx, dword [esi + 0xc]
mov esi, dword [esi + 4]
add esi, dword [edi]
mov edi, edx
rep movsb byte es:[edi], byte [esi]
jmp 0x456e62
xor eax, eax
mov dword [ebx + 0x40], eax
jmp 0x4568d6
cmp edx, 7
je case.0x4568f8.7
jmp 0x456b42
mov eax, 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret