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

Disassembly:
sub esp, 0xc0
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
push edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 0x40]
mov edi, dword [eax + 0x4c]
add ecx, 7
mov ebx, dword [eax + 0x30]
sar ecx, 3
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x40], ecx
lea ecx, [eax + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test edi, edi
jne 0x100296a9
lea eax, [edi + 1]
pop edi
pop ebp
pop ebx
add esp, 0xc0
ret
push esi
lea eax, [esp + 0x58]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
lea eax, [esp + 0x98]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
lea eax, [esp + 0x7c]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
lea eax, [esp + 0xb8]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
lea eax, [esp + 0xa0]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
lea eax, [esp + 0xd8]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
lea eax, [esp + 0xf0]
push eax
push dword [ebp]
mov eax, dword [edi]
call eax
push edi
lea eax, [esp + 0x4c]
push eax
push dword [ebp]
mov eax, dword [edi + 0x60]
call eax
mov esi, eax
add esp, 0x44
test esi, esi
jne 0x10029964
push eax
push dword [esp + 0x6c]
push eax
push dword [ebp + 0x20]
mov eax, dword [edi + 0x68]
push edi
push dword [esp + 0x24]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10029964
lea eax, [esp + 0x20]
push eax
push dword [ebp]
mov eax, dword [edi + 0x78]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029964
push dword [esp + 0x10]
mov eax, dword [edi + 0x80]
push dword [esp + 0x24]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029964
lea eax, [esp + 0x14]
push eax
push dword [ebp]
mov eax, dword [edi + 0x78]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029964
push dword [esp + 0x10]
mov eax, dword [edi + 0x80]
push dword [esp + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029964
mov eax, dword [esp + 0xec]
mov dword [eax], esi
mov esi, dword [esp + 0x4c]
push esi
push dword [ebp]
call fcn.10050640
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100297df
lea esi, [eax + 0x10]
jmp 0x100299e4
push ebx
push dword [ebp]
mov dword [esp + 0x24], esi
call fcn.10050400
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100297ff
lea esi, [eax + 0x10]
jmp 0x10029964
lea esi, [esi*2 + 1]
push esi
push dword [ebp]
mov dword [esp + 0x44], esi
call fcn.10050640
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x10029826
lea esi, [eax + 0x10]
jmp 0x10029964
push esi
push dword [ebp]
mov dword [esp + 0x48], esi
call fcn.10050640
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10029846
lea esi, [eax + 0x10]
jmp 0x10029964
push esi
push dword [ebp]
mov dword [esp + 0x50], esi
call fcn.10050640
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10029866
lea esi, [eax + 0x10]
jmp 0x10029964
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi + 8]
push ebx
push dword [esp + 0x4c]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10029964
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push dword [esp + 0xf0]
mov ebx, dword [esp + 0xf0]
push ebx
push dword [ebp]
call fcn.100293b0
add esp, 0x18
test eax, eax
jne 0x100298ba
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0xe4], eax
mov esi, dword [esp + 0x28]
lea eax, [esi + esi]
cmp dword [esp + 0xe4], eax
jne 0x1002995f
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi + 0x18]
call eax
mov edx, dword [esp + 0xe0]
add esp, 4
lea ecx, [edx*8]
cmp ecx, eax
jbe 0x100298ff
mov edx, esi
and eax, 0x80000007
jns 0x100298fb
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [edi + 8]
push edx
push dword [esp + 0xe0]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10029964
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x10029943
lea eax, [esp + 0x90]
push eax
mov eax, 8
sub eax, ecx
push eax
mov eax, dword [edi + 0x20]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029964
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
je 0x1002995f
lea ecx, [ecx]
cmp byte [eax + ebx], 0
jne 0x10029a66
inc eax
cmp eax, ecx
jb 0x10029950
mov esi, 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10029980
push eax
push dword [ebp]
call fcn.10050630
add esp, 8
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10029994
push eax
push dword [ebp]
call fcn.10050630
add esp, 8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100299a8
push eax
push dword [ebp]
call fcn.10050630
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100299bc
push eax
push dword [ebp]
call fcn.10050630
add esp, 8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100299d0
push eax
push dword [ebp]
call fcn.10050630
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100299e4
push eax
push dword [ebp]
call fcn.10050630
add esp, 8
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi + 4]
call eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [edi + 4]
call eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [edi + 4]
call eax
lea eax, [esp + 0xac]
push eax
mov eax, dword [edi + 4]
call eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [edi + 4]
call eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [edi + 4]
call eax
lea eax, [esp + 0xd8]
push eax
mov eax, dword [edi + 4]
call eax
push dword [esp + 0x3c]
mov eax, dword [edi + 0x7c]
call eax
push dword [esp + 0x34]
mov eax, dword [edi + 0x7c]
call eax
lea eax, [esp + 0x34]
push edi
push eax
mov eax, dword [edi + 0x64]
call eax
add esp, 0x2c
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc0
ret
cmp eax, ecx
jae 0x1002995f
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edi + 8]
push ecx
push ebx
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10029964
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [edi + 0x14]
call eax
add esp, 8
test eax, eax
jns 0x1002995f
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x2c]
push eax
add eax, ebx
push eax
mov eax, dword [edi + 8]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10029964
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [edi + 0x14]
call eax
add esp, 8
test eax, eax
jns 0x1002995f
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, dword [edi + 0x50]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10029b14
cmp esi, 0x10b
jne 0x10029964
jmp 0x1002995f
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [edi + 0x4c]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10029964
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [edi + 0x4c]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10029964
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xbc]
push eax
mov eax, dword [edi + 0xc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10029964
mov eax, dword [ebp + 0x10]
xor ecx, ecx
test eax, eax
je 0x10029ba2
lea ecx, [eax + 1]
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x3c]
push eax
push dword [esp + 0x40]
mov eax, dword [eax + 0x48]
push edx
push dword [esp + 0x40]
push ecx
push dword [esp + 0x7c]
lea ecx, [esp + 0x30]
push ecx
push dword [ebp]
call eax
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x10029964
push dword [esp + 0x18]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x20]
push ecx
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
push eax
mov eax, dword [edi + 0xc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10029964
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x40]
push ecx
push dword [esp + 0x44]
push eax
push dword [esp + 0x38]
lea eax, [ebp + 0x18]
push dword [ebp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
push dword [ebp]
mov eax, dword [ecx + 0x48]
call eax
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x10029964
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x20]
lea eax, [ecx - 1]
shr eax, 1
inc eax
push eax
mov eax, dword [edi + 0x70]
push 1
push ecx
push dword [esp + 0x44]
push dword [esp + 0x24]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10029964
mov ecx, dword [esp + 0x40]
push dword [esp + 0x14]
lea eax, [ecx - 1]
shr eax, 1
inc eax
push eax
mov eax, dword [edi + 0x70]
push 1
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x24]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10029964
mov eax, dword [edi + 0x8c]
push edi
push dword [esp + 0x18]
push dword [esp + 0x28]
push dword [esp + 0x1c]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10029964
mov eax, dword [esp + 0x4c]
inc eax
push eax
push 1
push dword [esp + 0x38]
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x58]
mov eax, dword [edi + 0x6c]
push dword [esp + 0x28]
push dword [esp + 0x28]
call eax
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10029964
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x4c]
shr eax, 1
push eax
mov eax, dword [esp + 0x38]
inc eax
push eax
mov eax, dword [edi + 8]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10029964
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [edi + 0x14]
call eax
add esp, 8
test eax, eax
js 0x10029d45
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [edi + 0x30]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029964
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [edi + 0x14]
call eax
add esp, 8
test eax, eax
jns 0x10029d13
mov esi, dword [esp + 0x28]
push esi
push 0
push dword [esp + 0x2c]
call fcn.100506f0
lea eax, [esp + 0x78]
push eax
mov eax, dword [edi + 0x18]
call eax
mov ecx, dword [esp + 0x34]
add eax, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x8c], eax
add ecx, esi
lea eax, [esp + 0x8c]
push ecx
push eax
lea eax, [esp + 0x84]
push esi
push eax
mov eax, dword [edi + 0xc]
call eax
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x10029964
mov eax, dword [esp + 0x24]
xor edx, edx
mov ecx, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x44], eax
mov al, byte [eax + ebx]
cmp al, byte [ebx]
jne 0x10029dcb
mov eax, dword [esp + 0x44]
inc edx
inc ebx
cmp edx, ecx
jb 0x10029da8
mov eax, dword [esp + 0xec]
mov dword [eax], 1
jmp 0x10029964
cmp edx, ecx
jb 0x10029964
mov eax, dword [esp + 0xec]
mov dword [eax], 1
jmp 0x10029964