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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], ecx
movsx eax, byte [esi]
test eax, eax
je case.default.0x4d9eca
movsd xmm0, qword [0x57bc20]
xorps xmm2, xmm2
movsd xmm3, qword [0x57bac8]
movsd xmm7, qword [0x57bb28]
movsd xmm5, qword [0x57bb00]
movsd xmm6, qword [0x57bac0]
movsd xmm4, qword [0x57bae0]
mov ecx, dword [ebp + 0xc]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [0x57bad0]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x57bab8]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x57bad8]
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x78], xmm3
movsd qword [esp + 0x98], xmm7
movsd qword [esp + 0x88], xmm5
movsd qword [esp + 0x90], xmm6
movsd qword [esp + 0x80], xmm4
movsd qword [esp + 0xc8], xmm0
mov dword [esp + 0x18], ecx
nop dword [eax]
mov dword [esp + 0x38], ecx
cmp eax, 0x25
je 0x4d9c6d
movsx eax, byte [esi + 1]
mov edi, esi
inc esi
mov dword [esp + 0x20], eax
mov ecx, 1
cmp eax, 0x25
je 0x4d9c23
nop
test eax, eax
je 0x4d9c23
movsx eax, byte [esi + 1]
inc esi
inc ecx
mov dword [esp + 0x20], eax
cmp eax, 0x25
jne 0x4d9c10
push ecx
mov ecx, dword [esp + 0x38]
mov edx, edi
call fcn.004da9c0
add esp, 4
cmp dword [esp + 0x20], 0
je case.default.0x4d9eca
movsd xmm3, qword [esp + 0x78]
movsd xmm4, qword [esp + 0x80]
movsd xmm5, qword [esp + 0x88]
movsd xmm6, qword [esp + 0x90]
movsd xmm7, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x68]
movsx ecx, byte [esi + 1]
inc esi
test ecx, ecx
je 0x4da92c
mov byte [esp + 0x33], 0
mov byte [esp + 0x32], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x54], 0
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x4d9ca7.34
movzx eax, byte [eax + 0x4da964]
jmp dword [eax*4 + 0x4da948]
mov byte [esp + 0x54], 1
jmp 0x4d9cd6
mov byte [esp + 0x31], 1
jmp 0x4d9cd6
mov byte [esp + 0xe], 1
jmp 0x4d9cd6
mov byte [esp + 0x1f], 1
jmp 0x4d9cd6
mov byte [esp + 0x32], 1
jmp 0x4d9cd6
mov byte [esp + 0x33], 1
movsx ecx, byte [esi + 1]
inc esi
test ecx, ecx
jne 0x4d9c98
xor edx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], edx
cmp ecx, 0x2a
jne 0x4d9d1d
mov eax, dword [esp + 0x38]
mov edx, 1
add dword [esp + 0x18], 4
mov ecx, dword [esp + 0x54]
movzx ecx, cl
mov eax, dword [eax]
test eax, eax
cmovs ecx, edx
inc esi
mov edx, eax
mov dword [esp + 0x54], ecx
neg edx
test eax, eax
movsx ecx, byte [esi]
cmovns edx, eax
jmp 0x4d9d39
cmp ecx, 0x30
jl 0x4d9d4f
cmp ecx, 0x39
ja 0x4d9d39
lea edx, [edx + edx*4]
inc esi
lea edx, [edx - 0x18]
lea edx, [ecx + edx*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x4d9d22
cmp edx, 0x154
mov dword [esp + 0x3c], esi
mov eax, 0x154
cmovg edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
cmp ecx, 0x2e
jne 0x4d9e17
movsx ecx, byte [esi + 1]
inc esi
xor edx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edx
cmp ecx, 0x2a
jne 0x4d9d8f
mov eax, dword [eax]
inc esi
add dword [esp + 0x18], 4
cdq
xor eax, edx
mov dword [esp + 0x3c], esi
movsx ecx, byte [esi]
sub eax, edx
mov dword [esp + 0x28], eax
mov edx, eax
jmp 0x4d9e1e
cmp ecx, 0x30
jl 0x4d9e1e
nop dword [eax + eax]
cmp ecx, 0x39
ja 0x4d9e1e
inc esi
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
mov dword [esp + 0x3c], esi
lea edx, [ecx + edx*2]
mov dword [esp + 0x28], edx
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x4d9da0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1e], 0
mov byte [esp + 0x17], 0
xor eax, eax
mov dword [esp + 0x40], 0x578350
mov byte [esp + 0xf], 0
mov esi, 0x578350
mov dword [esp + 0x38], eax
nop dword [eax]
movsx eax, byte [esi]
cmp ecx, eax
je 0x4d9e6f
inc dword [esp + 0x38]
add esi, 6
cmp esi, 0x5783da
jl 0x4d9df0
mov cl, byte [esp + 0xf]
mov esi, dword [esp + 0x40]
jmp 0x4d9e99
or edx, 0xffffffff
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
cmp ecx, 0x6c
jne 0x4d9dcb
mov al, byte [esi + 1]
inc esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x3c], esi
cmp al, cl
jne 0x4d9e5e
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x3c], eax
mov cl, byte [eax]
mov al, byte [esi]
cmp al, 0x6c
movsx ecx, cl
sete byte [esp + 0x1e]
jmp 0x4d9dd5
cmp al, 0x6c
mov cl, al
movsx ecx, cl
sete byte [esp + 0x1e]
jmp 0x4d9dd5
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0x38]
lea eax, [eax + eax*2]
lea esi, [eax*2 + 0x578350]
mov dword [esp + 0x40], esi
jne 0x4d9e92
test byte [esi + 2], 2
jne case.default.0x4d9eca
mov cl, byte [esi + 3]
mov byte [esp + 0xf], cl
mov byte [esp + 0x47], cl
mov dword [esp + 0x38], 0
cmp edx, 0x136
jle 0x4d9ebd
test byte [esi + 2], 4
mov eax, 0x136
cmove edx, eax
mov dword [esp + 0x28], edx
movzx eax, cl
dec eax
cmp eax, 0xf
ja case.default.0x4d9eca
jmp dword [eax*4 + 0x4da978]
xor al, al
mov cl, 1
jmp 0x4d9edf
mov al, byte [esp + 0x1e]
mov cl, byte [esp + 0x17]
test byte [esi + 2], 1
je 0x4d9f5d
test al, al
je 0x4d9efd
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 8
mov esi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4d9f1f
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
test cl, cl
jne 0x4d9f10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cdq
mov ecx, edx
mov esi, eax
mov edx, dword [esp + 0x28]
test ecx, ecx
jg 0x4d9f37
jl 0x4d9f29
test esi, esi
jae 0x4d9f37
neg esi
mov byte [esp + 0xe], 0x2d
adc ecx, 0
neg ecx
jmp 0x4d9f8f
cmp byte [esp + 0x31], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ecx
je 0x4d9f4d
mov byte [esp + 0xe], 0x2b
jmp 0x4d9f97
mov al, byte [esp + 0xe]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xe], al
jmp 0x4d9f97
test al, al
je 0x4d9f6f
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 8
mov ecx, dword [eax + 4]
jmp 0x4d9f88
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
test cl, cl
jne 0x4d9f82
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [eax]
mov byte [esp + 0xe], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], esi
mov eax, esi
or eax, ecx
jne 0x4d9fa1
mov byte [esp + 0x1f], al
cmp byte [esp + 0x33], 0
je 0x4d9fc4
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp byte [esp + 0xe], al
setne al
sub ecx, eax
cmp edx, ecx
cmovl edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
cmp byte [esp + 0xf], 0x10
lea edi, [esp + 0x22d]
jne 0x4da096
mov edx, 0xcccccccd
mov eax, esi
lea edi, [edx - 1]
mul edx
mov dword [esp + 0x58], eax
mov esi, edx
mov eax, dword [esp + 0x2c]
mul edi
mov edi, eax
mov dword [esp + 0x48], edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
mov ecx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x10]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x70]
adc edx, 0
mov dword [esp + 0x20], eax
mov esi, eax
add edi, ecx
mov ecx, dword [esp + 0x48]
adc ecx, 0
mov dword [esp + 0x70], edi
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x58]
adc eax, eax
add esi, edx
adc ecx, eax
shrd esi, ecx, 3
mov dword [esp + 0x20], esi
shr ecx, 3
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x2c]
add eax, eax
mov edi, esi
sub edi, eax
cmp edi, 4
jge 0x4da071
mov eax, dword [esp + 0x20]
push 0
push 0xa
push ecx
push eax
call fcn.0050db70
cmp eax, 1
jne 0x4da073
test edx, edx
jne 0x4da073
xor edi, edi
mov al, byte [edi*2 + str.thstndrd]
mov byte [esp + 0x22b], al
mov al, byte [edi*2 + 0x5788ad]
lea edi, [esp + 0x22b]
mov byte [esp + 0x22c], al
mov ecx, dword [esp + 0x40]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
nop word [eax + eax]
push ecx
push dword [esp + 0x30]
dec edi
push eax
push esi
call fcn.0050db70
push dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
push dword [esp + 0x30]
push dword [esp + 0x18]
mov al, byte [eax + ecx]
push esi
mov byte [edi], al
call fcn.0050db00
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
ja 0x4da0c0
jb 0x4da0fe
test esi, esi
jne 0x4da0c0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xd0]
sub ecx, eax
lea eax, [ecx - 0x15d]
add eax, edi
test eax, eax
jle 0x4da120
dec edi
dec eax
mov byte [edi], 0x30
test eax, eax
jg 0x4da117
mov al, byte [esp + 0xe]
test al, al
je 0x4da12b
dec edi
mov byte [edi], al
cmp byte [esp + 0x1f], 0
je 0x4da15c
mov eax, dword [esp + 0x40]
mov al, byte [eax + 5]
test al, al
je 0x4da15c
movzx eax, al
add eax, 0x575e98
mov cl, byte [eax]
test cl, cl
je 0x4da15c
nop dword [eax + eax]
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x4da150
lea esi, [esp + 0x22d]
sub esi, edi
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x54], 0
jne 0x4da17f
sub edx, esi
test edx, edx
jle 0x4da17f
mov ecx, dword [esp + 0x34]
call fcn.004d9ad0
test esi, esi
jle 0x4da192
mov ecx, dword [esp + 0x34]
mov edx, edi
push esi
call fcn.004da9c0
add esp, 4
cmp byte [esp + 0x54], 0
je 0x4da1ae
mov ecx, dword [esp + 0x24]
sub ecx, esi
test ecx, ecx
jle 0x4da1ae
mov edx, ecx
mov ecx, dword [esp + 0x34]
call fcn.004d9ad0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4da1bf
push eax
call fcn.004d9610
add esp, 4
mov esi, dword [esp + 0x3c]
inc esi
movsx eax, byte [esi]
test eax, eax
je case.default.0x4d9eca
movsd xmm3, qword [esp + 0x78]
movsd xmm4, qword [esp + 0x80]
movsd xmm5, qword [esp + 0x88]
movsd xmm6, qword [esp + 0x90]
movsd xmm7, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x68]
mov ecx, dword [esp + 0x18]
jmp 0x4d9bf0
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 8
movsd xmm1, qword [eax]
movsd qword [esp + 0x48], xmm1
test edx, edx
jns 0x4da226
mov edx, 6
jmp 0x4da234
cmp edx, 0xa5
mov eax, 0xa5
cmovg edx, eax
comisd xmm2, xmm1
mov dword [esp + 0x28], edx
jbe 0x4da253
xorps xmm1, xmmword [esp + 0xa0]
movsd qword [esp + 0x48], xmm1
mov byte [esp + 0xe], 0x2d
jmp 0x4da26f
cmp byte [esp + 0x31], 0
je 0x4da261
mov byte [esp + 0xe], 0x2b
jmp 0x4da26f
mov al, byte [esp + 0xe]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xe], al
cmp cl, 4
jne 0x4da27d
test edx, edx
jle 0x4da27d
dec edx
mov dword [esp + 0x28], edx
movsd xmm2, qword [esp + 0xb8]
mov ecx, edx
cmp edx, 8
jl 0x4da2c5
lea esi, [edx - 8]
shr esi, 3
inc esi
lea eax, [esi*8]
sub ecx, eax
nop dword [eax]
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
sub esi, 1
jne 0x4da2a0
test ecx, ecx
jle 0x4da2d9
nop dword [eax]
dec ecx
mulsd xmm2, xmm3
test ecx, ecx
jg 0x4da2d0
cmp byte [esp + 0xf], 2
jne 0x4da2ed
movaps xmm0, xmm2
addsd xmm1, xmm0
movsd qword [esp + 0x48], xmm1
xor ecx, ecx
movaps xmm0, xmm1
mov dword [esp + 0x10], ecx
call fcn.004db3d0
test eax, eax
je 0x4da30e
mov edi, 0x579954
mov esi, 3
jmp 0x4da165
comisd xmm1, xmmword [esp + 0x68]
mov eax, dword [esp + 0x10]
jbe 0x4da41a
comisd xmm1, xmm7
jb 0x4da34e
movsd xmm0, qword [esp + 0xc0]
nop dword [eax]
cmp eax, 0x15e
jg 0x4da34a
mulsd xmm1, xmm0
add eax, 0x20
comisd xmm1, xmm7
movsd qword [esp + 0x48], xmm1
jae 0x4da330
mov dword [esp + 0x10], eax
comisd xmm1, xmm5
jb 0x4da372
cmp eax, 0x15e
jg 0x4da36e
mulsd xmm1, xmm6
add eax, 8
comisd xmm1, xmm5
movsd qword [esp + 0x48], xmm1
jae 0x4da354
mov dword [esp + 0x10], eax
comisd xmm1, xmm4
jb 0x4da394
cmp eax, 0x15e
jg 0x4da390
mulsd xmm1, xmm3
inc eax
comisd xmm1, xmm4
movsd qword [esp + 0x48], xmm1
jae 0x4da378
mov dword [esp + 0x10], eax
comisd xmm6, xmm1
jbe 0x4da3b7
nop word [eax + eax]
mulsd xmm1, xmm5
sub eax, 8
comisd xmm6, xmm1
ja 0x4da3a0
movsd qword [esp + 0x48], xmm1
mov dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0xc8]
comisd xmm0, xmm1
jbe 0x4da3db
mulsd xmm1, xmm4
dec eax
comisd xmm0, xmm1
ja 0x4da3c6
movsd qword [esp + 0x48], xmm1
mov dword [esp + 0x10], eax
cmp eax, 0x15e
jle 0x4da41a
mov al, byte [esp + 0xe]
cmp al, 0x2d
jne 0x4da3fd
mov edi, str._Inf
mov ecx, edi
call fcn.004db410
mov esi, eax
jmp 0x4da165
cmp al, 0x2b
mov edi, str.Inf
mov eax, 0x579968
cmovne edi, eax
mov ecx, edi
call fcn.004db410
mov esi, eax
jmp 0x4da165
mov cl, byte [esp + 0xf]
cmp cl, 2
je 0x4da474
addsd xmm2, xmm1
comisd xmm2, xmm4
movsd qword [esp + 0x48], xmm2
jb 0x4da442
mulsd xmm2, xmm3
inc eax
mov dword [esp + 0x10], eax
movsd qword [esp + 0x48], xmm2
cmp cl, 4
jne 0x4da474
cmp byte [esp + 0x1f], 0
sete byte [esp + 0x17]
cmp eax, 0xfffffffc
jl 0x4da46c
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x4da46c
sub ecx, eax
mov dword [esp + 0x28], ecx
mov cl, 2
mov byte [esp + 0xf], cl
jmp 0x4da479
mov cl, 3
mov byte [esp + 0xf], cl
jmp 0x4da479
mov byte [esp + 0x17], 0
mov edi, dword [esp + 0x28]
lea esi, [esp + 0xd0]
xor edx, edx
mov dword [esp + 0x2c], 0
cmp cl, 3
movzx ecx, byte [esp + 0xd0]
cmovne edx, eax
test edi, edi
mov dword [esp + 0x20], edx
setg al
or al, byte [esp + 0x32]
or al, byte [esp + 0x1f]
cmp byte [esp + 0xe], 0
mov byte [esp + 0x1e], al
movzx eax, byte [esp + 0xe]
cmovne ecx, eax
lea eax, [esp + 0xd1]
cmovne esi, eax
mov byte [esp + 0xd0], cl
test edx, edx
jns 0x4da4d9
mov byte [esi], 0x30
inc esi
jmp 0x4da501
mov edi, dword [esp + 0x20]
nop dword [eax]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x48]
call fcn.004d9a90
mov byte [esi], al
inc esi
sub edi, 1
jns 0x4da4e0
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp byte [esp + 0x1e], 0
je 0x4da50c
mov byte [esi], 0x2e
inc esi
lea eax, [edx + 1]
test eax, eax
jns 0x4da52b
neg eax
push eax
push 0x30
push esi
mov dword [esp + 0x64], eax
sub edi, eax
call fcn.005256f0
add esp, 0xc
add esi, dword [esp + 0x58]
test edi, edi
jle 0x4da545
nop
lea edx, [esp + 0x2c]
dec edi
lea ecx, [esp + 0x48]
call fcn.004d9a90
mov byte [esi], al
inc esi
test edi, edi
jg 0x4da530
cmp byte [esp + 0x17], 0
je 0x4da581
cmp byte [esp + 0x1e], 0
je 0x4da581
cmp byte [esi - 1], 0x30
jne 0x4da56a
nop dword [eax]
dec esi
mov byte [esi], 0
cmp byte [esi - 1], 0x30
je 0x4da560
cmp byte [esi - 1], 0x2e
jne 0x4da581
cmp byte [esp + 0x32], 0
je 0x4da57d
mov byte [esi], 0x30
inc esi
jmp 0x4da581
dec esi
mov byte [esi], 0
cmp byte [esp + 0x47], 3
je 0x4da593
cmp byte [esp + 0xf], 3
jne 0x4da620
mov eax, dword [esp + 0x40]
lea edx, [esi + 1]
mov ecx, dword [esp + 0x10]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
add esi, 2
mov eax, ecx
test ecx, ecx
jns 0x4da5b9
neg ecx
mov dword [esp + 0x10], ecx
test eax, eax
sets al
lea eax, [eax*2 + 0x2b]
mov byte [edx], al
cmp ecx, 0x64
jl 0x4da5f1
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
inc esi
imul eax, ecx, 0xffffff9c
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x10]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
lea eax, [esp + 0xd0]
mov byte [esi], 0
sub esi, eax
mov edi, eax
cmp byte [esp + 0x33], 0
je 0x4da165
cmp byte [esp + 0x54], 0
jne 0x4da17f
mov edx, dword [esp + 0x24]
cmp esi, edx
jge 0x4da170
mov eax, edx
mov ecx, edx
sub eax, esi
mov esi, eax
mov dword [esp + 0x58], eax
cmp edx, esi
jl 0x4da677
mov edx, edi
sub edx, esi
mov al, byte [edx + ecx]
mov byte [esp + ecx + 0xd0], al
dec ecx
cmp ecx, esi
jge 0x4da664
mov edx, dword [esp + 0x24]
xor eax, eax
cmp byte [esp + 0xe], al
setne al
test esi, esi
je 0x4da69d
lea ecx, [esp + 0xd0]
push esi
add eax, ecx
push 0x30
push eax
call fcn.005256f0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov esi, edx
jmp 0x4da170
mov eax, dword [esp + 0x10]
xor edx, edx
add dword [esp + 0x18], 4
xor esi, esi
mov dword [esp + 0x24], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x4da169
mov byte [esp + 0xd0], 0x25
lea edi, [esp + 0xd0]
mov esi, 1
jmp 0x4da165
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 4
mov cl, byte [eax]
mov byte [esp + 0xd0], cl
test edx, edx
js 0x4da720
cmp edx, 1
jle 0x4da712
lea eax, [edx - 1]
push eax
push ecx
lea eax, [esp + 0xd9]
push eax
call fcn.005256f0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov esi, edx
lea edi, [esp + 0xd0]
jmp 0x4da165
mov esi, 1
lea edi, [esp + 0xd0]
jmp 0x4da165
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 4
mov edi, dword [eax]
test edi, edi
jne 0x4da747
mov edi, 0x5702c7
jmp 0x4da755
mov eax, dword [esp + 0x38]
cmp cl, 7
cmove eax, edi
mov dword [esp + 0x38], eax
test edx, edx
js 0x4da40c
xor esi, esi
test edx, edx
jle 0x4da165
nop word [eax + eax]
cmp byte [edi + esi], 0
je 0x4da165
inc esi
cmp esi, edx
jl 0x4da770
jmp 0x4da165
cmp cl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
add dword [esp + 0x18], 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ecx, edi
mov dword [esp + 0x20], edi
test edi, edi
jne 0x4da7c3
cmp byte [esp + 0xf], 0xb
mov ecx, str.NULL
mov eax, str._NULL_
cmovne ecx, eax
mov dword [esp + 0x20], ecx
mov al, byte [ecx]
xor edx, edx
xor esi, esi
mov byte [esp + 0x17], al
test al, al
je 0x4da7f1
mov ecx, dword [esp + 0x40]
lea eax, [edx + 1]
cmp byte [esp + 0x17], cl
mov ecx, dword [esp + 0x20]
cmovne eax, edx
inc esi
mov edx, eax
mov al, byte [esi + ecx]
mov byte [esp + 0x17], al
test al, al
jne 0x4da7d1
test edi, edi
je 0x4da803
cmp byte [esp + 0xf], 0xb
jne 0x4da803
mov eax, 1
jmp 0x4da805
xor eax, eax
mov dword [esp + 0x2c], eax
lea eax, [eax*2 + 1]
add eax, esi
add eax, edx
cmp eax, 0x15e
jle 0x4da838
push eax
call fcn.004d9390
add esp, 4
mov dword [esp + 0x38], eax
mov edi, eax
test eax, eax
je 0x4da91e
mov ecx, dword [esp + 0x20]
jmp 0x4da83f
lea edi, [esp + 0xd0]
mov edx, dword [esp + 0x40]
xor esi, esi
cmp dword [esp + 0x2c], esi
je 0x4da852
mov byte [edi], dl
mov esi, 1
mov al, byte [ecx]
test al, al
je 0x4da86c
mov byte [esi + edi], al
inc esi
cmp al, dl
jne 0x4da864
mov byte [esi + edi], al
inc esi
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4da858
cmp dword [esp + 0x2c], 0
je 0x4da877
mov byte [esi + edi], dl
inc esi
mov byte [esi + edi], 0
jmp 0x4da165
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 4
mov edx, dword [eax]
test edx, edx
je 0x4da8a0
push dword [edx + 4]
mov edx, dword [edx]
mov ecx, dword [esp + 0x38]
call fcn.004da9c0
add esp, 4
xor edx, edx
xor esi, esi
mov dword [esp + 0x24], edx
jmp 0x4da169
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [eax - 4]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov edx, dword [eax + esi*8 + 8]
test edx, edx
je 0x4da8f7
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
call fcn.004da9c0
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, 0x5704a4
push 1
call fcn.004da9c0
mov eax, dword [esp + 0x5c]
add esp, 4
mov edx, dword [eax + esi*8 + 0xc]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
call fcn.004da9c0
mov eax, dword [esp + 0x4c]
xor edx, edx
add esp, 4
mov dword [esp + 0x24], edx
xor esi, esi
mov dword [esp + 0x18], eax
jmp 0x4da169
mov eax, dword [esp + 0x34]
mov byte [eax + 0x18], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov edx, 0x579950
push 1
call fcn.004da9c0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret