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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov eax, dword [0x7cdffc]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x78], eax
xor ecx, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4b4d99
mov cl, al
and cl, 2
mov byte [esp + 0x1a], cl
je 0x4b4d91
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], esi
and al, 1
mov dword [esp + 0x78], eax
jmp 0x4b4da1
mov byte [esp + 0x78], cl
mov byte [esp + 0x1a], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x4b5075
nop dword [eax]
cmp eax, 0x25
je 0x4b4e13
mov esi, edx
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
mov al, byte [edx + 1]
inc edx
test al, al
je 0x4b4dcc
cmp al, 0x25
jne 0x4b4dc0
mov eax, dword [edi + 0xc]
mov ecx, edx
sub ecx, esi
mov dword [esp + 0x44], edx
add eax, ecx
push ecx
cmp eax, dword [edi + 0x10]
jl 0x4b4ded
mov edx, esi
mov ecx, edi
call fcn.004b6290
add esp, 4
jmp 0x4b4e02
mov eax, dword [edi + 8]
add dword [edi + 0xc], ecx
sub eax, ecx
add eax, dword [edi + 0xc]
push esi
push eax
call fcn.006e6940
add esp, 0xc
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
je case.default.0x4b5075
mov esi, dword [esp + 0x20]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x4b606f
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x29], al
mov byte [esp + 0x19], al
mov byte [esp + 0x28], al
mov byte [esp + 0x18], al
nop word [eax + eax]
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x4b4e4f.34
movzx eax, byte [eax + 0x4b60e4]
jmp dword [eax*4 + 0x4b60c8]
mov byte [esp + 0x18], 1
jmp 0x4b4e7e
mov byte [esp + 0x28], 1
jmp 0x4b4e7e
mov byte [esp + 0x19], 1
jmp 0x4b4e7e
mov byte [esp + 0x29], 1
jmp 0x4b4e7e
mov byte [esp + 0x2a], 1
jmp 0x4b4e7e
mov byte [esp + 0x3b], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x4b4e40
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], 0
cmp ecx, 0x2a
jne 0x4b4efb
cmp byte [esp + 0x1a], 0
je 0x4b4ed8
mov esi, dword [esp + 0x40]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x4b4ebd
mov edx, dword [esp + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
jmp 0x4b4ee1
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.004d0b30
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
jmp 0x4b4ee1
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
test eax, eax
jns 0x4b4ef4
neg eax
mov byte [esp + 0x18], 1
mov dword [esp + 0x2c], eax
movsx ecx, byte [edx + 1]
inc edx
jmp 0x4b4f23
cmp ecx, 0x30
jl 0x4b4f27
mov edi, dword [esp + 0x2c]
cmp ecx, 0x39
jg 0x4b4f1b
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x4b4f04
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x44], edx
cmp ecx, 0x2e
jne 0x4b4fd1
movsx ecx, byte [edx + 1]
inc edx
xor esi, esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], esi
cmp ecx, 0x2a
jne 0x4b4fa8
cmp byte [esp + 0x1a], 0
je 0x4b4f84
mov esi, dword [esp + 0x40]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x4b4f69
mov edx, dword [esp + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
jmp 0x4b4f92
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.004d0b30
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
jmp 0x4b4f92
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [eax - 4]
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x44], edx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov edx, dword [esp + 0x44]
jmp 0x4b4fd4
cmp ecx, 0x30
jl 0x4b4fd8
nop dword [eax]
cmp ecx, 0x39
jg 0x4b4fd8
inc edx
lea esi, [esi + esi*4]
lea esi, [esi - 0x18]
mov dword [esp + 0x44], edx
lea esi, [ecx + esi*2]
mov dword [esp + 0x3c], esi
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x4b4fb0
jmp 0x4b4fd8
or esi, 0xffffffff
mov dword [esp + 0x3c], esi
cmp ecx, 0x6c
jne 0x4b5000
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x2b], 1
mov dword [esp + 0x44], edx
cmp ecx, 0x6c
jne 0x4b5005
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x3a], 1
mov dword [esp + 0x44], edx
jmp 0x4b500a
mov byte [esp + 0x2b], 0
mov byte [esp + 0x3a], 0
xor eax, eax
mov dword [esp + 0x48], 0x78d4b0
mov byte [esp + 0x1b], 0
mov edx, 0x78d4b0
mov dword [esp + 0x24], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x4b503e
inc dword [esp + 0x24]
add edx, 6
cmp edx, 0x78d53a
jl 0x4b5022
mov dl, byte [esp + 0x1b]
jmp 0x4b5068
cmp byte [esp + 0x78], 0
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x78d4b0]
mov dword [esp + 0x48], eax
jne 0x4b5061
test byte [eax + 2], 2
jne case.default.0x4b5075
mov dl, byte [eax + 3]
mov byte [esp + 0x1b], dl
movzx eax, dl
dec eax
cmp eax, 0xf
ja case.default.0x4b5075
jmp dword [eax*4 + 0x4b60f8]
xor al, al
mov cl, 1
jmp 0x4b508a
mov al, byte [esp + 0x3a]
mov cl, byte [esp + 0x2b]
mov edx, dword [esp + 0x48]
test byte [edx + 2], 1
je 0x4b5154
cmp byte [esp + 0x1a], 0
je 0x4b50e8
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x4b50d1
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp byte [esp + 0x28], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
je 0x4b5147
mov cl, 0x2b
jmp 0x4b51cf
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x40]
mov dword [edx + 4], eax
call fcn.004d0b30
jmp 0x4b510c
test al, al
je 0x4b50fb
mov ecx, dword [esp + 0x20]
add ecx, 8
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x4b5108
test cl, cl
mov ecx, dword [esp + 0x20]
add ecx, 4
mov eax, dword [ecx - 4]
cdq
mov dword [esp + 0x20], ecx
test edx, edx
jg 0x4b50bb
jl 0x4b5116
test eax, eax
jae 0x4b50bb
test eax, eax
jne 0x4b5131
cmp edx, 0x80000000
jne 0x4b5131
mov dword [esp + 0x1c], edx
mov cl, 0x2d
mov dword [esp + 0x30], eax
jmp 0x4b51cf
neg eax
mov cl, 0x2d
mov dword [esp + 0x30], eax
adc edx, 0
neg edx
mov dword [esp + 0x1c], edx
jmp 0x4b51cf
mov cl, byte [esp + 0x19]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x4b51cf
cmp byte [esp + 0x1a], 0
je 0x4b51a0
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x4b5181
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
jmp 0x4b51cd
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x40]
mov dword [edx + 4], eax
call fcn.004d0b30
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
jmp 0x4b51cd
test al, al
je 0x4b51b3
mov ecx, dword [esp + 0x20]
add ecx, 8
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x4b51c1
test cl, cl
mov ecx, dword [esp + 0x20]
add ecx, 4
xor edx, edx
mov eax, dword [ecx - 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
xor cl, cl
or eax, edx
mov byte [esp + 0x19], cl
jne 0x4b51db
mov byte [esp + 0x29], al
mov al, byte [esp + 0x3b]
test al, al
je 0x4b51f9
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x2c]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x3c], esi
cmp esi, 0x3c
jge 0x4b5213
lea eax, [esp + 0x90]
mov dword [esp + 0x24], 0x46
mov dword [esp + 0x70], eax
jmp 0x4b523b
lea eax, [esi + 0xa]
mov dword [esp + 0x24], eax
cdq
push edx
push eax
call fcn.004b42e0
mov ecx, eax
mov dword [esp + 0x78], eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x4b604f
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
dec edi
add edi, eax
cmp byte [esp + 0x1b], 0x10
jne 0x4b52aa
push 0
push 0xa
push edx
push dword [esp + 0x3c]
call fcn.00725230
mov dword [esp + 0x80], eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x30]
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x6c], eax
cmp eax, 4
jge 0x4b528c
push 0
push 0xa
push edx
push dword [esp + 0x8c]
call fcn.007259d0
cmp eax, 1
jne 0x4b5290
test edx, edx
jne 0x4b5290
xor ecx, ecx
jmp 0x4b5294
mov ecx, dword [esp + 0x6c]
mov al, byte [ecx*2 + 0x78dd75]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [ecx*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x6c], eax
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.007252a0
mov dword [esp + 0x38], ebx
pop ebx
mov esi, eax
mov eax, dword [esp + 0x50]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x80]
mov byte [edi], al
mov eax, dword [esp + 0x6c]
test edx, edx
ja 0x4b52d7
jb 0x4b5307
test esi, esi
jne 0x4b52d7
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
sub eax, edx
sub eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], edi
add eax, edi
test eax, eax
jle 0x4b532d
dec edi
dec eax
mov byte [edi], 0x30
test eax, eax
jg 0x4b5320
mov dword [esp + 0x1c], edi
mov cl, byte [esp + 0x19]
test cl, cl
je 0x4b533c
dec edi
mov dword [esp + 0x1c], edi
mov byte [edi], cl
cmp byte [esp + 0x29], 0
je 0x4b5370
mov eax, dword [esp + 0x48]
mov al, byte [eax + 5]
test al, al
je 0x4b5370
movzx eax, al
add eax, 0x789cf4
mov cl, byte [eax]
test cl, cl
je 0x4b5370
nop dword [eax]
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x4b5360
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
sub edx, edi
lea esi, [eax - 1]
add esi, edx
jmp 0x4b5f68
cmp byte [esp + 0x1a], 0
je 0x4b5430
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x4b5421
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x40]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x4b53c5
movsd xmm2, qword [ecx]
mov dl, byte [esp + 0x1b]
movsd qword [esp + 0x50], xmm2
jmp 0x4b5446
test al, 4
je 0x4b53e2
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.00725690
mov dl, byte [esp + 0x1b]
movaps xmm2, xmm0
movsd qword [esp + 0x50], xmm0
jmp 0x4b5446
test al, 0x12
je 0x4b5421
movzx eax, byte [ecx + 0xa]
lea edx, [esp + 0x88]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
xorps xmm2, xmm2
movsd qword [esp + 0x90], xmm2
call fcn.004b7700
movsd xmm2, qword [esp + 0x90]
add esp, 8
mov dl, byte [esp + 0x1b]
movsd qword [esp + 0x50], xmm2
jmp 0x4b5446
mov dl, byte [esp + 0x1b]
xorps xmm2, xmm2
movsd qword [esp + 0x50], xmm2
jmp 0x4b5446
mov ecx, dword [esp + 0x20]
add ecx, 8
mov dword [esp + 0x20], ecx
movsd xmm2, qword [ecx - 8]
movsd qword [esp + 0x50], xmm2
test esi, esi
mov eax, 6
xorps xmm3, xmm3
cmovs esi, eax
comisd xmm3, xmm2
mov dword [esp + 0x3c], esi
jbe 0x4b5471
xorps xmm2, xmmword [0x79c5c0]
movsd qword [esp + 0x50], xmm2
mov byte [esp + 0x19], 0x2d
jmp 0x4b548d
cmp byte [esp + 0x28], 0
je 0x4b547f
mov byte [esp + 0x19], 0x2b
jmp 0x4b548d
mov al, byte [esp + 0x19]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0x19], al
cmp dl, 4
jne 0x4b549b
test esi, esi
jle 0x4b549b
dec esi
mov dword [esp + 0x3c], esi
movsd xmm1, qword [0x79c308]
mov ecx, esi
movsd xmm4, qword [0x79c2f8]
cmp esi, 8
jl 0x4b54eb
lea edx, [esi - 8]
shr edx, 3
inc edx
lea eax, [edx*8]
sub ecx, eax
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
sub edx, 1
jne 0x4b54c2
mov dl, byte [esp + 0x1b]
test ecx, ecx
jle 0x4b54f9
nop
dec ecx
mulsd xmm1, xmm4
test ecx, ecx
jg 0x4b54f0
cmp dl, 2
jne 0x4b550b
movaps xmm0, xmm1
addsd xmm2, xmm0
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x70], xmm2
xor ecx, ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [esp + 0x70]
ucomisd xmm0, qword [esp + 0x80]
mov dword [esp + 0x30], ecx
lahf
test ah, 0x44
jnp 0x4b554b
mov dword [esp + 0x1c], 0x7983d4
lea esi, [ecx + 3]
jmp 0x4b5f68
comisd xmm2, xmm3
jbe 0x4b56b9
movsd xmm5, qword [0x79c478]
comisd xmm2, xmm5
movsd xmm7, qword [0x79c318]
movaps xmm3, xmm7
jb 0x4b5590
nop
cmp ecx, 0x15e
jg 0x4b558c
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x4b5570
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x79c468]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x4b55c1
cmp ecx, 0x15e
jg 0x4b55bd
movaps xmm3, xmm0
add ecx, 0x40
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x4b55a5
mov dword [esp + 0x30], ecx
movsd xmm6, qword [0x79c410]
movaps xmm0, xmm3
mulsd xmm0, xmm6
comisd xmm2, xmm0
jb 0x4b55f2
cmp ecx, 0x15e
jg 0x4b55ee
movaps xmm3, xmm0
add ecx, 8
mulsd xmm0, xmm6
comisd xmm2, xmm0
jae 0x4b55d6
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x79c358]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x4b5621
cmp ecx, 0x15e
jg 0x4b561d
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x4b5607
mov dword [esp + 0x30], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x79c2e8]
comisd xmm0, xmm2
movsd qword [esp + 0x50], xmm2
jbe 0x4b5657
nop dword [eax]
mulsd xmm2, xmm6
sub ecx, 8
comisd xmm0, xmm2
ja 0x4b5640
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x50], xmm2
comisd xmm7, xmm2
jbe 0x4b5675
nop dword [eax]
mulsd xmm2, xmm5
dec ecx
comisd xmm7, xmm2
ja 0x4b5660
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x50], xmm2
cmp ecx, 0x15e
jle 0x4b56c1
mov al, byte [esp + 0x19]
cmp al, 0x2d
jne 0x4b568c
mov edi, str._Inf
jmp 0x4b569b
cmp al, 0x2b
mov edi, str.Inf
mov eax, 0x7983e8
cmovne edi, eax
cmp byte [edi], 0
mov esi, edi
mov dword [esp + 0x1c], edi
je 0x4b56ac
inc esi
cmp byte [esi], 0
jne 0x4b56a6
sub esi, edi
and esi, 0x3fffffff
jmp 0x4b5f68
movsd xmm5, qword [0x79c358]
lea esi, [esp + 0x90]
cmp dl, 2
je 0x4b56ec
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x50], xmm2
jb 0x4b56ec
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x50], xmm2
cmp dl, 4
jne 0x4b571c
cmp byte [esp + 0x29], 0
sete byte [esp + 0x2b]
cmp ecx, 0xfffffffc
jl 0x4b5715
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jg 0x4b5715
sub eax, ecx
mov byte [esp + 0x1b], 2
mov dword [esp + 0x3c], eax
jmp 0x4b572b
mov byte [esp + 0x1b], 3
jmp 0x4b5729
mov al, byte [esp + 0x2a]
mov byte [esp + 0x2b], al
cmp dl, 3
jne 0x4b572b
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x3c]
add eax, ecx
add eax, dword [esp + 0x2c]
cmp eax, 0x37
jle 0x4b5765
add eax, 0xf
cdq
push edx
push eax
call fcn.004b42e0
add esp, 8
mov dword [esp + 0x4c], eax
mov esi, eax
test eax, eax
je 0x4b604f
mov ecx, dword [esp + 0x3c]
movzx eax, byte [esp + 0x2a]
test ecx, ecx
mov dword [esp + 0x1c], esi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x2a]
or al, byte [esp + 0x29]
mov byte [esp + 0x28], al
mov al, byte [esp + 0x19]
mov dword [esp + 0x70], edx
test al, al
je 0x4b5798
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x24]
movsd xmm1, qword [esp + 0x50]
movsd xmm5, qword [0x79c358]
test eax, eax
jns 0x4b57b4
mov byte [esi], 0x30
inc esi
jmp 0x4b57e7
test edx, edx
jg 0x4b57bc
mov al, 0x30
jmp 0x4b57d3
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x24]
sub eax, 1
mov dword [esp + 0x24], eax
jns 0x4b57b4
mov dword [esp + 0x70], edx
cmp byte [esp + 0x28], 0
je 0x4b57f2
mov byte [esi], 0x2e
inc esi
inc eax
mov edi, eax
neg edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
test eax, eax
jns 0x4b58da
cmp dword [esp + 0x24], 8
jb 0x4b58a7
mov edi, dword [esp + 0x24]
and edi, reloc.OLEAUT32.dll_VariantInit
jns 0x4b5823
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x79c550]
neg edi
movaps xmm4, xmmword [0x79c4f0]
xorps xmm2, xmm2
mov dword [esp + 0x24], edi
movaps xmm3, xmm2
mov edi, dword [esp + 0x1c]
movaps xmmword [esp + 0x50], xmm0
nop word [eax + eax]
movd xmm0, dword [esp + 0x50]
add eax, 8
movd dword [esi], xmm0
psubd xmm2, xmm4
movd xmm0, dword [esp + 0x50]
psubd xmm3, xmm4
movd dword [esi + 4], xmm0
add esi, 8
cmp eax, dword [esp + 0x24]
jl 0x4b5850
paddd xmm2, xmm3
mov dword [esp + 0x24], eax
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
test eax, eax
jns 0x4b58da
neg eax
mov edi, esi
mov ecx, eax
mov dword [esp + 0x24], eax
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x3c]
mov eax, edx
mov edi, dword [esp + 0x1c]
add esi, eax
mov edx, dword [esp + 0x70]
sub ecx, eax
test ecx, ecx
jle 0x4b5907
nop
dec ecx
test edx, edx
jg 0x4b58e9
mov al, 0x30
jmp 0x4b5900
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x4b58e0
cmp byte [esp + 0x2b], 0
je 0x4b5948
cmp byte [esp + 0x28], 0
je 0x4b5948
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x4b592d
nop
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x4b5920
cmp byte [esi - 1], 0x2e
lea eax, [esi - 1]
jne 0x4b5948
cmp byte [esp + 0x2a], 0
je 0x4b5943
mov byte [esi], 0x30
inc esi
jmp 0x4b5948
mov esi, eax
mov byte [esi], 0
cmp byte [esp + 0x1b], 3
jne 0x4b59d7
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
test ecx, ecx
jns 0x4b5977
neg ecx
mov byte [esi + 1], 0x2d
mov dword [esp + 0x30], ecx
jmp 0x4b597b
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x4b59a8
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 + 0x30]
add ecx, eax
mov dword [esp + 0x30], 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 + 0x30]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov al, byte [esp + 0x3b]
mov byte [esi], 0
sub esi, edi
test al, al
je 0x4b5f68
mov al, byte [esp + 0x18]
test al, al
jne 0x4b5f6c
mov eax, dword [esp + 0x2c]
cmp esi, eax
jge 0x4b5f68
mov edx, eax
sub edx, esi
mov esi, eax
mov ecx, esi
cmp esi, edx
jl 0x4b5a1f
mov esi, edi
sub esi, edx
mov al, byte [esi + ecx]
mov byte [ecx + edi], al
dec ecx
cmp ecx, edx
jge 0x4b5a10
mov esi, dword [esp + 0x2c]
mov cl, byte [esp + 0x19]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x4b5f68
add edi, eax
mov ecx, edx
shr ecx, 2
mov eax, 0x30303030
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4b5f68
cmp byte [esp + 0x1a], 0
jne 0x4b5f5e
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0xc]
add ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx - 4]
mov dword [ecx], eax
jmp 0x4b5f5e
lea eax, [esp + 0x90]
mov byte [esp + 0x90], 0x25
mov dword [esp + 0x1c], eax
mov esi, 1
jmp 0x4b5f68
cmp byte [esp + 0x1a], 0
je 0x4b5aee
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x4b5ae4
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x40]
mov dword [edx + 4], eax
test ecx, ecx
je 0x4b5ae4
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x4b5acf
cmp byte [ecx + 0xa], 1
jne 0x4b5acf
mov eax, dword [ecx + 0x10]
jmp 0x4b5adb
test dl, 1
jne 0x4b5ae4
mov dl, 1
call fcn.004d1480
test eax, eax
je 0x4b5ae4
movsx eax, byte [eax]
jmp 0x4b5afc
mov dword [esp + 0x24], 0
jmp 0x4b5b00
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x24], eax
cmp esi, 1
jle 0x4b5b91
mov ecx, dword [esp + 0x2c]
sub ecx, esi
mov edx, ecx
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 1
jle 0x4b5b5a
cmp byte [esp + 0x18], 0
jne 0x4b5b5a
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x4b5b35
mov ecx, edi
call fcn.004b6140
mov edx, eax
test edx, edx
jle 0x4b5b52
nop dword [eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x4b5b40
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 0xc]
lea edx, [esi - 1]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x4b5b70
mov ecx, edi
call fcn.004b6140
mov edx, eax
test edx, edx
jle 0x4b5b91
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x24]
mov byte [ecx + eax], dl
inc dword [edi + 0xc]
mov edx, dword [esp + 0x50]
test edx, edx
jg 0x4b5b74
mov eax, dword [esp + 0x24]
mov esi, 1
mov byte [esp + 0x90], al
lea eax, [esp + 0x90]
mov dword [esp + 0x1c], eax
jmp 0x4b5f68
mov al, byte [esp + 0x1a]
test al, al
je 0x4b5c29
mov edi, dword [esp + 0x40]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jle 0x4b5c3f
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x4b5be0
mov dl, byte [esp + 0x1b]
xor edi, edi
mov al, byte [esp + 0x1a]
jmp 0x4b5c37
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x4b5c05
cmp byte [ecx + 0xa], 1
jne 0x4b5c05
mov edi, dword [ecx + 0x10]
mov dl, byte [esp + 0x1b]
mov al, byte [esp + 0x1a]
jmp 0x4b5c37
test dl, 1
je 0x4b5c16
mov dl, byte [esp + 0x1b]
xor edi, edi
mov al, byte [esp + 0x1a]
jmp 0x4b5c37
mov dl, 1
call fcn.004d1480
mov dl, byte [esp + 0x1b]
mov edi, eax
mov al, byte [esp + 0x1a]
jmp 0x4b5c37
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov edi, dword [ecx - 4]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x4b5c4a
mov edi, 0x7838d8
mov dword [esp + 0x1c], edi
jmp 0x4b5c5c
cmp dl, 7
jne 0x4b5c5c
mov ecx, dword [esp + 0x4c]
test al, al
cmove ecx, edi
mov dword [esp + 0x4c], ecx
test esi, esi
js 0x4b5c84
mov eax, dword [esp + 0x3c]
xor esi, esi
test eax, eax
jle 0x4b5f68
nop
cmp byte [esi + edi], 0
je 0x4b5f68
inc esi
cmp esi, eax
jl 0x4b5c70
jmp 0x4b5f68
mov esi, edi
test edi, edi
je 0x4b5f66
cmp byte [edi], 0
je 0x4b56ac
inc esi
cmp byte [esi], 0
jne 0x4b5c97
sub esi, edi
and esi, 0x3fffffff
jmp 0x4b5f68
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x1a], 0
mov dword [esp + 0x24], eax
je 0x4b5d21
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x4b5cda
mov dword [esp + 0x70], 0
jmp 0x4b5d3b
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x40]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x4b5cf2
xor eax, eax
jmp 0x4b5d2f
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x4b5d0f
cmp byte [ecx + 0xa], 1
jne 0x4b5d0f
mov eax, dword [ecx + 0x10]
jmp 0x4b5d2f
test dl, 1
je 0x4b5d18
xor eax, eax
jmp 0x4b5d2f
mov dl, 1
call fcn.004d1480
jmp 0x4b5d2f
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], eax
test eax, eax
jne 0x4b5d51
cmp byte [esp + 0x1b], 0xb
mov eax, str.NULL
mov ecx, str._NULL_
cmovne eax, ecx
mov dword [esp + 0x30], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x80], edx
test esi, esi
je 0x4b5d92
mov edi, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4b5d7f
inc edx
lea eax, [edi + 1]
cmp cl, byte [esp + 0x24]
cmovne eax, edi
mov edi, eax
mov eax, dword [esp + 0x30]
sub esi, 1
jne 0x4b5d62
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], edx
cmp dword [esp + 0x70], 0
je 0x4b5da7
cmp byte [esp + 0x1b], 0xb
jne 0x4b5da7
mov esi, 1
jmp 0x4b5da9
xor esi, esi
lea eax, [esi*2 + 1]
mov dword [esp + 0x48], esi
add eax, edx
add eax, ecx
cmp eax, 0x46
jle 0x4b5e49
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x4b5e24
test edx, edx
ja 0x4b5e24
jb 0x4b5dd8
cmp esi, 0x7fffff00
jae 0x4b5e24
cmp dword [0x81ea00], 0
je 0x4b5e18
mov eax, dword [0x8b2620]
test eax, eax
je 0x4b5df4
push eax
call dword [0x81ea54]
add esp, 4
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.004b41f0
mov eax, dword [0x8b2620]
test eax, eax
je 0x4b5e12
push eax
call dword [0x81ea5c]
add esp, 4
mov eax, dword [esp + 0x7c]
jmp 0x4b5e2a
push esi
call dword [0x81ea24]
add esp, 4
jmp 0x4b5e26
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4b604f
mov edx, dword [esp + 0x80]
mov edi, eax
mov esi, dword [esp + 0x48]
jmp 0x4b5e54
lea edi, [esp + 0x90]
mov dword [esp + 0x1c], edi
test esi, esi
je 0x4b5e5e
mov eax, dword [esp + 0x24]
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x4b5e7e
mov eax, dword [esp + 0x30]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x24]
jne 0x4b5e79
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x4b5e64
cmp dword [esp + 0x48], 0
je 0x4b5e8d
mov eax, dword [esp + 0x24]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x4b5f68
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x4b5f5e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4b5f5e
mov edx, dword [eax]
jmp 0x4b5f32
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
add ecx, 8
mov dword [esp + 0x50], edx
mov dword [esp + 0x20], ecx
mov eax, dword [ecx - 4]
lea esi, [eax + eax*4]
add esi, esi
mov edx, dword [edx + esi*8 + 0xc]
test edx, edx
je 0x4b5f11
mov ecx, edi
call fcn.004b6310
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 0x10]
jl 0x4b5eff
push 1
mov edx, 0x7983fc
mov ecx, edi
call fcn.004b6290
add esp, 4
jmp 0x4b5f11
inc dword [edi + 0xc]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov al, byte [0x7983fc]
mov byte [ecx + edx - 1], al
mov edx, dword [esp + 0x50]
mov edx, dword [edx + esi*8 + 0x10]
mov ecx, edx
test edx, edx
je 0x4b5f32
cmp byte [edx], 0
je 0x4b5f2a
inc ecx
cmp byte [ecx], 0
jne 0x4b5f24
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [edi + 0xc]
add eax, ecx
push ecx
cmp eax, dword [edi + 0x10]
jl 0x4b5f49
mov ecx, edi
call fcn.004b6290
add esp, 4
jmp 0x4b5f5e
mov eax, dword [edi + 8]
add dword [edi + 0xc], ecx
sub eax, ecx
add eax, dword [edi + 0xc]
push edx
push eax
call fcn.006e6940
add esp, 0xc
mov dword [esp + 0x2c], 0
xor esi, esi
mov al, byte [esp + 0x18]
mov edi, dword [esp + 0x2c]
sub edi, esi
mov dword [esp + 0x2c], edi
test edi, edi
jle 0x4b5fb4
test al, al
jne 0x4b5fb4
mov edx, edi
mov edi, dword [esp + 0x68]
mov ecx, edx
mov eax, dword [edi + 0xc]
add eax, ecx
cmp eax, dword [edi + 0x10]
jl 0x4b5fa0
mov ecx, edi
call fcn.004b6140
mov edx, eax
test edx, edx
jle 0x4b5fb8
nop dword [eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x4b5fa0
jmp 0x4b5fb8
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
add eax, esi
push esi
cmp eax, dword [edi + 0x10]
jl 0x4b5fd3
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.004b6290
add esp, 4
jmp 0x4b5feb
mov eax, dword [edi + 8]
add dword [edi + 0xc], esi
sub eax, esi
push dword [esp + 0x20]
add eax, dword [edi + 0xc]
push eax
call fcn.006e6940
add esp, 0xc
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x4b6023
cmp byte [esp + 0x18], 0
je 0x4b6023
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x4b6011
mov ecx, edi
call fcn.004b6140
mov edx, eax
test edx, edx
jle 0x4b6023
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x4b6011
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4b603a
push ecx
call fcn.004b4670
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x44]
inc edx
movsx eax, byte [edx]
test eax, eax
je case.default.0x4b5075
mov esi, dword [esp + 0x20]
jmp 0x4b4db0
mov byte [edi + 0x19], 1
mov dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 0x10]
jl 0x4b609e
push 1
mov edx, 0x7983d0
mov ecx, edi
call fcn.004b6290
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
inc dword [edi + 0xc]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov al, byte [0x7983d0]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret