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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
mov edx, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
test byte [edx + 0x15], 2
push edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], ecx
je 0x10234fc9
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x17], 1
jmp 0x10234fcd
mov byte [esp + 0x17], cl
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0xc]
movsx eax, byte [esi]
test eax, eax
je case.default.0x10235365
movsd xmm0, qword [0x10282cd0]
movsd qword [esp + 0xd0], xmm0
xorps xmm0, xmm0
movsd xmm5, qword [0x102822f8]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [0x102821e8]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [0x102821e0]
movsd qword [esp + 0xe8], xmm0
movsd xmm0, qword [0x10282298]
movsd qword [esp + 0xf0], xmm0
movsd xmm0, qword [0x102824a8]
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [0x10282458]
movsd qword [esp + 0x100], xmm0
movsd xmm0, qword [0x102821f0]
movsd qword [esp + 0x108], xmm0
movsd xmm0, qword [0x10282430]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x10282260]
movsd qword [esp + 0x78], xmm5
movsd qword [esp + 0x118], xmm0
cmp eax, 0x25
je 0x102350f1
mov ecx, esi
mov dword [esp + 0x18], ecx
nop dword [eax]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x102350ac
cmp al, 0x25
jne 0x102350a0
mov eax, dword [ebp + 8]
mov edx, esi
sub edx, ecx
mov edi, dword [eax + 0x10]
add edi, edx
cmp edi, dword [eax + 8]
jb 0x102350cc
push edx
mov edx, ecx
mov ecx, eax
call fcn.10234d70
add esp, 4
jmp 0x102350e5
test edx, edx
je 0x102350e5
mov dword [eax + 0x10], edi
mov eax, dword [eax + 4]
push edx
sub eax, edx
push ecx
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [esi], 0
je case.default.0x10235365
mov edx, dword [ebp + 8]
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x10236660
or edi, 0xffffffff
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x37], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x28], edi
lea eax, [ecx - 0x20]
cmp eax, 0x4c
ja case.0x10235147.34
movzx eax, byte [eax + 0x102366cc]
jmp dword [eax*4 + 0x1023669c]
mov byte [esp + 0x14], 1
jmp 0x102352db
mov byte [esp + 0x16], 0x2b
jmp 0x102352db
mov byte [esp + 0x16], 0x20
jmp 0x102352db
mov byte [esp + 0x37], 1
jmp 0x102352db
mov byte [esp + 0x1c], 1
jmp 0x102352db
mov byte [esp + 0x1d], 1
jmp 0x102352db
mov byte [esp + 0x1f], 0x2c
jmp 0x102352db
inc esi
lea edx, [ecx - 0x30]
mov dword [esp + 0x3c], esi
movsx ecx, byte [esi]
cmp ecx, 0x30
jl 0x102351bf
cmp ecx, 0x39
jg 0x102351bb
lea edx, [edx + edx*4]
inc esi
lea edx, [edx - 0x18]
lea edx, [ecx + edx*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x102351a4
mov dword [esp + 0x3c], esi
and edx, 0x7fffffff
mov dword [esp + 0x24], edx
cmp ecx, 0x2e
je 0x102352da
jmp 0x102352d5
cmp byte [esp + 0x17], 0
je 0x102351e9
mov ecx, dword [esp + 0x40]
call fcn.102368b0
jmp 0x102351f7
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x24], eax
test eax, eax
jns 0x1023521b
mov byte [esp + 0x14], 1
cmp eax, reloc.WS2_32.dll_accept
jl 0x10235213
neg eax
mov dword [esp + 0x24], eax
jmp 0x1023521b
mov dword [esp + 0x24], 0
mov al, byte [esi + 1]
lea edx, [esi + 1]
movsx ecx, al
cmp al, 0x2e
je 0x102352db
cmp al, 0x6c
je 0x102352db
mov dword [esp + 0x3c], edx
jmp case.0x10235147.34
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x3c], esi
cmp ecx, 0x2a
jne 0x102352a4
cmp byte [esp + 0x17], 0
je 0x10235263
mov ecx, dword [esp + 0x40]
call fcn.102368b0
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x10235275
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
mov edi, dword [eax - 4]
mov dword [esp + 0x28], edi
test edi, edi
jns 0x10235299
cmp edi, reloc.WS2_32.dll_accept
jl 0x10235292
movsx ecx, byte [esi + 1]
neg edi
inc esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], esi
jmp 0x102352d5
or edi, 0xffffffff
mov dword [esp + 0x28], edi
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x3c], esi
jmp 0x102352d5
xor edi, edi
cmp ecx, 0x30
jl 0x102352cb
nop dword [eax + eax]
cmp ecx, 0x39
jg 0x102352c7
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x102352b0
mov dword [esp + 0x3c], esi
and edi, 0x7fffffff
mov dword [esp + 0x28], edi
cmp ecx, 0x6c
jne case.0x10235147.34
dec esi
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x3c], esi
test ecx, ecx
jne 0x10235134
jmp case.0x10235147.34
movsx ecx, byte [esi + 1]
inc esi
mov byte [esp + 0x1e], 1
mov dword [esp + 0x3c], esi
cmp ecx, 0x6c
jne case.0x10235147.34
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x1e], 2
mov dword [esp + 0x44], 0x102600f0
xor esi, esi
mov byte [esp + 0x15], 0x11
mov edx, 0x102600f0
movsx eax, byte [edx]
cmp ecx, eax
je 0x10235340
add edx, 6
inc esi
cmp edx, 0x1026017a
jl 0x10235323
mov cl, byte [esp + 0x15]
mov edx, dword [esp + 0x44]
jmp 0x10235359
lea eax, [esi + esi*2]
mov cl, byte [eax*2 + 0x102600f3]
lea edx, [eax*2 + 0x102600f0]
mov dword [esp + 0x44], edx
mov byte [esp + 0x15], cl
movzx eax, cl
cmp eax, 0x10
ja case.default.0x10235365
jmp dword [eax*4 + 0x1023671c]
mov al, 1
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0
test byte [edx + 2], 1
je 0x102353d1
cmp byte [esp + 0x17], 0
je 0x1023538f
mov ecx, dword [esp + 0x40]
call fcn.102368b0
jmp 0x102353b3
mov al, byte [esp + 0x1e]
mov esi, dword [esp + 0x20]
test al, al
je 0x102353a9
cmp al, 2
jne 0x102353a9
mov eax, dword [esi]
add esi, 8
mov edx, dword [esi - 4]
jmp 0x102353af
mov eax, dword [esi]
add esi, 4
cdq
mov dword [esp + 0x20], esi
test edx, edx
jg 0x102353cb
jl 0x102353bd
test eax, eax
jae 0x102353cb
not eax
not edx
add eax, 1
mov cl, 0x2d
adc edx, 0
jmp 0x1023540a
mov cl, byte [esp + 0x16]
jmp 0x1023540e
cmp byte [esp + 0x17], 0
je 0x102353e3
mov ecx, dword [esp + 0x40]
call fcn.102368b0
jmp 0x10235408
mov al, byte [esp + 0x1e]
mov esi, dword [esp + 0x20]
test al, al
je 0x102353fd
cmp al, 2
jne 0x102353fd
mov eax, dword [esi]
add esi, 8
mov edx, dword [esi - 4]
jmp 0x10235404
mov eax, dword [esi]
add esi, 4
xor edx, edx
mov dword [esp + 0x20], esi
xor cl, cl
mov byte [esp + 0x16], cl
mov dword [esp + 0x30], eax
or eax, edx
mov dword [esp + 0x50], edx
jne 0x1023541e
mov byte [esp + 0x37], al
cmp byte [esp + 0x1d], 0
je 0x1023543b
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x24]
setne al
sub ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov dword [esp + 0x28], edi
cmp edi, 0x25
jge 0x10235456
mov esi, 0x46
lea eax, [esp + 0x88]
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], eax
jmp 0x102354a8
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
add esi, 0xa
mov dword [esp + 0x38], esi
adc ecx, 0
cmp byte [esp + 0x1f], 0
je 0x10235485
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
add esi, eax
mov dword [esp + 0x38], esi
adc ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.10236760
mov ecx, eax
mov dword [esp + 0x34], eax
add esp, 8
mov dword [esp + 0x5c], ecx
test ecx, ecx
je case.default.0x10235365
mov edx, dword [esp + 0x50]
dec esi
add esi, eax
cmp byte [esp + 0x15], 0xf
mov dword [esp + 0x18], esi
jne 0x10235517
push 0
push 0xa
push edx
push dword [esp + 0x3c]
call fcn.102471a0
mov dword [esp + 0x48], eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x30]
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, 4
jge 0x102354f3
push 0
push 0xa
push edx
push dword [esp + 0x54]
call fcn.102472b0
cmp eax, 1
jne 0x102354f7
test edx, edx
jne 0x102354f7
xor ecx, ecx
jmp 0x102354fb
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx*2 + 0x102609f1]
mov byte [esi - 1], al
sub esi, 2
movzx eax, byte [ecx*2 + str.thstndrd]
mov dword [esp + 0x18], esi
mov byte [esi], al
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x60], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], eax
push eax
push ecx
push edx
push esi
dec edi
call fcn.10247210
mov dword [esp + 0x54], ebx
mov esi, eax
mov eax, dword [esp + 0x60]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x48]
mov byte [edi], al
mov eax, dword [esp + 0x74]
test edx, edx
ja 0x10235545
jb 0x10235570
test esi, esi
jne 0x10235545
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
sub eax, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea ecx, [esi - 1]
add ecx, eax
cmp ecx, edi
jge 0x102355a2
mov eax, edi
sub eax, ecx
mov ecx, edi
dec edx
mov byte [edx], 0x30
sub eax, 1
jne 0x10235595
mov dword [esp + 0x18], edx
cmp byte [esp + 0x1f], 0
je 0x102355f5
lea eax, [ecx - 1]
mov ecx, 3
cdq
idiv ecx
xor ecx, ecx
mov esi, eax
lea edi, [edx + 1]
mov edx, dword [esp + 0x18]
sub edx, esi
mov dword [esp + 0x18], edx
test esi, esi
jle 0x102355f1
nop dword [eax]
lea eax, [esi + ecx]
mov al, byte [eax + edx]
mov byte [ecx + edx], al
sub edi, 1
jne 0x102355ec
mov al, byte [esp + 0x1f]
inc ecx
dec esi
mov edi, 3
mov byte [ecx + edx], al
inc ecx
test esi, esi
jg 0x102355d0
mov esi, dword [esp + 0x38]
mov cl, byte [esp + 0x16]
test cl, cl
je 0x10235604
dec edx
mov dword [esp + 0x18], edx
mov byte [edx], cl
cmp byte [esp + 0x37], 0
je 0x10235634
mov eax, dword [esp + 0x44]
mov al, byte [eax + 5]
test al, al
je 0x10235634
movzx eax, al
add eax, 0x1025b6a0
mov cl, byte [eax]
test cl, cl
je 0x10235634
dec edx
lea eax, [eax + 1]
mov byte [edx], cl
mov cl, byte [eax]
test cl, cl
jne 0x10235624
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x2c]
sub eax, edx
dec eax
add esi, eax
mov edi, dword [esp + 0x24]
jmp 0x10236458
cmp byte [esp + 0x17], 0
je 0x102356d8
mov esi, dword [esp + 0x40]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x1023566a
movsd xmm1, qword [esp + 0x80]
jmp 0x102356e8
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
movzx eax, word [ecx + 0x10]
test al, 8
je 0x1023568e
movsd xmm1, qword [ecx]
mov cl, byte [esp + 0x15]
movsd qword [esp + 0x60], xmm1
jmp 0x102356ee
test al, 0x24
je 0x102356ab
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.102476a0
mov cl, byte [esp + 0x15]
movaps xmm1, xmm0
movsd qword [esp + 0x60], xmm1
jmp 0x102356ee
test al, 0x12
je 0x102356c3
call fcn.10212420
mov cl, byte [esp + 0x15]
movaps xmm1, xmm0
movsd qword [esp + 0x60], xmm0
jmp 0x102356ee
movsd xmm1, qword [esp + 0x80]
mov cl, byte [esp + 0x15]
movsd qword [esp + 0x60], xmm1
jmp 0x102356ee
mov esi, dword [esp + 0x20]
add esi, 8
mov dword [esp + 0x20], esi
movsd xmm1, qword [esi - 8]
movsd qword [esp + 0x60], xmm1
test edi, edi
jns 0x102356f9
mov edi, 6
jmp 0x10235707
cmp edi, 0x5f5e100
mov eax, 0x5f5e100
cmovg edi, eax
movsd xmm2, qword [esp + 0x80]
comisd xmm2, xmm1
mov dword [esp + 0x28], edi
jbe 0x1023572d
xorps xmm1, xmmword [esp + 0xd0]
movsd qword [esp + 0x60], xmm1
mov byte [esp + 0x16], 0x2d
cmp cl, 3
jne 0x1023573b
test edi, edi
jle 0x1023573b
dec edi
mov dword [esp + 0x28], edi
mov esi, edi
mov eax, 0xcccccccd
and esi, 0xfff
mul esi
mov eax, esi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
movsd xmm3, qword [eax*8 + 0x10260e10]
cmp esi, 0xa
jb 0x10235779
movsd xmm0, qword [esp + 0xe0]
nop dword [eax]
mulsd xmm3, xmm0
sub edx, 1
jne 0x10235770
mov dl, byte [esp + 0x15]
cmp dl, 1
jne 0x102357d7
movsd qword [esp + 0x60], xmm1
mov eax, 0x55555556
mov ecx, dword [esp + 0x64]
shr ecx, 0x14
and ecx, 0x7ff
sub ecx, 0x3ff
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
cmp eax, 0xf
jge 0x102357c3
movaps xmm0, xmm1
mulsd xmm0, qword [esp + 0xe8]
addsd xmm0, xmm3
movaps xmm3, xmm0
mov dl, byte [esp + 0x15]
movaps xmm0, xmm3
addsd xmm0, xmm1
movaps xmm1, xmm0
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x48], xmm1
xor edi, edi
mov ecx, dword [esp + 0x4c]
mov eax, ecx
and eax, 0x7ff00000
mov dword [esp + 0x30], edi
cmp eax, 0x7ff00000
jne 0x10235818
mov eax, dword [esp + 0x48]
and ecx, 0xfffff
or eax, ecx
je 0x10235818
mov edx, 0x1027ac44
lea esi, [edi + 3]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jmp 0x10236458
comisd xmm1, xmm2
jbe 0x10235951
movsd xmm4, qword [esp + 0xf8]
comisd xmm1, xmm4
movsd xmm5, qword [esp + 0xf0]
movaps xmm2, xmm5
jb 0x10235860
nop dword [eax]
cmp edi, 0x15e
jg 0x1023585c
mulsd xmm2, xmm4
add edi, 0x64
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x10235840
mov dword [esp + 0x30], edi
movsd xmm4, qword [esp + 0x100]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x10235892
cmp edi, 0x15e
jg 0x1023588e
movaps xmm2, xmm0
add edi, 0xa
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x10235876
mov dword [esp + 0x30], edi
movsd xmm4, qword [esp + 0x78]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x102358bf
cmp edi, 0x15e
jg 0x102358bb
movaps xmm2, xmm0
inc edi
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x102358a5
mov dword [esp + 0x30], edi
divsd xmm1, xmm2
movsd xmm0, qword [esp + 0x108]
comisd xmm0, xmm1
movsd qword [esp + 0x60], xmm1
jbe 0x102358f8
movsd xmm2, qword [esp + 0x110]
mulsd xmm1, xmm2
sub edi, 8
comisd xmm0, xmm1
ja 0x102358e1
mov dword [esp + 0x30], edi
movsd qword [esp + 0x60], xmm1
comisd xmm5, xmm1
jbe 0x10235915
nop
mulsd xmm1, xmm4
dec edi
comisd xmm5, xmm1
ja 0x10235900
mov dword [esp + 0x30], edi
movsd qword [esp + 0x60], xmm1
cmp edi, 0x15e
jle 0x10235957
mov cl, byte [esp + 0x16]
lea edx, [esp + 0x88]
mov edi, dword [esp + 0x24]
xor eax, eax
test cl, cl
mov byte [esp + 0x88], cl
mov dword [esp + 0x18], edx
setne al
mov dword [esp + eax + 0x88], 0x666e49
lea esi, [eax + 3]
jmp 0x10236458
movsd xmm4, qword [esp + 0x78]
lea esi, [esp + 0x88]
cmp dl, 1
je 0x10235987
addsd xmm1, xmm3
comisd xmm1, xmm4
movsd qword [esp + 0x60], xmm1
jb 0x10235987
mulsd xmm1, qword [esp + 0x118]
inc edi
mov dword [esp + 0x30], edi
movsd qword [esp + 0x60], xmm1
cmp dl, 3
jne 0x102359b9
cmp byte [esp + 0x37], 0
sete byte [esp + 0x1f]
cmp edi, 0xfffffffc
jl 0x102359b1
mov ecx, dword [esp + 0x28]
cmp edi, ecx
jg 0x102359b1
sub ecx, edi
mov dl, 1
mov dword [esp + 0x28], ecx
mov byte [esp + 0x15], dl
jmp 0x102359c1
mov dl, 2
mov byte [esp + 0x15], dl
jmp 0x102359c1
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1f], al
xor ecx, ecx
cmp dl, 2
cmovne ecx, edi
xor eax, eax
test ecx, ecx
mov dword [esp + 0x2c], ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x28]
cdq
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x50], edx
cdq
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
adc dword [esp + 0x50], edx
cdq
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
adc dword [esp + 0x50], edx
add eax, 0xf
mov edx, dword [esp + 0x50]
adc edx, 0
js 0x10235a31
jg 0x10235a10
cmp eax, 0x46
jbe 0x10235a31
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.10236760
mov ecx, eax
add esp, 8
mov dword [esp + 0x5c], ecx
mov esi, ecx
test ecx, ecx
je case.default.0x10235365
mov ecx, dword [esp + 0x28]
movzx eax, byte [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x18], esi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x1c]
or al, byte [esp + 0x37]
mov byte [esp + 0x1e], al
mov al, byte [esp + 0x16]
mov dword [esp + 0x48], edx
test al, al
je 0x10235a64
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x2c]
movsd xmm1, qword [esp + 0x60]
movsd xmm5, qword [esp + 0x78]
test eax, eax
jns 0x10235a7e
mov byte [esi], 0x30
inc esi
jmp 0x10235ab5
mov dword [esp + 0x2c], eax
test edx, edx
jg 0x10235a8a
mov al, 0x30
jmp 0x10235aa1
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 + 0x2c]
sub eax, 1
mov dword [esp + 0x2c], eax
jns 0x10235a82
mov dword [esp + 0x48], edx
cmp byte [esp + 0x1e], 0
je 0x10235ac0
mov byte [esi], 0x2e
inc esi
inc eax
mov edi, eax
neg edi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x30]
test eax, eax
jns 0x10235baa
cmp dword [esp + 0x2c], 8
jb 0x10235b77
mov edi, dword [esp + 0x2c]
and edi, reloc.OLEAUT32.dll_VariantInit
jns 0x10235af1
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [str.0000000000000000]
neg edi
movaps xmm4, xmmword [0x10282b70]
xorps xmm2, xmm2
mov dword [esp + 0x2c], edi
xorps xmm3, xmm3
mov edi, dword [esp + 0x30]
movaps xmmword [esp + 0x60], xmm0
nop dword [eax]
nop dword [eax + eax]
movd xmm0, dword [esp + 0x60]
add eax, 8
movd dword [esi], xmm0
psubd xmm2, xmm4
movd xmm0, dword [esp + 0x60]
psubd xmm3, xmm4
movd dword [esi + 4], xmm0
add esi, 8
cmp eax, dword [esp + 0x2c]
jl 0x10235b20
paddd xmm2, xmm3
mov dword [esp + 0x2c], eax
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
test eax, eax
jns 0x10235baa
neg eax
mov edi, esi
mov ecx, eax
mov dword [esp + 0x2c], 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 + 0x28]
mov eax, edx
mov edi, dword [esp + 0x30]
add esi, eax
mov edx, dword [esp + 0x48]
sub ecx, eax
test ecx, ecx
jle 0x10235bd7
nop
dec ecx
test edx, edx
jg 0x10235bb9
mov al, 0x30
jmp 0x10235bd0
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 0x10235bb0
cmp byte [esp + 0x1f], 0
je 0x10235c14
cmp byte [esp + 0x1e], 0
je 0x10235c14
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x10235bfd
nop
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10235bf0
cmp byte [esi - 1], 0x2e
jne 0x10235c14
cmp byte [esp + 0x1c], 0
je 0x10235c10
mov byte [esi], 0x30
inc esi
jmp 0x10235c14
dec esi
mov byte [esi], 0
cmp byte [esp + 0x15], 2
jne 0x10235caf
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
lea eax, [esi + 2]
mov dword [esp + 0x48], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
test edi, edi
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x2c]
sets cl
lea ecx, [ecx*2 + 0x2b]
mov byte [esi + 1], cl
mov esi, dword [esp + 0x48]
cmp eax, 0x64
jl 0x10235c81
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
lea eax, [ecx + 0x30]
mov byte [edx], al
lea esi, [edx + 1]
imul eax, ecx, 0x64
sub edi, eax
mov dword [esp + 0x2c], edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + 0x30]
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x2c]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x14]
mov edi, dword [esp + 0x24]
mov byte [esi], 0
sub esi, edx
cmp byte [esp + 0x1d], 0
je 0x1023645c
test cl, cl
jne 0x1023645c
cmp esi, edi
jge 0x1023645c
mov ecx, dword [esp + 0x24]
sub edi, esi
mov dword [esp + 0x60], edi
cmp ecx, edi
jl 0x10235cfb
mov esi, edx
sub esi, edi
nop dword [eax]
mov al, byte [ecx + esi]
mov byte [ecx + edx], al
dec ecx
cmp ecx, edi
jge 0x10235cf0
mov cl, byte [esp + 0x16]
xor eax, eax
test cl, cl
setne al
test edi, edi
je 0x10235d28
mov ecx, dword [esp + 0x60]
lea edi, [eax + edx]
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
mov esi, edi
jmp 0x10236458
cmp byte [esp + 0x17], 0
jne 0x10236450
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
add esi, 4
mov dword [esp + 0x20], esi
mov ecx, dword [esi - 4]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
jmp 0x10236450
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x88]
mov byte [esp + 0x88], 0x25
mov esi, 1
mov dword [esp + 0x18], edx
jmp 0x10236458
cmp byte [esp + 0x17], 0
je 0x10235de7
mov ecx, dword [esp + 0x40]
call fcn.10236810
mov edx, eax
mov esi, 1
mov dword [esp + 0x28], esi
test edx, edx
je 0x10235dda
mov cl, byte [edx]
inc edx
mov byte [esp + 0x88], cl
movsx ecx, cl
and ecx, 0xc0
cmp cl, 0xc0
jne 0x10235eb2
mov cl, byte [edx]
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x10235eb2
mov byte [esp + esi + 0x88], cl
inc edx
inc esi
mov dword [esp + 0x28], esi
cmp esi, 4
jl 0x10235db5
jmp 0x10235eb2
mov byte [esp + 0x88], 0
jmp 0x10235eb2
mov esi, dword [esp + 0x20]
add esi, 4
mov dword [esp + 0x20], esi
mov ecx, dword [esi - 4]
cmp ecx, 0x80
jae 0x10235e07
mov esi, 1
jmp 0x10235ea7
cmp ecx, 0x800
jae 0x10235e33
mov eax, ecx
mov esi, 2
shr eax, 6
and cl, 0x3f
and al, 0x1f
sub al, 0x40
add cl, 0x80
mov byte [esp + 0x88], al
mov byte [esp + 0x89], cl
jmp 0x10235eae
mov al, cl
mov edx, ecx
and al, 0x3f
shr edx, 6
add al, 0x80
and dl, 0x3f
mov byte [esp + 0x1d], al
mov eax, ecx
shr eax, 0xc
cmp ecx, 0x10000
jae 0x10235e79
and al, 0xf
mov esi, 3
sub al, 0x20
add dl, 0x80
mov byte [esp + 0x88], al
mov al, byte [esp + 0x1d]
mov byte [esp + 0x89], dl
mov byte [esp + 0x8a], al
jmp 0x10235eae
shr ecx, 0x12
and al, 0x3f
add al, 0x80
and cl, 7
sub cl, 0x10
mov byte [esp + 0x89], al
mov al, byte [esp + 0x1d]
add dl, 0x80
mov byte [esp + 0x8a], dl
mov esi, 4
mov byte [esp + 0x8b], al
mov byte [esp + 0x88], cl
mov dword [esp + 0x28], esi
cmp edi, 1
jle 0x10235f39
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, 1
jle 0x10235eeb
cmp byte [esp + 0x14], 0
jne 0x10235eeb
push 0x20
push eax
mov eax, dword [ebp + 8]
push eax
call sym.WMCommon.dll_sqlite3_str_appendchar
add esp, 0xc
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
dec edi
nop
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
add ecx, esi
cmp ecx, dword [eax + 8]
jb 0x10235f11
push esi
lea edx, [esp + 0x8c]
mov ecx, eax
call fcn.10234d70
add esp, 4
jmp 0x10235f31
test esi, esi
je 0x10235f34
mov dword [eax + 0x10], ecx
lea edx, [esp + 0x88]
mov eax, dword [eax + 4]
push esi
sub eax, esi
push edx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
sub edi, 1
jne 0x10235ef0
lea edx, [esp + 0x88]
mov dword [esp + 0x18], edx
jmp 0x10236270
cmp byte [esp + 0x17], 0
je 0x10235f63
mov ecx, dword [esp + 0x40]
call fcn.10236810
mov edx, eax
mov dword [esp + 0x18], eax
mov cl, 5
jmp 0x10235f75
mov esi, dword [esp + 0x20]
add esi, 4
mov dword [esp + 0x20], esi
mov edx, dword [esi - 4]
mov dword [esp + 0x18], edx
test edx, edx
jne 0x10235f84
mov edx, 0x10265063
mov dword [esp + 0x18], edx
jmp 0x10235fee
cmp cl, 6
jne 0x10235fee
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x10235fe8
cmp dword [esi + 0xc], 0
je 0x10235fe8
cmp dword [esp + 0x24], 0
jne 0x10235fe8
test edi, edi
jns 0x10235fe8
cmp byte [esi + 0x14], 0
jne 0x10235fe8
mov ecx, dword [esi]
mov dword [esi + 4], edx
call fcn.102372b0
mov edx, dword [esp + 0x18]
mov ecx, edx
mov dword [esi + 8], eax
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10235fc0
mov eax, dword [ebp + 8]
sub ecx, esi
mov edi, dword [esp + 0x24]
and ecx, 0x7fffffff
or byte [eax + 0x15], 4
xor esi, esi
mov dword [eax + 0x10], ecx
mov cl, byte [esp + 0x14]
jmp 0x1023645f
mov ecx, edx
mov dword [esp + 0x5c], ecx
test edi, edi
js 0x10236058
cmp byte [esp + 0x1c], 0
je 0x1023602d
mov esi, edx
test edi, edi
jle 0x10236022
nop
mov al, byte [esi]
dec edi
test al, al
je 0x10236022
inc esi
cmp al, 0xc0
jb 0x1023601e
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x1023601e
mov al, byte [esi + 1]
inc esi
and al, 0xc0
cmp al, 0x80
je 0x10236014
test edi, edi
jg 0x10236000
sub esi, edx
mov dword [esp + 0x28], esi
jmp 0x10236265
xor esi, esi
test edi, edi
jle 0x1023563d
nop word [eax + eax]
cmp byte [esi + edx], 0
je 0x1023563d
inc esi
cmp esi, edi
jl 0x10236040
mov edi, dword [esp + 0x24]
jmp 0x10236458
mov esi, edx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10236060
sub esi, ecx
and esi, 0x7fffffff
mov dword [esp + 0x28], esi
jmp 0x10236265
cmp cl, 0xe
mov eax, 0x27
mov edx, 0x22
cmove eax, edx
cmp byte [esp + 0x17], 0
mov dword [esp + 0x2c], eax
je 0x10236114
mov esi, dword [esp + 0x40]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x102360af
mov dword [esp + 0x48], 0
jmp 0x1023612e
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x102360cb
mov cl, byte [esp + 0x15]
xor edx, edx
mov dword [esp + 0x30], edx
jmp 0x10236126
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x102360f0
cmp byte [ecx + 0x12], 1
jne 0x102360f0
mov edx, dword [ecx + 8]
mov cl, byte [esp + 0x15]
mov dword [esp + 0x30], edx
jmp 0x10236126
test dl, 1
je 0x10236101
mov cl, byte [esp + 0x15]
xor edx, edx
mov dword [esp + 0x30], edx
jmp 0x10236126
mov dl, 1
call fcn.10211760
mov cl, byte [esp + 0x15]
mov edx, eax
mov dword [esp + 0x30], eax
jmp 0x10236126
mov esi, dword [esp + 0x20]
add esi, 4
mov dword [esp + 0x20], esi
mov edx, dword [esi - 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], edx
test edx, edx
jne 0x10236142
cmp cl, 0xa
mov edx, str.NULL
mov eax, str._NULL_
cmovne edx, eax
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x28]
xor esi, esi
xor edi, edi
test ecx, ecx
je 0x102361a1
nop
mov al, byte [edi + edx]
mov byte [esp + 0x1d], al
test al, al
je 0x102361a1
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
cmp byte [esp + 0x1d], dl
mov edx, dword [esp + 0x30]
cmovne eax, esi
cmp byte [esp + 0x1c], 0
mov esi, eax
je 0x1023619b
mov al, byte [esp + 0x1d]
and al, 0xc0
cmp al, 0xc0
jne 0x1023619b
mov al, byte [edx + edi + 1]
and al, 0xc0
cmp al, 0x80
jne 0x1023619b
nop word [eax + eax]
mov al, byte [edx + edi + 2]
inc edi
and al, 0xc0
cmp al, 0x80
je 0x10236190
inc edi
sub ecx, 1
jne 0x10236150
cmp dword [esp + 0x48], 0
je 0x102361b7
cmp byte [esp + 0x15], 0xa
mov dword [esp + 0x44], 1
je 0x102361bf
mov dword [esp + 0x44], 0
lea eax, [edi + 3]
add eax, esi
cmp eax, 0x46
jle 0x102361eb
mov ecx, dword [ebp + 8]
cdq
push edx
push eax
call fcn.10236760
mov ecx, eax
add esp, 8
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
je case.default.0x10235365
jmp 0x102361f6
lea eax, [esp + 0x88]
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x28], esi
cmp dword [esp + 0x44], esi
je 0x10236211
mov ecx, dword [esp + 0x2c]
mov esi, 1
mov byte [eax], cl
mov dword [esp + 0x28], esi
xor edx, edx
test edi, edi
jle 0x1023624a
mov eax, dword [esp + 0x30]
nop dword [eax + eax]
mov cl, byte [edx + eax]
mov eax, dword [esp + 0x18]
mov byte [esi + eax], cl
inc esi
mov eax, dword [esp + 0x30]
cmp cl, byte [esp + 0x2c]
jne 0x10236241
mov eax, dword [esp + 0x18]
mov byte [esi + eax], cl
inc esi
mov eax, dword [esp + 0x30]
inc edx
cmp edx, edi
jl 0x10236220
mov dword [esp + 0x28], esi
cmp dword [esp + 0x44], 0
mov edx, dword [esp + 0x18]
je 0x10236261
mov eax, dword [esp + 0x2c]
mov byte [esi + edx], al
inc esi
mov dword [esp + 0x28], esi
mov byte [esi + edx], 0
cmp byte [esp + 0x1c], 0
je 0x1023563d
mov edi, dword [esp + 0x24]
test edi, edi
jle 0x10236458
lea edx, [esi - 1]
test edx, edx
js 0x10236454
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
lea eax, [edx + esi]
mov al, byte [eax]
lea ecx, [edi + 1]
and al, 0xc0
cmp al, 0x80
cmovne ecx, edi
sub edx, 1
mov edi, ecx
jns 0x10236290
mov esi, dword [esp + 0x28]
jmp 0x10236454
mov eax, dword [ebp + 8]
test byte [eax + 0x15], 1
je case.default.0x10235365
mov esi, dword [esp + 0x20]
add esi, 4
cmp byte [esp + 0x37], 0
mov dword [esp + 0x20], esi
je 0x1023630a
mov esi, dword [esi - 4]
test esi, esi
je 0x102362f9
test dword [esi + 4], 0x800
jne 0x102362f9
push dword [esi + 8]
push eax
call sym.WMCommon.dll_sqlite3_str_appendall
mov eax, dword [ebp + 8]
add esp, 8
mov edx, esi
mov ecx, dword [eax]
call fcn.10234f20
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
xor edi, edi
mov cl, byte [esp + 0x14]
xor esi, esi
jmp 0x1023645f
mov edi, dword [esi - 4]
test edi, edi
je 0x102362f9
mov eax, dword [edi + 4]
test eax, eax
je 0x102362f6
mov esi, dword [ebp + 8]
push eax
push dword [edi]
push esi
call sym.WMCommon.dll_sqlite3_str_append
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x60], eax
test eax, eax
je 0x10236383
cmp dword [eax + 0x44], 0xfffffffe
jne 0x10236383
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x10236383
mov esi, dword [eax + 0xe8]
test esi, esi
je 0x102362f6
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10236350
sub ecx, edx
mov edx, dword [edi]
cmp edx, esi
jb 0x102362f6
lea eax, [esi + ecx]
cmp edx, eax
jae 0x102362f6
mov eax, dword [esp + 0x60]
sub edx, esi
mov cl, byte [esp + 0x14]
xor edi, edi
xor esi, esi
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
jmp 0x1023645f
mov edx, dword [esp + 0x18]
mov eax, esi
mov cl, byte [esp + 0x14]
xor edi, edi
xor esi, esi
jmp 0x1023645f
mov edi, dword [ebp + 8]
test byte [edi + 0x15], 1
je case.default.0x10235365
mov esi, dword [esp + 0x20]
add esi, 4
mov dword [esp + 0x20], esi
mov esi, dword [esi - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x102363bf
cmp byte [esp + 0x1c], 0
je 0x1023641f
cmp dword [esi + 8], 0
je 0x1023641b
mov eax, dword [esi + 4]
test eax, eax
je 0x1023640d
push eax
push edi
call sym.WMCommon.dll_sqlite3_str_appendall
mov edx, dword [edi + 0x10]
add esp, 8
inc edx
cmp edx, dword [edi + 8]
jb 0x102363fe
push 1
mov edx, 0x1027174c
mov ecx, edi
call fcn.10234d70
add esp, 4
push dword [esi + 8]
push edi
call sym.WMCommon.dll_sqlite3_str_appendall
add esp, 8
jmp 0x10236450
mov ecx, dword [edi + 4]
mov dword [edi + 0x10], edx
mov al, byte [0x1027174c]
mov byte [ecx + edx - 1], al
push dword [esi + 8]
push edi
call sym.WMCommon.dll_sqlite3_str_appendall
add esp, 8
jmp 0x10236450
test eax, eax
je 0x1023642b
push eax
push edi
call sym.WMCommon.dll_sqlite3_str_appendall
add esp, 8
jmp 0x10236450
mov eax, dword [esi + 0x14]
test dword [eax + 4], 0x800
mov ecx, dword [eax + 0x10]
push ecx
je 0x10236442
push str._join__u_
jmp 0x10236447
push str._subquery__u_
push edi
call sym.WMCommon.dll_sqlite3_str_appendf
add esp, 0xc
xor edi, edi
xor esi, esi
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x14]
mov eax, dword [ebp + 8]
sub edi, esi
mov dword [esp + 0x24], edi
test edi, edi
jle 0x10236549
test cl, cl
jne 0x102364c0
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, edi
cdq
add dword [esp + 0x2c], eax
adc ecx, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
js 0x102364a8
jg 0x10236493
cmp dword [esp + 0x2c], eax
jb 0x102364a8
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
call fcn.10234df0
mov edx, dword [ebp + 8]
mov edi, eax
test edi, edi
jle 0x102364ba
mov ecx, dword [edx + 0x10]
dec edi
mov eax, dword [edx + 4]
mov byte [ecx + eax], 0x20
inc dword [edx + 0x10]
test edi, edi
jg 0x102364a8
mov edi, dword [esp + 0x24]
jmp 0x102364c3
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
add ecx, esi
cmp ecx, dword [edx + 8]
jb 0x102364df
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
push esi
call fcn.10234d70
add esp, 4
jmp 0x102364fb
test esi, esi
je 0x102364fe
mov eax, dword [edx + 4]
push esi
push dword [esp + 0x1c]
sub eax, esi
mov dword [edx + 0x10], ecx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 8]
cmp byte [esp + 0x14], 0
je 0x10236561
mov esi, dword [edx + 0x10]
mov eax, edi
cdq
xor ecx, ecx
add esi, eax
adc ecx, edx
js 0x10236532
jg 0x1023651d
mov edx, dword [ebp + 8]
cmp esi, dword [edx + 8]
jb 0x10236535
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.10234df0
mov edx, dword [ebp + 8]
mov edi, eax
test edi, edi
jle 0x10236586
jmp 0x10236535
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
dec edi
mov eax, dword [edx + 4]
mov byte [ecx + eax], 0x20
inc dword [edx + 0x10]
test edi, edi
jg 0x10236535
jmp 0x10236586
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
add ecx, esi
cmp ecx, dword [eax + 8]
jb 0x10236566
push esi
mov ecx, eax
call fcn.10234d70
add esp, 4
mov edx, dword [ebp + 8]
jmp 0x10236586
test esi, esi
je 0x10236584
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
push esi
sub eax, esi
push edx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x10236586
mov edx, eax
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x10236649
mov ecx, dword [edx]
test ecx, ecx
je 0x102365e8
cmp dword [ecx + 0x210], 0
je 0x102365ad
mov edx, edi
call fcn.10237240
jmp 0x10236640
cmp edi, dword [ecx + 0x164]
jae 0x102365e8
cmp edi, dword [ecx + 0x15c]
jb 0x102365d0
mov eax, dword [ecx + 0x158]
mov dword [edi], eax
mov dword [ecx + 0x158], edi
jmp 0x10236643
cmp edi, dword [ecx + 0x160]
jb 0x102365e8
mov eax, dword [ecx + 0x150]
mov dword [edi], eax
mov dword [ecx + 0x150], edi
jmp 0x10236643
cmp dword [0x1031bda0], 0
je 0x10236636
mov eax, dword [0x10321388]
test eax, eax
je 0x10236604
push eax
call dword [0x1031bdf0]
add esp, 4
push edi
call dword [0x1031bdcc]
sub dword [0x10321088], eax
add esp, 4
dec dword [0x103210ac]
push edi
call dword [0x1031bdc4]
mov eax, dword [0x10321388]
add esp, 4
test eax, eax
je 0x10236640
push eax
call dword [0x1031bdf8]
jmp 0x1023663d
push edi
call dword [0x1031bdc4]
add esp, 4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov esi, dword [esp + 0x3c]
inc esi
movsx eax, byte [esi]
test eax, eax
jne 0x10235092
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x10]
inc edx
cmp edx, dword [eax + 8]
jb 0x10236684
push 1
mov edx, 0x10268edc
mov ecx, eax
call fcn.10234d70
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 4]
mov dword [eax + 0x10], edx
mov al, byte [0x10268edc]
mov byte [ecx + edx - 1], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret