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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2164
call fcn.10014030
mov eax, dword [0x1001a050]
xor eax, esp
mov dword [esp + 0x2160], eax
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [esp + 0x1020]
xor ebx, ebx
push esi
mov dword [esp + 0x24], edx
mov edx, 1
lea esi, [esp + 0xf1c]
push edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], edx
cmp eax, ebx
je 0x1000a365
cmp ecx, ebx
je 0x1000a365
mov esi, dword [ebp + 8]
lea edx, [ecx + 0x10c]
add ecx, 4
mov dword [esp + 0xf0], ecx
lea ecx, [eax + 4]
mov dword [esp + 0xe4], edx
lea edx, [eax + 0x10c]
add eax, 0x214
mov dword [esp + 0xc0], eax
lea eax, [esi + 1]
sar eax, 1
mov dword [esp + 0xc4], ecx
lea edi, [eax - 1]
mov ecx, esi
sub ecx, eax
mov dword [esp + 0xd8], edi
shr edi, 5
mov dword [esp + 0x60], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x9c], edi
jmp 0x10009ab0
push 0xff
lea eax, [esp + 0x1f6d]
push ebx
push eax
mov dword [esp + 0x1f64], 0x33221100
mov dword [esp + 0x1f68], 0x77665544
mov dword [esp + 0x1f6c], 0xbbaa9988
mov dword [esp + 0x1f70], 0xffeeddcc
mov byte [esp + 0x1f74], bl
call fcn.10012fe0
add esp, 0xc
push 0xff
lea ecx, [esp + 0x206d]
push ebx
push ecx
mov byte [esp + 0x2074], bl
call fcn.10012fe0
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0xd0]
mov dword [edx], esi
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x90], edx
mov eax, 0x100
mov dword [esp + 0x64], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x113c]
mov dword [esp + 0x1c], edx
mov dword [eax], esi
mov eax, 1
lea edx, [esp + 0xa74]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x1aac]
mov dword [esp + 0x74], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x58], edx
mov eax, edi
add esp, 0xc
lea edx, [esp + 0x15e8]
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [ecx], 0x10001
cmp eax, ebx
jl 0x10009bda
jmp 0x10009bd0
dec eax
mov dword [esp + eax*4 + 0x1134], ebx
jns 0x10009bd0
mov ecx, dword [esp + 0xd8]
mov esi, 1
and ecx, 0x1f
mov eax, esi
shl eax, cl
lea ecx, [edi + 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
mov dword [esp + edi*4 + 0x1130], eax
cmp edi, ebx
jl 0x10009c0e
mov dword [esp + edi*4 + 0xa68], ebx
sub edi, esi
jns 0x10009c03
mov ecx, dword [esp + 0xd4]
add ecx, 0xfffffffe
mov eax, ecx
and ecx, 0x1f
mov edx, esi
shl edx, cl
shr eax, 5
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + eax*4 + 0xa64], edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.10005990
lea ecx, [esp + 0x10]
add esp, 4
push ecx
lea ebx, [esp + 0x4c]
call fcn.10005a70
lea edx, [esp + 0x10]
add esp, 4
push edx
lea ecx, [esp + 0x34]
mov eax, ebx
call fcn.10005990
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xa68], 2
lea esp, [esp]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x38]
call fcn.10009670
add esp, 8
test eax, eax
jne 0x1000a36a
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x40]
call fcn.10005a70
mov edi, dword [esp + 0x48]
xor edx, edx
add esp, 4
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x5b0]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa4], ecx
cmp edi, edx
je 0x10009d16
mov ecx, dword [esp + 0x40]
cmp edi, esi
jg 0x10009ce5
cmp dword [ecx], edx
je 0x10009d16
lea eax, [esp + 0xf8]
cmp edi, edx
jle 0x10009d02
mov edx, eax
sub ecx, edx
mov edx, edi
mov ebx, dword [ecx + eax]
mov dword [eax], ebx
add eax, 4
sub edx, esi
jne 0x10009cf6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], edi
jmp 0x10009d2b
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xf8], edx
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
cmp eax, edx
je 0x10009d4c
mov dword [esp + 0x5b0], eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa8], esi
jmp 0x10009d61
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x5b0], edx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xa4]
lea ecx, [esp + 0xb4]
call fcn.10007ff0
add esp, 4
cmp dword [esp + 0x44], esi
jne 0x10009c80
mov eax, dword [esp + 0x40]
cmp dword [eax], esi
jne 0x10009c80
mov ebx, dword [esp + 0xac]
mov edi, dword [esp + 0x10]
lea ecx, [ebx - 1]
mov eax, ecx
shr eax, 5
mov edx, eax
test edx, edx
js 0x10009dbb
jmp 0x10009db0
mov dword [edi + edx*4], 0
sub edx, esi
jns 0x10009db0
and ecx, 0x1f
mov edx, esi
shl edx, cl
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
mov dword [edi + eax*4], edx
mov edi, dword [esp + 0x34]
test eax, eax
js 0x10009deb
jmp 0x10009de0
mov dword [edi + eax*4], 0
sub eax, esi
jns 0x10009de0
lea ecx, [ebx - 2]
mov eax, ecx
and ecx, 0x1f
mov edx, esi
shl edx, cl
shr eax, 5
inc eax
mov dword [esp + 0x38], eax
mov dword [edi + eax*4 - 4], edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.10005990
lea ecx, [esp + 0x10]
add esp, 4
push ecx
lea ebx, [esp + 0x4c]
call fcn.10005a70
lea edx, [esp + 0x10]
add esp, 4
push edx
lea ecx, [esp + 0x34]
mov eax, ebx
call fcn.10005990
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
mov dword [edi], 2
lea ebx, [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x38]
call fcn.10009670
add esp, 8
test eax, eax
jne 0x1000a36a
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x40]
call fcn.10005a70
mov edi, dword [esp + 0x48]
xor edx, edx
add esp, 4
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x5b0]
mov dword [esp + 0xcc], eax
mov dword [esp + 0x90], ecx
cmp edi, edx
je 0x10009ee6
mov ecx, dword [esp + 0x40]
cmp edi, esi
jg 0x10009eb5
cmp dword [ecx], edx
je 0x10009ee6
lea eax, [esp + 0xf8]
cmp edi, edx
jle 0x10009ed2
mov edx, eax
sub ecx, edx
mov edx, edi
mov ebx, dword [ecx + eax]
mov dword [eax], ebx
add eax, 4
sub edx, esi
jne 0x10009ec6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], edi
jmp 0x10009efb
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xf8], edx
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
cmp eax, edx
je 0x10009f1c
mov dword [esp + 0x5b0], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x94], esi
jmp 0x10009f31
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x5b0], edx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x90]
lea ecx, [esp + 0xcc]
call fcn.10007ff0
add esp, 4
cmp dword [esp + 0x44], esi
jne 0x10009e50
mov eax, dword [esp + 0x40]
cmp dword [eax], esi
jne 0x10009e50
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x2c]
je 0x10009fb8
xor ecx, ecx
test eax, eax
setg cl
lea eax, [ecx + ecx - 1]
test eax, eax
jle 0x1000a095
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x10009ff1
cmp ebx, 1
jg 0x10009f95
cmp dword [esi], 0
je 0x10009ff1
mov eax, dword [esp + 0x10]
test ebx, ebx
jle 0x10009fae
mov edx, esi
sub edx, eax
mov edi, ebx
mov ecx, dword [edx + eax]
mov dword [eax], ecx
add eax, 4
dec edi
jne 0x10009fa3
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
jmp 0x1000a001
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
dec eax
lea ecx, [edx + eax*4]
lea edx, [esi + eax*4]
js 0x1000a095
mov ebx, edx
sub ebx, ecx
mov edx, dword [ecx]
mov edi, dword [ebx + ecx]
cmp edx, edi
ja 0x10009f83
sub ecx, 4
cmp edx, edi
jb 0x1000a095
dec eax
jns 0x10009fd5
jmp 0x1000a095
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [eax], ebx
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x14], ebx
cmp ecx, edx
je 0x1000a045
cmp ecx, 1
jg 0x1000a01c
mov eax, dword [esp + 0x1c]
cmp dword [eax], edx
je 0x1000a045
mov eax, esi
cmp ecx, edx
jle 0x1000a03b
mov edx, dword [esp + 0x1c]
sub edx, esi
mov edi, ecx
lea ebx, [ebx]
mov esi, dword [edx + eax]
mov dword [eax], esi
add eax, 4
dec edi
jne 0x1000a030
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
jmp 0x1000a04b
mov dword [esp + 0x2c], edx
mov dword [esi], edx
xor ecx, ecx
mov dword [esp + 0x24], edx
cmp ebx, ecx
je 0x1000a087
cmp ebx, 1
jg 0x1000a062
mov eax, dword [esp + 0x10]
cmp dword [eax], ecx
je 0x1000a087
mov eax, dword [esp + 0x1c]
cmp ebx, ecx
jle 0x1000a07d
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov edx, ebx
mov esi, dword [eax + ecx]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x1000a072
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
jmp 0x1000a091
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [edx], ecx
mov dword [esp + 0x18], ecx
lea esi, [esp + 0x68]
lea eax, [esp + 0x18]
lea edi, [esp + 0x24]
call fcn.10005ef0
cmp dword [esp + 0x2c], 0x26
jl 0x1000a0c0
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, edi
push edx
call fcn.10006260
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ebx, [esp + 0x10]
call fcn.10005a70
lea ecx, [esp + 0x1c]
add esp, 4
push ecx
lea ebx, [esp + 0x34]
call fcn.10005a70
add esp, 4
lea esi, [esp + 0x48]
mov eax, ebx
lea edi, [esp + 0xc]
call fcn.10005ef0
cmp dword [esp + 0x14], 0x26
jl 0x1000a109
mov edx, esi
push edx
mov eax, ebx
push eax
mov ecx, edi
push ecx
call fcn.10006260
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x84]
lea edx, [esp + 0x78]
call fcn.10006e60
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
add esp, 4
test ebx, ebx
je 0x1000a15d
cmp ebx, 1
jg 0x1000a13a
cmp dword [ecx], 0
je 0x1000a15d
mov eax, dword [esp + 0xe4]
test ebx, ebx
jle 0x1000a16a
sub ecx, eax
mov edx, ebx
lea esp, [esp]
mov esi, dword [eax + ecx]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x1000a150
jmp 0x1000a16a
mov eax, dword [esp + 0xe4]
mov dword [eax], 0
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
test esi, esi
je 0x1000a1a2
cmp esi, 1
jg 0x1000a180
cmp dword [edi], 0
je 0x1000a1a2
mov eax, dword [esp + 0xf0]
test esi, esi
jle 0x1000a1af
mov ecx, edi
sub ecx, eax
mov edx, esi
mov ebx, dword [eax + ecx]
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x1000a191
mov ebx, dword [esp + 0x7c]
jmp 0x1000a1af
mov ecx, dword [esp + 0xf0]
mov dword [ecx], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000a1d3
mov edx, dword [esp + 0x28]
lea ecx, [edx + eax*4 - 4]
jle 0x1000a1d3
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1000a1cf
dec eax
test eax, eax
jg 0x1000a1c1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000a1f7
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax*4 - 4]
jle 0x1000a1f7
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1000a1f3
dec eax
test eax, eax
jg 0x1000a1e5
mov dword [esp + 0x20], eax
test esi, esi
je 0x1000a20f
lea eax, [edi + esi*4 - 4]
jle 0x1000a20f
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x1000a20f
dec esi
test esi, esi
jg 0x1000a201
mov eax, dword [esp + 0x88]
test eax, eax
je 0x1000a235
mov edx, dword [esp + 0x84]
lea ecx, [edx + eax*4 - 4]
jle 0x1000a235
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1000a235
dec eax
test eax, eax
jg 0x1000a227
test ebx, ebx
je 0x1000a251
mov eax, dword [esp + 0x78]
lea eax, [eax + ebx*4 - 4]
jle 0x1000a251
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x1000a251
dec ebx
test ebx, ebx
jg 0x1000a243
mov ebx, dword [esp + 0x5c]
push 1
lea edx, [esp + 0x1f6c]
push edx
push 0
push 0
lea eax, [esp + 0x1f68]
push 0x10
push eax
lea edx, [esp + 0x70]
mov ecx, ebx
call fcn.10008f20
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x2080]
push ecx
push 0
push 0
push edx
lea eax, [esp + 0x1f90]
push eax
lea edx, [esp + 0xc4]
mov ecx, edi
call fcn.100092e0
add esp, 0x2c
mov eax, 0x10
lea ecx, [esp + 0x2068]
lea edx, [esp + 0x1f58]
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1000a2ed
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1000a2c0
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2160]
xor ecx, esp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x1000a319
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x1000a319
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x1000a319
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
je 0x1000a2d4
push 0x214
push 0
push ebx
mov esi, 0x1600
call fcn.10012fe0
add esp, 0xc
push 0x31c
push 0
push edi
call fcn.10012fe0
mov eax, dword [esp + 0x6c]
inc eax
add esp, 0xc
mov dword [esp + 0x60], eax
cmp eax, 5
jge 0x1000a2d6
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x9c]
xor ebx, ebx
jmp 0x10009ab0
mov eax, 2
mov ecx, dword [esp + 0x216c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret