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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebx + 0x10], eax
cmp dword [ebx], 9
ja case.default.0x456eec
mov eax, dword [ebx]
jmp dword [eax*4 + 0x4b44a0]
jmp case.default.0x456eec
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455e32
test al, al
jne 0x456f0d
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x45787a
lea eax, [ebx + 0xa8]
mov dword [ebx], 1
mov dword [esp + 8], 6
mov dword [esp + 4], 0x4b4494
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x457861
xor ecx, ecx
lea eax, [ebx + 0xae]
mov edx, 2
call fcn.00455e84
cmp eax, dword [ebx + 0xb0]
je 0x456f5f
mov dword [ebp - 0x20], 7
jmp 0x45787a
cmp byte [ebx + 0xae], 0
je 0x456f74
mov dword [ebp - 0x20], 6
jmp 0x45787a
movzx eax, byte [ebx + 0xaf]
mov dword [ebx + 0x1c], eax
cmp eax, 0xf
ja 0x456f68
cmp eax, 1
ja 0x45786a
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x456f03
mov eax, dword [eax]
movzx eax, byte [eax + edx]
test al, al
jne 0x456fbd
mov edi, dword [ebp - 0x1c]
lea eax, [edx + 1]
mov dword [edi + 4], eax
mov eax, 6
mov dword [ebx + 0x10], edx
mov dword [ebx], eax
jmp 0x456ee5
lea eax, [eax*4 + 4]
xor edi, edi
mov dword [ebx], 2
mov dword [ebx + 0x38], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa0], edi
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455e32
test al, al
je 0x456f03
mov eax, dword [ebx + 0xa4]
xor ecx, ecx
lea edx, [eax - 4]
lea eax, [ebx + 0xa8]
mov dword [ebx + 0xa4], edx
mov dword [ebp - 0x28], eax
call fcn.00455e84
mov edi, dword [ebx + 0xa4]
cmp eax, dword [ebx + edi + 0xa8]
jne 0x456f53
movzx esi, byte [ebx + 0xa9]
mov dword [ebx + 0xa0], 2
test esi, 0x3e
jne 0x456f68
or eax, 0xffffffff
mov edx, eax
test esi, 0x40
je 0x457069
mov dword [esp], edi
mov edx, dword [ebp - 0x28]
lea ecx, [ebx + 0xa0]
mov eax, ebx
call fcn.00455d11
dec eax
jne 0x456f53
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x28], eax
mov ecx, esi
or eax, 0xffffffff
mov dword [ebx + 0x2c], edx
mov edx, eax
test cl, cl
jns 0x45709a
mov dword [esp], edi
mov edx, dword [ebp - 0x28]
lea ecx, [ebx + 0xa0]
mov eax, ebx
call fcn.00455d11
dec eax
jne 0x456f53
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x30], eax
mov eax, esi
and eax, 1
mov dword [ebx + 0x34], edx
mov edx, dword [ebx + 0xa0]
mov byte [ebx + 0x4b0], al
test al, al
jne 0x4570c9
mov eax, dword [ebx + 0xa0]
mov edx, edi
sub edx, eax
cmp edx, 1
ja 0x457122
jmp 0x456f53
mov eax, edi
sub eax, edx
cmp eax, 1
jbe 0x456f68
lea ecx, [edx + 1]
mov eax, dword [ebx + 0x4ac]
mov dword [ebx + 0xa0], ecx
cmp byte [ebx + edx + 0xa8], 4
jne 0x456f68
xor esi, esi
add edx, 2
mov dword [eax], 4
mov dword [eax + 4], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [ebx + 0xa0], edx
cmp byte [ebx + ecx + 0xa8], 0
je 0x4570b5
jmp 0x456f68
lea ecx, [eax + 1]
mov dword [ebx + 0xa0], ecx
cmp byte [ebx + eax + 0xa8], 0x21
jne 0x456f68
lea edx, [eax + 2]
mov dword [ebx + 0xa0], edx
cmp byte [ebx + eax + 0xa9], 1
jne 0x456f68
cmp edi, edx
je 0x456f53
add eax, 3
mov esi, dword [ebx + 0x4a8]
mov dword [ebx + 0xa0], eax
mov cl, byte [ebx + edx + 0xa8]
cmp cl, 0x27
ja 0x456f68
mov eax, ecx
shr cl, 1
mov edx, dword [esi + 0x3c]
and eax, 1
add ecx, 0xb
add eax, 2
shl eax, cl
mov dword [esi + 0x30], eax
test edx, edx
je 0x4571d4
cmp dword [esi + 0x34], eax
jb 0x457873
mov dword [esi + 0x2c], eax
cmp edx, 2
jne 0x4571d4
cmp dword [esi + 0x38], eax
jae 0x4571d4
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esi + 0x18], eax
test eax, eax
jne 0x4571d4
xor eax, eax
mov dword [ebp - 0x20], 3
mov dword [esi + 0x38], eax
jmp 0x45787a
xor eax, eax
mov byte [esi + 0x50], 1
mov edx, dword [ebx + 0xa4]
mov dword [esi + 0x68], eax
mov dword [esi + 0x40], eax
xor eax, eax
mov dword [esi + 0x6ee4], eax
mov eax, dword [ebx + 0xa0]
cmp eax, edx
jae 0x457210
lea ecx, [eax + 1]
mov dword [ebx + 0xa0], ecx
cmp byte [ebx + eax + 0xa8], 0
je 0x4571ee
jmp 0x456f68
xor eax, eax
mov dword [ebx], 3
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x1c]
cmp byte [ebx + 0x4b0], 0
mov eax, dword [eax + 4]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x4a8]
mov dword [ebp - 0x34], eax
je 0x45745b
mov eax, dword [ebx + 0x4ac]
cmp dword [eax + 0x20], 0
mov dword [ebp - 0x28], eax
jne 0x45728c
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
sub eax, edi
cmp ecx, eax
jb 0x4572bf
test ecx, ecx
jne 0x457372
jmp 0x4572bf
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.00455ed8
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x20], 0
je 0x4572aa
xor edi, edi
mov dword [ebp - 0x20], edi
jmp 0x457469
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 1
jne 0x457261
mov dword [ebp - 0x20], 1
jmp 0x457469
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
add eax, dword [edi + 0xc]
mov esi, dword [ebp - 0x38]
mov edi, eax
mov eax, dword [ebp - 0x28]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov edx, edi
add dword [edi + 0x10], eax
mov eax, dword [ebp - 0x34]
call fcn.004568c8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov dword [eax + 4], edi
cmp edi, 1
jne 0x457385
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp dword [eax], 4
jne 0x457330
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
add edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00455a04
mov edx, eax
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
add dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 4], 1
mov eax, dword [eax + 0x10]
je 0x4572b3
mov esi, dword [ebp - 0x30]
add esi, edx
sub eax, esi
mov dword [edi + 0x24], eax
mov edi, dword [ebp - 0x1c]
mov ecx, eax
mov dword [edi + 0x10], esi
add esi, dword [edi + 0xc]
mov edi, dword [ebp - 0x38]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
add eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x14]
jb 0x4572a0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edx, eax
jae 0x457453
jmp 0x45739c
test edi, edi
jne 0x457469
cmp byte [eax + 8], 0
je 0x457303
jmp 0x4572a0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xc]
mov edi, dword [ebp - 0x28]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea edi, [edi + 0x28]
mov dword [edi - 0x14], ecx
mov dword [edi - 0x10], edx
mov edx, esi
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x34]
call fcn.004568c8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x24], ecx
mov eax, dword [eax + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x14], eax
ja 0x457469
mov esi, dword [ebp - 0x28]
xor eax, eax
cmp dword [esi], 4
jne 0x457426
mov eax, dword [esi + 0x20]
sub ecx, eax
lea edx, [edi + eax]
mov eax, esi
call fcn.00455a04
mov edi, dword [ebp - 0x28]
add dword [edi + 0x20], eax
add dword [edi + 0xc], eax
cmp dword [edi + 4], 1
jne 0x45743b
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.00455ed8
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x20], 0
jne 0x4572a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
jmp 0x457466
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
call fcn.004568c8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x40]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov eax, dword [eax + 4]
sub eax, dword [ebx + 0x10]
add edx, eax
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x48]
mov dword [ebp - 0x28], edx
adc ecx, 0
mov dword [ebx + 0x40], edx
mov edx, dword [edi + 0x10]
mov edi, dword [ebx + 0x4c]
mov dword [ebp - 0x24], ecx
sub edx, eax
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebx + 0x2c]
add esi, edx
adc edi, 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebx + 0x4c], edi
mov edi, dword [ebp - 0x28]
cmp dword [ebx + 0x28], edi
sbb ecx, dword [ebp - 0x24]
mov dword [ebx + 0x48], esi
jb 0x456f53
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebp - 0x30]
cmp dword [ebx + 0x30], edi
sbb ecx, dword [ebp - 0x2c]
jb 0x456f53
cmp dword [ebx + 0x1c], 1
jne 0x4574e6
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x18]
add eax, dword [edi + 0xc]
call fcn.00455e84
mov dword [ebx + 0x18], eax
cmp dword [ebp - 0x20], 1
jne 0x45787a
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
cmp edx, 0xffffffff
jne 0x457500
cmp eax, 0xffffffff
je 0x457512
cmp edx, dword [ebx + 0x44]
jne 0x456f53
cmp eax, dword [ebx + 0x40]
jne 0x456f53
mov esi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
cmp esi, 0xffffffff
jne 0x457528
cmp ecx, 0xffffffff
je 0x457538
cmp esi, edx
jne 0x456f53
cmp ecx, eax
jne 0x456f53
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x40]
mov edi, dword [ebx + 0x44]
add esi, dword [ebx + 0x58]
movzx ecx, byte [ecx + 0x4b4644]
adc edi, dword [ebx + 0x5c]
add esi, dword [ebx + 0x38]
adc edi, 0
add esi, ecx
mov ecx, dword [ebx + 0x68]
adc edi, 0
add dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
adc dword [ebx + 0x64], edx
mov edx, 0x18
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], edi
call fcn.00455e84
add dword [ebx + 0x50], 1
mov dword [ebx + 0x68], eax
adc dword [ebx + 0x54], 0
mov dword [ebx], 4
jmp case.0x456eec.4
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x456f03
mov edi, dword [esi]
mov dword [ebp - 0x28], edi
lea edi, [ecx + 1]
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x28]
cmp byte [edi + ecx], 0
jne 0x456f53
add eax, 1
adc edx, 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov eax, dword [ebx + 0x40]
xor edi, edi
mov edx, dword [ebx + 0x44]
mov esi, eax
and esi, 3
test edi, edi
jne 0x457588
test esi, esi
jne 0x457588
mov dword [ebx], 5
mov eax, dword [ebx + 0x1c]
cmp eax, 1
je 0x4575e7
movzx ecx, byte [eax + 0x4b4644]
jmp 0x457613
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455d91
mov dword [ebp - 0x20], eax
dec eax
je 0x45761f
jmp 0x45787a
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
cmp edx, dword [edi + 8]
je 0x456f03
inc edx
inc eax
mov dword [edi + 4], edx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
cmp eax, ecx
jb 0x4575fc
xor esi, esi
mov dword [ebx + 4], esi
mov eax, 1
jmp 0x456fb6
mov eax, dword [ebx + 0x70]
cmp eax, 1
je 0x457699
cmp eax, 2
je 0x4576b4
test eax, eax
je 0x457674
cmp dword [ebx + 0x84], 0
je 0x4576fc
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, ebx
call fcn.00455d11
mov dword [ebp - 0x20], eax
dec eax
je 0x457629
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455eaf
jmp 0x45787a
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
cmp edx, dword [ebx + 0x54]
jne 0x456f53
cmp eax, dword [ebx + 0x50]
je 0x4576f0
jmp 0x456f53
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x70], 2
add dword [ebx + 0x88], eax
adc dword [ebx + 0x8c], edx
jmp 0x45763a
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
add dword [ebx + 0x90], eax
mov ecx, dword [ebx + 0x98]
lea eax, [ebx + 0x88]
adc dword [ebx + 0x94], edx
mov edx, 0x18
call fcn.00455e84
add dword [ebx + 0x80], 0xffffffff
adc dword [ebx + 0x84], 0xffffffff
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 1
jmp 0x45763a
cmp dword [ebx + 0x80], 0
jne case.0x456eec.6
mov dword [ebx], 7
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov eax, ecx
sub eax, edi
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, esi
xor edx, edx
and eax, 3
test edx, edx
je 0x457767
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], ecx
jne 0x45774e
mov edx, eax
mov eax, ebx
call fcn.00455eaf
jmp 0x456f03
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
lea edx, [ecx + 1]
mov eax, dword [eax]
mov dword [esi + 4], edx
cmp byte [eax + ecx], 0
je 0x45771e
jmp 0x456f53
test eax, eax
jne 0x457738
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455eaf
lea eax, [ebx + 0x88]
mov dword [esp + 8], 0x18
mov dword [esp + 4], eax
lea eax, [ebx + 0x58]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x456f53
mov dword [ebx], 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455d91
mov dword [ebp - 0x20], eax
dec eax
jne 0x45787a
mov dword [ebx + 0xa4], 0xc
mov dword [ebx], 9
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00455e32
test al, al
je 0x456f03
lea eax, [ebx + 0xb2]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x4b449a
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x456f53
xor ecx, ecx
lea eax, [ebx + 0xac]
mov edx, 6
call fcn.00455e84
cmp eax, dword [ebx + 0xa8]
jne 0x456f53
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
shrd eax, edx, 2
shr edx, 2
test edx, edx
jne 0x456f53
cmp eax, dword [ebx + 0xac]
jne 0x456f53
cmp byte [ebx + 0xb0], 0
jne 0x456f53
movzx eax, byte [ebx + 0xb1]
cmp eax, dword [ebx + 0x1c]
jne 0x456f53
mov dword [ebp - 0x20], 1
jmp 0x45787a
mov dword [ebp - 0x20], 5
jmp 0x45787a
mov dword [ebp - 0x20], 2
jmp 0x45787a
mov dword [ebp - 0x20], 4
mov eax, dword [ebp - 0x20]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret