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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 8], edx
xor esi, esi
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x24], ecx
mov eax, dword [edx]
mov dword [edx], esi
mov dword [ebx], esi
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x18], esi
je 0x1001a4cc
mov eax, dword [edi + 0x1c]
jmp 0x1001a6a3
cmp dword [edi + 0xc], 0
lea esi, [edi + 0x20]
mov dword [ebp - 0x34], esi
mov dword [esi], 2
je 0x1001a592
push esi
push dword [ebp + 0x1c]
mov dword [ebp + 0x14], ecx
xor edx, edx
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0xc], eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [edi + 0x78]
call dword [edi + 0x88]
mov esi, dword [esi]
mov edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x1c], edx
mov dword [ebx], eax
xor ebx, ebx
mov eax, dword [edi + 0x14]
inc ebx
add eax, ecx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x1c], esi
mov dword [edi + 0x14], eax
test edx, edx
jne 0x1001a532
cmp dword [ebp + 0x18], edx
jne 0x1001a532
cmp esi, ebx
jne 0x1001a535
mov dword [edi + 0x18], ebx
cmp dword [edi + 8], ebx
jne 0x1001a541
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x1001a58b
cmp dword [edi + 0x18], 0
je 0x1001a58b
mov dword [ebp + 0x18], ebx
cmp dword [edi + 8], ebx
jbe 0x1001a586
lea esi, [edi + 0x90]
mov edx, dword [edi + 0xc]
mov ecx, dword [esi]
push eax
call dword [esi + 0x14]
cmp dword [ebp + 0x1c], ebx
je 0x1001a571
cmp dword [ebp + 0xc], 0
je 0x1001a574
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x14], ecx
jne 0x1001a574
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x18]
add esi, 0x18
inc ecx
mov dword [ebp + 0x18], ecx
cmp ecx, dword [edi + 8]
jb 0x1001a555
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edx
jmp 0x1001a6a3
xor ebx, ebx
inc ebx
cmp dword [edi + 8], ebx
je 0x1001a5c3
cmp dword [edi + 4], 0
jne 0x1001a5bd
mov esi, dword [edi]
mov edx, 0x60000
mov ecx, esi
call dword [esi]
mov dword [edi + 4], eax
test eax, eax
jne 0x1001a5ba
push 2
pop eax
jmp 0x1001a6a3
lea esi, [edi + 0x20]
and dword [ebp - 0x14], 0
jmp 0x1001a5c9
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x1001a5d4
lea esi, [edi + 0x20]
and dword [ebp + 0x10], 0
xor ecx, ecx
mov dword [esi], 2
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0x1c], ecx
cmp dword [edi + 8], ecx
jbe 0x1001a69c
lea eax, [esi + 5]
mov dword [ebp - 0x28], ecx
imul eax, eax, 0x18
add eax, edi
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x1001a619
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edx]
jmp 0x1001a63d
lea edx, [esi - 1]
shl edx, 0x11
add edx, dword [edi + 4]
add edx, dword [edi + esi*4 + 0x2c]
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + esi*4 + 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + esi*4 + 0x38]
sub edx, dword [edi + esi*4 + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
jne 0x1001a655
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub ecx, dword [edx]
jmp 0x1001a66c
mov eax, dword [edi + esi*4 + 0x30]
cmp eax, dword [edi + esi*4 + 0x3c]
jne 0x1001a682
mov eax, esi
mov ecx, 0x20000
shl eax, 0x11
add eax, dword [edi + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + esi*4 + 0x68]
test ecx, ecx
je 0x1001a6aa
mov eax, dword [ebp - 0x28]
test eax, eax
cmovne ecx, eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 8]
jb 0x1001a5f1
test eax, eax
jne 0x1001a5d1
cmp dword [ebp - 0x20], eax
je 0x1001a6a1
mov eax, dword [ebp - 0x34]
mov dword [eax], ebx
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
lea ecx, [ebp - 0x30]
mov edx, eax
mov eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 4]
push dword [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [eax]
call dword [eax + 0x10]
mov edx, eax
test edx, edx
je 0x1001a6de
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
mov dword [edi + esi*4 + 0x68], edx
cmove ecx, edx
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
push 0
pop ecx
sete cl
mov dword [ebp - 0x2c], ecx
je 0x1001a6fe
and dword [ebp - 0x20], 0
cmp dword [edi + 8], ebx
jne 0x1001a6fe
test edx, edx
jne 0x1001a6fe
mov dword [edi + 0x20], eax
mov edx, dword [ebp - 4]
test esi, esi
jne 0x1001a70f
mov eax, dword [ebp + 0x14]
add dword [eax], edx
add dword [ebp + 0xc], edx
jmp 0x1001a713
add dword [edi + esi*4 + 0x2c], edx
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
mov eax, dword [ebp - 0xc]
jne 0x1001a728
mov ecx, dword [ebp + 8]
add dword [ecx], eax
add dword [ebp - 8], eax
jmp 0x1001a738
mov ecx, dword [ebp - 0x2c]
and dword [edi + esi*4 + 0x30], 0
mov dword [edi + esi*4 + 0x3c], eax
mov dword [edi + esi*4 + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
test eax, eax
jne 0x1001a747
test edx, edx
je 0x1001a682
mov eax, ebx
mov dword [ebp + 0x10], eax
jmp 0x1001a685