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

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + eax + 0x30], 0
add eax, 4
cmp eax, 0x20
jb 0x7009d865
mov edi, dword [edx + 0xc40]
mov eax, dword [ebp + 0x768]
test edi, edi
mov esi, dword [eax]
jne 0x7009dc4c
mov ecx, dword [edx + 0xc38]
mov dword [esp + 0x38], 0x7fffffff
test ecx, ecx
je 0x7009ddbc
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [edx + 0xb8c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], 0x7fffffff
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xbb0]
sub eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x1a904]
test eax, eax
je 0x7009db72
imul eax, dword [ebx + 0x1a7dc], 0x5c
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x20], 0
add eax, ebx
add ecx, dword [eax + 0x1a68c]
mov edi, dword [eax + 0x1a668]
mov eax, dword [edx + 0xc40]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x7009d934
mov dword [esp + 0x40], 0x7fffffff
mov dword [esp + 0x20], 0x7fffffff
mov eax, dword [edx + 0xc38]
test eax, eax
je 0x7009dd6e
mov eax, dword [edx + 0xc3c]
mov ecx, dword [esp + 0x44]
test eax, eax
je 0x7009dd89
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc44]
test eax, eax
je 0x7009dda7
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], 0x7fffffff
je 0x7009d9b6
mov edx, dword [esp + 0x1c]
mov eax, edi
shl eax, 4
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], edi
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x770]
mov dword [esp + 0x20], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], eax
cmp ecx, 0x7fffffff
je 0x7009d9ec
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], edi
sub eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
cmp dword [esp + 0x24], 0x7fffffff
mov dword [esp + 0x3c], eax
je 0x7009da4f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], edi
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x28], 0x7fffffff
je 0x7009da89
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], edi
shl edi, 4
mov dword [esp + 0x10], 0xffffffff
add eax, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov dword [esp + 0x4c], eax
mov esi, dword [ebx + 0x1a904]
test esi, esi
je 0x7009db72
mov ecx, 1
lea esi, [esi]
lea ebp, [ecx*4]
xor edx, edx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x1c], ebp
lea ebx, [esp + 0x30]
mov edi, edx
mov ebp, ecx
jmp 0x7009dada
add edi, 1
lea eax, [esi + 4]
lea ecx, [ebx + 4]
mov esi, eax
sub dword [esp + 0x1c], 4
cmp edi, ebp
mov ebx, ecx
mov dword [esp + 0x20], eax
jge 0x7009db50
mov edx, dword [esp + ebp*4 + 0x30]
cmp dword [ebx], edx
jle 0x7009dac0
mov eax, dword [esp + 0x80]
cmp ebp, edi
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x24], eax
jle 0x7009db66
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 8], eax
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
lea eax, [esi + 4]
mov dword [esp], eax
mov dword [esp + 0x20], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add edi, 1
sub dword [esp + 0x1c], 4
cmp edi, ebp
mov dword [ebx], edx
mov ebx, ecx
mov dword [esi], eax
mov esi, dword [esp + 0x20]
jl 0x7009dada
mov ecx, ebp
add ecx, 1
cmp ecx, 8
jne 0x7009daa0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 4]
lea ecx, [ebx + 4]
mov dword [esp + 0x20], eax
jmp 0x7009db36
mov ecx, 1
lea ebp, [ecx*4]
xor edx, edx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x20], ebp
lea ebx, [esp + 0x30]
mov edi, edx
mov ebp, ecx
jmp 0x7009dbaf
add edi, 1
lea eax, [esi + 4]
lea ecx, [ebx + 4]
mov esi, eax
sub dword [esp + 0x20], 4
cmp edi, ebp
mov ebx, ecx
mov dword [esp + 0x1c], eax
jge 0x7009dc25
mov edx, dword [esp + ebp*4 + 0x30]
cmp dword [ebx], edx
jle 0x7009db95
mov eax, dword [esp + 0x80]
cmp edi, ebp
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x24], eax
jge 0x7009dc40
mov eax, dword [esp + 0x20]
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 8], eax
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x20]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
lea eax, [esi + 4]
mov dword [esp], eax
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add edi, 1
sub dword [esp + 0x20], 4
cmp edi, ebp
mov dword [ebx], edx
mov ebx, ecx
mov dword [esi], eax
mov esi, dword [esp + 0x1c]
jl 0x7009dbaf
mov ecx, ebp
add ecx, 1
cmp ecx, 3
jne 0x7009db77
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 4]
lea ecx, [ebx + 4]
mov dword [esp + 0x1c], eax
jmp 0x7009dc0b
mov eax, dword [edx + 0xc38]
test eax, eax
jne 0x7009dcad
mov eax, dword [edx + 0xb8c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], 0x7fffffff
mov dword [esp + 0xc], eax
shl eax, 4
mov edi, eax
mov eax, dword [edx + 0xbb0]
mov dword [esp + 0x34], 0x7fffffff
sub eax, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jmp 0x7009d8e7
mov eax, dword [edx + 0xb8c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], eax
shl eax, 4
mov edi, eax
mov eax, dword [edx + 0xbb0]
sub eax, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xb8c]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xbb0]
sub eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xb8c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], eax
mov edi, dword [edx + 0xbb0]
neg eax
shl eax, 4
lea eax, [edi + eax - 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x770]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx + 0x23e30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
jmp 0x7009d8e7
mov eax, dword [edx + 0xc3c]
mov ecx, 0x7fffffff
mov dword [esp + 0x44], 0x7fffffff
test eax, eax
jne 0x7009d954
mov eax, dword [edx + 0xc44]
mov dword [esp + 0x48], 0x7fffffff
mov dword [esp + 0x24], 0x7fffffff
test eax, eax
jne 0x7009d96a
mov dword [esp + 0x4c], 0x7fffffff
mov dword [esp + 0x28], 0x7fffffff
jmp 0x7009d972
mov dword [esp + 0x34], 0x7fffffff
mov dword [esp + 0x30], 0x7fffffff
jmp 0x7009d8e7