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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x1c]
shl esi, 6
lea esi, [esi + eax + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], ecx
movzx ecx, byte [esi + 0x28]
push edi
lea edi, [ecx*8]
sub edi, ecx
lea eax, [eax + edi*8 + 8]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov ebx, eax
shr ebx, 0x19
xor edx, edx
and ebx, 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
test eax, 0x800000
je 0x1006fd53
test byte [esp + 0xb0], 0x40
mov dword [esp + 0x24], 1
je 0x1006fd57
mov dword [esp + 0x24], edx
mov eax, ebp
call fcn.10043760
mov dword [esp + 0x30], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov eax, ebp
call fcn.10043760
cmp byte [esi + 0x28], 0
mov dword [esp + 0x5c], eax
mov dword [esi + 0x20], eax
jbe 0x1006fda2
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x15], 8
je 0x1006fda2
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
mov dword [esi + 0xc], eax
push 0
push 7
mov eax, ebp
call fcn.10043700
add esp, 0xc
mov eax, dword [esi]
test eax, 0x8000000
je 0x1007005f
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
lea eax, [edi + 2]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
call fcn.1003cfb0
add esp, 4
cmp edi, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 1
jl 0x1006fec9
jmp 0x1006fdf9
mov edi, dword [esp + 0x18]
xor ebx, ebx
test edi, edi
jle 0x1006feb0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
nop
cmp dword [edx + ebx*8], eax
je 0x1006fe1f
inc ebx
cmp ebx, ecx
jl 0x1006fe10
jmp 0x1006feb0
mov ecx, dword [esp + 0x1c]
lea edi, [eax + ecx + 1]
mov eax, dword [esp + 0x20]
lea edx, [ebx + ebx*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0x3c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ecx*8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x10]
push edi
push eax
push edx
mov dword [esp + 0x4c], edi
call fcn.1006b050
add esp, 0xc
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x1006feb0
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x1006feb0
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x24], eax
jg 0x1006fe7d
call fcn.10043580
test eax, eax
jne 0x1006feb0
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xf
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x6e], cl
cmp ebx, dword [esp + 0x18]
je 0x1006fec9
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jle 0x1006fdf5
mov eax, dword [esp + 0x28]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
jg 0x1006fee7
mov edi, ebp
call fcn.10043580
test eax, eax
jne 0x1006ff16
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
jg 0x1006ff29
mov edi, ebp
call fcn.10043580
test eax, eax
jne 0x1006ff5a
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
inc ecx
dec edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], edx
jg 0x1006ff90
mov edi, ebp
call fcn.10043580
test eax, eax
je 0x1006ff90
mov ebx, 1
jmp 0x1006ffc7
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x48]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x7d
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
push eax
push ebp
mov eax, ebx
call fcn.10043b20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [ecx + 0x1c], 0
test eax, eax
jle 0x1007002a
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
add edi, 8
add ebx, 4
mov dword [esp + 0x20], eax
cmp byte [ebx], 0
je 0x1007001d
mov eax, dword [edi]
mov esi, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
lea eax, [ecx + edx*8]
call fcn.1003f0b0
add ebx, 8
add edi, 0xc
sub dword [esp + 0x20], 1
jne 0x10070000
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x10]
mov byte [esi + 0x29], 0x7f
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
cmp ecx, dword [edx + 0x38]
jle 0x100709dc
mov eax, edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov ebx, eax
jmp 0x100709e0
test eax, 0x1000
je 0x10070103
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x15]
test al, al
jne 0x1007007d
inc dword [ecx + 0x48]
mov eax, dword [ecx + 0x48]
jmp 0x10070089
dec al
movzx edx, al
mov byte [ecx + 0x15], al
mov eax, dword [ecx + edx*4 + 0x18]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push 0
push 3
push ecx
push edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
push edi
push eax
or ebx, 0xffffffff
call fcn.100687c0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
push ecx
push eax
push edx
mov ebx, esi
call fcn.1006f940
mov ebx, eax
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x44], eax
push ebx
push 0x15
mov eax, ebp
call fcn.10043700
mov eax, dword [esp + 0x4c]
push ebx
push eax
push edi
push 0x33
mov eax, ebp
call fcn.10043600
mov ecx, dword [esp + 0x50]
add esp, 0x40
push ebx
push 0xffffffffffffffff
push edi
call fcn.1003cb90
add esp, 0xc
mov byte [esi + 0x29], 0x85
mov ebx, ecx
jmp 0x100709e0
test eax, 0x2000
je 0x10070321
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x3c]
push 0
push 0x24
push ecx
push edx
push edi
push eax
or ebx, 0xffffffff
mov dword [esp + 0x40], 0x85
mov dword [esp + 0x38], 0
call fcn.100687c0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xcc]
push 0
push 0x18
push ecx
push edx
mov esi, eax
mov eax, dword [esp + 0x64]
push edi
push eax
or ebx, ebx
mov dword [esp + 0x4c], esi
call fcn.100687c0
mov ecx, dword [esp + 0x7c]
add esp, 0x30
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10070182
mov edx, esi
mov esi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
test esi, esi
je 0x100701fa
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx]
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x24]
push edx
mov esi, ebx
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], 0x2c
mov byte [esp + 0x1a], 0x2b
mov byte [esp + 0x1b], 0x2d
call fcn.100448b0
movzx edx, byte [edi]
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x34]
push esi
push eax
movzx eax, byte [esp + edx - 0x2d]
push ecx
push eax
mov eax, ebp
call fcn.10043600
push ebx
mov eax, 1
call fcn.1003cdc0
mov esi, dword [esp + 0x3c]
add esp, 0x18
mov edx, ebx
call fcn.1003cf80
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
call fcn.1003f0b0
mov eax, esi
jmp 0x1007021e
mov edx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
sete al
push edx
push edi
lea eax, [eax + eax + 0x3e]
push eax
mov eax, ebp
call fcn.10043700
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x10070284
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
mov edi, ebx
mov dword [esp + 0x20], esi
call fcn.10044930
mov edx, dword [esp + 0x24]
mov al, byte [edx]
cmp al, 0x4f
je 0x10070264
cmp al, 0x4d
je 0x10070264
xor eax, eax
cmp dword [esp + 0x4c], eax
setne al
lea eax, [eax + eax + 0x4d]
mov dword [esp + 0x28], eax
jmp 0x10070275
xor ecx, ecx
cmp dword [esp + 0x4c], ecx
sete cl
lea ecx, [ecx + ecx + 0x4e]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
call fcn.1003f0b0
mov eax, esi
cmp dword [esp + 0x4c], 0
mov esi, dword [ebp + 0xc]
sete dl
add dl, 0x41
cmp dword [esp + 0x1c], 0
mov byte [eax + 0x29], dl
mov edx, dword [esp + 0x48]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], esi
jne 0x100702b4
cmp dword [esp + 0x18], 0
jne 0x100702b4
mov ecx, 1
jmp 0x100702b6
xor ecx, ecx
mov edi, dword [esp + 0x28]
mov byte [eax + 0x2a], cl
cmp edi, 0x85
je 0x100709dc
mov eax, ebx
call fcn.1003cf60
mov esi, eax
push esi
push edx
push 0x3c
mov eax, ebp
mov dword [esp + 0x60], esi
call fcn.10043700
mov eax, dword [esp + 0x54]
push esi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.1003cb90
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push esi
push ecx
push edx
push edi
mov eax, ebp
call fcn.10043600
mov eax, dword [ebp + 0x14]
add esp, 0x28
test eax, eax
je 0x100709dc
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x6b
jmp 0x100709e0
test eax, 0x30000
je 0x100707d1
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 8]
mov edx, dword [edx + ecx*4]
xor eax, eax
test byte [esp + 0xb0], 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x40
mov dword [esp + 0x78], 0x3e
mov dword [esp + 0x7c], 0x2e
mov dword [esp + 0x80], 0x2b
mov dword [esp + 0x84], 0x2d
mov dword [esp + 0x88], 0x2c
mov dword [esp + 0x60], 0x85
mov dword [esp + 0x64], 0x51
mov dword [esp + 0x68], 0x48
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], edx
je 0x100703da
test dword [esi], 0x1000000
je 0x100703da
mov edx, dword [esp + 0x14]
cmp dword [edx + 4], ecx
jle 0x100703da
mov eax, 1
mov dword [esp + 0x40], eax
test dword [esi], 0x100000
je 0x10070418
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x40]
push 0x18
push ecx
push edx
push edi
push eax
call fcn.100687c0
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
add esp, 0x18
mov eax, 1
test dword [esi], 0x200000
je 0x10070456
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
push 0x24
push edx
push eax
push edi
push ecx
call fcn.100687c0
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], eax
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push esi
push eax
call fcn.1006faa0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x28]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
xor ecx, ecx
add esp, 0x1c
cmp byte [edx + eax], cl
sete cl
cmp ebx, ecx
jne 0x100704b3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], eax
jmp 0x100704bb
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x100704cb
test byte [eax + 0x10], 0x28
mov dword [esp + 0x20], edi
je 0x100704d3
mov dword [esp + 0x20], 1
cmp ecx, edi
je 0x100704e1
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x50], edi
je 0x100704e9
mov dword [esp + 0x50], 1
cmp eax, edi
jne 0x100704f5
cmp edx, edi
jg 0x100704f5
xor edi, edi
jmp 0x100704fa
mov edi, 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x14], edx
test eax, eax
je 0x1007056e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
lea esi, [edx + ecx]
mov dword [esp + 0x40], eax
call fcn.10044930
mov edx, dword [esp + 0x1c]
push edx
push esi
push 0x49
mov eax, ebp
call fcn.10043700
mov esi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x1007055b
mov edi, dword [esp + 0x28]
mov bl, byte [edi + esi]
mov eax, dword [esp + 0x40]
call fcn.10044280
cmp al, 0x62
jne 0x1007055b
mov byte [edi + esi], al
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
jmp 0x1007059e
cmp dword [esp + 0x40], 0
je 0x1007059e
mov eax, dword [esp + 0x38]
mov edi, edx
add eax, edi
push eax
push 0
push 0xa
mov eax, ebp
call fcn.10043700
add esp, 0xc
inc edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], 0
mov edi, 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.100465c0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x34]
push eax
lea eax, [edx + edi*2]
push ecx
lea ecx, [ebx + eax*2]
mov edx, dword [esp + ecx*4 + 0x88]
push edx
mov eax, ebp
call fcn.10043600
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
add esp, 0x20
test ecx, ecx
je 0x10070619
cmp byte [edi + 0x1e], 0
jne 0x10070619
test eax, eax
jge 0x100705fa
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.10043980
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], 0xf2
jmp 0x10070627
mov ecx, dword [esp + 0x14]
mov eax, 0xfffffff2
call fcn.10043980
cmp dword [esp + 0x44], 0
mov edi, dword [esp + 0x34]
je 0x100706b3
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
mov ecx, dword [esp + 0x38]
mov ebx, dword [eax + 0xc]
mov edx, edi
mov edi, dword [esp + 0x10]
lea esi, [ecx + edx]
push esi
mov edx, edi
mov dword [esp + 0x44], ebx
call fcn.1003ccd0
mov eax, ebx
call fcn.10044930
mov eax, dword [esp + 0x20]
push eax
push esi
push 0x49
mov eax, ebp
call fcn.10043700
mov ecx, dword [edi]
mov ebx, dword [esp + 0x38]
push ecx
call fcn.10041640
mov edi, dword [esp + 0x48]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1007069a
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x40]
call fcn.10044280
cmp al, 0x62
jne 0x1007069a
mov byte [esi + edi], al
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push esi
inc edi
push edi
push edx
push eax
call fcn.100465c0
mov esi, dword [esp + 0x3c]
add esp, 0x10
cmp dword [esp + 0x44], 0
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x30], ecx
jne 0x100706cb
cmp dword [esp + 0x34], 0
jne 0x100706cb
xor eax, eax
jmp 0x100706d0
mov eax, 1
mov ebx, dword [esp + 0x4c]
lea edx, [ebx + 1]
imul edx, eax
mov eax, dword [esp + edx*4 + 0x60]
cmp eax, 0x85
je 0x10070717
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
push 0xfffffffffffffff2
push edi
push eax
mov eax, dword [esp + 0x44]
mov edi, ebp
call fcn.100495e0
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x10070717
cmp dword [esp + 0x50], ebx
mov ecx, dword [ebp + 0xc]
setne dl
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], dl
mov eax, dword [esp + 0x10]
call fcn.1003cf60
test dword [esi], 0x300000
mov edi, eax
je 0x10070750
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edi
push edx
push eax
push 0x1c
mov eax, ebp
call fcn.10043600
mov ecx, dword [esp + 0x6c]
push ecx
push edi
push 0x49
mov eax, ebp
call fcn.10043700
add esp, 0x1c
mov ebx, dword [esp + 0x10]
mov esi, edi
mov edx, ebx
call fcn.1003cf80
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
call fcn.1003f0b0
mov eax, dword [esp + 0x44]
call fcn.1003f0b0
cmp dword [esp + 0x24], 0
jne 0x100707b7
mov eax, ebx
call fcn.1003cf60
mov edx, dword [esp + 0x30]
mov edi, eax
push edi
push edx
push 0x47
mov eax, ebp
mov dword [esp + 0x60], edi
call fcn.10043700
mov eax, dword [esp + 0x54]
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.1003cb90
mov ecx, dword [esp + 0x60]
push edi
push ecx
push 0x2f
mov eax, ebp
call fcn.10043700
add esp, 0x24
cmp dword [esp + 0x4c], 0
mov eax, dword [esp + 0x30]
sete dl
add dl, 0x41
mov byte [esi + 0x29], dl
mov dword [esi + 0x2c], eax
jmp 0x100709e0
test eax, 0x10000000
je 0x100709b0
mov ebx, dword [esp + 0x10]
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], eax
mov eax, ebp
mov dword [esp + 0x14], ecx
call fcn.10043760
mov edx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0xc]
mov ecx, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb0]
mov edx, ecx
mov word [esp + 0x6c], cx
mov ecx, 0xe
lea edi, [esp + 0x74]
and eax, 8
mov word [esp + 0x6e], dx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
jne 0x10070862
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
push ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x28], eax
push 0
push 0xa
mov eax, ebp
mov dword [esp + 0x5c], ecx
call fcn.10043700
add esp, 0xc
mov eax, dword [esp + 0x14]
push eax
xor esi, esi
push esi
push 7
mov eax, ebp
call fcn.10043700
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [edi + 0x14], esi
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
jle 0x10070956
mov dword [esp + 0x30], esi
mov eax, dword [edi + 0x1c]
add eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x48]
je 0x100708b0
mov edx, 0x200
cmp word [eax + 0x10], dx
jne 0x1007093b
mov eax, dword [eax]
push 0x70
push 0
push eax
lea ecx, [esp + 0x78]
push ecx
push ebx
call fcn.10077a20
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1007093b
cmp word [esp + 0x18], 0
jne 0x1007091f
mov edx, dword [edi + 0x14]
dec edx
cmp dword [esp + 0x28], edx
jne 0x100708e2
or edi, 0xffffffff
jmp 0x100708e6
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0xffffffffffffffff
push eax
push ebx
xor eax, eax
call fcn.1006aef0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x64]
push 0xfffffffffffffff2
push edi
add ecx, 2
push 0x6a
mov edi, ebp
call fcn.100495e0
mov edi, dword [esp + 0x60]
add esp, 0x20
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 2
mov eax, ebp
call fcn.10043700
push esi
call fcn.10046750
add esp, 0x10
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 0x28
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
jl 0x10070891
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x10070967
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 1
mov eax, ebp
call fcn.10043700
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x10070996
mov edx, dword [esp + 0x58]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x38]
mov byte [esi + 0x29], 3
call fcn.1003f0b0
jmp 0x100709e0
mov cl, byte [ebx + 0x100f4164]
mov edx, dword [esp + 0x30]
mov byte [esi + 0x29], cl
mov dword [esi + 0x2c], edi
movzx eax, byte [ebx + 0x100f4168]
push edx
push edi
push eax
mov eax, ebp
call fcn.10043700
add esp, 0xc
inc eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x2a], 1
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x10070a06
add edx, 4
mov esi, dword [esp + 0x48]
cmp dword [edx], esi
je 0x10070b76
inc ecx
add edx, 4
cmp ecx, eax
jl 0x100709f2
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0xb4], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
not edx
and dword [esp + 0xb8], edx
test edi, edi
jle 0x10070a7d
lea ebx, [ebx]
test byte [esi + 0x12], 6
jne 0x10070a75
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb4]
and ecx, dword [esp + 0xb8]
or eax, ecx
jne 0x10070a75
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0xc], 0
mov eax, dword [esi]
je 0x10070a60
test byte [eax + 2], 1
je 0x10070a75
mov ecx, dword [esp + 0x5c]
push 8
push ecx
push eax
push ebx
call fcn.10064220
add esp, 0x10
or byte [esi + 0x12], 4
dec edi
add esi, 0x28
test edi, edi
jg 0x10070a30
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0xc], 0
je 0x10070b30
mov ecx, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x24], ecx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x24], edx
jg 0x10070aad
mov edi, ebp
call fcn.10043580
test eax, eax
jne 0x10070add
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ebp, dword [esp + 0x3c]
mov edx, ebx
call fcn.1003cd70
mov esi, dword [ebp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x14], edi
jle 0x10070b30
test byte [esi + 0x12], 6
jne 0x10070b27
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb4]
and ecx, dword [esp + 0xb8]
or eax, ecx
jne 0x10070b27
mov edx, dword [esp + 0x5c]
mov eax, dword [esi]
push 8
push edx
push eax
push ebx
call fcn.10064220
add esp, 0x10
or byte [esi + 0x12], 4
inc edi
add esi, 0x28
cmp edi, dword [ebp + 0x14]
jl 0x10070af2
mov esi, dword [esp + 0x54]
test esi, esi
je 0x10070b5d
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x10070b5d
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x10070b87
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x10070b45
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x18], esi
inc byte [ebx + 0x15]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov eax, 1
xor edx, edx
call fcn.100af460
jmp 0x10070a0a
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x9c
ret