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

Disassembly:
sub esp, 0x4c
mov cl, byte [eax + 0x2b9]
push ebx
mov ebx, dword [eax + 0x2bc]
push ebp
mov ebp, dword [eax + 0x68]
push esi
mov esi, dword [ebp + 0x1c]
push edi
xor edi, edi
test cl, cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], edi
je 0x29b1e001
cmp ebx, edi
je 0x29b1e001
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x18]
push eax
lea edx, [ecx*8]
push edx
push esi
call fcn.29af3e90
add esp, 0xc
cmp eax, edi
jne 0x29b1e006
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [ebx + 0x20]
jae 0x29b1dff7
mov edx, dword [ebx + 0x24]
lea ecx, [edx + eax*4]
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x29b1dff7
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + eax*4]
push edx
push ebp
call fcn.29af40b0
add esp, 8
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x29b1dfd7
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4]
sub edx, dword [eax]
push edx
push ebp
call fcn.29af4280
add esp, 8
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x29b1dfd7
mov ecx, dword [ebx]
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push eax
shl ecx, 2
push ecx
push esi
sub edi, edx
call fcn.29af3e90
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x29b1dfc4
mov eax, dword [ebx]
lea edx, [esp + 0x2c]
push edx
shl eax, 2
push eax
push esi
call fcn.29af3e90
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x29b1dfc4
mov edx, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
shl edx, 2
push edx
push esi
call fcn.29af3e90
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x29b1dfc4
push ebp
call fcn.29af4390
movzx esi, ax
push ebp
mov dword [esp + 0x54], esi
call fcn.29af4390
movzx ecx, ax
add ecx, edi
add esp, 8
test esi, 0x8000
mov dword [esp + 0x14], ecx
je 0x29b1dcbb
mov eax, dword [ebp]
mov esi, dword [ebp + 0x20]
sub esi, eax
add eax, ecx
mov dword [ebp + 0x20], eax
lea eax, [esp + 0x44]
push eax
mov edi, ebp
call fcn.29b1cc60
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ebp]
sub ecx, eax
add esp, 4
add eax, esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x20], eax
and esi, 0xfff
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], esi
jbe 0x29b1df9c
jmp 0x29b1dce0
mov ebx, dword [esp + 0x50]
lea esp, [esp]
push ebp
call fcn.29af4390
movzx edx, ax
push ebp
mov dword [esp + 0x50], edx
call fcn.29af4390
movzx edx, ax
add esp, 8
test dh, dh
mov dword [esp + 0x24], edx
jns 0x29b1dd33
mov eax, dword [ebx]
xor edi, edi
test eax, eax
jbe 0x29b1dd56
lea esp, [esp]
push ebp
call fcn.29af4390
mov ecx, dword [esp + 0x24]
movsx eax, ax
shl eax, 2
add esp, 4
mov dword [ecx + edi*4], eax
mov eax, dword [ebx]
inc edi
cmp edi, eax
jb 0x29b1dd10
mov edx, dword [esp + 0x24]
jmp 0x29b1dd56
mov ecx, dword [ebx + 0x18]
mov eax, edx
and eax, 0xfff
cmp eax, ecx
jae 0x29b1df94
mov ecx, dword [ebx]
mov esi, dword [ebx + 0x1c]
imul eax, ecx
mov edi, dword [esp + 0x20]
lea esi, [esi + eax*4]
rep movsd dword es:[edi], dword [esi]
test dh, 0x40
je 0x29b1ddb1
mov eax, dword [ebx]
xor edi, edi
test eax, eax
jbe 0x29b1dd84
push ebp
call fcn.29af4390
movsx edx, ax
mov eax, dword [esp + 0x30]
shl edx, 2
add esp, 4
mov dword [eax + edi*4], edx
mov eax, dword [ebx]
inc edi
cmp edi, eax
jb 0x29b1dd63
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
xor esi, esi
test eax, eax
jbe 0x29b1ddb1
lea esp, [esp]
push ebp
call fcn.29af4390
mov edx, dword [esp + 0x34]
movsx ecx, ax
shl ecx, 2
add esp, 4
mov dword [edx + esi*4], ecx
mov eax, dword [ebx]
inc esi
cmp esi, eax
jb 0x29b1dd90
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push ebx
call fcn.29b1d220
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x29b1dde2
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x14], eax
jmp 0x29b1df7d
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x20]
sub ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x24]
test ch, 0x20
je 0x29b1de1b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
add eax, ecx
push edx
mov edi, ebp
mov dword [ebp + 0x20], eax
call fcn.29b1cc60
mov edi, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x1c], eax
mov esi, eax
jmp 0x29b1de27
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x38], edi
test edi, edi
mov eax, dword [esp + 0x68]
je 0x29b1de31
mov eax, edi
push eax
push ebp
call fcn.29b1cd70
add esp, 8
test edi, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
je 0x29b1de49
mov eax, edi
push eax
push ebp
call fcn.29b1cd70
add esp, 8
test esi, esi
mov dword [esp + 0x3c], eax
je 0x29b1df31
test eax, eax
je 0x29b1df31
mov eax, dword [esp + 0x28]
test eax, eax
je 0x29b1df31
cmp esi, 0xffffffff
jne 0x29b1ded3
mov eax, dword [esp + 0x68]
xor esi, esi
test eax, eax
jbe 0x29b1df31
jmp 0x29b1de90
mov ecx, dword [esp + 0x28]
movsx edx, word [ecx + esi*2]
mov eax, dword [esp + 0x18]
push ebx
push edx
lea edi, [eax + esi*8]
call fcn.29af4ab0
add dword [edi], eax
mov ecx, dword [esp + 0x44]
movsx edx, word [ecx + esi*2]
mov eax, dword [esp + 0x20]
push ebx
push edx
lea edi, [eax + esi*8 + 4]
call fcn.29af4ab0
mov edx, dword [edi]
add edx, eax
mov eax, dword [esp + 0x78]
add esp, 0x10
inc esi
cmp esi, eax
mov dword [edi], edx
jb 0x29b1de90
jmp 0x29b1df31
xor esi, esi
test edi, edi
jbe 0x29b1df31
lea esp, [esp]
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + esi*2]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
lea edi, [edx + ecx*8]
movsx ecx, word [eax + esi*2]
push ebx
push ecx
call fcn.29af4ab0
add dword [edi], eax
mov edx, dword [esp + 0x24]
movzx eax, word [edx + esi*2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
lea edi, [ecx + eax*8 + 4]
movsx eax, word [edx + esi*2]
push ebx
push eax
call fcn.29af4ab0
mov edx, dword [edi]
add edx, eax
mov eax, dword [esp + 0x48]
add esp, 0x10
inc esi
cmp esi, eax
mov dword [edi], edx
jb 0x29b1dee0
cmp dword [esp + 0x1c], 0xffffffff
mov esi, dword [esp + 0x34]
je 0x29b1df4a
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.29af3f20
add esp, 8
lea edx, [esp + 0x28]
push edx
push esi
call fcn.29af3f20
lea eax, [esp + 0x44]
push eax
push esi
call fcn.29af3f20
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
add edx, ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp]
add esp, 0x10
add edx, eax
mov dword [ebp + 0x20], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x4c], eax
jb 0x29b1dcd5
jmp 0x29b1df9c
mov dword [esp + 0x10], 8
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.29af3f20
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.29af3f20
lea edx, [esp + 0x40]
push edx
push esi
call fcn.29af3f20
add esp, 0x18
push ebp
call fcn.29af4340
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x29b1dfeb
xor edi, edi
lea eax, [esp + 0x18]
push eax
push esi
call fcn.29af3f20
mov ecx, dword [esp + 0x6c]
add esp, 8
mov dword [ecx], edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret