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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1c]
push ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x80]
push ebp
push esi
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x18], edx
push edi
lea edx, [eax + eax*2]
lea esi, [ebx + 0x90]
push esi
shl edx, 2
push edx
push ecx
call fcn.29af3e90
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x29b0f6b4
mov edi, dword [ebx + 0x88]
mov eax, dword [esi]
xor ebp, ebp
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edi
jne 0x29b0f520
mov ecx, dword [esp + 0x2c]
push 0x29b0f460
push 0xc
push ebp
push ecx
call sub.MSVCRT.dll_qsort
mov eax, dword [esp + 0x24]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
jmp 0x29b0f520
movzx esi, byte [edi + 4]
mov eax, dword [ebx + 0x84]
add esi, ebp
cmp esi, eax
ja 0x29b0f6ac
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.29af40b0
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jne 0x29b0f6b4
movzx eax, byte [edi + 4]
imul eax, dword [edi + 8]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.29af4280
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jne 0x29b0f6b4
cmp ebp, esi
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + 0x20]
jae 0x29b0f689
mov ecx, dword [esp + 0x2c]
lea eax, [ebp + ebp*2]
sub esi, ebp
lea edx, [ecx + eax*4]
add ebp, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebp
lea ecx, [ecx]
mov al, byte [edi + 5]
test al, 1
je 0x29b0f5c3
add ebx, 2
xor ecx, ecx
mov ch, byte [ebx - 2]
add ebx, 2
xor edx, edx
mov dh, byte [ebx - 2]
mov cl, byte [ebx - 3]
mov dl, byte [ebx - 1]
mov edi, ecx
mov ebp, edx
jmp 0x29b0f5cc
movzx edi, byte [ebx]
movzx ebp, byte [ebx + 1]
inc ebx
inc ebx
test al, 2
mov edx, dword [esp + 0x10]
je 0x29b0f5ec
movzx ecx, byte [ebx + 1]
xor eax, eax
mov ah, byte [ebx]
add ebx, 2
movsx eax, ax
or eax, ecx
movsx ecx, word [edx + 6]
add eax, ecx
jmp 0x29b0f5f6
movzx ecx, byte [ebx]
movsx eax, word [edx + 6]
add eax, ecx
inc ebx
mov edx, dword [esp + 0x18]
xor esi, esi
test edx, edx
mov dword [esp + 0x20], eax
jbe 0x29b0f629
lea ecx, [edx + esi]
shr ecx, 1
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, edi
je 0x29b0f652
jae 0x29b0f61f
lea esi, [ecx + 1]
jmp 0x29b0f621
mov edx, ecx
cmp esi, edx
jb 0x29b0f604
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov edi, dword [esp + 0x24]
xor esi, esi
test edx, edx
mov dword [edi], ecx
jbe 0x29b0f65f
lea ecx, [edx + esi]
shr ecx, 1
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ebp
je 0x29b0f6a9
jae 0x29b0f659
lea esi, [ecx + 1]
jmp 0x29b0f65b
mov edx, dword [esp + 0x18]
inc ecx
jmp 0x29b0f62b
mov edx, ecx
cmp esi, edx
jb 0x29b0f637
xor ecx, ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
add edi, 0xc
dec eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jne 0x29b0f5a0
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push eax
call fcn.29af4340
mov edi, dword [edi]
add esp, 4
test edi, edi
mov dword [esp + 0x10], edi
jne 0x29b0f513
jmp 0x29b0f4f2
inc ecx
jmp 0x29b0f661
mov dword [esp + 0x14], 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x84], 0
pop ebx
add esp, 0x24
ret