Function at 0x2a92560
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.02a90e80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x2a92646
cmp dword [esp + 0x1c], 0
jne 0x2a92646
lea esi, [esp + 0x38]
call fcn.02a90e80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
mov edi, ebx
je 0x2a92631
lea esi, [esp + 0x50]
call fcn.02a90e80
test eax, eax
jne 0x2a93029
mov edx, dword [esp + 0x54]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0x2a93024
mov ecx, dword [esp + 0x50]
jb 0x2a92612
cmp ecx, eax
ja 0x2a93024
add dword [ebx], ecx
sub eax, ecx
lea esi, [esp + 0x38]
mov dword [ebx + 4], eax
call fcn.02a90e80
test eax, eax
je 0x2a925d6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
lea esi, [esp + 0x18]
call fcn.02a90e80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x18]
cmp eax, 3
jne 0x2a9272b
cmp dword [esp + 0x1c], 0
jne 0x2a9272b
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.02a92260
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.02a90c80
cmp dword [esp + 0x34], 0
je 0x2a92714
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.02a90e80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x18]
cmp eax, 4
jne 0x2a9279d
cmp dword [esp + 0x1c], 0
jne 0x2a9279d
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.02a92140
add esp, 0x18
test eax, eax
jne 0x2a93029
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.02a90e80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
or edx, ecx
jne 0x2a927b4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp eax, 5
jne 0x2a93024
xor eax, eax
cmp ecx, eax
jne 0x2a93024
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.02a90f80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc0]
lea esi, [esp + 0x18]
mov edi, ebx
mov dword [ebp + 0x40], eax
call fcn.02a90e80
test eax, eax
jne 0x2a93029
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x1c]
je 0x2a92aec
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.02a90e80
test eax, eax
jne 0x2a93029
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0x2a93024
mov esi, dword [esp + 0x38]
jb 0x2a92850
cmp esi, eax
ja 0x2a93024
cmp dword [esp + 0x1c], ecx
ja 0x2a92ac7
mov ecx, dword [esp + 0x18]
cmp ecx, 0x100
jae 0x2a92ac7
add ecx, 0xfffffff2
cmp ecx, 7
ja 0x2a92ac7
jmp dword [ecx*4 + 0x2a92444]
sub eax, esi
add dword [ebx], esi
mov dword [ebx + 4], eax
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.02a90e80
test eax, eax
je 0x2a92810
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 0x2a93024
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.02a90e80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
je 0x2a92b44
mov eax, ebx
call fcn.02a91000
test eax, eax
jne 0x2a93029
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.02a90e80
test eax, eax
je 0x2a92b11
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 0x2a93034
mov eax, dword [ebp + 0x40]
cmp eax, edi
jne 0x2a92bab
mov dword [ebp + 0x70], edi
jmp 0x2a92bc6
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 0x2a93034
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 0x2a93034
mov eax, dword [ebp + 0x40]
add eax, 7
shr eax, 3
cmp eax, edi
jne 0x2a92bf6
mov dword [ebp + 0x48], edi
jmp 0x2a92c0a
push eax
mov eax, dword [esi]
push esi
call eax
add esp, 8
mov dword [ebp + 0x48], eax
cmp eax, edi
je 0x2a93034
mov edi, dword [ebp + 0x40]
lea ebx, [ebp + 0x4c]
call fcn.02a90bd0
test eax, eax
jne 0x2a93029
cmp dword [esp + 0x7c], eax
je 0x2a92c54
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 0x2a92c40
mov dword [esp + 0x30], eax
jmp 0x2a92c54
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 0x2a92fb4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
nop
cmp byte [esp + 0x14], 0
mov eax, dword [esp + 0x28]
jne 0x2a92ca8
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 0x2a92d39
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 0x2a92d39
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x2a92d17
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 0x2a92d10
mov cl, byte [esp + 0x14]
or byte [esp + 0x16], cl
inc esi
mov dword [esp + 0x50], esi
jmp 0x2a92d1f
mov dl, byte [esp + 0x14]
or byte [esp + 0x16], dl
cmp dword [esp + 0x40], 0
jne 0x2a92dcf
mov ecx, dword [ebp + 0x70]
mov dword [ecx + eax*4], 0xffffffff
jmp 0x2a92f7c
cmp dword [esp + 0x40], 0
jne 0x2a92dcf
mov esi, dword [esp + 0x24]
jmp 0x2a92d50
cmp esi, dword [ebp + 4]
jae 0x2a93024
cmp dword [esp + 0x68], 0
mov edx, dword [ebp + 0x6c]
mov dword [edx + esi*4], eax
mov dword [esp + 0x48], 1
je 0x2a92d83
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.02a90f80
test eax, eax
jne 0x2a93029
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x2a92dd3
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 0x2a93024
ja 0x2a92dc4
cmp dword [esp + 0x18], edx
jb 0x2a93024
mov eax, dword [esp + 0x28]
inc esi
mov dword [esp + 0x24], esi
jmp 0x2a92d50
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 0x2a92e07
mov ecx, eax
and ecx, 7
mov ebx, 0x80
sar ebx, cl
shr eax, 3
mov al, byte [eax + edx]
test al, bl
jne 0x2a92f7c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub dword [esp + 0x40], 1
mov ebx, dword [esp + 0x18]
jne 0x2a92f01
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 0x2a93024
mov edi, dword [esp + 0x38]
ja 0x2a92e61
cmp edi, ebx
jb 0x2a93024
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 0x2a93024
ja 0x2a92e83
cmp ecx, edi
jb 0x2a93024
cmp dword [esp + 0x48], 1
mov eax, dword [esp + 0x28]
jne 0x2a92ecb
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x2a92ecb
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 0x2a92ecb
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 0x2a92f7c
cmp byte [esp + 0x17], 0
jne 0x2a92edf
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x2a92efa
test byte [ecx], 0x80
je 0x2a92efa
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 0x2a92f7c
lea esi, [esp + 0x80]
lea edi, [esp + 0x70]
call fcn.02a90e80
test eax, eax
jne 0x2a93029
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 0x2a93024
ja 0x2a92f49
cmp dword [esp + 0x18], edx
jb 0x2a93024
cmp byte [esp + 0x17], 0
jne 0x2a92f5d
mov eax, dword [esp + 0x34]
test eax, eax
je 0x2a92f7c
test byte [eax], 0x80
je 0x2a92f7c
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 0x2a92c70
cmp byte [esp + 0x14], 0x80
je 0x2a92fb4
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 0x2a93024
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x6c]
mov dword [edx + eax*4], ecx
cmp eax, dword [ebp + 4]
jae 0x2a9300e
mov esi, eax
mov edi, ecx
cmp dword [esp + 0x68], 0
je 0x2a93024
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.02a90f80
test eax, eax
jne 0x2a93029
cmp dword [esp + 0x48], eax
jne 0x2a93024
mov eax, dword [ebp + 0x6c]
inc esi
mov dword [eax + esi*4], edi
cmp esi, dword [ebp + 4]
jb 0x2a92fe4
cmp dword [esp + 0x68], 0
je 0x2a927a7
cmp dword [esp + 0x6c], 0
je 0x2a927a7
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