Function at 0x459fc9
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.0x459fe4
mov eax, dword [ebx]
jmp dword [eax*4 + 0x4b71b8]
jmp case.default.0x459fe4
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00458f2a
test al, al
jne 0x45a005
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x45a972
lea eax, [ebx + 0xa8]
mov dword [ebx], 1
mov dword [esp + 8], 6
mov dword [esp + 4], 0x4b71ac
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x45a959
xor ecx, ecx
lea eax, [ebx + 0xae]
mov edx, 2
call fcn.00458f7c
cmp eax, dword [ebx + 0xb0]
je 0x45a057
mov dword [ebp - 0x20], 7
jmp 0x45a972
cmp byte [ebx + 0xae], 0
je 0x45a06c
mov dword [ebp - 0x20], 6
jmp 0x45a972
movzx eax, byte [ebx + 0xaf]
mov dword [ebx + 0x1c], eax
cmp eax, 0xf
ja 0x45a060
cmp eax, 1
ja 0x45a962
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x459ffb
mov eax, dword [eax]
movzx eax, byte [eax + edx]
test al, al
jne 0x45a0b5
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 0x459fdd
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.00458f2a
test al, al
je 0x459ffb
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.00458f7c
mov edi, dword [ebx + 0xa4]
cmp eax, dword [ebx + edi + 0xa8]
jne 0x45a04b
movzx esi, byte [ebx + 0xa9]
mov dword [ebx + 0xa0], 2
test esi, 0x3e
jne 0x45a060
or eax, 0xffffffff
mov edx, eax
test esi, 0x40
je 0x45a161
mov dword [esp], edi
mov edx, dword [ebp - 0x28]
lea ecx, [ebx + 0xa0]
mov eax, ebx
call fcn.00458e09
dec eax
jne 0x45a04b
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 0x45a192
mov dword [esp], edi
mov edx, dword [ebp - 0x28]
lea ecx, [ebx + 0xa0]
mov eax, ebx
call fcn.00458e09
dec eax
jne 0x45a04b
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 0x45a1c1
mov eax, dword [ebx + 0xa0]
mov edx, edi
sub edx, eax
cmp edx, 1
ja 0x45a21a
jmp 0x45a04b
mov eax, edi
sub eax, edx
cmp eax, 1
jbe 0x45a060
lea ecx, [edx + 1]
mov eax, dword [ebx + 0x4ac]
mov dword [ebx + 0xa0], ecx
cmp byte [ebx + edx + 0xa8], 4
jne 0x45a060
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 0x45a1ad
jmp 0x45a060
lea ecx, [eax + 1]
mov dword [ebx + 0xa0], ecx
cmp byte [ebx + eax + 0xa8], 0x21
jne 0x45a060
lea edx, [eax + 2]
mov dword [ebx + 0xa0], edx
cmp byte [ebx + eax + 0xa9], 1
jne 0x45a060
cmp edi, edx
je 0x45a04b
add eax, 3
mov esi, dword [ebx + 0x4a8]
mov dword [ebx + 0xa0], eax
mov cl, byte [ebx + edx + 0xa8]
cmp cl, 0x27
ja 0x45a060
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 0x45a2cc
cmp dword [esi + 0x34], eax
jb 0x45a96b
mov dword [esi + 0x2c], eax
cmp edx, 2
jne 0x45a2cc
cmp dword [esi + 0x38], eax
jae 0x45a2cc
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 0x45a2cc
xor eax, eax
mov dword [ebp - 0x20], 3
mov dword [esi + 0x38], eax
jmp 0x45a972
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 0x45a308
lea ecx, [eax + 1]
mov dword [ebx + 0xa0], ecx
cmp byte [ebx + eax + 0xa8], 0
je 0x45a2e6
jmp 0x45a060
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 0x45a553
mov eax, dword [ebx + 0x4ac]
cmp dword [eax + 0x20], 0
mov dword [ebp - 0x28], eax
jne 0x45a384
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 0x45a3b7
test ecx, ecx
jne 0x45a46a
jmp 0x45a3b7
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.00458fd0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x20], 0
je 0x45a3a2
xor edi, edi
mov dword [ebp - 0x20], edi
jmp 0x45a561
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 1
jne 0x45a359
mov dword [ebp - 0x20], 1
jmp 0x45a561
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.004599c0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov dword [eax + 4], edi
cmp edi, 1
jne 0x45a47d
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp dword [eax], 4
jne 0x45a428
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.00458afc
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 0x45a3ab
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 0x45a398
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edx, eax
jae 0x45a54b
jmp 0x45a494
test edi, edi
jne 0x45a561
cmp byte [eax + 8], 0
je 0x45a3fb
jmp 0x45a398
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.004599c0
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 0x45a561
mov esi, dword [ebp - 0x28]
xor eax, eax
cmp dword [esi], 4
jne 0x45a51e
mov eax, dword [esi + 0x20]
sub ecx, eax
lea edx, [edi + eax]
mov eax, esi
call fcn.00458afc
mov edi, dword [ebp - 0x28]
add dword [edi + 0x20], eax
add dword [edi + 0xc], eax
cmp dword [edi + 4], 1
jne 0x45a533
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.00458fd0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x20], 0
jne 0x45a398
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
jmp 0x45a55e
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
call fcn.004599c0
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 0x45a04b
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebp - 0x30]
cmp dword [ebx + 0x30], edi
sbb ecx, dword [ebp - 0x2c]
jb 0x45a04b
cmp dword [ebx + 0x1c], 1
jne 0x45a5de
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x18]
add eax, dword [edi + 0xc]
call fcn.00458f7c
mov dword [ebx + 0x18], eax
cmp dword [ebp - 0x20], 1
jne 0x45a972
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
cmp edx, 0xffffffff
jne 0x45a5f8
cmp eax, 0xffffffff
je 0x45a60a
cmp edx, dword [ebx + 0x44]
jne 0x45a04b
cmp eax, dword [ebx + 0x40]
jne 0x45a04b
mov esi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
cmp esi, 0xffffffff
jne 0x45a620
cmp ecx, 0xffffffff
je 0x45a630
cmp esi, edx
jne 0x45a04b
cmp ecx, eax
jne 0x45a04b
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x40]
mov edi, dword [ebx + 0x44]
add esi, dword [ebx + 0x58]
movzx ecx, byte [ecx + 0x4b735c]
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.00458f7c
add dword [ebx + 0x50], 1
mov dword [ebx + 0x68], eax
adc dword [ebx + 0x54], 0
mov dword [ebx], 4
jmp case.0x459fe4.4
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x459ffb
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 0x45a04b
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 0x45a680
test esi, esi
jne 0x45a680
mov dword [ebx], 5
mov eax, dword [ebx + 0x1c]
cmp eax, 1
je 0x45a6df
movzx ecx, byte [eax + 0x4b735c]
jmp 0x45a70b
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00458e89
mov dword [ebp - 0x20], eax
dec eax
je 0x45a717
jmp 0x45a972
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
cmp edx, dword [edi + 8]
je 0x459ffb
inc edx
inc eax
mov dword [edi + 4], edx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
cmp eax, ecx
jb 0x45a6f4
xor esi, esi
mov dword [ebx + 4], esi
mov eax, 1
jmp 0x45a0ae
mov eax, dword [ebx + 0x70]
cmp eax, 1
je 0x45a791
cmp eax, 2
je 0x45a7ac
test eax, eax
je 0x45a76c
cmp dword [ebx + 0x84], 0
je 0x45a7f4
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.00458e09
mov dword [ebp - 0x20], eax
dec eax
je 0x45a721
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00458fa7
jmp 0x45a972
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 0x45a04b
cmp eax, dword [ebx + 0x50]
je 0x45a7e8
jmp 0x45a04b
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 0x45a732
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.00458f7c
add dword [ebx + 0x80], 0xffffffff
adc dword [ebx + 0x84], 0xffffffff
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 1
jmp 0x45a732
cmp dword [ebx + 0x80], 0
jne case.0x459fe4.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 0x45a85f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], ecx
jne 0x45a846
mov edx, eax
mov eax, ebx
call fcn.00458fa7
jmp 0x459ffb
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 0x45a816
jmp 0x45a04b
test eax, eax
jne 0x45a830
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00458fa7
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 0x45a04b
mov dword [ebx], 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00458e89
mov dword [ebp - 0x20], eax
dec eax
jne 0x45a972
mov dword [ebx + 0xa4], 0xc
mov dword [ebx], 9
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00458f2a
test al, al
je 0x459ffb
lea eax, [ebx + 0xb2]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x4b71b2
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x45a04b
xor ecx, ecx
lea eax, [ebx + 0xac]
mov edx, 6
call fcn.00458f7c
cmp eax, dword [ebx + 0xa8]
jne 0x45a04b
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
shrd eax, edx, 2
shr edx, 2
test edx, edx
jne 0x45a04b
cmp eax, dword [ebx + 0xac]
jne 0x45a04b
cmp byte [ebx + 0xb0], 0
jne 0x45a04b
movzx eax, byte [ebx + 0xb1]
cmp eax, dword [ebx + 0x1c]
jne 0x45a04b
mov dword [ebp - 0x20], 1
jmp 0x45a972
mov dword [ebp - 0x20], 5
jmp 0x45a972
mov dword [ebp - 0x20], 2
jmp 0x45a972
mov dword [ebp - 0x20], 4
mov eax, dword [ebp - 0x20]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret