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

Disassembly:
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x12c]
cmp byte [edi + 0x414], 0
jne 0x4e667e
test ebx, ebx
je 0x4e667e
pop edi
xor eax, eax
pop ebx
add esp, 0x120
ret
lea eax, [esp + 0x10]
push 0x2710
push eax
call fcn.004a0fe0
push dword [esp + 0x140]
lea eax, [esp + 0x34]
push dword [esp + 0x140]
push eax
call fcn.004e7e40
add esp, 0x14
test eax, eax
je 0x4e66ba
pop edi
mov eax, 0x3c
pop ebx
add esp, 0x120
ret
push esi
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e8bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e7c6e
cmp byte [edi + 0x414], al
je 0x4e6700
lea eax, [esp + 0x14]
push eax
push 0x40f654
push ebx
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6e
lea eax, [esp + 0x14]
push eax
call fcn.004a1020
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004e8bc0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4e7c6e
cmp byte [edi + 0x414], al
je 0x4e674f
lea eax, [esp + 0x14]
push eax
push 0x40f65c
push ebx
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6e
lea eax, [esp + 0x14]
push eax
call fcn.004a1020
mov edx, dword [esp + 0x44]
add esp, 4
mov esi, dword [esp + 0x44]
xor ecx, ecx
cmp edx, esi
jae 0x4e677d
nop word [eax + eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x4e6770
cmp byte [edi + 0x414], 0
je 0x4e67ce
push ecx
lea eax, [esp + 0x18]
push 0x40f664
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4e7c6e
lea eax, [esp + 0x14]
push eax
push 0x40f668
push ebx
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6e
lea eax, [esp + 0x14]
push eax
call fcn.004a1020
add esp, 4
cmp byte [esp + 0x5a], 0
mov esi, 0x2b
push ebp
mov ebp, 0x403ee0
mov edx, 0x403ee8
jne 0x4e6924
movzx ebx, byte [esp + 0x5d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x4e6801.7
movzx eax, byte [eax + 0x4e7cb0]
jmp dword [eax*4 + 0x4e7c88]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, ecx
cmp eax, 1
jne 0x4e7c6d
cmp byte [ecx], 0
mov eax, ebp
cmove eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a0f40
add esp, 8
jmp 0x4e6913
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov edi, dword [esp + 0x54]
sub eax, edi
je 0x4e7c6d
cmp eax, 4
jbe 0x4e6881
xor esi, esi
nop
cmp edi, ebx
jae 0x4e68f5
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e6850
mov edi, dword [esp + 0x134]
jmp case.0x4e6801.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x4e6887
push ecx
cmp ecx, 0xa
mov eax, 0x40f514
mov ecx, 0x403744
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push 0x40f518
push eax
call fcn.004a0f70
mov edi, dword [esp + 0x144]
add esp, 0x10
jmp 0x4e6913
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
inc edi
cmp edi, ebx
ja 0x4e7c6d
xor esi, esi
cmp edi, ebx
jae 0x4e68f5
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e68d4
mov edi, dword [esp + 0x134]
jmp case.0x4e6801.7
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push dword [esp + 0x58]
push eax
call fcn.004e9810
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4e7c6d
mov ebx, dword [esp + 0x138]
cmp byte [edi + 0x414], 0
je 0x4e694b
lea eax, [esp + 0x18]
push eax
push 0x40f670
push ebx
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
push dword [esp + 0x6c]
lea eax, [esp + 0x128]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004e8b50
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4e7c6d
cmp byte [edi + 0x414], al
je 0x4e69a2
lea eax, [esp + 0x18]
push eax
push 0x40f680
push ebx
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x9e], 0
jne 0x4e713d
movzx ebx, byte [esp + 0x9d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x4e69dd.7
movzx eax, byte [eax + 0x4e7cf8]
jmp dword [eax*4 + 0x4e7cd0]
push 1
lea eax, [esp + 0x1c]
push 0x403744
push eax
call fcn.004a0fa0
jmp 0x4e6910
push 1
push dword [esp + 0x5c]
lea eax, [esp + 0x20]
push dword [esp + 0x5c]
push eax
call fcn.004e8150
add esp, 0x10
jmp 0x4e6913
mov esi, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x58]
cmp ecx, edx
jae 0x4e6a31
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e6a31
inc ecx
cmp ecx, edx
jb 0x4e6a24
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4e6a4c
sub eax, 2
je 0x4e6a51
mov esi, 0x2b
jmp 0x4e7c6d
mov edi, 0x40f560
cmp ecx, edx
jae case.0x4e7af5.13
cmp byte [ecx], 0x5a
jne 0x4e6a6a
mov ecx, 0x40f564
mov edx, 0x40f567
jmp 0x4e6a6b
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
lea eax, [esp + 0x3c]
push 0x40f568
push eax
call fcn.004a0f70
mov edi, dword [esp + 0x160]
add esp, 0x2c
jmp 0x4e6913
mov ebp, dword [esp + 0x54]
mov esi, 0x403744
mov edi, dword [esp + 0x58]
mov ecx, ebp
cmp ecx, edi
jae 0x4e6acd
nop
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e6acd
inc ecx
cmp ecx, edi
jb 0x4e6ac0
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4e6af8
sub eax, 1
je 0x4e6af3
sub eax, 1
jne case.0x4e7af5.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4e6afa
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x4e6b5b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4e6b0e
cmp bl, 0x2c
jne 0x4e6b40
inc ecx
nop
inc eax
cmp eax, edi
jae 0x4e6b21
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4e6b21
cmp dl, 0x39
jle 0x4e6b10
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4e6b40
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x4e6b3b
dec esi
sub edx, 1
jne 0x4e6b30
mov esi, 0x403744
cmp eax, edi
jae 0x4e6b5b
cmp byte [eax], 0x5a
jne 0x4e6b55
mov eax, 0x40f52c
mov edi, 0x40f530
jmp 0x4e6b5b
mov esi, 0x40442c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x403744
mov eax, 0x403fec
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
lea eax, [esp + 0x4c]
push 0x40f534
push eax
call fcn.004a0f70
add esp, 0x3c
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebp, 0x403ee0
jmp case.0x4e6801.7
mov ecx, dword [esp + 0x58]
lea eax, [ebx - 0xc]
mov edi, dword [esp + 0x54]
xor esi, esi
sub ecx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x4e7af5.13
movzx eax, byte [eax + 0x4e7d28]
jmp dword [eax*4 + 0x4e7d18]
mov ebp, 2
jmp case.0x4e6bd6.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x4e7af5.13
cmp ebx, 0xc
jne 0x4e6c22
test ecx, ecx
je 0x4e6ba1
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004a0fa0
mov edi, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
mov ebp, 0x403ee0
jmp case.0x4e6801.7
mov ebx, dword [esp + 0x58]
cmp edi, ebx
jae 0x4e6ba1
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4e6c50
sub eax, 2
jne 0x4e6c59
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x4e6cc6
cmp ecx, 0x800
jb 0x4e6cb2
cmp ecx, 0x10000
jb 0x4e6c9e
cmp ecx, 0x200000
jae 0x4e7c0d
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a0fa0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e6c26
mov edi, dword [esp + 0x134]
mov ebp, 0x403ee0
jmp case.0x4e6801.7
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp eax, 1
jne 0x4e7c6d
cmp byte [ecx], 0
mov eax, ebp
mov ebp, 0x403ee8
cmove eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a0f40
add esp, 8
mov esi, eax
jmp 0x4e6dbf
mov ebx, dword [esp + 0x98]
mov eax, ebx
mov edi, dword [esp + 0x94]
sub eax, edi
je 0x4e7c6d
cmp eax, 4
jbe 0x4e6d75
xor esi, esi
cmp edi, ebx
jae 0x4e6db3
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e6d52
jmp 0x4e6db3
movsx ecx, byte [edi]
sar ecx, 0x1f
nop dword [eax + eax]
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x4e6d80
push ecx
cmp ecx, 0xa
mov eax, 0x40f514
mov ecx, 0x403744
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push 0x40f518
push eax
call fcn.004a0f70
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebp, 0x403ee8
test esi, esi
jne 0x4e7c6d
jmp 0x4e7142
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
inc edi
cmp edi, ebx
ja 0x4e7c6d
xor esi, esi
cmp edi, ebx
jae 0x4e6db3
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e6de5
jmp 0x4e6db3
push dword [esp + 0x98]
lea eax, [esp + 0x1c]
push dword [esp + 0x98]
push eax
call fcn.004e9810
add esp, 0xc
mov esi, eax
jmp case.0x4e69dd.7
push 1
lea eax, [esp + 0x1c]
push 0x403744
push eax
call fcn.004a0fa0
add esp, 0xc
mov esi, eax
jmp case.0x4e69dd.7
push 1
push dword [esp + 0x9c]
lea eax, [esp + 0x20]
push dword [esp + 0x9c]
push eax
call fcn.004e8150
add esp, 0x10
mov esi, eax
jmp case.0x4e69dd.7
mov esi, dword [esp + 0x94]
mov ecx, esi
mov edx, dword [esp + 0x98]
cmp ecx, edx
jae 0x4e6e8d
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e6e8d
inc ecx
cmp ecx, edx
jb 0x4e6e80
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4e6ea8
sub eax, 2
je 0x4e6ead
mov esi, 0x2b
jmp 0x4e7c6d
mov edi, 0x40f560
cmp ecx, edx
jae case.0x4e7af5.13
cmp byte [ecx], 0x5a
jne 0x4e6ec6
mov ecx, 0x40f564
mov edx, 0x40f567
jmp 0x4e6ec7
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
lea eax, [esp + 0x3c]
push 0x40f568
push eax
call fcn.004a0f70
add esp, 0x2c
jmp 0x4e6db1
mov ebp, dword [esp + 0x94]
mov esi, 0x403744
mov edi, dword [esp + 0x98]
mov ecx, ebp
cmp ecx, edi
jae 0x4e6f2d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e6f2d
inc ecx
cmp ecx, edi
jb 0x4e6f20
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4e6f58
sub eax, 1
je 0x4e6f53
sub eax, 1
jne case.0x4e7af5.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4e6f5a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x4e6fbb
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4e6f6e
cmp bl, 0x2c
jne 0x4e6fa0
inc ecx
nop
inc eax
cmp eax, edi
jae 0x4e6f81
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4e6f81
cmp dl, 0x39
jle 0x4e6f70
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4e6fa0
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x4e6f9b
dec esi
sub edx, 1
jne 0x4e6f90
mov esi, 0x403744
cmp eax, edi
jae 0x4e6fbb
cmp byte [eax], 0x5a
jne 0x4e6fb5
mov eax, 0x40f52c
mov edi, 0x40f530
jmp 0x4e6fbb
mov esi, 0x40442c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x403744
mov eax, 0x403fec
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
lea eax, [esp + 0x4c]
push 0x40f534
push eax
call fcn.004a0f70
add esp, 0x3c
jmp 0x4e6db1
mov ecx, dword [esp + 0x98]
lea eax, [ebx - 0xc]
mov edi, dword [esp + 0x94]
xor esi, esi
sub ecx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x4e7af5.13
movzx eax, byte [eax + 0x4e7d4c]
jmp dword [eax*4 + 0x4e7d3c]
mov ebp, 2
jmp case.0x4e702e.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x4e7af5.13
cmp ebx, 0xc
jne 0x4e7070
test ecx, ecx
je 0x4e6db3
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004a0fa0
add esp, 0xc
jmp 0x4e6db1
mov ebx, dword [esp + 0x98]
cmp edi, ebx
jae 0x4e6db3
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4e70a1
sub eax, 2
jne 0x4e70aa
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x4e7117
cmp ecx, 0x800
jb 0x4e7103
cmp ecx, 0x10000
jb 0x4e70ef
cmp ecx, 0x200000
jae 0x4e7c0d
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a0fa0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e7077
jmp 0x4e6db3
mov ebp, 0x403ee8
cmp byte [edi + 0x414], 0
je 0x4e716f
lea eax, [esp + 0x18]
push eax
push 0x40f694
push dword [esp + 0x140]
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0xae], 0
jne 0x4e75fd
movzx ebx, byte [esp + 0xad]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x4e71aa.7
movzx eax, byte [eax + 0x4e7d88]
jmp dword [eax*4 + 0x4e7d60]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub eax, ecx
cmp eax, 1
jne 0x4e7c6d
cmp byte [ecx], 0
mov ebx, 0x403ee0
mov eax, ebx
cmove eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a0f40
add esp, 8
mov esi, eax
jmp 0x4e727f
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa4]
sub eax, edi
je 0x4e7c6d
cmp eax, 4
jbe 0x4e7233
xor esi, esi
nop dword [eax + eax]
cmp edi, ebx
jae 0x4e7273
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e7210
jmp 0x4e7273
movsx ecx, byte [edi]
sar ecx, 0x1f
nop dword [eax]
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x4e7240
push ecx
cmp ecx, 0xa
mov eax, 0x40f514
mov ecx, 0x403744
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push 0x40f518
push eax
call fcn.004a0f70
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebx, 0x403ee0
test esi, esi
jne 0x4e7c6d
jmp 0x4e7602
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
inc edi
cmp edi, ebx
ja 0x4e7c6d
xor esi, esi
cmp edi, ebx
jae 0x4e7273
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e72a5
jmp 0x4e7273
push dword [esp + 0xa8]
lea eax, [esp + 0x1c]
push dword [esp + 0xa8]
push eax
call fcn.004e9810
add esp, 0xc
mov esi, eax
jmp case.0x4e71aa.7
push 1
lea eax, [esp + 0x1c]
push 0x403744
push eax
call fcn.004a0fa0
add esp, 0xc
mov esi, eax
jmp case.0x4e71aa.7
push 1
push dword [esp + 0xac]
lea eax, [esp + 0x20]
push dword [esp + 0xac]
push eax
call fcn.004e8150
add esp, 0x10
mov esi, eax
jmp case.0x4e71aa.7
mov esi, dword [esp + 0xa4]
mov ecx, esi
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jae 0x4e734d
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e734d
inc ecx
cmp ecx, edx
jb 0x4e7340
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4e7368
sub eax, 2
je 0x4e736d
mov esi, 0x2b
jmp 0x4e7c6d
mov edi, 0x40f560
cmp ecx, edx
jae case.0x4e7af5.13
cmp byte [ecx], 0x5a
jne 0x4e7386
mov ecx, 0x40f564
mov edx, 0x40f567
jmp 0x4e7387
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
lea eax, [esp + 0x3c]
push 0x40f568
push eax
call fcn.004a0f70
add esp, 0x2c
jmp 0x4e7271
mov ebp, dword [esp + 0xa4]
mov esi, 0x403744
mov edi, dword [esp + 0xa8]
mov ecx, ebp
cmp ecx, edi
jae 0x4e73ed
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e73ed
inc ecx
cmp ecx, edi
jb 0x4e73e0
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4e7418
sub eax, 1
je 0x4e7413
sub eax, 1
jne case.0x4e7af5.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4e741a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x4e747b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4e742e
cmp bl, 0x2c
jne 0x4e7460
inc ecx
nop
inc eax
cmp eax, edi
jae 0x4e7441
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4e7441
cmp dl, 0x39
jle 0x4e7430
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4e7460
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x4e745b
dec esi
sub edx, 1
jne 0x4e7450
mov esi, 0x403744
cmp eax, edi
jae 0x4e747b
cmp byte [eax], 0x5a
jne 0x4e7475
mov eax, 0x40f52c
mov edi, 0x40f530
jmp 0x4e747b
mov esi, 0x40442c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x403744
mov eax, 0x403fec
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
lea eax, [esp + 0x4c]
push 0x40f534
push eax
call fcn.004a0f70
add esp, 0x3c
jmp 0x4e7271
mov ecx, dword [esp + 0xa8]
lea eax, [ebx - 0xc]
mov edi, dword [esp + 0xa4]
xor esi, esi
sub ecx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x4e7af5.13
movzx eax, byte [eax + 0x4e7db8]
jmp dword [eax*4 + 0x4e7da8]
mov ebp, 2
jmp case.0x4e74ee.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x4e7af5.13
cmp ebx, 0xc
jne 0x4e7530
test ecx, ecx
je 0x4e7273
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004a0fa0
add esp, 0xc
jmp 0x4e7271
mov ebx, dword [esp + 0xa8]
cmp edi, ebx
jae 0x4e7273
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4e7561
sub eax, 2
jne 0x4e756a
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x4e75d7
cmp ecx, 0x800
jb 0x4e75c3
cmp ecx, 0x10000
jb 0x4e75af
cmp ecx, 0x200000
jae 0x4e7c0d
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a0fa0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e7537
jmp 0x4e7273
mov ebx, 0x403ee0
cmp byte [edi + 0x414], 0
mov ebp, dword [esp + 0x138]
je 0x4e7630
lea eax, [esp + 0x18]
push eax
push 0x40f6a0
push ebp
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
push dword [esp + 0xdc]
lea eax, [esp + 0x128]
push dword [esp + 0xdc]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004e8b50
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4e7c6d
cmp byte [edi + 0x414], al
je 0x4e768d
lea eax, [esp + 0x18]
push eax
push 0x40f6ac
push ebp
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a1010
add esp, 4
push eax
push ebp
push edi
call fcn.004e8250
add esp, 0x14
test eax, eax
je 0x4e76c3
mov esi, 0x1b
jmp 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x7e], 0
jne 0x4e7822
movzx ebp, byte [esp + 0x7d]
lea eax, [ebp - 1]
cmp eax, 0x1d
ja case.0x4e76f8.7
movzx eax, byte [eax + 0x4e7df4]
jmp dword [eax*4 + 0x4e7dcc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
sub eax, ecx
cmp eax, 1
jne 0x4e7c6d
cmp byte [ecx], 0
mov eax, 0x403ee8
cmove ebx, eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.004a0f40
add esp, 8
jmp 0x4e7811
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov edi, dword [esp + 0x74]
sub eax, edi
je 0x4e7c6d
cmp eax, 4
jbe 0x4e777d
xor esi, esi
nop dword [eax]
cmp edi, ebx
jae 0x4e77b6
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e7750
mov edi, dword [esp + 0x134]
jmp case.0x4e76f8.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x4e7783
push ecx
cmp ecx, 0xa
mov eax, 0x40f514
mov ecx, 0x403744
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push 0x40f518
push eax
call fcn.004a0f70
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
jmp case.0x4e76f8.7
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc edi
cmp edi, ebx
ja 0x4e7c6d
xor esi, esi
cmp edi, ebx
jae 0x4e77b6
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push 0x40f50c
push eax
call fcn.004a0f70
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4e77d2
mov edi, dword [esp + 0x134]
jmp case.0x4e76f8.7
push dword [esp + 0x78]
lea eax, [esp + 0x1c]
push dword [esp + 0x78]
push eax
call fcn.004e9810
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4e7c6d
mov ebp, dword [esp + 0x138]
cmp byte [edi + 0x414], 0
je 0x4e7849
lea eax, [esp + 0x18]
push eax
push 0x40f6c4
push ebp
push edi
call fcn.004e9840
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
sub eax, ecx
push eax
push ecx
call fcn.004c1c80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4e7c6d
lea eax, [esp + 0x18]
push eax
call fcn.004a1020
lea eax, [esp + 0x1c]
push 0x40f6d0
push eax
call fcn.004a0f40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4e7c3d
xor ebx, ebx
lea eax, [esi + 0x40]
nop word [eax + eax]
mov edi, dword [esp + 0x2c]
cmp ebx, edi
jae 0x4e7c22
sub edi, ebx
cmp edi, 0x40
cmova edi, eax
mov eax, dword [esp + 0x28]
add eax, ebx
push edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a0fa0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4e78f5
push 1
lea eax, [esp + 0x1c]
push 0x4014bc
push eax
call fcn.004a0fa0
add esp, 0xc
mov esi, eax
add ebx, edi
mov eax, 0x40
test esi, esi
je 0x4e78b0
push dword [esp + 0x28]
call dword [fcn.00401038]
add esp, 4
jmp 0x4e7c6d
push 1
lea eax, [esp + 0x1c]
push 0x403744
push eax
call fcn.004a0fa0
jmp 0x4e780e
push 1
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
call fcn.004e8150
add esp, 0x10
jmp 0x4e7811
mov esi, dword [esp + 0x74]
mov ecx, esi
mov edx, dword [esp + 0x78]
cmp ecx, edx
jae 0x4e795f
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e795f
inc ecx
cmp ecx, edx
jb 0x4e7952
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4e797a
sub eax, 2
je 0x4e797f
mov esi, 0x2b
jmp 0x4e7c6d
mov edi, 0x40f560
cmp ecx, edx
jae case.0x4e7af5.13
cmp byte [ecx], 0x5a
jne 0x4e7994
mov ecx, 0x40f564
mov edx, 0x40f567
jmp 0x4e7995
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
lea eax, [esp + 0x3c]
push 0x40f568
push eax
call fcn.004a0f70
mov edi, dword [esp + 0x160]
add esp, 0x2c
jmp 0x4e7811
mov ebp, dword [esp + 0x74]
mov edi, 0x403744
mov esi, dword [esp + 0x78]
mov ecx, ebp
cmp ecx, esi
jae 0x4e79f5
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4e79f5
inc ecx
cmp ecx, esi
jb 0x4e79e8
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4e7a20
sub eax, 1
je 0x4e7a1b
sub eax, 1
jne case.0x4e7af5.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4e7a22
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, esi
jae 0x4e7a81
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4e7a36
cmp bl, 0x2c
jne 0x4e7a66
inc ecx
inc eax
cmp eax, esi
jae 0x4e7a48
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4e7a48
cmp dl, 0x39
jle 0x4e7a37
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4e7a66
lea edi, [ecx - 1]
add edi, edx
cmp byte [edi], 0x30
jne 0x4e7a61
dec edi
sub edx, 1
jne 0x4e7a56
mov edi, 0x403744
cmp eax, esi
jae 0x4e7a81
cmp byte [eax], 0x5a
jne 0x4e7a7b
mov eax, 0x40f52c
mov esi, 0x40f530
jmp 0x4e7a81
mov edi, 0x40442c
inc eax
push eax
sub esi, eax
test edx, edx
push esi
push edi
push ecx
push edx
mov ecx, 0x403744
mov eax, 0x403fec
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
lea eax, [esp + 0x4c]
push 0x40f534
push eax
call fcn.004a0f70
mov edi, dword [esp + 0x170]
add esp, 0x3c
jmp 0x4e7811
mov ecx, dword [esp + 0x78]
lea eax, [ebp - 0xc]
mov edi, dword [esp + 0x74]
xor esi, esi
sub ecx, edi
mov ebx, 1
cmp eax, 0x12
ja case.0x4e7af5.13
movzx eax, byte [eax + 0x4e7e24]
jmp dword [eax*4 + 0x4e7e14]
mov ebx, 2
jmp case.0x4e7af5.12
mov ebx, 4
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne case.0x4e7af5.13
cmp ebp, 0xc
jne 0x4e7b40
test ecx, ecx
je 0x4e77b6
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004a0fa0
mov edi, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x4e76f8.7
mov ebp, dword [esp + 0x78]
cmp edi, ebp
jae 0x4e77b6
mov eax, ebx
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4e7b6e
sub eax, 2
jne 0x4e7b77
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x4e7be0
cmp ecx, 0x800
jb 0x4e7bcc
cmp ecx, 0x10000
jb 0x4e7bb8
cmp ecx, 0x200000
jae 0x4e7c0d
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a0fa0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e7b44
mov edi, dword [esp + 0x134]
jmp case.0x4e76f8.7
lea eax, [esp + 0x14]
push eax
call dword [fcn.00401038]
add esp, 4
mov esi, 8
jmp 0x4e7c6d
lea eax, [esp + 0x18]
push 0x40f6f0
push eax
call fcn.004a0f40
mov edi, dword [esp + 0x13c]
add esp, 8
mov esi, eax
push dword [esp + 0x28]
call dword [fcn.00401038]
add esp, 4
test esi, esi
jne 0x4e7c6d
cmp byte [edi + 0x414], 0
je 0x4e7c6d
lea eax, [esp + 0x18]
push eax
push 0x40f70c
push ebp
push edi
call fcn.004e9840
add esp, 0x10
mov esi, eax
pop ebp
lea eax, [esp + 0x14]
push eax
call fcn.004a0fb0
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0x120
ret