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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
push edi
test eax, eax
je 0xa008a3
push eax
call dword [0xb24a6c]
add esp, 4
mov edi, dword [esi + 0x18]
call fcn.009f7150
mov eax, dword [esi]
test eax, eax
je 0xa008c2
mov eax, dword [eax + 0xc]
test eax, eax
je 0xa008c2
push eax
call dword [0xb24a6c]
add esp, 4
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0xa008d7
cmp ebx, 5
je 0xa008d7
cmp ebx, 6
jne 0xa00faf
cmp dword [esi], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 0
je 0xa0090f
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0xa0090f
mov ebx, 5
jmp 0xa00ad4
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0xa00943
push 2
push ecx
call fcn.009f97f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xa00ad4
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
push 1
mov dword [esi + 0xc], 1
call fcn.009fef10
add esp, 8
mov edi, dword [esi + 0x18]
cmp byte [edi + 8], 0
jne 0xa00ad4
mov esi, dword [edi + 4]
xor ebx, ebx
mov dword [esp + 0x10], ebx
call fcn.009f7150
mov al, byte [edi + 8]
cmp al, 2
je 0xa00aa1
cmp al, 1
je 0xa00aa1
movzx edx, word [esi + 0x16]
test dl, 0x40
je 0xa0098e
mov eax, dword [esi + 0x4c]
cmp dword [eax], ebx
je 0xa0098e
mov dword [esp + 0x10], 0x106
jmp 0xa00aa1
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
je 0xa009d5
cmp dword [eax + 0x4c], edi
je 0xa009af
test byte [eax + 0x16], 0x20
je 0xa009af
mov dword [esp + 0x10], 0x106
jmp 0xa00aa1
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0xa009d5
mov ecx, 1
jmp 0xa009c0
cmp dword [eax], edi
je 0xa009ce
cmp dword [eax + 4], ecx
jne 0xa009ce
cmp byte [eax + 8], cl
jne 0xa00981
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0xa009c0
mov eax, edx
and eax, 0xfff7
mov dword [esp + 0x10], ebx
mov word [esi + 0x16], ax
cmp dword [esi + 0x2c], ebx
jne 0xa009f0
or eax, 8
mov word [esi + 0x16], ax
cmp dword [esi + 0xc], 0
jne 0xa00a07
mov ebx, esi
call fcn.009f9400
mov dword [esp + 0x10], eax
test eax, eax
je 0xa009f0
jmp 0xa00a0e
cmp dword [esp + 0x10], 0
je 0xa00a2e
cmp byte [esi + 0x14], 0
jne 0xa00a2e
mov eax, dword [esi + 0xc]
test eax, eax
je 0xa00a2e
mov ecx, dword [eax + 0x44]
push ecx
call fcn.009f3ae0
add esp, 4
mov dword [esi + 0xc], 0
cmp byte [esp + 0x10], 5
jne 0xa00a6d
cmp byte [esi + 0x14], 0
jne 0xa00a6d
mov ebx, dword [esi + 4]
add ebx, 0x1b4
je 0xa00a6d
mov ecx, dword [ebx]
test ecx, ecx
je 0xa00a6d
mov eax, dword [ebx + 8]
test eax, eax
jl 0xa00a6d
mov edx, dword [ebx + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0xa00a66
inc dword [ebx + 8]
jmp 0xa009f0
mov dword [ebx + 8], 0xffffffff
cmp dword [esp + 0x10], 0
jne 0xa00aa1
cmp byte [edi + 8], 0
jne 0xa00a93
inc dword [esi + 0x28]
cmp byte [edi + 9], 0
je 0xa00a93
mov byte [edi + 0x24], 1
mov eax, dword [esi + 0x48]
lea ecx, [edi + 0x1c]
mov dword [edi + 0x28], eax
mov dword [esi + 0x48], ecx
mov byte [edi + 8], 1
cmp byte [esi + 0x14], 1
jae 0xa00aa1
mov byte [esi + 0x14], 1
cmp byte [edi + 9], 0
je 0xa00ac5
add dword [edi + 0xc], 0xffffffff
jne 0xa00ac5
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0xa00ac1
push eax
call dword [0xb24a74]
add esp, 4
mov byte [edi + 0xa], 0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], 1
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], eax
test ebx, ebx
jne 0xa00b08
cmp eax, 5
jne 0xa00b08
cmp edx, edi
je 0xa00b08
lea ebx, [eax + 3]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0xa00b24
cmp dword [esp + 0x2c], eax
jge 0xa00b92
mov edi, dword [esi + 0x10]
cmp edi, dword [esp + 0x10]
ja 0xa00b92
test ebx, ebx
jne 0xa00bd4
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0xb23684]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0xa00b84
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
push edi
lea eax, [ebx + 2]
call fcn.009f37d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xa00b84
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
push ebx
push eax
push edi
push esi
call fcn.00a006c0
mov ecx, dword [esp + 0x40]
push ecx
mov ebx, eax
call fcn.009f3ae0
add esp, 0x14
mov eax, 1
add dword [esi + 0x10], eax
add dword [esp + 0x2c], eax
jmp 0xa00b17
test ebx, ebx
jne 0xa00bd4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov edx, eax
sub edx, ecx
inc edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
cmp ecx, eax
ja 0xa00be1
cmp dword [esi + 0x28], ebx
jne 0xa00eb0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
add eax, 0x58
mov dword [esi + 0x2c], edx
mov dword [eax], esi
mov dword [esi + 0x28], 1
jmp 0xa00eb0
cmp ebx, 0x65
jne 0xa00eb0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0xa00c00
mov eax, dword [esi + 4]
call fcn.009f97a0
mov ebx, eax
mov dword [esp + 0x10], 1
test ebx, ebx
je 0xa00c00
cmp ebx, 0x65
jne 0xa00c17
mov eax, dword [esi + 8]
inc eax
push eax
mov eax, dword [esi + 4]
mov ebx, 1
call fcn.009fef80
add esp, 4
mov ebx, eax
test ebx, ebx
jne 0xa00eb0
mov eax, dword [esi]
test eax, eax
je 0xa00c2a
call fcn.00a1b030
cmp dword [esp + 0x3c], 5
jne 0xa00c49
mov ecx, dword [esi + 4]
push 2
push ecx
call fcn.00a002e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xa00eb0
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x1c], edx
jge 0xa00c81
mov eax, edx
cdq
idiv dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x10]
lea eax, [ecx + eax - 1]
cdq
idiv ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
xor edx, edx
mov edi, eax
mov eax, dword [0xb23684]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
jne 0xa00c91
dec edi
jmp 0xa00c91
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x20]
mov edi, eax
imul edi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x1c], edx
jge 0xa010a1
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
cdq
push ecx
push edx
push eax
call fcn.00a8a460
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
lea ebx, [ebx]
cmp edi, dword [esp + 0x3c]
ja 0xa00d38
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0xb23684]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0xa00d31
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
push edi
xor eax, eax
call fcn.009f37d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xa00d31
mov eax, dword [esp + 0x30]
push eax
call fcn.009f3ec0
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
mov ebx, eax
call fcn.009f3ae0
add esp, 4
inc edi
test ebx, ebx
je 0xa00ce0
jmp 0xa00d4d
test ebx, ebx
jne 0xa00d4d
mov eax, dword [esp + 0x28]
push 1
push ebx
call fcn.009f4100
add esp, 8
mov ebx, eax
mov edx, dword [esp + 0x20]
mov edi, dword [0xb23684]
mov ecx, dword [esp + 0x14]
lea eax, [edi + edx]
cdq
cmp edx, ecx
jg 0xa00d71
jl 0xa00d6b
cmp eax, dword [esp + 0x10]
jae 0xa00d71
mov dword [esp + 0x4c], edx
jmp 0xa00d79
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [edi + ecx]
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
test ebx, ebx
jne 0xa00eb0
jmp 0xa00da0
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x24], edx
jg 0xa0100a
jl 0xa00dbe
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x20], eax
jae 0xa0100a
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push edi
mov dword [esp + 0x44], 0
call fcn.00a8a150
mov ecx, dword [esp + 0x38]
inc eax
push eax
xor eax, eax
call fcn.009f37d0
mov esi, dword [esp + 0x38]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xa00e1e
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push ebx
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov ebx, eax
test esi, esi
je 0xa00e95
test byte [esi + 0x18], 0x40
mov edi, dword [esi + 0x10]
je 0xa00e73
dec dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x88], esi
mov eax, dword [eax]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.00a8a460
push edx
push eax
mov eax, dword [edi + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0xa00e7a
mov eax, esi
call fcn.009eedc0
cmp dword [edi + 0x78], 0
jne 0xa00e95
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0xa00e95
push edi
call fcn.009f1160
add esp, 4
mov ecx, dword [esp + 0x40]
add dword [esp + 0x20], ecx
mov edx, dword [esp + 0x44]
adc dword [esp + 0x24], edx
test ebx, ebx
je 0xa00da0
mov esi, dword [ebp + 8]
cmp dword [esp + 0x38], 0
je 0xa00f9f
mov eax, dword [esi + 0x18]
push 0
call fcn.009fa5d0
mov eax, dword [esi + 0x18]
add esp, 4
cmp byte [eax + 8], 0
mov dword [esp + 0x10], eax
je 0xa00f9f
mov edi, eax
call fcn.009f7150
mov eax, edi
cmp byte [eax + 8], 2
jne 0xa00f70
mov ecx, edi
mov ecx, dword [ecx + 4]
mov edi, dword [ecx]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0xa01233
cmp byte [edi + 0xf], 2
jne 0xa011fd
cmp byte [edi + 4], al
je 0xa011fd
cmp byte [edi + 5], 1
jne 0xa011fd
mov byte [edi + 0xf], 1
mov edi, dword [ecx + 0x3c]
mov byte [ecx + 0x14], 1
mov dword [esp + 0x3c], edi
test edi, edi
je 0xa00f69
cmp dword [edi + 8], 0
je 0xa00f5c
add edi, 0xc
mov dword [esp + 0x38], 0x7d
mov ecx, dword [edi]
push ecx
call fcn.009ee900
add esp, 4
add edi, 4
sub dword [esp + 0x38], 1
jne 0xa00f43
mov edi, dword [esp + 0x3c]
push edi
call fcn.009e7f60
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + 0x3c], 0
mov edi, dword [esp + 0x10]
call fcn.009fa680
mov edx, edi
cmp byte [edx + 9], 0
je 0xa00f9f
add dword [edi + 0xc], 0xffffffff
jne 0xa00f9f
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0xa00f9b
push eax
call dword [0xb24a74]
add esp, 4
mov byte [edi + 0xa], 0
cmp ebx, 0xc0a
jne 0xa00fac
mov ebx, 7
mov dword [esi + 0x1c], ebx
mov eax, dword [esi]
test eax, eax
je 0xa00fc6
mov eax, dword [eax + 0xc]
test eax, eax
je 0xa00fc6
push eax
call dword [0xb24a74]
add esp, 4
mov edi, dword [esi + 0x18]
cmp byte [edi + 9], 0
je 0xa00fed
add dword [edi + 0xc], 0xffffffff
jne 0xa00fed
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0xa00fe9
push eax
call dword [0xb24a74]
add esp, 4
mov byte [edi + 0xa], 0
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
je 0xa01001
push eax
call dword [0xb24a74]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0xa00ead
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0xa01053
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
cmp edx, ecx
jl 0xa01053
jg 0xa01042
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x10]
jbe 0xa01053
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push esi
call edx
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0xa00ead
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 7], al
jne 0xa0107e
movzx eax, byte [ecx + 0xb]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
mov esi, dword [ebp + 8]
add esp, 8
jmp 0xa010b4
mov ecx, dword [ecx + 0x3c]
cmp dword [ecx], 0
je 0xa0109c
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 8
push ecx
call eax
add esp, 0xc
cmp eax, 0xc
jne 0xa0109c
xor eax, eax
mov esi, dword [ebp + 8]
jmp 0xa010b4
mov eax, dword [esp + 0x28]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.009f4100
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0xa00eb0
mov edi, dword [esi + 4]
cmp byte [edi + 8], al
je 0xa0118a
call fcn.009f7150
cmp byte [edi + 8], 2
jne 0xa01161
mov eax, dword [edi + 4]
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0xa010f0
mov ebx, ecx
jmp 0xa011c4
cmp byte [ebx + 0xf], 2
jne 0xa01194
cmp byte [ebx + 4], 0
je 0xa01194
cmp byte [ebx + 5], 1
jne 0xa01194
mov byte [ebx + 0xf], 1
mov ecx, dword [eax + 0x3c]
mov byte [eax + 0x14], 1
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0xa0115a
cmp dword [ecx + 8], 0
je 0xa01149
mov ebx, ecx
add ebx, 0xc
mov dword [esp + 0x34], 0x7d
mov eax, dword [ebx]
push eax
call fcn.009ee900
add esp, 4
add ebx, 4
sub dword [esp + 0x34], 1
jne 0xa01134
mov ecx, dword [esp + 0x30]
push ecx
call fcn.009e7f60
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [eax + 0x3c], 0
call fcn.009fa680
cmp byte [edi + 9], 0
je 0xa0118a
add dword [edi + 0xc], 0xffffffff
jne 0xa0118a
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0xa01186
push eax
call dword [0xb24a74]
add esp, 4
mov byte [edi + 0xa], 0
mov ebx, 0x65
jmp 0xa00eb0
movzx ecx, byte [ebx + 0x12]
push 1
push ecx
mov eax, ebx
call fcn.009f0f70
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0xa011b7
cmp ecx, 0xa
jne 0xa011be
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ebx, eax
mov eax, dword [esp + 0x2c]
test ebx, ebx
je 0xa01112
cmp byte [edi + 9], 0
je 0xa00eb0
add dword [edi + 0xc], 0xffffffff
jne 0xa00eb0
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0xa011f4
push eax
call dword [0xb24a74]
add esp, 4
mov byte [edi + 0xa], 0
jmp 0xa00eb0
movzx edx, byte [edi + 0x12]
push 1
push edx
mov eax, edi
call fcn.009f0f70
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0xa01220
cmp ecx, 0xa
jne 0xa01227
mov dword [edi + 0x28], eax
mov byte [edi + 0xf], 6
mov ecx, dword [esp + 0x34]
test eax, eax
je 0xa00f23
mov eax, dword [esp + 0x10]
cmp byte [eax + 9], 0
je 0xa00f9f
add dword [eax + 0xc], 0xffffffff
jne 0xa00f9f
mov ecx, eax
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0xa01261
push eax
call dword [0xb24a74]
add esp, 4
mov eax, dword [esp + 0x10]
mov byte [eax + 0xa], 0
jmp 0xa00f9f