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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb4]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xb4]
push esi
push edi
lea esi, [esp + 0x18]
mov edi, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
call fcn.00a70280
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0xa71a46
cmp dword [esp + 0x1c], 0
jne 0xa71a46
lea esi, [esp + 0x38]
call fcn.00a70280
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
mov edi, ebx
je 0xa71a31
lea esi, [esp + 0x50]
call fcn.00a70280
test eax, eax
jne 0xa72429
mov edx, dword [esp + 0x54]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0xa72424
mov ecx, dword [esp + 0x50]
jb 0xa71a12
cmp ecx, eax
ja 0xa72424
add dword [ebx], ecx
sub eax, ecx
lea esi, [esp + 0x38]
mov dword [ebx + 4], eax
call fcn.00a70280
test eax, eax
je 0xa719d6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
lea esi, [esp + 0x18]
call fcn.00a70280
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x18]
cmp eax, 3
jne 0xa71b2b
cmp dword [esp + 0x1c], 0
jne 0xa71b2b
mov edi, dword [esp + 0xd4]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x34]
push edi
push eax
mov eax, dword [esp + 0xcc]
push ecx
push edx
push ebx
push eax
lea eax, [esp + 0xa4]
mov edx, 8
call fcn.00a71660
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xe4]
add esp, 0x18
lea esi, [esp + 0x8c]
mov dword [esp + 0x34], eax
mov dword [edx], ecx
call fcn.00a70080
cmp dword [esp + 0x34], 0
je 0xa71b14
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.00a70280
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x18]
cmp eax, 4
jne 0xa71b9d
cmp dword [esp + 0x1c], 0
jne 0xa71b9d
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xcc]
lea esi, [ebp + 0x38]
push esi
push edx
push eax
mov eax, dword [esp + 0xd0]
push 0x40000000
push ebp
lea ebx, [esp + 0x78]
call fcn.00a71540
add esp, 0x18
test eax, eax
jne 0xa72429
mov ecx, dword [ebp + 0x30]
add dword [esi], ecx
mov edx, dword [ebp + 0x34]
mov edi, dword [esp + 0xc0]
adc dword [esi + 4], edx
lea esi, [esp + 0x18]
call fcn.00a70280
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
or edx, ecx
jne 0xa71bb4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp eax, 5
jne 0xa72424
xor eax, eax
cmp ecx, eax
jne 0xa72424
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x2c]
call fcn.00a70380
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc0]
lea esi, [esp + 0x18]
mov edi, ebx
mov dword [ebp + 0x40], eax
call fcn.00a70280
test eax, eax
jne 0xa72429
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x1c]
je 0xa71eec
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.00a70280
test eax, eax
jne 0xa72429
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0xa72424
mov esi, dword [esp + 0x38]
jb 0xa71c50
cmp esi, eax
ja 0xa72424
cmp dword [esp + 0x1c], ecx
ja case.0xa71c76.16
mov ecx, dword [esp + 0x18]
cmp ecx, 0x100
jae case.0xa71c76.16
add ecx, 0xfffffff2
cmp ecx, 7
ja case.0xa71c76.16
jmp dword [ecx*4 + 0xa72444]
test eax, eax
je 0xa72424
dec eax
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov cl, byte [eax]
inc eax
mov byte [esp + 0x17], cl
mov dword [ebx], eax
test cl, cl
jne 0xa71ca1
dec esi
mov dword [esp + 0x24], esi
mov edi, eax
jmp 0xa71ce5
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x50]
call fcn.00a70380
test eax, eax
jne 0xa72429
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xcc]
cmp ecx, dword [eax]
jae 0xa72424
mov eax, dword [esp + 0xc8]
mov edi, dword [eax + ecx*8]
mov ecx, dword [eax + ecx*8 + 4]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x24], ecx
test byte [esp + 0x24], 1
jne 0xa72424
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0xd0]
mov ecx, dword [esi]
lea eax, [edx*4 + 4]
push eax
push esi
call ecx
add esp, 8
mov dword [ebp + 0x74], eax
test eax, eax
je 0xa72434
mov edx, dword [esp + 0x24]
test edx, edx
jne 0xa71d22
xor ebp, ebp
jmp 0xa71d49
push edx
mov edx, dword [esi]
push esi
call edx
add esp, 8
mov dword [ebp + 0x78], eax
test eax, eax
je 0xa72434
mov ecx, dword [esp + 0x24]
push ecx
push edi
push eax
call fcn.00a81c00
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [ebp + 0x74]
mov eax, dword [esp + 0x2c]
mov edi, edx
mov edx, dword [ebp + 0x78]
call fcn.00a717a0
test eax, eax
jne 0xa72429
cmp byte [esp + 0x17], al
jne 0xa71ece
mov eax, dword [esp + 0x24]
sub dword [ebx + 4], eax
add dword [ebx], eax
jmp 0xa71ece
mov esi, dword [esp + 0x2c]
lea edi, [esp + 0x44]
mov eax, esi
mov edx, ebx
call fcn.00a704e0
test eax, eax
jne 0xa72429
mov ecx, dword [esp + 0x44]
mov eax, esi
call fcn.00a70510
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], 0
jmp 0xa71ece
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x5c]
mov edx, ebx
call fcn.00a704e0
test eax, eax
jne 0xa72429
jmp 0xa71ece
mov esi, dword [esp + 0xd0]
lea edi, [ebp + 0x54]
call fcn.00a70020
mov eax, dword [esp + 0x2c]
mov edx, esi
push edx
push edi
mov ecx, ebx
call fcn.00a70550
add esp, 8
test eax, eax
jne 0xa72429
mov eax, dword [ebx + 4]
test eax, eax
je 0xa72424
dec eax
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov cl, byte [eax]
inc eax
mov dword [ebx], eax
test cl, cl
jne 0xa71e12
mov eax, ebx
jmp 0xa71e5e
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x34]
call fcn.00a70380
test eax, eax
jne 0xa72429
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xcc]
cmp ecx, dword [eax]
jae 0xa72424
mov eax, dword [esp + 0xc8]
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
mov eax, esi
mov ecx, edi
call fcn.00a70620
add esp, 8
test eax, eax
jne 0xa72429
jmp 0xa71ece
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax]
push edx
push ecx
lea ecx, [ebp + 0x5c]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x34]
push edx
push ebx
push eax
push ecx
call fcn.00a71810
add esp, 0x18
test eax, eax
jne 0xa72429
jmp 0xa71ece
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax]
push edx
push ecx
lea ecx, [ebp + 0x64]
jmp 0xa71e8f
sub eax, esi
add dword [ebx], esi
mov dword [ebx + 4], eax
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.00a70280
test eax, eax
je 0xa71c10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x60]
jne 0xa72424
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.00a70280
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
je 0xa71f44
mov eax, ebx
call fcn.00a70400
test eax, eax
jne 0xa72429
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.00a70280
test eax, eax
je 0xa71f11
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0xd0]
mov eax, dword [esi]
xor edi, edi
lea edx, [ecx*4 + 4]
push edx
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1c], 0x80
call eax
add esp, 8
mov dword [ebp + 0x6c], eax
cmp eax, edi
je 0xa72434
mov eax, dword [ebp + 0x40]
cmp eax, edi
jne 0xa71fab
mov dword [ebp + 0x70], edi
jmp 0xa71fc6
mov edx, dword [esi]
lea ecx, [eax*4]
push ecx
push esi
call edx
add esp, 8
mov dword [ebp + 0x70], eax
cmp eax, edi
je 0xa72434
mov eax, dword [ebp + 0x40]
mov edx, dword [esi]
lea ecx, [eax*8 + 8]
push ecx
push esi
call edx
add esp, 8
mov dword [ebp + 0x44], eax
cmp eax, edi
je 0xa72434
mov eax, dword [ebp + 0x40]
add eax, 7
shr eax, 3
cmp eax, edi
jne 0xa71ff6
mov dword [ebp + 0x48], edi
jmp 0xa7200a
push eax
mov eax, dword [esi]
push esi
call eax
add esp, 8
mov dword [ebp + 0x48], eax
cmp eax, edi
je 0xa72434
mov edi, dword [ebp + 0x40]
lea ebx, [ebp + 0x4c]
call fcn.00a6ffd0
test eax, eax
jne 0xa72429
cmp dword [esp + 0x7c], eax
je 0xa72054
mov eax, dword [esp + 0x78]
mov cl, byte [eax]
dec dword [esp + 0x7c]
inc eax
mov byte [esp + 0x17], cl
mov dword [esp + 0x78], eax
test cl, cl
je 0xa72040
mov dword [esp + 0x30], eax
jmp 0xa72054
mov ecx, dword [esp + 0x64]
add ecx, 7
shr ecx, 3
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
jbe 0xa723b4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
nop
cmp byte [esp + 0x14], 0
mov eax, dword [esp + 0x28]
jne 0xa720a8
movzx ecx, byte [esp + 0x16]
mov edx, dword [ebp + 0x48]
dec eax
shr eax, 3
mov byte [eax + edx], cl
movzx ecx, byte [esp + 0x15]
mov edx, dword [ebp + 0x4c]
mov byte [eax + edx], cl
mov eax, dword [esp + 0x28]
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], 0x80
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebp + 0x50]
mov dword [ecx + eax*4], 0
test esi, esi
je 0xa72139
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + esi]
test cl, dl
je 0xa72139
mov edx, dword [esp + 0x5c]
test edx, edx
je 0xa72117
mov esi, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
mov ebx, 0x80
sar ebx, cl
mov ecx, esi
shr ecx, 3
mov dl, byte [ecx + edx]
test dl, bl
jne 0xa72110
mov cl, byte [esp + 0x14]
or byte [esp + 0x16], cl
inc esi
mov dword [esp + 0x50], esi
jmp 0xa7211f
mov dl, byte [esp + 0x14]
or byte [esp + 0x16], dl
cmp dword [esp + 0x40], 0
jne 0xa721cf
mov ecx, dword [ebp + 0x70]
mov dword [ecx + eax*4], 0xffffffff
jmp 0xa7237c
cmp dword [esp + 0x40], 0
jne 0xa721cf
mov esi, dword [esp + 0x24]
jmp 0xa72150
cmp esi, dword [ebp + 4]
jae 0xa72424
cmp dword [esp + 0x68], 0
mov edx, dword [ebp + 0x6c]
mov dword [edx + esi*4], eax
mov dword [esp + 0x48], 1
je 0xa72183
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.00a70380
test eax, eax
jne 0xa72429
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
test eax, eax
jne 0xa721d3
mov eax, dword [ebp + 0x20]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp + 0x1c]
add eax, dword [ecx + esi*4]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax*8]
add dword [esp + 0x18], edx
mov eax, dword [ecx + eax*8 + 4]
adc edi, eax
mov dword [esp + 0x1c], edi
cmp edi, eax
jb 0xa72424
ja 0xa721c4
cmp dword [esp + 0x18], edx
jb 0xa72424
mov eax, dword [esp + 0x28]
inc esi
mov dword [esp + 0x24], esi
jmp 0xa72150
mov esi, dword [esp + 0x24]
mov edx, dword [ebp + 0x70]
mov eax, dword [esp + 0x28]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x44]
test edx, edx
je 0xa72207
mov ecx, eax
and ecx, 7
mov ebx, 0x80
sar ebx, cl
shr eax, 3
mov al, byte [eax + edx]
test al, bl
jne 0xa7237c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub dword [esp + 0x40], 1
mov ebx, dword [esp + 0x18]
jne 0xa72301
mov ecx, dword [ebp + 0x20]
movzx eax, byte [ecx + esi]
mov edx, dword [ebp + 0x1c]
add eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + esi*4]
mov ecx, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
sub ebx, ecx
sbb edi, edx
cmp dword [esp + 0x3c], edi
jb 0xa72424
mov edi, dword [esp + 0x38]
ja 0xa72261
cmp edi, ebx
jb 0xa72424
mov eax, dword [esp + 0x3c]
add ecx, edi
adc edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp edx, eax
jb 0xa72424
ja 0xa72283
cmp ecx, edi
jb 0xa72424
cmp dword [esp + 0x48], 1
mov eax, dword [esp + 0x28]
jne 0xa722cb
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xa722cb
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + edi]
test cl, dl
je 0xa722cb
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp + 0x50]
mov dword [ecx + eax*4], edx
mov al, byte [esp + 0x14]
or byte [esp + 0x15], al
inc esi
mov dword [esp + 0x24], esi
jmp 0xa7237c
cmp byte [esp + 0x17], 0
jne 0xa722df
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0xa722fa
test byte [ecx], 0x80
je 0xa722fa
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx]
mov edx, dword [ebp + 0x50]
mov dword [edx + eax*4], edi
mov al, byte [esp + 0x14]
add ecx, 4
or byte [esp + 0x15], al
mov dword [esp + 0x30], ecx
inc esi
mov dword [esp + 0x24], esi
jmp 0xa7237c
lea esi, [esp + 0x80]
lea edi, [esp + 0x70]
call fcn.00a70280
test eax, eax
jne 0xa72429
mov edx, dword [esp + 0x80]
add dword [esp + 0x18], edx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
adc ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0xa72424
ja 0xa72349
cmp dword [esp + 0x18], edx
jb 0xa72424
cmp byte [esp + 0x17], 0
jne 0xa7235d
mov eax, dword [esp + 0x34]
test eax, eax
je 0xa7237c
test byte [eax], 0x80
je 0xa7237c
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x50]
mov esi, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x14]
or byte [esp + 0x15], al
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0x28]
shr byte [esp + 0x14], 1
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jb 0xa72070
cmp byte [esp + 0x14], 0x80
je 0xa723b4
movzx edx, byte [esp + 0x16]
mov ecx, dword [ebp + 0x48]
dec eax
shr eax, 3
mov byte [eax + ecx], dl
movzx edx, byte [esp + 0x15]
mov ecx, dword [ebp + 0x4c]
mov byte [eax + ecx], dl
cmp dword [esp + 0x40], 0
mov eax, dword [ebp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 4], edx
jne 0xa72424
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x6c]
mov dword [edx + eax*4], ecx
cmp eax, dword [ebp + 4]
jae 0xa7240e
mov esi, eax
mov edi, ecx
cmp dword [esp + 0x68], 0
je 0xa72424
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.00a70380
test eax, eax
jne 0xa72429
cmp dword [esp + 0x48], eax
jne 0xa72424
mov eax, dword [ebp + 0x6c]
inc esi
mov dword [eax + esi*4], edi
cmp esi, dword [ebp + 4]
jb 0xa723e4
cmp dword [esp + 0x68], 0
je 0xa71ba7
cmp dword [esp + 0x6c], 0
je 0xa71ba7
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xa8
ret