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

Disassembly:
mov eax, dword [0x816b218]
sub esp, 0xe0
push ebx
xor ebx, ebx
cmp word [eax], bx
push ebp
push esi
push edi
jne 0x1001a964
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
test byte [edx + 4], 0x80
je 0x10019daf
mov dword [esp + 0xfc], ebx
mov esi, dword [esp + 0xf8]
lea eax, [esp + 0x6c]
push eax
push 0x65
push esi
call dword [0x816c8ec]
push eax
call dword [0x816c8f8]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
sub eax, ecx
lea ecx, [esp + 0x90]
push ecx
push esi
sub edi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call dword [0x816c940]
mov ecx, dword [0x816b218]
mov ebx, dword [esp + 0x78]
mov ebp, ebx
mov eax, dword [ecx + 0xc]
sub ebp, dword [esp + 0x70]
movsx edx, word [eax + 0x44]
movsx esi, word [eax + 0x40]
mov eax, edx
sub eax, esi
cmp eax, ebp
jg 0x10019e5a
mov eax, dword [esp + 0x94]
add eax, eax
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0x70]
sub eax, ebp
add eax, ebx
sub eax, edx
add eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0xc]
movsx esi, word [edx + 0x44]
movsx edx, word [edx + 0x40]
sub esi, edx
add esi, eax
mov dword [esp + 0x30], esi
jmp 0x10019e7c
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x94]
mov eax, esi
sub eax, ebp
shl eax, 1
cdq
sub eax, edx
sar eax, 1
add ebx, eax
mov dword [esp + 0x28], eax
sub ebx, esi
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + 0xc]
mov ebx, dword [esp + 0x74]
mov ebp, ebx
movsx edx, word [eax + 0x46]
movsx esi, word [eax + 0x42]
sub ebp, dword [esp + 0x6c]
mov eax, edx
sub eax, esi
cmp eax, ebp
jg 0x10019ed0
mov eax, dword [esp + 0x90]
add eax, eax
mov ebp, eax
mov eax, ebx
sub eax, ebp
mov ebp, dword [esp + 0x6c]
add eax, ebp
sub eax, edx
add eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0xc]
movsx edx, word [ecx + 0x46]
movsx ecx, word [ecx + 0x42]
sub edx, ecx
add edx, eax
mov dword [esp + 0x2c], edx
jmp 0x10019ef2
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x90]
mov eax, ecx
sub eax, edx
shl eax, 1
cdq
sub eax, edx
sar eax, 1
add ebx, eax
mov dword [esp + 0x24], eax
sub ebx, ecx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0xf8]
lea edx, [esp + 0xb0]
push edx
push eax
call dword [0x816c8e4]
lea ecx, [esp + 0xb8]
mov esi, eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0xa4]
push edx
push eax
mov dword [esp + 0xa4], esi
call dword [0x816c8e0]
test eax, eax
je 0x1001a91c
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
push 1
lea edx, [esp + 0x70]
push 1
push edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
call dword [0x816c8dc]
push 4
call dword [0x816c59c]
push eax
lea eax, [esp + 0x70]
push eax
push esi
call dword [0x816c980]
mov eax, dword [0x816b218]
mov dword [esp + 0x34], 1
mov ecx, dword [eax + 0xc]
movsx edx, word [ecx + 0x40]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0xc]
movsx edx, word [ecx + 0x42]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0xc]
movsx edx, word [ecx + 0x44]
movsx esi, word [ecx + 0x40]
mov ecx, dword [esp + 0x30]
mov ebx, edx
mov ebp, ecx
sub ebx, esi
sub ebp, dword [esp + 0x28]
cmp ebx, ebp
jle 0x10019fc6
sub ecx, dword [esp + 0x28]
add ecx, esi
mov edx, ecx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0xc]
movsx ebx, word [ecx + 0x46]
movsx esi, word [ecx + 0x42]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov ebp, ecx
sub ebx, esi
sub ebp, dword [esp + 0x24]
cmp ebx, ebp
jg 0x10019fef
mov ecx, dword [esp + 0x14]
jmp 0x10019ff5
sub ecx, dword [esp + 0x24]
add ecx, esi
mov dword [esp + 0x44], ecx
mov esi, dword [eax + 0xc]
movsx esi, word [esi + 0x80]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0xfc]
mov ebx, dword [eax + 0xc]
test esi, esi
je 0x1001a01a
mov ebp, dword [ebx + 0x50]
jmp 0x1001a01d
mov ebp, dword [ebx + 0x58]
mov dword [esp + 0x4c], ebp
mov ebx, dword [eax + 0xc]
test esi, esi
je 0x1001a032
movsx esi, word [ebx + 0x3e]
movsx ebx, word [ebx + 0x3c]
jmp 0x1001a03a
movsx esi, word [ebx + 0x4a]
movsx ebx, word [ebx + 0x48]
sub esi, ebx
mov ebx, dword [esp + 0xfc]
inc esi
mov dword [esp + 0x54], 1
test ebx, ebx
mov dword [esp + 0x50], esi
je 0x1001a05c
mov ebx, dword [0x816b210]
jmp 0x1001a062
mov ebx, dword [eax + 0xc]
mov ebx, dword [ebx + 0x54]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x48]
cmp ebx, 0xb
je 0x1001a567
cmp ebx, 0xc
je 0x1001a567
cmp ebx, 0xe
je 0x1001a567
cmp ebx, 0xd
jne 0x1001a263
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
sub ecx, ebx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
mov ecx, dword [eax + 0xc]
sub edx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edx
movsx ecx, word [ecx + 0x3e]
inc ecx
mov dword [esp + 0x1c], ebx
imul ecx, esi
imul ecx, edi
cmp dword [0x816acdc], ecx
mov ecx, dword [0x816acd8]
je 0x1001a140
test ecx, ecx
je 0x1001a0e9
push ecx
call dword [0x816c834]
mov eax, dword [0x816b218]
add esp, 4
mov dword [0x816acd8], 0
mov edx, dword [eax + 0xc]
mov ecx, esi
imul ecx, edi
movsx eax, word [edx + 0x3e]
inc eax
push eax
push ecx
call dword [0x816c784]
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [0x816acd8], ecx
jne 0x1001a11f
push 0x8151c44
call fcn.1000b6b0
add esp, 4
jmp 0x1001a91c
mov eax, dword [0x816b218]
mov ebp, dword [esp + 0x4c]
mov edx, dword [eax + 0xc]
movsx edx, word [edx + 0x3e]
inc edx
imul edx, esi
imul edx, edi
mov dword [0x816acdc], edx
mov edx, dword [esp + 0x14]
mov edi, edx
dec edx
test edi, edi
mov esi, ecx
je 0x1001a22f
inc edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x1001a210
mov dword [esp + 0x18], ebx
movsx edx, word [ecx + 6]
movsx edi, word [ecx]
mov dword [esp + 0x9c], edx
mov ebx, edi
movsx edx, word [ecx + 8]
movsx ebp, word [ecx + 2]
movsx eax, word [ecx + 4]
mov dword [esp + 0x20], edx
mov edx, edi
sar edx, 7
sar ebx, 0xf
or dl, bl
mov ebx, ebp
mov byte [esi], dl
mov edx, ebp
sar edx, 7
sar ebx, 0xf
or dl, bl
mov edi, dword [esp + 0x9c]
mov byte [esi + 1], dl
mov edx, eax
sar edx, 7
sar eax, 0xf
or dl, al
mov eax, edi
mov byte [esi + 2], dl
mov edx, edi
sar eax, 7
sar edx, 0xf
or al, dl
mov byte [esi + 3], al
mov eax, dword [0x816b218]
mov edx, dword [eax + 0xc]
cmp word [edx + 0x3e], 4
jne 0x1001a1e7
mov edi, dword [esp + 0x20]
mov eax, edi
mov edx, edi
sar eax, 7
sar edx, 0xf
or al, dl
mov byte [esi + 4], al
mov eax, dword [0x816b218]
mov edx, dword [esp + 0x50]
lea ecx, [ecx + edx*2]
mov edx, dword [eax + 0xc]
movsx edx, word [edx + 0x3e]
lea esi, [esi + edx + 1]
mov edx, dword [esp + 0x18]
dec edx
mov dword [esp + 0x18], edx
jne 0x1001a162
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, ebp
dec ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jne 0x1001a152
mov ecx, dword [0x816acd8]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0xc]
movsx ebp, word [ecx + 0x3e]
inc ebp
imul ebp, ebx
mov dword [esp + 0x4c], ebp
mov edx, dword [eax + 0xc]
movsx esi, word [edx + 0x3e]
inc esi
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], 4
jmp 0x1001a744
cmp ebx, 0xf
jne 0x1001a3fd
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
sub ecx, ebx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
mov ecx, dword [eax + 0xc]
sub edx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
movsx ecx, word [ecx + 0x3e]
inc ecx
mov dword [esp + 0x20], ebx
imul ecx, esi
imul ecx, edi
cmp dword [0x816acdc], ecx
mov ecx, dword [0x816acd8]
je 0x1001a31e
test ecx, ecx
je 0x1001a2c7
push ecx
call dword [0x816c834]
mov eax, dword [0x816b218]
add esp, 4
mov dword [0x816acd8], 0
mov edx, dword [eax + 0xc]
mov ecx, esi
imul ecx, edi
movsx eax, word [edx + 0x3e]
inc eax
push eax
push ecx
call dword [0x816c784]
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [0x816acd8], ecx
jne 0x1001a2fd
push 0x8151c08
call fcn.1000b6b0
add esp, 4
jmp 0x1001a91c
mov eax, dword [0x816b218]
mov ebp, dword [esp + 0x4c]
mov edx, dword [eax + 0xc]
movsx edx, word [edx + 0x3e]
inc edx
imul edx, esi
imul edx, edi
mov dword [0x816acdc], edx
mov edx, dword [esp + 0x1c]
mov edi, edx
dec edx
test edi, edi
mov esi, ecx
je 0x1001a3c9
inc edx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x1001a3aa
mov dword [esp + 0x14], ebx
movsx edi, word [ecx]
movsx ebp, word [ecx + 2]
movsx edx, word [ecx + 6]
mov eax, edi
mov ebx, edi
sar eax, 0xf
sar ebx, 7
or al, bl
mov ebx, ebp
mov byte [esi], al
mov eax, ebp
sar eax, 0xf
sar ebx, 7
or al, bl
mov byte [esi + 1], al
mov eax, dword [0x816b218]
mov edi, dword [eax + 0xc]
cmp word [edi + 0x3e], 2
jne 0x1001a385
mov eax, edx
sar eax, 0xf
sar edx, 7
or al, dl
mov byte [esi + 2], al
mov eax, dword [0x816b218]
mov edx, dword [esp + 0x50]
lea ecx, [ecx + edx*2]
mov edx, dword [eax + 0xc]
movsx edx, word [edx + 0x3e]
lea esi, [esi + edx + 1]
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
jne 0x1001a33c
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add edx, ebp
dec ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
jne 0x1001a330
mov ecx, dword [0x816acd8]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0xc]
movsx ebp, word [ecx + 0x3e]
inc ebp
imul ebp, ebx
mov dword [esp + 0x4c], ebp
mov edx, dword [eax + 0xc]
movsx esi, word [edx + 0x3e]
inc esi
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], 8
jmp 0x1001a744
cmp ebx, 0xa
jne 0x1001a744
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
sub ecx, ebx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
mov ecx, dword [eax + 0xc]
sub edx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
movsx ecx, word [ecx + 0x3e]
inc ecx
mov dword [esp + 0x20], ebx
imul ecx, esi
imul ecx, edi
cmp dword [0x816acdc], ecx
je 0x1001a4aa
mov ecx, dword [0x816acd8]
test ecx, ecx
je 0x1001a461
push ecx
call dword [0x816c834]
mov eax, dword [0x816b218]
add esp, 4
mov dword [0x816acd8], 0
mov edx, dword [eax + 0xc]
imul esi, edi
movsx eax, word [edx + 0x3e]
inc eax
push eax
push esi
call dword [0x816c784]
mov edi, eax
add esp, 8
test edi, edi
mov dword [0x816acd8], edi
jne 0x1001a495
push 0x8151bd0
call fcn.1000b6b0
add esp, 4
jmp 0x1001a91c
mov ebp, dword [esp + 0x4c]
mov eax, dword [0x816b218]
mov edx, dword [esp + 0x1c]
mov dword [0x816acdc], esi
jmp 0x1001a4b0
mov edi, dword [0x816acd8]
mov ecx, edx
dec edx
test ecx, ecx
je 0x1001a536
inc edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x1001a51b
lea edx, [ebx]
movsx esi, word [ecx]
movsx ebp, word [ecx + 2]
mov eax, esi
mov ebx, esi
sar eax, 7
sar ebx, 0xf
or al, bl
mov byte [edi], al
mov eax, dword [0x816b218]
mov esi, dword [eax + 0xc]
cmp word [esi + 0x3e], 1
jne 0x1001a4fe
mov eax, ebp
mov ebx, ebp
sar eax, 7
sar ebx, 0xf
or al, bl
mov byte [edi + 1], al
mov eax, dword [0x816b218]
mov esi, dword [esp + 0x50]
dec edx
lea ecx, [ecx + esi*2]
mov esi, dword [eax + 0xc]
movsx esi, word [esi + 0x3e]
lea edi, [edi + esi + 1]
jne 0x1001a4c6
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, ebp
dec ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jne 0x1001a4bc
mov edi, dword [0x816acd8]
mov dword [esp + 0x58], edi
mov ecx, dword [eax + 0xc]
movsx ebp, word [ecx + 0x3e]
inc ebp
mov ecx, 1
imul ebp, ebx
mov dword [esp + 0x4c], ebp
mov edx, dword [eax + 0xc]
movsx esi, word [edx + 0x3e]
inc esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ecx
jmp 0x1001a744
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x38]
sub ecx, ebx
sub edx, esi
mov ebx, ecx
mov ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
movsx edx, word [ecx + 0x3e]
inc edx
mov ecx, dword [0x816acdc]
imul edx, esi
imul edx, edi
cmp ecx, edx
mov dword [esp + 0x20], ebx
je 0x1001a618
mov ecx, dword [0x816acd8]
xor ebp, ebp
cmp ecx, ebp
je 0x1001a5c2
push ecx
call dword [0x816c834]
mov eax, dword [0x816b218]
add esp, 4
mov dword [0x816acd8], ebp
mov eax, dword [eax + 0xc]
mov edx, esi
imul edx, edi
movsx ecx, word [eax + 0x3e]
inc ecx
push ecx
push edx
call dword [0x816c784]
add esp, 8
cmp eax, ebp
mov dword [0x816acd8], eax
jne 0x1001a5fb
push 0x8151b98
call fcn.1000b6b0
add esp, 4
mov dword [0x816acdc], ebp
jmp 0x1001a91c
mov eax, dword [0x816b218]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
movsx edx, word [ecx + 0x3e]
inc edx
imul edx, esi
imul edx, edi
mov dword [0x816acdc], edx
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x816acd8]
mov edx, ecx
dec ecx
test edx, edx
je 0x1001a6e8
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x1001a6cf
mov dword [esp + 0x14], ebx
movsx edx, word [ecx + 6]
movsx edi, word [ecx]
movsx ebp, word [ecx + 2]
movsx eax, word [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, edi
mov ebx, edi
sar edx, 7
sar ebx, 0xf
or dl, bl
mov ebx, ebp
mov byte [esi], dl
mov edx, ebp
sar edx, 7
sar ebx, 0xf
or dl, bl
mov byte [esi + 1], dl
mov edx, eax
sar edx, 7
sar eax, 0xf
or dl, al
mov byte [esi + 2], dl
mov eax, dword [0x816b218]
mov edx, dword [eax + 0xc]
cmp word [edx + 0x3e], 3
jne 0x1001a6a6
mov edi, dword [esp + 0x1c]
mov eax, edi
mov edx, edi
sar eax, 7
sar edx, 0xf
or al, dl
mov byte [esi + 3], al
mov eax, dword [0x816b218]
mov edx, dword [esp + 0x50]
lea ecx, [ecx + edx*2]
mov edx, dword [eax + 0xc]
movsx edx, word [edx + 0x3e]
lea esi, [esi + edx + 1]
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
jne 0x1001a642
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add edx, ebp
dec ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
jne 0x1001a632
mov ecx, dword [0x816acd8]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0xc]
movsx ebp, word [edx + 0x3e]
inc ebp
imul ebp, ebx
mov dword [esp + 0x4c], ebp
mov ecx, dword [eax + 0xc]
movsx esi, word [ecx + 0x3e]
mov ecx, dword [esp + 0x48]
inc esi
cmp ecx, 0xb
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 1
jne 0x1001a728
mov dword [esp + 0x48], 3
jmp 0x1001a744
cmp ecx, 0xc
jne 0x1001a737
mov dword [esp + 0x48], 9
jmp 0x1001a744
cmp ecx, 0xe
jne 0x1001a744
mov dword [esp + 0x48], 7
xor edx, edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx + 0x5c]
test bl, bl
jne 0x1001a8bc
mov bl, byte [ecx + 0x5d]
test bl, bl
je 0x1001a779
cmp word [ecx + 0xd8], 7
je 0x1001a8bc
cmp word [ecx + 0x104], dx
je 0x1001a8f4
cmp word [ecx + 0x106], dx
je 0x1001a8f4
mov cx, word [ecx + 0xd8]
cmp cx, 6
je 0x1001a8f4
cmp cx, 7
je 0x1001a8f4
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 0x17c], 0x10
jne 0x1001a83b
mov cx, word [ecx + 0x3e]
cmp cx, 3
jne 0x1001a7eb
mov ecx, dword [0x816acd8]
mov dword [esp + 0x84], ebp
add ecx, 3
mov dword [esp + 0x88], esi
mov dword [esp + 0x80], ecx
jmp 0x1001a8e5
cmp cx, 4
jne 0x1001a814
mov ecx, dword [0x816acd8]
mov dword [esp + 0x84], ebp
add ecx, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x80], ecx
jmp 0x1001a8e5
cmp cx, 1
jne 0x1001a828
mov ecx, dword [0x816acd8]
inc ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
jmp 0x1001a8e5
mov esi, dword [esp + 0xfc]
cmp esi, edx
je 0x1001a861
movsx edi, word [ecx + 0x3e]
movsx ecx, word [ecx + 0x3c]
sub edi, ecx
mov ecx, dword [0x816b210]
add edi, ecx
mov dword [esp + 0x80], edi
jmp 0x1001a877
movsx edi, word [ecx + 0x48]
mov ebx, dword [ecx + 0x54]
movsx ecx, word [ecx + 0x4a]
sub ebx, edi
add ebx, ecx
mov dword [esp + 0x80], ebx
mov ecx, dword [eax + 0xc]
cmp esi, edx
je 0x1001a883
mov ecx, dword [ecx + 0x50]
jmp 0x1001a886
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0xc]
cmp esi, edx
je 0x1001a8a8
movsx esi, word [ecx + 0x3e]
movsx ecx, word [ecx + 0x3c]
sub esi, ecx
inc esi
mov dword [esp + 0x88], esi
jmp 0x1001a8e5
movsx esi, word [ecx + 0x4a]
movsx ecx, word [ecx + 0x48]
sub esi, ecx
inc esi
mov dword [esp + 0x88], esi
jmp 0x1001a8e5
mov ecx, dword [0x816b21c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x6c]
mov dword [esp + 0x88], 1
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x40]
push edx
push ecx
call dword [eax + 0xcc]
add esp, 0x14
mov eax, dword [esp + 0xf8]
lea edx, [esp + 0xb0]
push edx
push eax
call dword [0x816c8d8]
mov ecx, dword [0x816b218]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x634c8]
test ah, 8
je 0x1001a964
push 1
push 0
push 0
push 0x2b
push 0
push 0x18
push 0xfb
call fcn.1001ac80
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret