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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [0x101f62b4]
xor eax, esp
mov dword [esp + 0x120], eax
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x64], eax
test byte [edi + 0x15], 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], eax
je 0x10051786
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], eax
mov byte [esp + 0x15], 1
jmp 0x1005178a
mov byte [esp + 0x15], al
movsx eax, byte [esi]
test eax, eax
je case.default.0x10051b42
movsd xmm0, qword [0x101e21f0]
movsd qword [esp + 0x90], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [0x101e2008]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [0x101e2000]
movsd qword [esp + 0xa8], xmm0
movsd xmm0, qword [0x101e2048]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x101e2120]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x101e20e8]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x101e2058]
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [0x101e2010]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x101e20c8]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [0x101e2038]
mov dword [esp + 0x74], 3
movsd qword [esp + 0xd8], xmm0
nop dword [eax]
cmp eax, 0x25
je 0x100518b5
mov ecx, esi
mov dword [esp + 0x18], ecx
nop dword [eax + eax]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1005186c
cmp al, 0x25
jne 0x10051860
mov eax, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
add eax, edx
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 8]
jb 0x1005188d
push edx
mov edx, ecx
mov ecx, edi
call fcn.10053060
add esp, 4
jmp 0x100518a8
test edx, edx
je 0x100518a8
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
push edx
sub eax, edx
add eax, dword [esp + 0x2c]
push ecx
push eax
call fcn.1015f820
add esp, 0xc
cmp byte [esi], 0
je case.default.0x10051b42
mov edx, dword [esp + 0x1c]
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x4c], esi
test ecx, ecx
je 0x10052dca
or edi, 0xffffffff
mov byte [esp + 0x33], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x32], 0
mov dword [esp + 0x40], edi
nop dword [eax + eax]
lea eax, [ecx - 0x20]
cmp eax, 0x4c
ja case.0x10051913.34
movzx eax, byte [eax + 0x10052e4c]
jmp dword [eax*4 + 0x10052e1c]
mov byte [esp + 0x12], 1
jmp 0x10051ab1
mov byte [esp + 0x14], 0x2b
jmp 0x10051ab1
mov byte [esp + 0x14], 0x20
jmp 0x10051ab1
mov byte [esp + 0x17], 1
jmp 0x10051ab1
mov byte [esp + 0x23], 1
jmp 0x10051ab1
mov byte [esp + 0x33], 1
jmp 0x10051ab1
mov byte [esp + 0x16], 0x2c
jmp 0x10051ab1
inc esi
lea eax, [ecx - 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], esi
movsx ecx, byte [esi]
cmp ecx, 0x30
jl 0x1005199d
mov edi, eax
cmp ecx, 0x39
jg 0x1005198d
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x10051976
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
and eax, 0x7fffffff
mov dword [esp + 0x2c], eax
cmp ecx, 0x2e
je 0x10051ab0
jmp 0x10051aab
cmp byte [esp + 0x15], 0
je 0x100519ca
mov ecx, dword [esp + 0x60]
call fcn.10051610
mov edx, dword [esp + 0x1c]
jmp 0x100519d3
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
test eax, eax
jns 0x100519f7
mov byte [esp + 0x12], 1
cmp eax, 0x80000001
jl 0x100519ef
neg eax
mov dword [esp + 0x2c], eax
jmp 0x100519f7
mov dword [esp + 0x2c], 0
movsx ecx, byte [esi + 1]
lea eax, [esi + 1]
cmp ecx, 0x2e
je 0x10051ab1
cmp ecx, 0x6c
je 0x10051ab1
mov dword [esp + 0x4c], eax
jmp case.0x10051913.34
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x4c], esi
cmp ecx, 0x2a
jne 0x10051a7f
cmp byte [esp + 0x15], 0
je 0x10051a43
mov ecx, dword [esp + 0x60]
call fcn.10051610
mov edx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x40], eax
jmp 0x10051a50
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edi
test edi, edi
jns 0x10051a74
cmp edi, 0x80000001
jl 0x10051a6d
movsx ecx, byte [esi + 1]
neg edi
inc esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], esi
jmp 0x10051aab
or edi, 0xffffffff
mov dword [esp + 0x40], edi
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x4c], esi
jmp 0x10051aab
xor edi, edi
cmp ecx, 0x30
jl 0x10051aa1
cmp ecx, 0x39
jg 0x10051a9d
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x10051a86
mov dword [esp + 0x4c], esi
and edi, 0x7fffffff
mov dword [esp + 0x40], edi
cmp ecx, 0x6c
jne case.0x10051913.34
dec esi
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x4c], esi
test ecx, ecx
jne 0x10051900
jmp case.0x10051913.34
movsx ecx, byte [esi + 1]
inc esi
mov byte [esp + 0x32], 1
mov dword [esp + 0x4c], esi
cmp ecx, 0x6c
jne case.0x10051913.34
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x4c], esi
mov byte [esp + 0x32], 2
mov dword [esp + 0x3c], 0x101b9c10
xor esi, esi
mov byte [esp + 0x13], 0x11
mov edx, 0x101b9c10
nop dword [eax]
movsx eax, byte [edx]
cmp ecx, eax
je 0x10051b1d
add edx, 6
inc esi
cmp edx, 0x101b9c9a
jl 0x10051b00
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
jmp 0x10051b36
lea eax, [esi + esi*2]
mov dl, byte [eax*2 + 0x101b9c13]
lea ecx, [eax*2 + 0x101b9c10]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x10051b42
jmp dword [eax*4 + 0x10052e9c]
mov byte [esp + 0x32], 1
mov byte [esp + 0x16], 0
test byte [ecx + 2], 1
je 0x10051bdc
cmp byte [esp + 0x15], 0
je 0x10051b6f
mov ecx, dword [esp + 0x60]
call fcn.10051610
jmp 0x10051b97
mov al, byte [esp + 0x32]
mov ecx, dword [esp + 0x1c]
test al, al
je 0x10051b8d
cmp al, 2
jne 0x10051b8d
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx - 4]
jmp 0x10051b99
mov eax, dword [ecx]
add ecx, 4
cdq
mov dword [esp + 0x1c], ecx
mov ecx, edx
test ecx, ecx
jg 0x10051bce
jl 0x10051ba3
test eax, eax
jae 0x10051bce
test eax, eax
jne 0x10051bbb
cmp ecx, 0x80000000
jne 0x10051bbb
mov dword [esp + 0x48], ecx
mov cl, 0x2d
mov dword [esp + 0x44], eax
jmp 0x10051c2f
neg eax
mov dword [esp + 0x44], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x48], ecx
mov cl, 0x2d
jmp 0x10051c2f
mov dword [esp + 0x48], ecx
mov cl, byte [esp + 0x14]
mov dword [esp + 0x44], eax
jmp 0x10051c33
cmp byte [esp + 0x15], 0
je 0x10051bf2
mov ecx, dword [esp + 0x60]
call fcn.10051610
mov dword [esp + 0x48], edx
jmp 0x10051c29
mov al, byte [esp + 0x32]
mov ecx, dword [esp + 0x1c]
test al, al
je 0x10051c18
cmp al, 2
jne 0x10051c18
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x48], eax
jmp 0x10051c2d
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], eax
xor cl, cl
mov byte [esp + 0x14], cl
mov esi, dword [esp + 0x44]
mov eax, esi
or eax, dword [esp + 0x48]
jne 0x10051c43
mov byte [esp + 0x17], al
cmp byte [esp + 0x33], 0
je 0x10051c60
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x2c]
setne al
sub ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov dword [esp + 0x40], edi
cmp edi, 0x25
jge 0x10051c7b
mov eax, 0x46
lea ecx, [esp + 0xe0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
jmp 0x10051cce
mov eax, edi
cdq
add eax, 0xa
mov ecx, edx
mov dword [esp + 0x34], eax
adc ecx, 0
cmp byte [esp + 0x16], 0
je 0x10051caa
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
adc ecx, edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.10051690
add esp, 8
mov dword [esp + 0x64], eax
mov ecx, eax
mov dword [esp + 0x28], ecx
test eax, eax
je case.default.0x10051b42
mov eax, dword [esp + 0x34]
dec eax
add eax, ecx
cmp byte [esp + 0x13], 0xf
mov dword [esp + 0x18], eax
jne 0x10051da3
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
lea edi, [ecx - 1]
mov dword [esp + 0x58], eax
mov esi, edx
mov eax, dword [esp + 0x44]
mul edi
mov edi, eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x48]
mul ecx
mov ecx, eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x48]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x80]
adc edx, 0
mov dword [esp + 0x38], eax
mov esi, eax
add edi, ecx
mov ecx, dword [esp + 0x50]
adc ecx, 0
mov dword [esp + 0x80], edi
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x58]
adc eax, eax
add esi, edx
adc ecx, eax
shrd esi, ecx, 3
mov dword [esp + 0x38], esi
shr ecx, 3
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x44]
add eax, eax
mov edi, esi
sub edi, eax
cmp edi, 4
jge 0x10051d81
mov eax, dword [esp + 0x38]
push 0
push 0xa
push ecx
push eax
call fcn.1018b240
cmp eax, 1
jne 0x10051d83
test edx, edx
jne 0x10051d83
xor edi, edi
mov ecx, dword [esp + 0x18]
movzx eax, byte [edi*2 + 0x101b6c55]
mov byte [ecx - 1], al
sub ecx, 2
movzx eax, byte [edi*2 + str.thstndrd]
mov dword [esp + 0x18], ecx
mov byte [ecx], al
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
movzx eax, byte [ecx + 4]
add eax, 0x101b6570
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
nop dword [eax]
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.1015d9e0
mov dword [esp + 0x58], ebx
pop ebx
mov esi, eax
mov eax, dword [esp + 0x58]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x44]
mov byte [edi], al
mov eax, dword [esp + 0x38]
test edx, edx
ja 0x10051dd0
jb 0x10051dfd
test esi, esi
jne 0x10051dd0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
sub eax, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
lea edx, [esi - 1]
add edx, eax
cmp edx, edi
jge 0x10051e2f
mov eax, edi
sub eax, edx
mov edx, edi
dec ecx
mov byte [ecx], 0x30
sub eax, 1
jne 0x10051e22
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x16], 0
je 0x10051e75
lea eax, [edx - 1]
cdq
idiv dword [esp + 0x74]
mov esi, eax
sub ecx, esi
mov dword [esp + 0x18], ecx
lea edi, [edx + 1]
xor edx, edx
test esi, esi
jle 0x10051e71
nop
lea eax, [esi + edx]
mov al, byte [eax + ecx]
mov byte [edx + ecx], al
sub edi, 1
jne 0x10051e6c
mov al, byte [esp + 0x16]
inc edx
dec esi
mov edi, 3
mov byte [edx + ecx], al
inc edx
test esi, esi
jg 0x10051e50
mov esi, dword [esp + 0x34]
mov al, byte [esp + 0x14]
test al, al
je 0x10051e84
dec ecx
mov dword [esp + 0x18], ecx
mov byte [ecx], al
cmp byte [esp + 0x17], 0
je 0x10051eb4
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 5]
test al, al
je 0x10051eb4
movzx eax, al
add eax, 0x101b5834
mov dl, byte [eax]
test dl, dl
je 0x10051eb4
dec ecx
lea eax, [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x10051ea4
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x28]
dec esi
sub eax, ecx
add esi, eax
jmp 0x1005255f
cmp byte [esp + 0x15], 0
je 0x10051f43
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jle 0x10051f31
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x10051efc
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0x13]
movsd qword [esp + 0x50], xmm1
jmp 0x10051f59
test al, 0x24
je 0x10051f19
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1015d730
mov dl, byte [esp + 0x13]
movaps xmm1, xmm0
movsd qword [esp + 0x50], xmm1
jmp 0x10051f59
test al, 0x12
je 0x10051f31
call fcn.100708f0
mov dl, byte [esp + 0x13]
movaps xmm1, xmm0
movsd qword [esp + 0x50], xmm0
jmp 0x10051f59
movsd xmm1, qword [esp + 0x78]
mov dl, byte [esp + 0x13]
movsd qword [esp + 0x50], xmm1
jmp 0x10051f59
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov dword [esp + 0x1c], ecx
movsd xmm1, qword [ecx - 8]
movsd qword [esp + 0x50], xmm1
test edi, edi
jns 0x10051f64
mov edi, 6
jmp 0x10051f72
cmp edi, 0x5f5e100
mov eax, 0x5f5e100
cmovg edi, eax
movsd xmm2, qword [esp + 0x78]
comisd xmm2, xmm1
jbe 0x10051f91
xorps xmm1, xmmword [esp + 0x90]
movsd qword [esp + 0x50], xmm1
mov byte [esp + 0x14], 0x2d
cmp dl, 3
jne 0x10051f9b
test edi, edi
jle 0x10051f9b
dec 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 + 0x101ba9c0]
cmp esi, 0xa
jb 0x10051fd9
movsd xmm0, qword [esp + 0xa0]
nop dword [eax]
mulsd xmm3, xmm0
sub edx, 1
jne 0x10051fd0
cmp byte [esp + 0x13], 1
jne 0x1005202b
movsd qword [esp + 0x58], xmm1
mov eax, 0x55555556
mov ecx, dword [esp + 0x5c]
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 0x1005201e
movaps xmm0, xmm1
mulsd xmm0, qword [esp + 0xa8]
addsd xmm3, xmm0
movaps xmm0, xmm3
addsd xmm1, xmm0
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x58], xmm1
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov edx, ecx
and edx, 0x7ff00000
mov dword [esp + 0x34], eax
cmp edx, 0x7ff00000
jne 0x10052070
mov eax, dword [esp + 0x58]
and ecx, 0xfffff
or eax, ecx
je 0x1005206c
mov ecx, 0x101ca798
mov esi, 3
mov dword [esp + 0x18], ecx
jmp 0x1005255f
mov eax, dword [esp + 0x34]
comisd xmm1, xmm2
jbe 0x100521ac
movsd xmm4, qword [esp + 0xb8]
comisd xmm1, xmm4
movsd xmm5, qword [esp + 0xb0]
movaps xmm2, xmm5
jb 0x100520b4
cmp eax, 0x15e
jg 0x100520b0
mulsd xmm2, xmm4
add eax, 0x64
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x10052095
mov dword [esp + 0x34], eax
movsd xmm4, qword [esp + 0xc0]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x100520eb
nop word [eax + eax]
cmp eax, 0x15e
jg 0x100520e7
movaps xmm2, xmm0
add eax, 0xa
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x100520d0
mov dword [esp + 0x34], eax
movsd xmm4, qword [esp + 0x68]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x10052119
nop
cmp eax, 0x15e
jg 0x10052115
movaps xmm2, xmm0
inc eax
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x10052100
mov dword [esp + 0x34], eax
divsd xmm1, xmm2
movsd xmm0, qword [esp + 0xc8]
comisd xmm0, xmm1
movsd qword [esp + 0x50], xmm1
jbe 0x10052157
movsd xmm2, qword [esp + 0xd0]
nop dword [eax + eax]
mulsd xmm1, xmm2
sub eax, 8
comisd xmm0, xmm1
ja 0x10052140
mov dword [esp + 0x34], eax
movsd qword [esp + 0x50], xmm1
comisd xmm5, xmm1
jbe 0x10052175
nop dword [eax]
mulsd xmm1, xmm4
dec eax
comisd xmm5, xmm1
ja 0x10052160
mov dword [esp + 0x34], eax
movsd qword [esp + 0x50], xmm1
cmp eax, 0x15e
jle 0x100521b2
mov dl, byte [esp + 0x14]
lea ecx, [esp + 0xe0]
xor eax, eax
mov byte [esp + 0xe0], dl
test dl, dl
mov dword [esp + 0x18], ecx
setne al
mov dword [esp + eax + 0xe0], 0x666e49
lea esi, [eax + 3]
jmp 0x1005255f
movsd xmm4, qword [esp + 0x68]
mov dl, byte [esp + 0x13]
lea esi, [esp + 0xe0]
cmp dl, 1
je 0x100521e6
addsd xmm1, xmm3
comisd xmm1, xmm4
movsd qword [esp + 0x50], xmm1
jb 0x100521e6
mulsd xmm1, qword [esp + 0xd8]
inc eax
mov dword [esp + 0x34], eax
movsd qword [esp + 0x50], xmm1
cmp dl, 3
jne 0x10052210
cmp byte [esp + 0x17], 0
sete byte [esp + 0x16]
cmp eax, 0xfffffffc
jl 0x10052208
cmp eax, edi
jg 0x10052208
mov dl, 1
sub edi, eax
mov byte [esp + 0x13], dl
jmp 0x10052218
mov dl, 2
mov byte [esp + 0x13], dl
jmp 0x10052218
mov cl, byte [esp + 0x23]
mov byte [esp + 0x16], cl
xor ecx, ecx
cmp dl, 2
cmovne ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x58], ecx
cmovg eax, ecx
cdq
mov ecx, eax
mov dword [esp + 0x28], edx
mov eax, edi
cdq
add ecx, eax
mov eax, dword [esp + 0x2c]
adc dword [esp + 0x28], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x28]
adc eax, edx
add ecx, 0xf
adc eax, 0
js 0x10052273
jg 0x10052257
cmp ecx, 0x46
jbe 0x10052273
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.10051690
add esp, 8
mov dword [esp + 0x64], eax
mov esi, eax
test eax, eax
je case.default.0x10051b42
movzx eax, byte [esp + 0x23]
test edi, edi
mov dl, byte [esp + 0x14]
mov dword [esp + 0x18], esi
lea eax, [eax + eax*4]
lea ecx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x23]
or al, byte [esp + 0x17]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x17], al
test dl, dl
je 0x100522a6
mov byte [esi], dl
inc esi
mov edx, dword [esp + 0x58]
test edx, edx
jns 0x100522b4
mov byte [esi], 0x30
inc esi
jmp 0x100522f5
movsd xmm1, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x68]
test ecx, ecx
jg 0x100522c8
mov al, 0x30
jmp 0x100522df
cvttsd2si eax, xmm1
dec ecx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], al
inc esi
sub edx, 1
jns 0x100522c0
mov al, byte [esp + 0x17]
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x50], xmm1
test al, al
je 0x100522fd
mov byte [esi], 0x2e
inc esi
inc edx
mov eax, edx
neg eax
test edx, edx
jns 0x100523a5
cmp eax, 8
jb 0x10052383
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1005231f
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm0, xmmword [0x101e21c0]
neg eax
movaps xmm3, xmmword [0x101e2180]
xorps xmm1, xmm1
movaps xmmword [esp + 0x80], xmm0
xorps xmm2, xmm2
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
mov dword [esi], eax
add edx, 8
mov dword [esi + 4], eax
psubd xmm1, xmm3
add esi, 8
psubd xmm2, xmm3
cmp edx, dword [esp + 0x58]
jl 0x10052348
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add edi, eax
test edx, edx
jns 0x100523a5
neg edx
push edx
push 0x30
push esi
mov dword [esp + 0x64], edx
call fcn.10160390
add esi, dword [esp + 0x64]
add esp, 0xc
sub edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
test edi, edi
jle 0x100523e5
nop dword [eax]
dec edi
test ecx, ecx
jg 0x100523b9
mov al, 0x30
jmp 0x100523de
movsd xmm1, qword [esp + 0x50]
dec ecx
cvttsd2si eax, xmm1
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x50], xmm1
mov byte [esi], al
inc esi
test edi, edi
jg 0x100523b0
cmp byte [esp + 0x16], 0
je 0x10052424
cmp byte [esp + 0x17], 0
je 0x10052424
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1005240d
nop dword [eax]
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10052400
cmp byte [esi - 1], 0x2e
jne 0x10052424
cmp byte [esp + 0x23], 0
je 0x10052420
mov byte [esi], 0x30
inc esi
jmp 0x10052424
dec esi
mov byte [esi], 0
cmp byte [esp + 0x13], 2
jne 0x100524c1
mov eax, dword [esp + 0x3c]
lea edi, [esi + 2]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], edi
movzx eax, byte [eax + 4]
mov al, byte [eax + 0x101b6570]
mov byte [esi], al
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x3c], eax
sets cl
lea ecx, [ecx*2 + 0x2b]
mov byte [esi + 1], cl
mov esi, edi
mov edi, dword [esp + 0x3c]
cmp eax, 0x64
jl 0x10052493
mov esi, dword [esp + 0x58]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + 0x30]
mov byte [esi], al
inc esi
imul eax, ecx, 0x64
sub edi, eax
mov dword [esp + 0x3c], 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 + 0x3c]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov ecx, dword [esp + 0x18]
mov byte [esi], 0
sub esi, ecx
cmp byte [esp + 0x33], 0
je 0x1005255f
mov dl, byte [esp + 0x12]
test dl, dl
jne 0x10052c66
mov edi, dword [esp + 0x2c]
cmp esi, edi
jge 0x10052c66
mov eax, edi
mov edx, edi
sub eax, esi
mov esi, eax
mov dword [esp + 0x58], eax
cmp edi, esi
jl 0x10052510
mov edi, ecx
sub edi, esi
mov al, byte [edx + edi]
mov byte [edx + ecx], al
dec edx
cmp edx, esi
jge 0x10052501
mov edi, dword [esp + 0x2c]
xor eax, eax
cmp byte [esp + 0x14], al
setne al
test esi, esi
je 0x1005252f
push esi
add eax, ecx
push 0x30
push eax
call fcn.10160390
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov esi, edi
jmp 0x1005255f
cmp byte [esp + 0x15], 0
jne 0x10052551
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx - 4]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
mov dword [esp + 0x2c], 0
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dl, byte [esp + 0x12]
mov eax, dword [esp + 0x2c]
sub eax, esi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x10052d0a
test dl, dl
jne 0x10052c85
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
xor ecx, ecx
cdq
add dword [esp + 0x28], eax
mov eax, dword [edi + 8]
adc ecx, edx
js 0x10052c6f
jg 0x100525aa
cmp dword [esp + 0x28], eax
jb 0x10052c6f
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.10052ee0
mov edx, eax
test edx, edx
jle 0x10052c85
jmp 0x10052c73
lea ecx, [esp + 0xe0]
mov byte [esp + 0xe0], 0x25
mov dword [esp + 0x18], ecx
mov esi, 1
jmp 0x1005255f
cmp byte [esp + 0x15], 0
je 0x10052663
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jle 0x10052651
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dl, 1
mov dword [esi + 4], eax
call fcn.100714b0
mov edx, eax
mov esi, 1
test edx, edx
je 0x10052651
mov cl, byte [edx]
inc edx
mov byte [esp + 0xe0], cl
movsx ecx, cl
and ecx, 0xc0
cmp cl, 0xc0
jne 0x1005272c
nop word [eax + eax]
mov cl, byte [edx]
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1005272c
mov byte [esp + esi + 0xe0], cl
inc edx
inc esi
cmp esi, 4
jl 0x10052630
jmp 0x1005272c
mov byte [esp + 0xe0], 0
mov esi, 1
jmp 0x1005272c
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx - 4]
cmp ecx, 0x80
jae 0x1005268a
mov byte [esp + 0xe0], cl
mov esi, 1
jmp 0x1005272c
mov eax, ecx
cmp ecx, 0x800
jae 0x100526b6
shr eax, 6
and cl, 0x3f
and al, 0x1f
mov esi, 2
sub al, 0x40
add cl, 0x80
mov byte [esp + 0xe0], al
mov byte [esp + 0xe1], cl
jmp 0x1005272c
mov dl, cl
and dl, 0x3f
add dl, 0x80
cmp ecx, 0x10000
jae 0x100526f2
shr eax, 0xc
mov esi, 3
shr ecx, 6
and al, 0xf
sub al, 0x20
mov byte [esp + 0xe2], dl
and cl, 0x3f
mov byte [esp + 0xe0], al
add cl, 0x80
mov byte [esp + 0xe1], cl
jmp 0x1005272c
shr eax, 0x12
mov esi, 4
and al, 7
mov byte [esp + 0xe3], dl
sub al, 0x10
mov byte [esp + 0xe0], al
mov eax, ecx
shr eax, 0xc
shr ecx, 6
and al, 0x3f
add al, 0x80
and cl, 0x3f
add cl, 0x80
mov byte [esp + 0xe1], al
mov byte [esp + 0xe2], cl
cmp edi, 1
jle 0x10052805
mov eax, dword [esp + 0x2c]
sub eax, edi
mov edx, eax
inc eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
cmp eax, 1
jle 0x100527b4
cmp byte [esp + 0x12], 0
jne 0x100527b4
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, edx
cdq
add dword [esp + 0x28], eax
adc ecx, edx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
js 0x10052792
jg 0x10052779
cmp dword [esp + 0x28], eax
jb 0x10052792
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
call fcn.10052ee0
mov dword [esp + 0x38], eax
test eax, eax
jle 0x100527ac
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
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 0x10052796
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x24]
dec edi
nop dword [eax]
mov edx, dword [ecx + 0x10]
add edx, esi
cmp edx, dword [ecx + 8]
jb 0x100527dc
push esi
lea edx, [esp + 0xe4]
call fcn.10053060
add esp, 4
jmp 0x100527fc
test esi, esi
je 0x10052800
push esi
lea eax, [esp + 0xe4]
mov dword [ecx + 0x10], edx
push eax
mov eax, dword [ecx + 4]
sub eax, esi
add eax, edx
push eax
call fcn.1015f820
add esp, 0xc
mov ecx, dword [esp + 0x24]
sub edi, 1
jne 0x100527c0
lea ecx, [esp + 0xe0]
mov dword [esp + 0x18], ecx
jmp 0x10052b25
cmp byte [esp + 0x15], 0
je 0x1005284e
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10052831
xor ecx, ecx
mov dl, 5
mov dword [esp + 0x18], ecx
jmp 0x10052860
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dl, 1
mov dword [esi + 4], eax
call fcn.100714b0
mov ecx, eax
mov dword [esp + 0x18], eax
mov dl, 5
jmp 0x10052860
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx - 4]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x10052872
mov ecx, 0x101b2535
mov dword [esp + 0x18], ecx
jmp 0x10052918
cmp dl, 6
jne 0x10052918
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x10], 0
jne 0x10052914
cmp dword [eax + 0xc], 0
je 0x10052914
cmp dword [esp + 0x2c], 0
jne 0x10052914
test edi, edi
jns 0x10052914
cmp byte [eax + 0x14], 0
jne 0x10052914
mov edi, eax
mov eax, dword [edi]
mov dword [edi + 4], ecx
test eax, eax
je 0x100528d7
cmp ecx, dword [eax + 0x14c]
jae 0x100528d7
cmp ecx, dword [eax + 0x144]
jb 0x100528c6
mov eax, 0x80
jmp 0x100528ef
cmp ecx, dword [eax + 0x148]
jb 0x100528d7
movzx eax, word [eax + 0x11e]
jmp 0x100528ef
mov esi, dword [0x101f6c64]
push ecx
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, ecx
mov dword [edi + 8], eax
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100528f7
or byte [edi + 0x15], 4
sub edx, esi
and edx, 0x7fffffff
xor esi, esi
mov dword [edi + 0x10], edx
jmp 0x10052563
mov dword [esp + 0x64], ecx
test edi, edi
js 0x10052977
cmp byte [esp + 0x23], 0
je 0x10052959
mov esi, ecx
test edi, edi
jle 0x10052952
nop dword [eax]
mov al, byte [esi]
dec edi
test al, al
je 0x10052952
inc esi
cmp al, 0xc0
jb 0x1005294e
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x1005294e
mov al, byte [esi + 1]
inc esi
and al, 0xc0
cmp al, 0x80
je 0x10052944
test edi, edi
jg 0x10052930
sub esi, ecx
jmp 0x10052b1a
xor esi, esi
test edi, edi
jle 0x1005255f
cmp byte [esi + ecx], 0
je 0x1005255f
inc esi
cmp esi, edi
jl 0x10052963
jmp 0x1005255f
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10052980
sub esi, edx
and esi, 0x7fffffff
jmp 0x10052b1a
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x15], 0
mov dword [esp + 0x40], eax
je 0x100529df
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x100529c4
mov dword [esp + 0x38], 0
jmp 0x100529f9
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dl, 1
mov dword [esi + 4], eax
call fcn.100714b0
mov esi, eax
mov dword [esp + 0x28], eax
jmp 0x100529f1
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov esi, dword [ecx - 4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
test esi, esi
jne 0x10052a0f
cmp byte [esp + 0x13], 0xa
mov esi, str.NULL
mov eax, str._NULL_
cmovne esi, eax
mov dword [esp + 0x28], esi
xor eax, eax
xor edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edx
test edi, edi
je 0x10052a6c
nop
mov cl, byte [edx + esi]
test cl, cl
je 0x10052a68
inc eax
cmp cl, byte [esp + 0x40]
cmovne eax, dword [esp + 0x3c]
cmp byte [esp + 0x23], 0
mov dword [esp + 0x3c], eax
je 0x10052a62
and cl, 0xc0
cmp cl, 0xc0
jne 0x10052a62
lea ecx, [esi + 1]
add ecx, edx
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x10052a5e
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
and al, 0xc0
inc edx
cmp al, 0x80
je 0x10052a51
mov eax, dword [esp + 0x3c]
inc edx
sub edi, 1
jne 0x10052a20
mov dword [esp + 0x34], edx
cmp dword [esp + 0x38], 0
je 0x10052a81
cmp byte [esp + 0x13], 0xa
jne 0x10052a81
mov edi, 1
jmp 0x10052a83
xor edi, edi
add eax, 3
mov dword [esp + 0x38], edi
add eax, edx
cmp eax, 0x46
jle 0x10052ab8
mov ecx, dword [esp + 0x24]
cdq
push edx
push eax
call fcn.10051690
add esp, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x18], eax
mov ecx, eax
test eax, eax
je case.default.0x10051b42
mov edx, dword [esp + 0x34]
jmp 0x10052ac3
lea ecx, [esp + 0xe0]
mov dword [esp + 0x18], ecx
xor esi, esi
test edi, edi
je 0x10052ad4
mov eax, dword [esp + 0x40]
mov esi, 1
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x10052b0a
mov edi, dword [esp + 0x28]
nop
mov dl, byte [eax + edi]
mov byte [esi + ecx], dl
inc esi
cmp dl, byte [esp + 0x40]
mov byte [esp + 0x33], dl
mov edx, dword [esp + 0x34]
jne 0x10052b01
mov dl, byte [esp + 0x33]
mov byte [esi + ecx], dl
inc esi
mov edx, dword [esp + 0x34]
inc eax
cmp eax, edx
jl 0x10052ae0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10052b16
mov eax, dword [esp + 0x40]
mov byte [esi + ecx], al
inc esi
mov byte [esi + ecx], 0
cmp byte [esp + 0x23], 0
je 0x1005255f
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x1005255f
lea edx, [esi - 1]
test edx, edx
js 0x1005255f
nop dword [eax]
lea eax, [edx + ecx]
mov al, byte [eax]
lea ecx, [edi + 1]
and al, 0xc0
cmp al, 0x80
cmovne ecx, edi
sub edx, 1
mov edi, ecx
mov ecx, dword [esp + 0x18]
jns 0x10052b40
mov dword [esp + 0x2c], edi
jmp 0x1005255b
mov edi, dword [esp + 0x24]
test byte [edi + 0x15], 1
je case.default.0x10051b42
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x10052bc8
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10052bc8
mov esi, dword [edi + 0x10]
mov edx, dword [eax]
add esi, ecx
push ecx
cmp esi, dword [edi + 8]
jb 0x10052bb4
mov ecx, edi
call fcn.10053060
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x2c], 0
xor esi, esi
jmp 0x10052563
mov eax, dword [edi + 4]
sub eax, ecx
mov dword [edi + 0x10], esi
push edx
add eax, esi
push eax
call fcn.1015f820
add esp, 0xc
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], 0
jmp 0x10052563
mov edi, dword [esp + 0x24]
test byte [edi + 0x15], 1
je case.default.0x10051b42
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [eax - 4]
lea esi, [eax + eax*8]
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [eax + esi*8 + 0xc]
test eax, eax
je 0x10052c39
push eax
push edi
call fcn.100530f0
mov ecx, dword [edi + 0x10]
add esp, 8
inc ecx
cmp ecx, dword [edi + 8]
jb 0x10052c2e
push 1
mov edx, 0x101ca7a4
mov ecx, edi
call fcn.10053060
add esp, 4
jmp 0x10052c39
mov eax, dword [edi + 4]
mov dword [edi + 0x10], ecx
mov byte [eax + ecx - 1], 0x2e
mov eax, dword [esp + 0x58]
mov eax, dword [eax + esi*8 + 0x10]
push eax
push edi
call fcn.100530f0
mov ecx, dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x1c], ecx
xor esi, esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
jmp 0x10052563
mov edi, dword [esp + 0x24]
jmp 0x10052567
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
dec edx
mov eax, dword [edi + 4]
mov byte [ecx + eax], 0x20
inc dword [edi + 0x10]
test edx, edx
jg 0x10052c73
mov ecx, dword [edi + 0x10]
add ecx, esi
cmp ecx, dword [edi + 8]
jb 0x10052ca0
mov edx, dword [esp + 0x18]
mov ecx, edi
push esi
call fcn.10053060
add esp, 4
jmp 0x10052cbd
test esi, esi
je 0x10052cbd
mov eax, dword [esp + 0x18]
push esi
push eax
mov eax, dword [edi + 4]
sub eax, esi
mov dword [edi + 0x10], ecx
add eax, ecx
push eax
call fcn.1015f820
add esp, 0xc
cmp byte [esp + 0x12], 0
je 0x10052d3c
mov eax, dword [edi + 0x10]
xor ecx, ecx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, esi
cdq
add dword [esp + 0x28], eax
mov eax, dword [edi + 8]
adc ecx, edx
js 0x10052cf6
jg 0x10052ce7
cmp dword [esp + 0x28], eax
jb 0x10052cf6
mov edx, esi
mov ecx, edi
call fcn.10052ee0
mov esi, eax
test esi, esi
jle 0x10052d3c
mov ecx, dword [edi + 0x10]
dec esi
mov eax, dword [edi + 4]
mov byte [ecx + eax], 0x20
inc dword [edi + 0x10]
test esi, esi
jg 0x10052cf6
jmp 0x10052d3c
mov edx, dword [edi + 0x10]
add edx, esi
cmp edx, dword [edi + 8]
jb 0x10052d23
mov edx, ecx
mov ecx, edi
push esi
call fcn.10053060
add esp, 4
jmp 0x10052d3c
test esi, esi
je 0x10052d3c
mov eax, dword [edi + 4]
push esi
sub eax, esi
mov dword [edi + 0x10], edx
push ecx
add eax, edx
push eax
call fcn.1015f820
add esp, 0xc
mov edx, dword [esp + 0x64]
test edx, edx
je 0x10052da1
mov ecx, dword [edi]
test ecx, ecx
je 0x10052d92
cmp dword [ecx + 0x1f8], 0
je 0x10052d5a
call fcn.10050d50
jmp 0x10052d9b
cmp edx, dword [ecx + 0x14c]
jae 0x10052d92
cmp edx, dword [ecx + 0x144]
jb 0x10052d7a
mov eax, dword [ecx + 0x140]
mov dword [edx], eax
mov dword [ecx + 0x140], edx
jmp 0x10052d9b
cmp edx, dword [ecx + 0x148]
jb 0x10052d92
mov eax, dword [ecx + 0x138]
mov dword [edx], eax
mov dword [ecx + 0x138], edx
jmp 0x10052d9b
push edx
call fcn.10050ca0
add esp, 4
xor eax, eax
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
inc esi
movsx eax, byte [esi]
test eax, eax
jne 0x10051850
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x10]
inc ecx
cmp ecx, dword [edi + 8]
jb 0x10052df9
push 1
mov edx, 0x101ca794
mov ecx, edi
call fcn.10053060
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [edi + 0x10], ecx
mov byte [eax + ecx - 1], 0x25
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret