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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a8
mov eax, dword [edx + 0x28]
mov ebx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xf0], eax
nop
mov ecx, ebx
call fcn.100f4300
test eax, eax
je 0x100f33a8
test edx, edx
je 0x100f2240
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
mov esi, edx
mov ecx, dword [ecx]
movzx ecx, byte [ecx + 0x34]
mov byte [esp + 0x2f], cl
mov ecx, dword [0x1019846c]
cmp ecx, 2
jne 0x100f2387
mov edx, dword [0x1019845c]
lea ecx, [esp + 0xa4]
push esi
push eax
push dword [0x10198460]
call fcn.100f4740
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp eax, 2
jne 0x100f22b8
xor ecx, ecx
mov eax, 2
jmp 0x100f2b69
lea edx, [esp + 0xb4]
lea esi, [esp + 0x4c]
mov edi, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
test eax, eax
movsd xmm0, qword [edx + 0x10]
movsd xmm2, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
je 0x100f2362
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x1c], edi
jbe 0x100f2485
mov ecx, edi
mov edx, 0x1018ef49
shl ecx, 5
add ecx, dword [esi + 0x18]
push 0xc
call fcn.100566c0
add esp, 4
test eax, eax
je 0x100f2485
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 4], esi
cmp ecx, 1
jne 0x100f239f
test eax, eax
js 0x100f2485
lea ecx, [eax + eax + 1]
add eax, eax
mov edx, dword [esp + 0x4c]
cmp eax, edx
jb 0x100f23dc
jmp 0x100f2485
mov dword [esp + 8], 0
mov dword [esp + 0x18], 8
mov dword [esp + 0x20], 0x80000000
mov dword [esp + 0x24], 0x80000000
jmp 0x100f28d8
mov ecx, 0x1019845c
mov edx, 0x1019845c
mov edi, eax
call fcn.101160b0
mov eax, edi
jmp 0x100f2283
cmp ecx, edi
mov ecx, dword [esp + 4]
jbe 0x100f2485
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + edi*8]
mov edx, dword [edx + edi*8 + 4]
sub edx, ecx
shr edx, 1
cmp edx, eax
jb 0x100f2485
test eax, eax
lea edx, [edi + edi]
lea eax, [ecx + eax*2 - 2]
cmove eax, edx
lea ecx, [eax + 1]
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x100f2485
mov esi, dword [esp + 0xc]
mov esi, dword [esi + eax*4]
test esi, esi
je 0x100f2485
cmp ecx, edx
jae 0x100f2485
mov eax, dword [esp + 0xc]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x100f2485
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], eax
dec eax
lea edx, [esi - 1]
mov dword [esp + 0x24], eax
cmp edx, eax
mov eax, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
ja 0x100f347d
test eax, eax
je 0x100f2447
cmp eax, dword [esp + 0x18]
jae 0x100f2441
cmp byte [ecx + eax], 0xbf
jg 0x100f2447
jmp 0x100f347d
jne 0x100f347d
cmp dword [esp + 0x24], 0
je 0x100f2469
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x18]
jae 0x100f2463
cmp byte [ecx + edx], 0xbf
jg 0x100f2469
jmp 0x100f347d
jne 0x100f347d
mov edx, dword [esp + 8]
add ecx, eax
sub edx, esi
call fcn.100ee950
mov esi, eax
cmp eax, 6
mov eax, dword [esp + 4]
jne 0x100f342b
mov edx, dword [esp + 0x50]
mov esi, 0x80000000
mov dword [esp + 0x24], 0x80000000
cmp dword [edx + 0x1c], edi
jbe 0x100f2616
mov ecx, edi
mov esi, edx
shl ecx, 5
add ecx, dword [edx + 0x18]
mov edx, 0x1018ef55
push 6
call fcn.100566c0
mov edx, esi
add esp, 4
test eax, eax
mov esi, 0x80000000
je 0x100f2616
mov ecx, dword [edx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 4], edi
cmp ecx, 1
jne 0x100f24ea
mov edi, dword [esp + 4]
test eax, eax
js 0x100f2616
lea ecx, [eax + eax + 1]
add eax, eax
jmp 0x100f251b
mov edi, dword [esp + 4]
cmp ecx, edi
jbe 0x100f2616
mov edx, dword [edx + 0xc]
mov ecx, dword [edx + edi*8]
mov edx, dword [edx + edi*8 + 4]
sub edx, ecx
shr edx, 1
cmp edx, eax
jb 0x100f2616
test eax, eax
lea edx, [edi + edi]
lea eax, [ecx + eax*2 - 2]
cmove eax, edx
lea ecx, [eax + 1]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 4]
mov esi, 0x80000000
cmp eax, edx
jae 0x100f2616
mov esi, dword [esp + 0xc]
mov eax, dword [esi + eax*4]
mov esi, 0x80000000
test eax, eax
mov dword [esp + 0x18], eax
je 0x100f2616
cmp ecx, edx
jae 0x100f2616
mov eax, dword [esp + 0xc]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x100f2616
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
lea esi, [edx - 1]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
lea eax, [ecx - 1]
cmp eax, esi
ja 0x100f3490
test eax, eax
je 0x100f2596
cmp eax, edx
jae 0x100f2590
cmp byte [edi + eax], 0xbf
jg 0x100f2596
jmp 0x100f3490
jne 0x100f3490
test esi, esi
je 0x100f25af
cmp esi, edx
jae 0x100f25a9
cmp byte [edi + esi], 0xbf
jg 0x100f25af
jmp 0x100f3490
jne 0x100f3490
mov esi, dword [esp + 0x20]
add edi, eax
mov edx, esi
sub edx, ecx
mov ecx, edi
mov dword [esp + 0x34], edx
call fcn.100ee950
cmp eax, 6
jne 0x100f260d
cmp esi, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov eax, 1
je 0x100f25fc
test esi, esi
js 0x100f34c8
movzx eax, byte [0x10199148]
xor ecx, ecx
mov edx, esi
call fcn.100ea7d0
test eax, eax
je 0x100f34ba
mov esi, dword [esp + 0x34]
push esi
push edi
mov dword [esp + 0x6c], eax
push eax
call fcn.10100490
add esp, 0xc
jmp 0x100f2612
mov esi, 0x80000000
mov edi, dword [esp + 4]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], 8
cmp dword [esi + 0x1c], edi
jbe 0x100f28d0
mov ecx, edi
mov edx, 0x1018ef5b
shl ecx, 5
add ecx, dword [esi + 0x18]
push 4
call fcn.100566c0
add esp, 4
test eax, eax
je 0x100f28d0
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 8]
cmp ecx, 1
jne 0x100f2674
test eax, eax
js 0x100f28d0
lea ecx, [eax + eax + 1]
add eax, eax
mov edx, dword [esp + 0x4c]
cmp eax, edx
jb 0x100f26ac
jmp 0x100f28d0
cmp ecx, edi
jbe 0x100f28d0
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + edi*8]
mov edx, dword [edx + edi*8 + 4]
sub edx, ecx
shr edx, 1
cmp edx, eax
jb 0x100f28d0
add edi, edi
test eax, eax
lea eax, [ecx + eax*2 - 2]
cmove eax, edi
lea ecx, [eax + 1]
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x100f28d0
mov esi, dword [esp + 0xc]
mov edi, dword [esi + eax*4]
test edi, edi
je 0x100f28d0
cmp ecx, edx
jae 0x100f28d0
mov eax, esi
mov eax, dword [esi + ecx*4]
test eax, eax
je 0x100f28d0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
dec edi
dec eax
cmp edi, eax
ja 0x100f349e
test edi, edi
je 0x100f26fb
cmp edi, edx
jae 0x100f26f5
cmp byte [ecx + edi], 0xbf
jg 0x100f26fb
jmp 0x100f349e
jne 0x100f349e
test eax, eax
je 0x100f2714
cmp eax, edx
jae 0x100f270e
cmp byte [ecx + eax], 0xbf
jg 0x100f2714
jmp 0x100f349e
jne 0x100f349e
add eax, ecx
add edi, ecx
mov dword [esp + 0xc], eax
mov edx, edi
xor edi, edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], edx
jmp 0x100f2745
lea edx, [ecx + 1]
mov edi, edx
add eax, 0xffffffa5
sub edi, ecx
add edi, esi
test eax, 0xfffffffd
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x100f27b9
mov ecx, edx
mov esi, edi
cmp edx, eax
je 0x100f27b1
movzx edx, byte [ecx]
movzx eax, dl
test dl, dl
jns 0x100f272a
movzx edi, byte [ecx + 1]
and eax, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x100f2796
mov dword [esp + 0x1c], esi
movzx esi, byte [ecx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp dl, 0xf0
jb 0x100f27a0
movzx edx, byte [ecx + 3]
and eax, 7
shl esi, 6
lea edi, [ecx + 4]
shl eax, 0x12
and edx, 0x3f
or edx, esi
or eax, edx
mov edx, edi
jmp 0x100f27a8
shl eax, 6
lea edx, [ecx + 2]
or eax, edi
jmp 0x100f272d
shl eax, 0xc
lea edx, [ecx + 3]
or eax, esi
mov esi, dword [esp + 0x1c]
jmp 0x100f272d
xor edi, edi
mov dword [esp + 8], esi
mov edx, eax
mov dword [esp + 0x1c], esi
mov esi, eax
mov dword [esp + 0xec], ecx
mov dword [esp + 4], edx
jmp 0x100f27e1
lea esi, [eax - 1]
movzx edx, dl
add edx, 0xffffffa5
test edx, 0xfffffffd
jne 0x100f286d
cmp dword [esp + 4], esi
je 0x100f2877
movzx edx, byte [esi - 1]
mov eax, esi
test dl, dl
jns 0x100f27cc
movzx ecx, byte [eax - 2]
cmp cl, 0xc0
jge 0x100f282d
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax - 3]
cmp cl, 0xc0
mov dword [esp + 0x14], ecx
jge 0x100f2835
movzx esi, byte [eax - 4]
lea ecx, [eax - 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
and esi, 7
shl esi, 6
and ecx, 0x3f
or ecx, esi
mov esi, ecx
jmp 0x100f2843
lea esi, [eax - 2]
and ecx, 0x1f
jmp 0x100f2853
mov esi, dword [esp + 0x14]
lea ecx, [eax - 3]
mov dword [esp + 0x28], ecx
and esi, 0xf
mov ecx, dword [esp + 0x10]
shl esi, 6
and ecx, 0x3f
or ecx, esi
mov esi, dword [esp + 0x28]
and dl, 0x3f
shl ecx, 6
movzx edx, dl
or edx, ecx
add edx, 0xffffffa5
test edx, 0xfffffffd
je 0x100f27e1
mov edi, dword [esp + 8]
sub edi, dword [esp + 4]
add edi, eax
mov eax, dword [esp + 0xec]
mov esi, dword [esp + 0x1c]
cmp eax, dword [esp + 0xc]
mov ecx, dword [0x10198484]
mov eax, 0
cmove esi, eax
cmp ecx, 2
jne 0x100f2c63
mov eax, dword [esp + 0x30]
mov edx, dword [0x10198474]
sub edi, esi
lea ecx, [esp + 0xa4]
add eax, esi
push edi
push eax
push dword [0x10198478]
call fcn.100f4740
add esp, 0xc
cmp dword [esp + 0xa4], 2
jne 0x100f29e6
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
cmp dword [esp + 0x3c], 0
je 0x100f2ad3
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
cmp dword [edi + 0x1c], esi
jbe 0x100f2ad3
mov ecx, esi
mov edx, 0x1018ef5f
shl ecx, 5
add ecx, dword [edi + 0x18]
push 5
call fcn.100566c0
add esp, 4
test eax, eax
je 0x100f2ad3
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 8]
cmp ecx, 1
jne 0x100f2949
test eax, eax
js 0x100f2ad3
lea ecx, [eax + eax + 1]
add eax, eax
mov edx, dword [esp + 0x4c]
cmp eax, edx
jb 0x100f2981
jmp 0x100f2ad3
cmp ecx, esi
jbe 0x100f2ad3
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
sub edx, ecx
shr edx, 1
cmp edx, eax
jb 0x100f2ad3
add esi, esi
test eax, eax
lea eax, [ecx + eax*2 - 2]
cmove eax, esi
lea ecx, [eax + 1]
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x100f2ad3
mov edi, dword [esp + 0x48]
mov esi, dword [edi + eax*4]
test esi, esi
je 0x100f2ad3
cmp ecx, edx
jae 0x100f2ad3
mov edx, dword [edi + ecx*4]
test edx, edx
je 0x100f2ad3
mov edi, dword [esp + 0x60]
lea ecx, [edx - 1]
lea eax, [esi - 1]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
cmp eax, edi
ja 0x100f34aa
test eax, eax
je 0x100f2aa8
cmp eax, dword [esp + 0x10]
jae 0x100f2aa2
cmp byte [ecx + eax], 0xbf
jg 0x100f2aa8
jmp 0x100f34aa
movsd xmm2, qword [esp + 0xbc]
movsd xmm1, qword [esp + 0xb4]
movsd xmm0, qword [esp + 0xc4]
movsd qword [esp + 0x88], xmm2
movsd xmm2, qword [esp + 0xa4]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0xac]
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x78], xmm1
cmp dword [esp + 0x70], 0
je 0x100f2c34
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x84]
mov dword [esp + 0xc], 0x80000000
cmp dword [edi + 0x1c], esi
jbe 0x100f2d0b
mov ecx, esi
mov edx, str.name
shl ecx, 5
add ecx, dword [edi + 0x18]
push 4
call fcn.100566c0
add esp, 4
test eax, eax
je 0x100f2d0b
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 8]
cmp ecx, 1
jne 0x100f2c77
test eax, eax
js 0x100f2d0b
lea ecx, [eax + eax + 1]
add eax, eax
jmp 0x100f2c9f
jne 0x100f34aa
test edi, edi
je 0x100f2ac3
cmp edi, dword [esp + 0x10]
jae 0x100f2abd
cmp byte [ecx + edi], 0xbf
jg 0x100f2ac3
jmp 0x100f34aa
jne 0x100f34aa
sub edx, esi
add ecx, eax
call fcn.100ee950
mov esi, eax
cmp eax, 6
jne 0x100f2ad5
xor esi, esi
cmp dword [esp + 4], 0x80000000
jne 0x100f33bb
test dword [esp + 0x24], 0x7fffffff
mov eax, dword [esp + 0x1c]
jne 0x100f2b16
test dword [esp + 0x20], 0x7fffffff
jne 0x100f2b2f
mov eax, dword [esp + 0x50]
lock dec dword [eax]
jne 0x100f2b4a
lea ecx, [esp + 0x50]
call fcn.100f4a90
cmp dword [esp + 0x44], 0
jne 0x100f2b51
jmp 0x100f2b63
push eax
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [esp + 0x20], 0x7fffffff
je 0x100f2afb
push dword [esp + 0x64]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x50]
lock dec dword [eax]
je 0x100f2b04
cmp dword [esp + 0x44], 0
je 0x100f2b63
push dword [esp + 0x48]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x140]
mov dword [esp + 0xa4], 0x1018eef4
mov dword [esp + 0xa8], 3
mov dword [esp + 0xb4], 0
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xfc], 0x100f04c0
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], 2
mov dword [esp + 0x78], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], 0x100f4660
call fcn.100e9420
cmp dword [esp + 0x70], 0
jne 0x100f2240
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov eax, dword [edi]
test eax, eax
je 0x100f2c0d
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x100f2240
cmp dword [edi + 8], 9
jb 0x100f2c20
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x100f2240
mov dword [esp + 0x10], 8
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0x80000000
xor esi, esi
mov eax, dword [esp + 0x84]
lock dec dword [eax]
je 0x100f3270
jmp 0x100f327c
mov ecx, 0x10198474
mov edx, 0x10198474
call fcn.101160b0
jmp 0x100f289d
cmp ecx, esi
jbe 0x100f2d0b
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
sub edx, ecx
shr edx, 1
cmp edx, eax
jb 0x100f2d0b
add esi, esi
test eax, eax
lea eax, [ecx + eax*2 - 2]
cmove eax, esi
lea ecx, [eax + 1]
mov edx, dword [esp + 0x80]
cmp eax, edx
jae 0x100f2d0b
mov esi, dword [esp + 0x7c]
mov eax, dword [esi + eax*4]
test eax, eax
je 0x100f2d0b
cmp ecx, edx
jae 0x100f2d0b
mov ecx, dword [esi + ecx*4]
test ecx, ecx
mov dword [esp + 8], ecx
je 0x100f2d0b
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 8]
lea edi, [eax - 1]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x94]
lea esi, [ecx - 1]
cmp edi, esi
ja 0x100f34cd
test edi, edi
je 0x100f2e3d
cmp edi, edx
jae 0x100f2e37
mov ecx, dword [esp + 0xc]
cmp byte [ecx + edi], 0xbf
jg 0x100f2e3d
jmp 0x100f34cd
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x10], 8
mov dword [esp + 4], 0
cmp dword [edi + 0x1c], esi
jbe 0x100f325e
mov ecx, esi
mov edx, 0x1018eac7
shl ecx, 5
add ecx, dword [edi + 0x18]
push 6
call fcn.100566c0
add esp, 4
test eax, eax
je 0x100f325e
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 8]
cmp ecx, 1
jne 0x100f2d69
test eax, eax
js 0x100f325e
lea ecx, [eax + eax + 1]
add eax, eax
jmp 0x100f2d95
cmp ecx, esi
jbe 0x100f325e
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
sub edx, ecx
shr edx, 1
cmp edx, eax
jb 0x100f325e
add esi, esi
test eax, eax
lea eax, [ecx + eax*2 - 2]
cmove eax, esi
lea ecx, [eax + 1]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 8]
cmp eax, edx
jae 0x100f2e20
mov edi, dword [esp + 0x7c]
mov esi, dword [edi + eax*4]
test esi, esi
je 0x100f325e
cmp ecx, edx
jae 0x100f325e
mov eax, dword [edi + ecx*4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x100f325e
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [0x1019849c]
cmp eax, 2
jne 0x100f336f
mov eax, dword [esp + 0x14]
lea edx, [esi - 1]
mov ecx, edx
mov dword [esp + 4], edx
dec eax
cmp edx, eax
ja 0x100f34eb
cmp dword [esp + 4], 0
je 0x100f2e5a
cmp dword [esp + 4], edi
jae 0x100f2e54
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
cmp byte [ecx + edx], 0xbf
jg 0x100f2e5a
jmp 0x100f34eb
xor esi, esi
mov eax, dword [esp + 0x84]
lock dec dword [eax]
je 0x100f3270
jmp 0x100f327c
jne 0x100f34cd
test esi, esi
je 0x100f2e77
cmp esi, edx
jae 0x100f2e71
mov ecx, dword [esp + 0xc]
cmp byte [ecx + esi], 0xbf
jg 0x100f2e77
jmp 0x100f34cd
jne 0x100f34eb
test eax, eax
je 0x100f2ed0
cmp eax, edi
jae 0x100f2eca
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax], 0xbf
jg 0x100f2ed0
jmp 0x100f34eb
jne 0x100f34cd
sub dword [esp + 8], eax
mov dword [esp + 0x1c], 1
je 0x100f2ea9
js 0x100f34c8
movzx eax, byte [0x10199148]
mov edx, dword [esp + 8]
xor ecx, ecx
call fcn.100ea7d0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x100f34dd
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
add eax, edi
push esi
push eax
push dword [esp + 0x24]
call fcn.10100490
add esp, 0xc
mov dword [esp + 0xc], esi
jmp 0x100f2d0b
jne 0x100f34eb
mov eax, dword [0x1019914c]
mov ecx, dword fs:[0x2c]
mov edi, dword [0x10198490]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x14], 0
je 0x100f3383
mov eax, dword [0x1019914c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x18]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
mov dword [esp + 0x28], ecx
jne 0x100f338d
mov dword [edi + 0x14], 1
mov dword [esp + 0xac], edi
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], eax
mov byte [esp + 0xb0], 0
movsd xmm0, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
movzx eax, word [esp + 0xa4]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x129]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], 0
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0xf8], xmm0
mov word [ecx], ax
movzx eax, byte [esp + 0xa6]
add edi, dword [esp + 4]
sub edx, esi
mov byte [ecx + 2], al
lea eax, [esp + 0x2f]
lea ecx, [esp + 0x68]
mov dword [esp + 0x108], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], edx
mov byte [esp + 0x128], 0
mov dword [esp + 0x12c], 0x1019848c
mov dword [esp + 0x130], edi
mov dword [esp + 0x134], edx
lea edx, [esp + 0xf8]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
lea ecx, [esp + 0x168]
call fcn.100f4ca0
cmp dword [esp + 0x178], 0x80000000
jne 0x100f306c
mov esi, dword [esp + 0xfc]
cmp dword [esp + 0xf8], 0
mov dword [esp + 0xf8], 1
mov dword [esp + 0xfc], 2
je 0x100f31db
cmp esi, 2
mov dword [esp + 0x148], esi
je 0x100f3500
mov eax, dword [esp + 0x100]
mov dword [eax + 0x14], esi
jmp 0x100f3234
movzx eax, byte [0x10199148]
xor ecx, ecx
mov edx, 0x80
call fcn.100ea7d0
test eax, eax
mov dword [esp + 0x14], eax
je 0x100f3529
movsd xmm0, qword [esp + 0x180]
mov eax, dword [esp + 0x14]
mov ecx, 0x12
lea edi, [esp + 0xa4]
lea esi, [esp + 0xf8]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x178]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x168]
movsd xmm1, qword [esp + 0x170]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 1
rep movsd dword es:[edi], dword [esi]
mov esi, 1
mov edi, 0x20
jmp 0x100f314e
movsd xmm0, qword [esp + 0x160]
mov eax, dword [esp + 0x14]
inc esi
movsd qword [eax + edi + 0x18], xmm0
movsd xmm0, qword [esp + 0x158]
movsd qword [eax + edi + 0x10], xmm0
movsd xmm0, qword [esp + 0x148]
movsd xmm1, qword [esp + 0x150]
movsd qword [eax + edi + 8], xmm1
movsd qword [eax + edi], xmm0
mov dword [esp + 0xa0], esi
add edi, 0x20
lea ecx, [esp + 0x148]
lea edx, [esp + 0xa4]
call fcn.100f4ca0
cmp dword [esp + 0x158], 0x80000000
je 0x100f3195
cmp esi, dword [esp + 0x98]
jne 0x100f3104
lea ecx, [esp + 0x98]
mov edx, esi
call fcn.10116400
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
jmp 0x100f3104
mov edi, dword [esp + 0xa8]
cmp dword [esp + 0xa4], 0
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 2
je 0x100f31fd
cmp edi, 2
mov dword [esp + 0xf4], edi
je 0x100f3538
mov eax, dword [esp + 0xac]
mov dword [eax + 0x14], edi
jmp 0x100f32dc
cmp byte [esp + 0x104], 0
je 0x100f3226
mov ecx, esi
call fcn.100f5930
push esi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x100f3234
cmp byte [esp + 0xb0], 0
je 0x100f32ce
mov ecx, edi
call fcn.100f5930
push edi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x100f32dc
mov ecx, dword [esp + 0x100]
mov edx, esi
call fcn.100f57b0
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x10], eax
je 0x100f324e
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], 0x80000000
jmp 0x100f3260
mov dword [esp + 0x10], 8
mov dword [esp + 4], 0
xor esi, esi
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x84]
lock dec dword [eax]
jne 0x100f327c
lea ecx, [esp + 0x84]
call fcn.100f4a90
cmp dword [esp + 0x78], 0
je 0x100f3295
push dword [esp + 0x7c]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
cmp eax, 0x80000001
jne 0x100f32b9
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
jmp 0x100f28e8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ecx
jmp 0x100f28e8
mov ecx, dword [esp + 0xac]
mov edx, edi
call fcn.100f57b0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x98]
test ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
je 0x100f335a
mov eax, dword [esp + 0x6c]
test esi, esi
mov dword [esp + 0x30], eax
je 0x100f3330
mov edi, dword [esp + 0x14]
jmp 0x100f330b
add edi, 0x20
dec esi
je 0x100f3330
cmp dword [edi + 0x10], 0
je 0x100f3322
push dword [edi + 0x14]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp byte [edi], 7
je 0x100f3305
mov ecx, edi
call fcn.100f0580
jmp 0x100f3305
cmp dword [esp + 0x28], 0
mov dword [esp + 4], 0x80000000
je 0x100f3351
push dword [esp + 0x14]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [esp + 0x30]
jmp 0x100f3260
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 0x10], ecx
jmp 0x100f3260
mov ecx, 0x1019848c
mov edx, 0x1019848c
call fcn.101160b0
jmp 0x100f2dea
call fcn.101160f0
jmp 0x100f2ef2
lea ecx, [esp + 0xa4]
mov edx, edi
push dword [esp + 0x28]
push eax
call fcn.10116160
add esp, 8
jmp 0x100f2f3e
mov edi, dword [esp + 0x38]
mov esi, 6
mov dword [edi], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x50]
lock dec dword [eax]
jne 0x100f33cd
lea ecx, [esp + 0x50]
call fcn.100f4a90
cmp dword [esp + 0x44], 0
mov edi, dword [esp + 0x38]
je 0x100f33ea
push dword [esp + 0x48]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x64]
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], ecx
jmp 0x100f33b1
lock dec dword [eax]
jne 0x100f3439
lea ecx, [esp + 0x50]
call fcn.100f4a90
cmp dword [esp + 0x44], 0
mov edi, dword [esp + 0x38]
je 0x100f3456
push dword [esp + 0x48]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, 8
mov eax, 0x80000000
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0x80000000
mov dword [esp + 4], 0
jmp 0x100f33f6
mov edx, dword [esp + 0x18]
push 0x1018f428
push dword [esp + 0x28]
push eax
call fcn.1010d4f0
mov ecx, edi
push 0x1018f428
push esi
push eax
call fcn.1010d4f0
push 0x1018f428
push eax
push edi
call fcn.1010d4f0
mov edx, dword [esp + 0x10]
push 0x1018f428
push edi
push eax
call fcn.1010d4f0
mov edx, dword [esp + 0x34]
mov ecx, 1
call fcn.1010cb60
call fcn.10001070
mov ecx, dword [esp + 0xc]
push 0x1018f428
push esi
push edi
call fcn.1010d4f0
mov edx, dword [esp + 8]
mov ecx, 1
call fcn.1010cb60
mov ecx, dword [esp + 0x10]
mov edx, edi
push 0x1018f428
push eax
push dword [esp + 0xc]
call fcn.1010d4f0
mov dword [esp + 0xa4], 0
lea edx, [esp + 0x148]
mov ecx, 0x1018e7d8
push 0x1018e7dc
lea eax, [esp + 0xa8]
push eax
call fcn.101163c0
mov ecx, 8
mov edx, 0x80
call fcn.1010cb60
mov dword [esp + 0x18c], 0
lea eax, [esp + 0x18c]
lea edx, [esp + 0xf4]
mov ecx, 0x1018e7d8
push 0x1018e7dc
push eax
call fcn.101163c0
int3