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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa6e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], esp
lea esi, [ebx + 0x80]
mov dword [ebp - 0x18], ebx
mov ecx, esi
call fcn.100817d0
cmp word [ebx + 0x1d], 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
jne 0x1007d498
mov edx, dword [ebx + 0x38]
mov ecx, edx
and ecx, 3
cmp cl, 3
jne 0x1007d2ff
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, edi
jge 0x1007d54c
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x1a]
add eax, dword [esi + 0x14]
push eax
lea eax, [ebx + 0x1b]
push eax
push 0
push 0
call fcn.100811e0
mov eax, dword [ebx + 4]
add dword [esi + 0x14], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x1007d2f9
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x1007d2ba
test dl, 4
je 0x1007d36e
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, edi
jge 0x1007d54c
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
push 0
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x14]
push ecx
lea ecx, [ebx + 0x1b]
push ecx
push 0
push eax
lea ecx, [ebx + 0x1a]
call fcn.100811e0
mov eax, dword [ebx + 4]
add dword [esi + 0x14], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x1007d368
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x1007d309
mov ecx, dword [ebx + 0x3c]
push 0
push 0
push 0x3e8
call fcn.1007f740
cmp eax, 0xf6e
jl 0x1007d410
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 8]
jge 0x1007d54c
mov ecx, dword [ebx + 0x44]
lea eax, [ebx + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, dword [ebx + 0x44]
lea edx, [ebx + 0x4c]
push edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ecx]
call dword [edi + 0x1c]
mov ecx, dword [ebx + 0x64]
push dword [ebx + 0x6c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebx + 0x5c]
mov edi, eax
push edi
push dword [ebp - 0x20]
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebx + 0x6c], eax
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x14]
push ecx
lea ecx, [ebx + 0x1b]
push ecx
push edi
push eax
lea ecx, [ebx + 0x1a]
call fcn.100811e0
mov eax, dword [ebx + 4]
add dword [esi + 0x14], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x1007d407
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x1007d38c
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 8]
jge 0x1007d54c
mov ecx, dword [ebx + 0x44]
lea eax, [ebx + 0x4c]
mov edi, dword [ebx + 0x5c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edx, dword [edi]
mov ecx, edi
push 0
push eax
call dword [edx + 4]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x64]
mov dword [ebp - 0x20], edx
lea edx, [ebx + 0x54]
push edx
mov edi, dword [ecx]
mov dword [ebp - 0x1c], eax
call dword [edi + 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x20]
push 0
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x14]
push ecx
lea ecx, [ebx + 0x1b]
push ecx
push eax
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x1a]
call fcn.100811e0
mov eax, dword [ebx + 4]
add dword [esi + 0x14], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x1007d48f
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x1007d412
xor edi, edi
test byte [ebx + 0x38], 1
je 0x1007d4e0
cmp edi, dword [ebp + 8]
jge 0x1007d54c
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x1a]
add eax, dword [esi + 0x14]
push eax
lea eax, [ebx + 0x1b]
push eax
push 0
push 0
call fcn.100811e0
mov eax, dword [ebx + 4]
add dword [esi + 0x14], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x1007d4dd
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
inc edi
jmp 0x1007d4a0
cmp edi, dword [ebp + 8]
jge 0x1007d54c
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x20]
push 0
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x14]
push ecx
lea ecx, [ebx + 0x1b]
push ecx
push 0
push eax
lea ecx, [ebx + 0x1a]
call fcn.100811e0
mov eax, dword [ebx + 4]
add dword [esi + 0x14], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x1007d539
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
inc edi
jmp 0x1007d4e0
lea ecx, [ebx + 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.100817d0
sub eax, dword [ebp - 0x24]
mov esi, dword [ebx + 4]
cdq
idiv esi
mov edi, eax
cmp dword [ebp + 8], edi
je 0x1007d572
mov byte [ebx + 0x70], 1
imul esi, edi
lea ecx, [ebx + 0x80]
push esi
push dword [ebx + 0x30]
call fcn.10081840
add dword [ebx + 0x78], edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0x30], eax
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4