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

Disassembly:
push 0xffffffffffffffff
push 0x1008bc99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
mov esi, ecx
mov ecx, dword [esp + 0x78]
push edi
mov dword [esp + 0x34], 0
call fcn.1006ce60
mov ecx, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x24], edi
call fcn.1006ce60
mov dword [esp + 0x20], eax
cmp eax, edi
lea eax, [esp + 0x24]
jb 0x1007248c
lea eax, [esp + 0x20]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x100724be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esp + 0x6c]
push eax
mov ecx, esi
call fcn.1006d950
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
cmp eax, 0x2e
ja 0x100724ce
mov ecx, 1
mov dword [esp + 0x10], ecx
jmp 0x100724e2
mov ecx, 0x104
cmp ecx, eax
sbb eax, eax
neg eax
add eax, 2
mov dword [esp + 0x10], eax
mov ecx, eax
push ebx
push ebp
mov ebp, 1
shl ebp, cl
mov eax, ebp
shl eax, cl
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], ebp
push eax
mov dword [esp + 0x14], eax
call fcn.100721d0
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
add ecx, 0x14
push edi
mov dword [esp + 0x70], 1
mov dword [esp + 0x34], ecx
call fcn.1006dfd0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x80]
lea ebx, [ebp + ebp*4]
add ebx, ebx
add ebx, ebx
lea ecx, [ebx + edx]
push eax
mov dword [esp + 0x20], ecx
call fcn.1006dfd0
cmp dword [esp + 0x18], 1
mov edx, dword [esi]
jne 0x10072569
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x44]
push eax
push edi
mov ecx, esi
add ebx, 0x3c
call dword [edx + 0xc]
push eax
mov ecx, ebx
call fcn.1006dfd0
jmp 0x10072775
mov ecx, dword [esp + 0x44]
add ecx, 0x28
mov dword [esp + 0x24], ecx
push edi
mov ecx, esi
call dword [edx + 0x18]
mov ecx, dword [esp + 0x24]
push eax
call fcn.1006dfd0
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
lea eax, [ebp + ebp*4]
add eax, eax
add eax, eax
add eax, eax
lea edi, [eax + ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
push eax
mov ecx, esi
mov dword [esp + 0x38], edi
call dword [edx + 0x18]
push eax
mov ecx, edi
call fcn.1006dfd0
cmp ebp, 3
jbe 0x100725f2
mov edi, dword [esp + 0x44]
lea eax, [ebp - 4]
shr eax, 1
add edi, 0x3c
add eax, 1
mov dword [esp + 0x20], eax
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
lea ecx, [edi - 0x28]
push ecx
mov ecx, esi
call dword [edx + 0xc]
push eax
mov ecx, edi
call fcn.1006dfd0
add edi, 0x28
sub dword [esp + 0x20], 1
jne 0x100725d0
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x14], eax
jbe 0x1007267a
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add edx, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
lea edi, [eax + ebp]
cmp edi, dword [esp + 0x10]
jae 0x10072662
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
jmp 0x10072630
mov ecx, dword [esp + 0x80]
mov eax, dword [esi]
push ecx
push ebp
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.1006dfd0
add edi, dword [esp + 0x28]
add dword [esp + 0x1c], ebx
add ebp, ebx
cmp edi, dword [esp + 0x10]
jb 0x10072630
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov ecx, 0x28
add dword [esp + 0x20], ecx
add dword [esp + 0x24], ecx
add eax, 2
cmp eax, ebp
mov dword [esp + 0x14], eax
jb 0x10072612
lea edi, [ebp + ebp*2]
cmp edi, dword [esp + 0x10]
jae 0x100726d6
mov ebx, dword [esp + 0x44]
lea edx, [edi + edi*4]
lea eax, [ebx + edx*4]
mov dword [esp + 0x80], eax
lea ecx, [ebp + ebp]
mov eax, edi
sub eax, ecx
lea ecx, [eax + eax*4]
lea ebx, [ebx + ecx*4]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push eax
push ebx
mov ecx, esi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x80]
push eax
call fcn.1006dfd0
lea eax, [ebp + ebp]
add edi, eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x80], eax
add ebx, eax
cmp edi, dword [esp + 0x10]
jb 0x100726a3
cmp ebp, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
jae 0x10072775
mov edx, dword [esp + 0x44]
lea ecx, [ebp + ebp*4 + 0xa]
lea ebx, [edx + ecx*4]
mov ecx, 2
lea edi, [ebp + ebp]
sub ecx, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x34], ecx
lea esp, [esp]
lea eax, [ecx + edi]
cmp eax, edi
jae 0x10072750
sub edi, eax
sub edi, 1
shr edi, 1
add edi, 1
mov ecx, dword [esp + 0x78]
mov eax, dword [esi]
push ecx
lea edx, [ebx - 0x14]
push edx
mov ecx, esi
call dword [eax + 0xc]
push eax
mov ecx, ebx
call fcn.1006dfd0
add ebx, 0x28
sub edi, 1
jne 0x10072721
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
add ebx, dword [esp + 0x2c]
lea eax, [ebp + ebp]
add edx, eax
add edi, eax
cmp edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x28], edi
jb 0x10072710
lea ecx, [esp + 0x50]
call fcn.1006d8d0
mov edi, dword [esp + 0x38]
lea eax, [edi - 1]
xor ebx, ebx
add edi, 0xffffffff
cmp edi, ebx
mov byte [esp + 0x6c], 2
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 1
mov dword [esp + 0x24], edi
jl 0x100728f2
jmp 0x100727b0
mov ecx, dword [esp + 0x7c]
push edi
call fcn.1006cdd0
mov edx, dword [esp + 0x78]
movzx ecx, al
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x84]
push edi
mov dword [esp + 0x7c], eax
call fcn.1006cdd0
test edi, edi
movzx ecx, al
mov eax, dword [esp + 0x78]
lea ebx, [ecx + ebx*2]
je 0x100727f5
lea edx, [eax + eax]
cmp edx, ebp
jae 0x100727f5
lea ecx, [ebx + ebx]
cmp ecx, ebp
jb 0x100728e5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub ecx, edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edx
lea esp, [esp]
test eax, eax
jne 0x10072818
test ebx, ebx
je 0x1007282d
test al, 1
jne 0x1007282d
test bl, 1
jne 0x1007282d
shr eax, 1
shr ebx, 1
sub ecx, 1
add edi, 1
jmp 0x10072810
cmp byte [esp + 0x80], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x78], eax
je 0x10072865
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov ecx, dword [esp + 0x44]
add ebx, eax
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
push eax
lea ecx, [esp + 0x54]
call fcn.1006dfd0
mov byte [esp + 0x80], 0
jmp 0x100728ba
test ecx, ecx
je 0x10072893
mov edi, ecx
jmp 0x10072870
mov edx, dword [esi]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.1006dfd0
sub edi, 1
jne 0x10072870
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x1007289b
test ebx, ebx
je 0x100728ba
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
shl ebx, cl
add ebx, eax
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov edx, dword [esi]
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call dword [edx + 0x20]
test edi, edi
je 0x100728db
mov ebx, edi
mov edx, dword [esi]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.1006dfd0
sub ebx, 1
jne 0x100728c0
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x78], ebx
sub edi, 1
mov dword [esp + 0x24], edi
jns 0x100727b0
mov ebp, dword [esp + 0x74]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.1006d950
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, edi
xor eax, eax
push edx
mov dword [esp + 0x40], 1
rep stosd dword es:[edi], eax
call fcn.1001c790
mov ebx, dword [esp + 0x48]
add esp, 4
test ebx, ebx
mov byte [esp + 0x6c], 0
je 0x10072950
mov edi, dword [esp + 0x48]
cmp ebx, edi
mov esi, ebx
je 0x10072947
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x14
cmp esi, edi
jne 0x10072938
push ebx
call fcn.1001c790
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14