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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x68]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov ecx, dword [ebp + 0x80]
mov eax, dword [ebp]
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x54]
push edi
mov edi, dword [esi + 0x9c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
push eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x28], edi
call fcn.29af7590
add esp, 0xc
test eax, eax
jne 0x29b22188
mov al, byte [edi + 8]
test al, al
mov byte [ebp + 0x84], al
je 0x29b21c1b
lea edx, [edi + 0xc]
mov ecx, dword [edx]
lea eax, [ebp + 0x88]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp + 0x88]
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0x8c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x48], eax
mov dword [ebp + 0x9c], ecx
mov ecx, dword [ebp + 0x90]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x94]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.29af8fa0
lea ecx, [esp + 0x48]
push ecx
lea eax, [ebp + 0x98]
push eax
call fcn.29af53d0
add esp, 0xc
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x28]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x48]
cmp eax, 0x636f6d70
mov dword [esi + 0x38], edx
je 0x29b21ec6
cmp eax, 0x6f75746c
je 0x29b21c49
mov dword [esp + 0x18], 7
jmp 0x29b21e09
mov al, byte [ebp + 0x84]
test al, al
je 0x29b21c6d
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0x98]
push ecx
push edx
lea eax, [esi + 0x6c]
push eax
call fcn.29af5380
add esp, 0xc
movsx ecx, word [esi + 0x6c]
movsx edx, word [esi + 0x6e]
push ecx
add edx, 4
push edx
push ebx
call fcn.29af7350
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
jne 0x29b22188
movsx ecx, word [esi + 0x6e]
mov esi, dword [esi + 0x70]
mov edi, dword [ebx + 0x38]
shl ecx, 3
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x6c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [eax + 0x6e]
mov esi, dword [eax + 0x70]
mov edi, dword [ebx + 0x48]
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [eax + 0x6c]
mov esi, dword [eax + 0x78]
mov edi, dword [ebx + 0x40]
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [eax + 0x6e]
mov esi, dword [eax + 0x74]
mov edi, dword [ebx + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [eax + 0x6e]
mov word [ebx + 0x36], cx
mov dx, word [eax + 0x6c]
mov word [ebx + 0x34], dx
mov ecx, dword [ebp + 0x14]
lea esi, [ebp + 0xc]
lea edi, [ebx + 0x34]
mov dword [ebp + 0xa0], ecx
mov edx, dword [esi + 0x10]
mov dword [ebp + 0xa4], edx
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x28]
push ecx
push edx
call fcn.29af4ab0
add eax, dword [esi + 8]
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0xa8], eax
mov eax, dword [esi + 0x10]
add esp, 8
mov dword [ebp + 0xac], eax
cmp word [ecx + 0x6e], 0
je 0x29b21e01
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
push eax
push edi
push esi
call dword [edx + 0x1c]
mov eax, dword [esi + 0x44]
mov esi, dword [esi + 0x3c]
lea ecx, [esi + esi*2]
shl ecx, 4
add esp, 0xc
cmp esi, 1
lea edi, [ecx + eax - 0x30]
jle 0x29b21dd4
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0xa8]
mov esi, dword [eax + 4]
sub edx, ecx
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
sub ecx, esi
add eax, edx
cmp esi, 0x18
jge 0x29b21d98
sub ecx, 5
cmp edx, 0x18
jge 0x29b21da0
add eax, 5
lea edx, [ecx + 0x20]
and edx, 0xffffffc0
mov dword [ebp + 0xa0], edx
sub edx, ecx
mov ecx, dword [esp + 0x6c]
lea esi, [eax + 0x20]
and esi, 0xffffffc0
mov dword [ebp + 0xa8], esi
mov dword [ecx + 0x90], edx
mov edx, dword [ebp + 0xa8]
sub edx, eax
mov dword [ecx + 0x94], edx
jmp 0x29b21df8
mov eax, dword [ebp + 0xa0]
mov ecx, dword [ebp + 0xa8]
add eax, 0x20
and eax, 0xffffffc0
add ecx, 0x20
and ecx, 0xffffffc0
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0xa8], ecx
push ebx
call fcn.29af5840
add esp, 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x29b22184
mov al, byte [ebp + 0x84]
test al, al
je 0x29b21e32
lea eax, [ebp + 0x88]
push eax
lea ecx, [ebx + 0x14]
push ecx
call fcn.29af5430
add esp, 8
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x29b21e4d
push 0
neg eax
push eax
lea edx, [ebx + 0x14]
push edx
call fcn.29af5380
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0x14]
push ecx
call fcn.29af52f0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
and eax, 0xffffffc0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
add eax, 0x3f
and eax, 0xffffffc0
and edx, 0xffffffc0
mov dword [esp + 0x54], eax
sub eax, edx
add ecx, 0x3f
and ecx, 0xffffffc0
mov dword [esi + 0x18], eax
mov eax, ecx
sub eax, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x4c], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edx
mov al, byte [ecx + 8]
add esp, 8
test al, 4
jne 0x29b22116
mov edx, dword [ebp + 0xa8]
sub edx, dword [ebp + 0xa0]
mov dword [esi + 0x28], edx
jmp 0x29b2212d
mov edi, dword [esi + 0x80]
movsx edx, word [ebx + 0x16]
push edi
push ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edx
call fcn.29af7430
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
jne 0x29b22188
mov esi, dword [esi + 0x84]
mov ecx, edi
mov edi, dword [ebx + 0x50]
shl ecx, 5
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x4c], ecx
mov dword [esp + 0x2c], 0
jbe 0x29b21e01
shl eax, 5
mov dword [esp + 0x14], eax
jmp 0x29b21f30
mov ecx, dword [ebp + 0xa4]
mov eax, dword [ebx + 0x30]
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0xa8]
movsx edi, word [ebx + 0x16]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0xac]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x7c]
add eax, esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xa0]
inc ecx
push ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x7c]
push edx
push eax
push ecx
push ebp
mov dword [esp + 0x34], edi
call fcn.29b21b50
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], eax
jne 0x29b22188
mov eax, dword [ebx + 0x30]
add eax, dword [esp + 0x14]
test byte [eax + 5], 2
mov dword [esp + 0x10], eax
jne 0x29b21fc2
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xa4], edx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0xa0], esi
mov dword [ebp + 0xa8], ecx
mov dword [ebp + 0xac], edx
movsx edx, word [ebx + 0x16]
mov cl, byte [eax + 4]
sub edx, edi
test cl, 0xc8
mov dword [esp + 0x28], edx
je 0x29b22025
mov esi, dword [ebx + 0x18]
lea ecx, [edi*8]
mov edi, dword [ebx + 0x28]
add esi, ecx
add edi, ecx
lea ecx, [esi + edx*8]
cmp esi, ecx
mov dword [esp + 0x38], ecx
jae 0x29b22021
add eax, 0x10
push eax
push esi
call fcn.29af53d0
mov eax, dword [esp + 0x18]
add eax, 0x10
push eax
push edi
call fcn.29af53d0
mov eax, dword [esp + 0x48]
add esi, 8
add esp, 0x10
add edi, 8
cmp esi, eax
mov eax, dword [esp + 0x10]
jb 0x29b21ff0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
test byte [eax + 4], 2
jne 0x29b22065
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
add eax, ecx
cmp eax, edi
jae 0x29b22109
cmp esi, edx
jae 0x29b22109
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x24]
add esi, edi
add esi, edx
lea edx, [ecx + esi*8]
mov esi, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [edx + 4]
sub esi, dword [edx]
sub eax, ecx
jmp 0x29b2209b
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.29af4ab0
mov esi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
add eax, esi
lea esi, [eax + 0x20]
mov eax, dword [ebp + 0x18]
push eax
push edx
and esi, 0xffffffc0
call fcn.29af4ab0
mov ecx, dword [ebp + 0x1c]
lea eax, [eax + ecx + 0x20]
add esp, 0x10
and eax, 0xffffffc0
lea edx, [ebx + 0x14]
mov ecx, dword [edx]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x64], edx
lea edx, [ecx + edi*8]
mov cx, word [esp + 0x28]
push eax
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x58]
push esi
push edx
mov word [esp + 0x62], cx
call fcn.29af5380
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
inc eax
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
jb 0x29b21f30
jmp 0x29b21e01
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [esi + 0x28]
push ecx
push edx
call fcn.29af4ab0
add esp, 8
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x28], eax
mov ecx, dword [edi]
push ecx
call fcn.29af5610
mov edx, dword [edi]
push ebx
push edx
call fcn.29af7490
add esp, 0xc
test eax, eax
jne 0x29b22188
mov ecx, dword [edi]
add ecx, 0x14
mov edi, dword [ecx]
lea edx, [esi + 0x6c]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov dword [edx + 8], edi
mov edi, dword [ecx + 0xc]
mov dword [edx + 0xc], edi
mov ecx, dword [ecx + 0x10]
pop edi
mov dword [esi + 0x48], 0x6f75746c
pop esi
pop ebp
mov dword [edx + 0x10], ecx
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret