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

Disassembly:
mov eax, 0x1021b811
call fcn.10210210
sub esp, 0x14
and dword [esp + 4], 0
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, ecx
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x100a654e
mov eax, dword [0x102b7738]
jmp 0x100a6564
cmp eax, dword [0x102b7738]
jne 0x100a6564
push 0
push ecx
push dword [esp + 0x40]
mov ecx, ebp
call fcn.10079533
xor ebx, ebx
inc ebx
cmp dword [eax + 0x44], 0xff
mov dword [esp + 0x18], ebx
je 0x100a6592
cmp dword [eax + 0x44], ebx
jne 0x100a6592
push dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x44]
push ebp
push dword [esp + 0x44]
call fcn.100a6990
jmp 0x100a66b6
mov esi, dword [esp + 0x40]
cmp dword [esi + 8], ebp
jne 0x100a65e1
sub esp, 0x10
mov ecx, esp
push ecx
and dword [ecx], 0
and dword [ecx + 4], 0
mov eax, dword [ebp + 0x88]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x8c]
mov dword [ecx + 0xc], eax
dec dword [ecx + 8]
dec dword [ecx + 0xc]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
call fcn.1003ceae
add esp, 0x18
test al, al
je 0x100a65e1
mov dword [esi + 0x24], 7
test byte [esi + 0x1c], bl
je 0x100a66b4
cmp dword [esi + 4], 4
jne 0x100a66c9
mov eax, dword [esp + 0x44]
xor edx, edx
mov ebx, dword [eax]
test ebx, ebx
je 0x100a6605
mov eax, dword [ebx - 4]
jmp 0x100a6607
xor eax, eax
dec eax
cmp edx, eax
jge 0x100a661e
mov ecx, dword [ebx + edx*4 + 4]
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x78]
jl 0x100a661b
inc edx
jmp 0x100a65fc
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 8]
call fcn.100a5ee6
test al, al
je 0x100a664d
and dword [esp + 0x40], 0
push ecx
lea ecx, [esp + 0x44]
call fcn.1000fdf5
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x40]
xor ebx, ebx
inc ebx
jmp 0x100a666b
and dword [esp + 0x44], 0
lea ecx, [esp + 0x44]
push ebp
call fcn.1000fdf5
push 2
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], 1
pop ebx
mov edx, dword [esp + 0x38]
push dword [ecx]
mov ecx, edx
mov dword [esp + 0x18], ebx
mov eax, dword [edx]
call dword [eax + 0x138]
and dword [esp + 0x2c], 0
test bl, 2
je 0x100a669d
mov ecx, dword [esp + 0x44]
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
test ecx, ecx
je 0x100a669d
mov eax, dword [ecx]
call dword [eax + 4]
or dword [esp + 0x2c], 0xffffffff
test bl, 1
je 0x100a66b4
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100a66b4
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
cmp dword [edi + 0x18], 0
jl 0x100a66b4
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
test ecx, ecx
je 0x100a66de
mov eax, dword [ecx - 4]
jmp 0x100a66e0
xor eax, eax
dec eax
cmp dword [edi + 0x18], eax
jg 0x100a66b4
test ecx, ecx
je 0x100a66ef
mov eax, dword [ecx - 4]
jmp 0x100a66f1
xor eax, eax
test eax, eax
jle 0x100a66b4
mov ecx, dword [esp + 0x38]
push edx
call fcn.100a7396
mov dword [esp + 0x3c], eax
test eax, eax
js 0x100a66b4
and dword [esp + 0x40], 0
mov dword [esp + 0x2c], 2
mov edx, dword [esp + 0x44]
mov byte [edi + 0x1c], 0
mov dword [esi + 0x24], 7
mov ecx, dword [edx]
test ecx, ecx
je 0x100a672e
mov eax, dword [ecx - 4]
jmp 0x100a6730
xor eax, eax
cmp eax, 2
jle 0x100a6788
test ecx, ecx
je 0x100a673e
mov eax, dword [ecx - 4]
jmp 0x100a6740
xor eax, eax
add eax, 0xfffffffe
cmp dword [edi + 0x18], eax
jl 0x100a6788
test ecx, ecx
je 0x100a6751
mov eax, dword [ecx - 4]
jmp 0x100a6753
xor eax, eax
dec eax
cmp eax, dword [esp + 0x3c]
jne 0x100a6772
test ecx, ecx
je 0x100a6763
mov ecx, dword [ecx - 4]
jmp 0x100a6765
xor ecx, ecx
add ecx, 0xfffffffe
mov dword [edi + 0x18], ecx
mov eax, dword [edx]
push dword [eax + ecx*4]
jmp 0x100a67a7
test ecx, ecx
je 0x100a677b
mov ecx, dword [ecx - 4]
jmp 0x100a677d
xor ecx, ecx
dec ecx
mov dword [edi + 0x18], ecx
mov eax, dword [edx]
push dword [eax + ecx*4]
jmp 0x100a6795
mov eax, dword [edi + 0x18]
cmp eax, dword [esp + 0x3c]
jne 0x100a67a4
push dword [ecx + eax*4 + 4]
lea ecx, [esp + 0x44]
call fcn.1000fdf5
mov byte [edi + 0x1c], 0
jmp 0x100a67b3
push dword [ecx + eax*4]
lea ecx, [esp + 0x44]
call fcn.1000fdf5
mov byte [edi + 0x1c], bl
cmp byte [edi + 0x1c], 0
je 0x100a682e
mov ebx, dword [esi + 0xc]
sub ebx, dword [edi + 0x10]
test ebx, ebx
jle 0x100a67f4
mov eax, dword [ebp + 0xb0]
xor edx, edx
mov ecx, 0x7fffffff
cmp eax, ecx
cmove eax, edx
mov edx, dword [ebp + 0x88]
add eax, ebx
cmp eax, edx
jl 0x100a67f2
mov eax, dword [ebp + 0xb0]
xor esi, esi
cmp eax, ecx
mov ebx, edx
cmove eax, esi
sub ebx, eax
test ebx, ebx
mov esi, dword [esp + 0x40]
jns 0x100a681b
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [esp + 0x3c]
call dword [eax + 0x308]
mov edx, dword [esi + 0x88]
lea ecx, [edx + ebx]
cmp ecx, eax
jge 0x100a681b
mov ebx, eax
sub ebx, edx
mov ebp, dword [esi + 0x88]
add ebp, ebx
js 0x100a6976
add dword [edi + 0x10], ebx
jmp 0x100a68a1
mov ebx, dword [edi + 0x10]
sub ebx, dword [esi + 0xc]
test ebx, ebx
jle 0x100a6869
mov eax, dword [ebp + 0xb0]
xor edx, edx
mov ecx, 0x7fffffff
cmp eax, ecx
cmove eax, edx
mov edx, dword [ebp + 0x88]
add eax, ebx
cmp eax, edx
jl 0x100a6867
mov eax, dword [ebp + 0xb0]
xor esi, esi
cmp eax, ecx
mov ebx, edx
cmove eax, esi
sub ebx, eax
test ebx, ebx
mov esi, dword [esp + 0x40]
jns 0x100a6890
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [esp + 0x3c]
call dword [eax + 0x308]
mov edx, dword [esi + 0x88]
lea ecx, [edx + ebx]
cmp ecx, eax
jge 0x100a6890
mov ebx, eax
sub ebx, edx
mov ebp, dword [esi + 0x88]
add ebp, ebx
js 0x100a6976
sub dword [edi + 0x10], ebx
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov ebx, dword [ecx]
test ebx, ebx
je 0x100a68b6
mov ecx, dword [ebx - 4]
jmp 0x100a68b8
xor ecx, ecx
cmp eax, ecx
jge 0x100a697b
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x100a6970
mov ecx, dword [ebx + 0x88]
lea edi, [ebx + 0x38]
cmp dword [edi], 0
mov dword [esp + 0x1c], ecx
jne 0x100a690b
call fcn.1002c931
mov dword [esp + 0x20], eax
mov byte [esp + 0x2c], 3
test eax, eax
je 0x100a68f8
mov ecx, eax
call fcn.1002c95e
jmp 0x100a68fa
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x30], 2
call fcn.1000fd99
mov eax, dword [esp + 0x14]
mov edi, dword [edi]
lea ecx, [edi + 0x428]
cmp ebx, esi
jne 0x100a6924
call fcn.1002b150
mov dword [edi + 0x42c], ebp
jmp 0x100a6954
cmp eax, dword [esp + 0x3c]
jne 0x100a6945
call fcn.1002b150
mov dword [edi + 0x42c], 0x64
mov dword [edi + 0x428], 4
jmp 0x100a695e
call fcn.1002b150
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x42c], eax
mov dword [edi + 0x428], 7
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x38]
call dword [eax + 0x270]
mov eax, dword [esp + 0x14]
inc eax
jmp 0x100a68a3
mov byte [esp + 0x18], 0
or dword [esp + 0x2c], 0xffffffff
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 4]
mov al, byte [esp + 0x18]
jmp 0x100a66b6