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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], ecx
mov cl, byte [esi + 0x15]
and cl, 2
mov dword [esp + 0x70], esi
push edi
mov byte [esp + 0xf], cl
je 0x410965
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
cmp byte [esp + 0xf], 0
lea ecx, [eax + 4]
cmove ecx, eax
movsx eax, byte [edx]
mov dword [esp + 0x1c], ecx
test eax, eax
je case.default.0x410d39
nop
mov edi, ecx
mov dword [esp + 0x34], edi
cmp eax, 0x25
je 0x4109ee
mov edi, edx
mov dword [esp + 0x18], edi
mov al, byte [edx + 1]
inc edx
test al, al
je 0x41099d
cmp al, 0x25
jne 0x410991
mov eax, dword [esi + 0x10]
mov ecx, edx
sub ecx, edi
mov dword [esp + 0x50], edx
add eax, ecx
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 8]
jb 0x4109c2
push ecx
mov edx, edi
mov ecx, esi
call fcn.00412200
add esp, 4
jmp 0x4109dd
test ecx, ecx
je 0x4109e1
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push ecx
sub eax, ecx
add eax, dword [esp + 0x24]
push edi
push eax
call fcn.004ae080
add esp, 0xc
mov edx, dword [esp + 0x50]
cmp byte [edx], 0
je case.default.0x410d39
mov edi, dword [esp + 0x34]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x411f71
xor al, al
mov byte [esp + 0x57], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x27], al
mov byte [esp + 0xd], al
mov byte [esp + 0x33], al
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x410a24.34
movzx eax, byte [eax + 0x411fe0]
jmp dword [eax*4 + 0x411fc0]
mov byte [esp + 0x33], 1
jmp 0x410a5a
mov byte [esp + 0xd], 0x2b
jmp 0x410a5a
mov byte [esp + 0xd], 0x20
jmp 0x410a5a
mov byte [esp + 0x3a], 1
jmp 0x410a5a
mov byte [esp + 0x3b], 1
jmp 0x410a5a
mov byte [esp + 0x57], 1
jmp 0x410a5a
mov byte [esp + 0x27], 0x2c
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x410a15
mov dword [esp + 0x50], edx
cmp ecx, 0x2a
jne 0x410b3c
cmp byte [esp + 0xf], 0
je 0x410afd
mov eax, dword [esp + 0x4c]
mov edi, dword [eax + 4]
cmp dword [eax], edi
jg 0x410a95
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
jmp 0x410b04
mov eax, dword [eax + 8]
mov ecx, dword [eax + edi*4]
lea eax, [edi + 1]
mov edi, dword [esp + 0x4c]
mov dword [edi + 4], eax
movzx eax, word [ecx + 8]
test al, 4
je 0x410ab8
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
jmp 0x410b04
test al, 8
je 0x410ad1
movsd xmm0, qword [ecx]
call fcn.004330b0
mov ecx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
jmp 0x410b04
test al, 0x12
je 0x410ae6
call fcn.004330e0
mov ecx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
jmp 0x410b04
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
jmp 0x410b04
add dword [esp + 0x1c], 4
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
test eax, eax
jns 0x410b31
mov byte [esp + 0x33], 1
cmp eax, 0x80000001
jl 0x410b29
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], edx
jmp 0x410b75
mov dword [esp + 0x3c], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x50], edx
jmp 0x410b75
xor eax, eax
cmp ecx, 0x30
jl 0x410b6c
mov esi, eax
cmp ecx, 0x39
ja 0x410b5c
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x410b45
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
and eax, 0x7fffffff
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov edi, eax
cmp ecx, 0x2e
jne 0x410c9e
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x50], edx
cmp ecx, 0x2a
jne 0x410c70
cmp byte [esp + 0xf], 0
je 0x410c4a
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + 4]
cmp dword [ecx], edi
jg 0x410bbe
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov edi, dword [esp + 0x40]
jmp 0x410c53
mov eax, dword [ecx + 8]
mov ecx, dword [eax + edi*4]
lea eax, [edi + 1]
mov edi, dword [esp + 0x4c]
mov dword [edi + 4], eax
movzx eax, word [ecx + 8]
test al, 4
je 0x410be9
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
jmp 0x410c57
test al, 8
je 0x410c0c
movsd xmm0, qword [ecx]
call fcn.004330b0
mov edi, eax
mov eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
jmp 0x410c57
test al, 0x12
je 0x410c2b
call fcn.004330e0
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
jmp 0x410c57
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
jmp 0x410c57
mov edi, dword [edi]
add eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edi
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x50], edx
test edi, edi
jns 0x410ca5
cmp edi, 0x80000001
jl 0x410c9e
neg edi
jmp 0x410ca1
xor edi, edi
cmp ecx, 0x30
jl 0x410c96
cmp ecx, 0x39
ja 0x410c8e
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x410c77
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
and edi, 0x7fffffff
jmp 0x410ca1
or edi, 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], eax
cmp ecx, 0x6c
jne 0x410cd1
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0xe], 1
mov dword [esp + 0x50], edx
cmp ecx, 0x6c
jne 0x410cd6
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0xe], 2
mov dword [esp + 0x50], edx
jmp 0x410cd6
mov byte [esp + 0xe], 0
xor eax, eax
mov dword [esp + 0x34], 0x4d0b48
mov byte [esp + 0x17], 0x11
mov edx, 0x4d0b48
mov dword [esp + 0x58], eax
nop
movsx eax, byte [edx]
cmp ecx, eax
je 0x410d10
inc dword [esp + 0x58]
add edx, 6
cmp edx, 0x4d0bd2
jl 0x410cf0
mov dl, byte [esp + 0x17]
mov ecx, dword [esp + 0x34]
jmp 0x410d2d
mov eax, dword [esp + 0x58]
lea eax, [eax + eax*2]
mov dl, byte [eax*2 + 0x4d0b4b]
lea ecx, [eax*2 + 0x4d0b48]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x17], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x410d39
jmp dword [eax*4 + 0x411ff4]
mov al, 1
mov byte [esp + 0x27], 0
jmp 0x410d58
mov al, byte [esp + 0xe]
mov byte [esp + 0x27], 0
jmp 0x410d58
mov al, byte [esp + 0xe]
test byte [ecx + 2], 1
je 0x410e62
cmp byte [esp + 0xf], 0
je 0x410df4
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x410dd5
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 4
je 0x410da7
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
jmp 0x410e16
test al, 8
je 0x410dc0
movsd xmm0, qword [ecx]
call fcn.004330b0
mov dword [esp + 0x28], edx
mov ecx, edx
mov dword [esp + 0x10], eax
jmp 0x410e16
test al, 0x12
je 0x410dd5
call fcn.004330e0
mov dword [esp + 0x28], edx
mov ecx, edx
mov dword [esp + 0x10], eax
jmp 0x410e16
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
jmp 0x410e16
mov ecx, dword [esp + 0x10]
test al, al
je 0x410e0c
cmp al, 2
mov eax, dword [ecx]
jne 0x410e0e
add dword [esp + 0x1c], 8
mov ecx, dword [ecx + 4]
jmp 0x410e16
mov eax, dword [ecx]
add dword [esp + 0x1c], 4
cdq
mov ecx, edx
test ecx, ecx
jg 0x410e51
jl 0x410e20
test eax, eax
jae 0x410e51
test eax, eax
jne 0x410e3b
cmp ecx, 0x80000000
jne 0x410e3b
mov dword [esp + 0x28], ecx
mov cl, 0x2d
mov dword [esp + 0x10], eax
jmp 0x410f35
neg eax
mov dword [esp + 0x10], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x28], ecx
mov cl, 0x2d
jmp 0x410f35
mov dword [esp + 0x28], ecx
mov cl, byte [esp + 0xd]
mov dword [esp + 0x10], eax
jmp 0x410f39
cmp byte [esp + 0xf], 0
je 0x410ef1
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x410e92
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
jmp 0x410f2f
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 4
je 0x410eb8
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], ecx
jmp 0x410f2f
test al, 8
je 0x410ecb
movsd xmm0, qword [ecx]
call fcn.004330b0
mov dword [esp + 0x28], edx
jmp 0x410f2f
test al, 0x12
je 0x410eda
call fcn.004330e0
mov dword [esp + 0x28], edx
jmp 0x410f2f
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x410f2f
mov ecx, dword [esp + 0x10]
test al, al
je 0x410f20
cmp al, 2
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
jne 0x410f11
mov eax, dword [ecx + 4]
add dword [esp + 0x1c], 8
mov dword [esp + 0x28], eax
jmp 0x410f33
add dword [esp + 0x1c], 4
mov dword [esp + 0x28], 0
jmp 0x410f33
add dword [esp + 0x1c], 4
mov eax, dword [ecx]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
xor cl, cl
mov byte [esp + 0xd], cl
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x28]
jne 0x410f47
mov byte [esp + 0x3a], al
cmp byte [esp + 0x57], 0
je 0x410f64
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x3c]
setne al
sub ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov dword [esp + 0x2c], edi
cmp edi, 0x25
jge 0x410f7f
mov edi, 0x46
lea eax, [esp + 0x80]
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], eax
jmp 0x410fc5
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [esp + 0x64], eax
mov ecx, edx
mov eax, edi
mov edi, dword [esp + 0x64]
cdq
add edi, eax
adc ecx, edx
add edi, 0xa
mov dword [esp + 0x64], edi
adc ecx, 0
push ecx
push edi
call fcn.0040fd60
mov ecx, eax
mov dword [esp + 0x28], eax
add esp, 8
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x411f52
dec edi
add edi, eax
cmp byte [esp + 0x17], 0xf
mov dword [esp + 0x18], edi
jne 0x41108a
mov eax, dword [esp + 0x10]
mov edx, 0xcccccccd
mov ecx, 0xcccccccd
lea edi, [edx - 1]
mul edx
mov dword [esp + 0x40], eax
mov esi, edx
mov eax, dword [esp + 0x10]
mul edi
mov edi, eax
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x28]
mul ecx
mov ecx, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x28]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
adc edx, 0
mov dword [esp + 0x68], eax
add edi, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x68]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x40]
adc eax, eax
add edi, edx
adc ecx, eax
shrd edi, ecx, 3
shr ecx, 3
lea eax, [edi + edi*4]
add eax, eax
sub esi, eax
cmp esi, 4
jge 0x41106e
push 0
push 0xa
push ecx
push edi
call fcn.004c29a0
cmp eax, 1
jne 0x411070
test edx, edx
jne 0x411070
xor esi, esi
mov edi, dword [esp + 0x18]
mov al, byte [esi*2 + 0x4d0b3d]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [esi*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
push ecx
push dword [esp + 0x1c]
dec edi
push eax
push esi
call fcn.004c29a0
push dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
push dword [esp + 0x1c]
push dword [esp + 0x30]
mov al, byte [eax + ecx]
push esi
mov byte [edi], al
call fcn.004c2930
mov ecx, dword [esp + 0x58]
mov esi, eax
mov eax, edx
mov dword [esp + 0x28], eax
test eax, eax
ja 0x4110b2
jb 0x4110f0
test esi, esi
jne 0x4110b2
mov eax, dword [esp + 0x20]
mov ecx, edi
mov esi, dword [esp + 0x74]
sub eax, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x64]
dec edi
add edi, eax
mov eax, dword [esp + 0x2c]
cmp edi, eax
jge 0x411122
mov edx, eax
sub edx, edi
mov edi, eax
dec ecx
mov byte [ecx], 0x30
sub edx, 1
jne 0x411115
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x27], 0
je 0x411175
lea eax, [edi - 1]
mov edi, 3
cdq
idiv edi
inc edx
mov edi, eax
mov dword [esp + 0x40], edx
sub ecx, edi
xor edx, edx
mov dword [esp + 0x18], ecx
test edi, edi
jle 0x411175
mov esi, dword [esp + 0x40]
nop dword [eax + eax]
lea eax, [edi + edx]
mov al, byte [eax + ecx]
mov byte [edx + ecx], al
sub esi, 1
jne 0x41116c
mov al, byte [esp + 0x27]
inc edx
dec edi
mov esi, 3
mov byte [edx + ecx], al
inc edx
test edi, edi
jg 0x411150
mov esi, dword [esp + 0x74]
mov al, byte [esp + 0xd]
test al, al
je 0x411184
dec ecx
mov dword [esp + 0x18], ecx
mov byte [ecx], al
cmp byte [esp + 0x3a], 0
je 0x4111b4
mov eax, dword [esp + 0x34]
mov al, byte [eax + 5]
test al, al
je 0x4111b4
movzx eax, al
add eax, 0x4cdba0
mov dl, byte [eax]
test dl, dl
je 0x4111b4
dec ecx
lea eax, [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x4111a4
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
sub edx, ecx
dec edi
add edi, edx
jmp 0x411be7
cmp byte [esp + 0xf], 0
je 0x411248
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x411239
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x411204
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0x17]
movsd qword [esp + 0x68], xmm1
jmp 0x41125b
test al, 4
je 0x411221
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.004c3140
mov dl, byte [esp + 0x17]
movaps xmm1, xmm0
movsd qword [esp + 0x68], xmm1
jmp 0x41125b
test al, 0x12
je 0x411239
call fcn.00433150
mov dl, byte [esp + 0x17]
movaps xmm1, xmm0
movsd qword [esp + 0x68], xmm0
jmp 0x41125b
mov dl, byte [esp + 0x17]
xorps xmm1, xmm1
movsd qword [esp + 0x68], xmm1
jmp 0x41125b
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 8
movsd xmm1, qword [ecx]
movsd qword [esp + 0x68], xmm1
test edi, edi
mov eax, 6
xorps xmm3, xmm3
cmovs edi, eax
comisd xmm3, xmm1
mov dword [esp + 0x2c], edi
jbe 0x411287
xorps xmm1, xmmword [0x4d7210]
mov dh, 0x2d
movsd qword [esp + 0x68], xmm1
mov byte [esp + 0xd], dh
jmp 0x41128b
mov dh, byte [esp + 0xd]
cmp dl, 3
jne 0x411299
test edi, edi
je 0x411299
dec edi
mov dword [esp + 0x2c], edi
movsd xmm2, qword [0x4d7088]
and edi, 0xfff
movsd xmm4, qword [0x4d7080]
cmp edi, 8
jb 0x4112e7
lea ecx, [edi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea edi, [edi + eax*8]
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
sub ecx, 1
jne 0x4112c2
test edi, edi
jle 0x4112f9
nop dword [eax + eax]
dec edi
mulsd xmm2, xmm4
test edi, edi
jg 0x4112f0
cmp dl, 1
jne 0x41130b
movaps xmm0, xmm2
addsd xmm1, xmm0
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x40], xmm1
xor ecx, ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x40]
ucomisd xmm0, qword [esp + 0x78]
mov dword [esp + 0x10], ecx
lahf
test ah, 0x44
jnp 0x411345
mov dword [esp + 0x18], 0x4d1ca0
lea edi, [ecx + 3]
jmp 0x411be7
comisd xmm1, xmm3
jbe 0x411479
movsd xmm5, qword [0x4d7158]
comisd xmm1, xmm5
movsd xmm6, qword [0x4d7090]
movaps xmm3, xmm6
jb 0x411388
cmp ecx, 0x15e
jg 0x411384
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x411368
mov dword [esp + 0x10], ecx
movsd xmm5, qword [0x4d7128]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x4113bc
nop dword [eax]
cmp ecx, 0x15e
jg 0x4113b8
movaps xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x4113a0
mov dword [esp + 0x10], ecx
movsd xmm5, qword [0x4d70a0]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x4113eb
cmp ecx, 0x15e
jg 0x4113e7
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x4113d1
mov dword [esp + 0x10], ecx
divsd xmm1, xmm3
movsd xmm0, qword [0x4d7078]
comisd xmm0, xmm1
movsd qword [esp + 0x68], xmm1
jbe 0x411427
movsd xmm3, qword [0x4d7108]
nop dword [eax + eax]
mulsd xmm1, xmm3
sub ecx, 8
comisd xmm0, xmm1
ja 0x411410
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x68], xmm1
comisd xmm6, xmm1
jbe 0x411445
nop dword [eax]
mulsd xmm1, xmm5
dec ecx
comisd xmm6, xmm1
ja 0x411430
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x68], xmm1
cmp ecx, 0x15e
jle 0x411481
xor eax, eax
mov byte [esp + 0x80], dh
test dh, dh
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ecx
setne al
mov dword [esp + eax + 0x80], 0x666e49
lea edi, [eax + 3]
jmp 0x411be7
movsd xmm5, qword [0x4d70a0]
lea edi, [esp + 0x80]
cmp dl, 1
je 0x4114dc
addsd xmm1, xmm2
comisd xmm1, xmm5
movsd qword [esp + 0x68], xmm1
jb 0x4114ac
mulsd xmm1, xmm4
inc ecx
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x68], xmm1
cmp dl, 3
jne 0x4114dc
cmp byte [esp + 0x3a], 0
sete byte [esp + 0x27]
cmp ecx, 0xfffffffc
jl 0x4114d5
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x4114d5
sub eax, ecx
mov byte [esp + 0x17], 1
mov dword [esp + 0x2c], eax
jmp 0x4114eb
mov byte [esp + 0x17], 2
jmp 0x4114e9
mov al, byte [esp + 0x3b]
mov byte [esp + 0x27], al
cmp dl, 2
jne 0x4114eb
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x58], ecx
test ecx, ecx
cmovg eax, ecx
cdq
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], edx
cdq
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x64], edx
cdq
add dword [esp + 0x28], eax
adc dword [esp + 0x64], edx
mov edx, dword [esp + 0x64]
test edx, edx
jl 0x41154c
mov eax, dword [esp + 0x28]
jg 0x41152c
cmp eax, 0x37
jbe 0x41154c
add eax, 0xf
adc edx, 0
push edx
push eax
call fcn.0040fd60
mov ecx, eax
add esp, 8
mov dword [esp + 0x70], ecx
mov edi, ecx
test ecx, ecx
je 0x411f52
movzx eax, byte [esp + 0x3b]
mov cl, byte [esp + 0x3b]
mov dword [esp + 0x18], edi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x20], edx
setg byte [esp + 0xe]
or byte [esp + 0xe], cl
mov cl, byte [esp + 0x3a]
or byte [esp + 0xe], cl
cmp byte [esp + 0xd], 0
mov ecx, dword [esp + 0x58]
je 0x411594
mov cl, byte [esp + 0xd]
mov byte [edi], cl
inc edi
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x41159e
mov byte [edi], 0x30
inc edi
jmp 0x4115ea
movsd xmm1, qword [esp + 0x68]
movsd xmm2, qword [0x4d70a0]
nop dword [eax]
test edx, edx
jg 0x4115b8
mov cl, 0x30
jmp 0x4115d0
cvttsd2si ecx, xmm1
dec edx
movd xmm0, ecx
add cl, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [edi], cl
inc edi
mov ecx, dword [esp + 0x58]
sub ecx, 1
mov dword [esp + 0x58], ecx
jns 0x4115b0
mov dword [esp + 0x20], edx
movsd qword [esp + 0x68], xmm1
cmp byte [esp + 0xe], 0
je 0x4115f5
mov byte [edi], 0x2e
inc edi
add ecx, 1
jns 0x41161e
neg ecx
push ecx
sub eax, ecx
mov dword [esp + 0x44], ecx
push 0x30
push edi
mov dword [esp + 0x38], eax
call fcn.004ad600
mov eax, dword [esp + 0x38]
add esp, 0xc
add edi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
test eax, eax
jle 0x41165a
dec eax
test edx, edx
jg 0x41162b
mov cl, 0x30
jmp 0x411653
movsd xmm1, qword [esp + 0x68]
dec edx
cvttsd2si ecx, xmm1
movd xmm0, ecx
add cl, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [0x4d70a0]
movsd qword [esp + 0x68], xmm1
mov byte [edi], cl
inc edi
test eax, eax
jg 0x411622
cmp byte [esp + 0x27], 0
je 0x411691
cmp byte [esp + 0xe], 0
je 0x411691
cmp byte [edi - 1], 0x30
jne 0x41167a
nop
dec edi
mov byte [edi], 0
cmp byte [edi - 1], 0x30
je 0x411670
cmp byte [edi - 1], 0x2e
jne 0x411691
cmp byte [esp + 0x3b], 0
je 0x41168d
mov byte [edi], 0x30
inc edi
jmp 0x411691
dec edi
mov byte [edi], 0
cmp byte [esp + 0x17], 2
jne 0x41172a
mov eax, dword [esp + 0x34]
lea esi, [edi + 1]
mov ecx, dword [esp + 0x10]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [edi], al
mov eax, ecx
cdq
lea edi, [esi + 1]
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x34], eax
sets cl
lea ecx, [ecx*2 + 0x2b]
mov byte [esi], cl
mov esi, eax
cmp eax, 0x64
jl 0x4116f7
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [edi], al
inc edi
imul eax, ecx, 0x64
sub esi, eax
mov dword [esp + 0x34], esi
mov eax, 0x66666667
imul esi
mov esi, dword [esp + 0x74]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [edi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x34]
add al, al
sub cl, al
add cl, 0x30
mov byte [edi + 1], cl
add edi, 2
mov ecx, dword [esp + 0x18]
mov byte [edi], 0
sub edi, ecx
cmp byte [esp + 0x57], 0
je 0x411be7
cmp byte [esp + 0x33], 0
jne 0x411be7
mov eax, dword [esp + 0x3c]
cmp edi, eax
jge 0x411be7
mov edx, eax
sub edx, edi
mov dword [esp + 0x40], edx
mov edx, eax
mov edi, dword [esp + 0x40]
cmp eax, edi
jl 0x41177f
mov esi, ecx
sub esi, edi
nop dword [eax + eax]
mov al, byte [edx + esi]
mov byte [edx + ecx], al
dec edx
cmp edx, edi
jge 0x411770
mov esi, dword [esp + 0x74]
xor eax, eax
cmp byte [esp + 0xd], al
setne al
test edi, edi
je 0x41179a
push edi
add eax, ecx
push 0x30
push eax
call fcn.004ad600
add esp, 0xc
mov edi, dword [esp + 0x3c]
jmp 0x411be7
cmp byte [esp + 0xf], 0
jne 0x411e47
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esp + 0x1c], 4
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x411e47
lea eax, [esp + 0x80]
mov byte [esp + 0x80], 0x25
mov dword [esp + 0x18], eax
mov edi, 1
jmp 0x411be7
cmp byte [esp + 0xf], 0
je 0x41184a
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x411840
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x41180a
xor eax, eax
jmp 0x411837
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x411827
cmp byte [ecx + 0xa], 1
jne 0x411827
mov eax, dword [ecx + 0x10]
jmp 0x411837
test dl, 1
je 0x411830
xor eax, eax
jmp 0x411837
mov dl, 1
call fcn.00433b00
test eax, eax
je 0x411840
movsx eax, byte [eax]
jmp 0x411855
mov dword [esp + 0x34], 0
jmp 0x411859
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 4
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
cmp edi, 1
jle 0x411931
mov eax, dword [esp + 0x3c]
sub eax, edi
mov edx, eax
inc eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], eax
cmp eax, 1
jle 0x4118cf
cmp byte [esp + 0x33], 0
jne 0x4118cf
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, edx
cdq
add dword [esp + 0x20], eax
mov eax, dword [esi + 8]
adc ecx, edx
test ecx, ecx
jl 0x4118b3
jg 0x4118a0
cmp dword [esp + 0x20], eax
jb 0x4118b3
mov edx, dword [esp + 0x58]
mov ecx, esi
call fcn.00412040
mov edx, eax
test edx, edx
jle 0x4118c9
jmp 0x4118b7
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x10]
dec edx
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0x20
inc dword [esi + 0x10]
test edx, edx
jg 0x4118b7
xor edx, edx
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x10]
dec edi
mov dword [esp + 0x20], eax
xor ecx, ecx
mov eax, edi
cdq
add dword [esp + 0x20], eax
mov eax, dword [esi + 8]
adc ecx, edx
test ecx, ecx
jl 0x411900
jg 0x4118f1
cmp dword [esp + 0x20], eax
jb 0x411900
mov edx, edi
mov ecx, esi
call fcn.00412040
mov edi, eax
test edi, edi
jle 0x411931
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x10]
dec edi
mov eax, dword [esi + 4]
mov byte [ecx + eax], dl
inc dword [esi + 0x10]
test edi, edi
jg 0x411904
lea eax, [esp + 0x80]
mov byte [esp + 0x80], dl
mov edi, 1
mov dword [esp + 0x18], eax
jmp 0x411be7
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x80]
mov edi, 1
mov byte [esp + 0x80], dl
mov dword [esp + 0x18], eax
jmp 0x411be7
cmp byte [esp + 0xf], 0
je 0x4119cc
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x41196d
xor ecx, ecx
mov dl, 5
mov dword [esp + 0x18], ecx
jmp 0x4119db
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x411989
mov dword [esp + 0x18], ecx
mov dl, 5
jmp 0x4119db
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x4119ac
cmp byte [ecx + 0xa], 1
jne 0x4119ac
mov ecx, dword [ecx + 0x10]
mov dl, 5
mov dword [esp + 0x18], ecx
jmp 0x4119db
test dl, 1
je 0x4119bb
xor ecx, ecx
mov dl, 5
mov dword [esp + 0x18], ecx
jmp 0x4119db
mov dl, 1
call fcn.00433b00
mov ecx, eax
mov dword [esp + 0x18], eax
mov dl, 5
jmp 0x4119db
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 4
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4119ea
mov ecx, 0x4cbb9a
mov dword [esp + 0x18], ecx
jmp 0x4119f8
mov eax, dword [esp + 0x70]
cmp dl, 6
cmove eax, ecx
mov dword [esp + 0x70], eax
test edi, edi
js 0x411a24
mov eax, dword [esp + 0x2c]
xor edi, edi
test eax, eax
jle 0x411be7
nop word [eax + eax]
cmp byte [edi + ecx], 0
je 0x411be7
inc edi
cmp edi, eax
jl 0x411a10
jmp 0x411be7
mov edi, ecx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x411a30
sub edi, ecx
and edi, 0x7fffffff
jmp 0x411be7
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0xf], 0
mov dword [esp + 0x34], eax
je 0x411add
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x411a76
mov dl, byte [esp + 0x17]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
jmp 0x411aec
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x411a94
mov dl, byte [esp + 0x17]
mov dword [esp + 0x2c], ecx
jmp 0x411aec
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x411ab9
cmp byte [ecx + 0xa], 1
jne 0x411ab9
mov ecx, dword [ecx + 0x10]
mov dl, byte [esp + 0x17]
mov dword [esp + 0x2c], ecx
jmp 0x411aec
test dl, 1
je 0x411aca
mov dl, byte [esp + 0x17]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
jmp 0x411aec
mov dl, 1
call fcn.00433b00
mov dl, byte [esp + 0x17]
mov ecx, eax
mov dword [esp + 0x2c], eax
jmp 0x411aec
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 4
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x411b08
cmp dl, 0xa
mov ecx, str.NULL
mov eax, str._NULL_
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x58], edx
test edi, edi
je 0x411b43
mov esi, eax
mov cl, byte [edx + ecx]
test cl, cl
je 0x411b33
inc edx
lea eax, [esi + 1]
cmp cl, byte [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmovne eax, esi
mov esi, eax
sub edi, 1
jne 0x411b16
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], edx
cmp dword [esp + 0x40], 0
je 0x411b59
cmp byte [esp + 0x17], 0xa
mov dword [esp + 0x20], 1
je 0x411b61
mov dword [esp + 0x20], 0
add eax, 3
add eax, edx
cmp eax, 0x46
jle 0x411b8e
cdq
push edx
push eax
call fcn.0040fd60
add esp, 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x18], eax
mov ecx, eax
test eax, eax
je 0x411f52
mov edx, dword [esp + 0x58]
jmp 0x411b99
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ecx
xor edi, edi
cmp dword [esp + 0x20], edi
je 0x411bac
mov eax, dword [esp + 0x34]
mov edi, 1
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x411bd4
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov dl, byte [eax + edx]
mov byte [edi + ecx], dl
inc edi
cmp dl, byte [esp + 0x34]
jne 0x411bcb
mov byte [edi + ecx], dl
inc edi
inc eax
cmp eax, esi
jl 0x411bb6
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x20], 0
je 0x411be3
mov eax, dword [esp + 0x34]
mov byte [edi + ecx], al
inc edi
mov byte [edi + ecx], 0
mov edx, dword [esp + 0x3c]
sub edx, edi
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x411e49
cmp byte [esp + 0x33], 0
jne 0x411c52
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, edx
mov dword [esp + 0x34], edx
cdq
add dword [esp + 0x20], eax
mov eax, dword [esi + 8]
adc ecx, edx
test ecx, ecx
jl 0x411c38
jg 0x411c25
cmp dword [esp + 0x20], eax
jb 0x411c38
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.00412040
mov edx, eax
test edx, edx
jle 0x411c52
jmp 0x411c40
mov edx, dword [esp + 0x34]
nop dword [eax]
mov ecx, dword [esi + 0x10]
dec edx
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0x20
inc dword [esi + 0x10]
test edx, edx
jg 0x411c40
mov ecx, dword [esi + 0x10]
add ecx, edi
cmp ecx, dword [esi + 8]
jb 0x411c6d
mov edx, dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.00412200
add esp, 4
jmp 0x411c89
test edi, edi
je 0x411c89
mov eax, dword [esi + 4]
push edi
push dword [esp + 0x1c]
sub eax, edi
mov dword [esi + 0x10], ecx
add eax, ecx
push eax
call fcn.004ae080
add esp, 0xc
cmp byte [esp + 0x33], 0
je 0x411e82
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, edi
cdq
add dword [esp + 0x20], eax
mov eax, dword [esi + 8]
adc ecx, edx
test ecx, ecx
jl 0x411cd0
jg 0x411cb9
cmp dword [esp + 0x20], eax
jb 0x411cd0
mov edx, edi
mov ecx, esi
call fcn.00412040
mov edi, eax
test edi, edi
jle 0x411e82
nop dword [eax]
mov ecx, dword [esi + 0x10]
dec edi
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0x20
inc dword [esi + 0x10]
test edi, edi
jg 0x411cd0
jmp 0x411e82
test byte [esi + 0x15], 1
je case.default.0x410d39
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 4
mov eax, dword [ecx]
test eax, eax
je 0x411e47
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x411e47
mov edi, dword [esi + 0x10]
mov edx, dword [eax]
add edi, ecx
push ecx
cmp edi, dword [esi + 8]
jb 0x411d2b
mov ecx, esi
call fcn.00412200
add esp, 4
jmp 0x411e47
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [esi + 0x10], edi
push edx
add eax, edi
push eax
call fcn.004ae080
add esp, 0xc
jmp 0x411e47
test byte [esi + 0x15], 1
je case.default.0x410d39
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [eax - 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx]
shl edx, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], eax
mov edx, dword [edx + eax + 0xc]
test edx, edx
je 0x411dea
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411d80
sub ecx, edi
mov edi, dword [esi + 0x10]
and ecx, 0x3fffffff
add edi, ecx
cmp edi, dword [esi + 8]
jb 0x411da6
push ecx
mov ecx, esi
call fcn.00412200
add esp, 4
jmp 0x411dbf
test ecx, ecx
je 0x411dbf
mov eax, dword [esi + 4]
push ecx
sub eax, ecx
mov dword [esi + 0x10], edi
push edx
add eax, edi
push eax
call fcn.004ae080
add esp, 0xc
mov ecx, dword [esi + 0x10]
inc ecx
cmp ecx, dword [esi + 8]
jb 0x411ddb
push 1
mov edx, 0x4d1cb4
mov ecx, esi
call fcn.00412200
add esp, 4
jmp 0x411de6
mov eax, dword [esi + 4]
mov dword [esi + 0x10], ecx
mov byte [eax + ecx - 1], 0x2e
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov edx, dword [edx + eax + 0x10]
test edx, edx
jne 0x411dfa
xor ecx, ecx
jmp 0x411e0f
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411e00
sub ecx, edi
and ecx, 0x3fffffff
mov edi, dword [esi + 0x10]
add edi, ecx
cmp edi, dword [esi + 8]
jb 0x411e26
push ecx
mov ecx, esi
call fcn.00412200
add esp, 4
jmp 0x411e3f
test ecx, ecx
je 0x411e3f
mov eax, dword [esi + 4]
push ecx
sub eax, ecx
mov dword [esi + 0x10], edi
push edx
add eax, edi
push eax
call fcn.004ae080
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
xor edi, edi
mov ecx, dword [esi + 0x10]
add ecx, edi
cmp ecx, dword [esi + 8]
jb 0x411e66
push edi
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, edi
call fcn.00412200
add esp, 4
jmp 0x411e86
test edi, edi
je 0x411e82
mov eax, dword [esi + 4]
push edi
push dword [esp + 0x1c]
sub eax, edi
mov dword [esi + 0x10], ecx
add eax, ecx
push eax
call fcn.004ae080
add esp, 0xc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
test edx, edx
je 0x411f3d
mov ecx, dword [esi]
test ecx, ecx
je 0x411ed7
cmp dword [ecx + 0x1d0], 0
je 0x411eab
call fcn.0040ffa0
jmp 0x411f37
cmp edx, dword [ecx + 0x128]
jb 0x411ed7
cmp edx, dword [ecx + 0x12c]
jae 0x411ed7
mov eax, dword [ecx + 0x124]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x124], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
jmp 0x411f37
cmp dword [0x4d9a98], 0
je 0x411f2d
mov eax, dword [0x4defd8]
test eax, eax
je 0x411ef7
push eax
call dword [0x4d9af4]
mov edx, dword [esp + 0x74]
add esp, 4
push edx
call dword [0x4d9ad0]
mov ecx, dword [esp + 0x74]
add esp, 4
sub dword [0x4dede0], eax
dec dword [0x4dee04]
push ecx
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x411f37
push eax
call dword [0x4d9afc]
jmp 0x411f34
push edx
call dword [0x4d9ac8]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x50]
inc edx
movsx eax, byte [edx]
test eax, eax
je case.default.0x410d39
mov ecx, dword [esp + 0x1c]
jmp 0x410980
mov byte [esi + 0x14], 1
mov dword [esi + 8], 0
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 8]
jb 0x411f9f
push 1
mov edx, 0x4d1c9c
mov ecx, esi
call fcn.00412200
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov dword [esi + 0x10], edx
mov byte [eax + edx - 1], 0x25
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret