Function at 0x1007f410
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x74]
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x78]
mov ecx, dword [ebx + 0x108]
imul ecx, dword [ebx + 0x100]
mov dword [esp + 0x5c], 0
mov eax, dword [esi + 0x60]
div ecx
mov ecx, dword [ebx + 0x10c]
xor edx, edx
imul ecx, dword [ebx + 0x104]
mov ebp, eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x70], ebp
div ecx
cmp dword [ebx + 0x4c], 0
mov dword [esp + 0x64], eax
jle 0x1007f95e
mov ecx, dword [esp + 0x88]
xor edx, edx
sub dword [esp + 0x8c], ecx
mov dword [esp + 0x60], edx
push edi
mov ebx, dword [ebx + 0x54]
add ebx, edx
mov dword [esp + 0x44], ebx
mov eax, dword [ebx + 8]
mov edi, eax
mov edx, dword [ebx + 0xc]
imul eax, dword [esp + 0x84]
imul edi, ebp
mov ebp, edx
imul edx, dword [esp + 0x88]
imul ebp, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edx
xor edx, edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], edx
cmp dword [ebx + 0x20], edx
jbe 0x1007f92b
add ecx, dword [esp + 0x90]
mov dword [esp + 0x70], ecx
nop dword [eax]
mov eax, dword [esi + 4]
push 1
push dword [ebx + 0xc]
mov eax, dword [eax + 0x20]
push edx
push dword [ecx]
push esi
call eax
xor edx, edx
mov dword [esp + 0x80], eax
add esp, 0x14
mov dword [esp + 0x4c], edx
cmp dword [ebx + 0xc], edx
jle 0x1007f90c
mov ecx, dword [esp + 0x3c]
mov eax, ebp
sub eax, dword [esp + 0x38]
add ecx, dword [esp + 0x38]
sub eax, dword [esp + 0x3c]
shl ecx, 7
shl eax, 7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
nop word [eax + eax]
xor ebp, ebp
mov dword [esp + 0x48], ebp
cmp dword [ebx + 0x1c], ebp
jbe 0x1007f8e8
nop
mov esi, dword [esp + 0x50]
add esi, ebp
mov dword [esp + 0x58], esi
push 0
cmp esi, edi
jae 0x1007f570
mov ecx, dword [ebx + 8]
mov eax, edi
mov ebx, dword [esp + 0x80]
sub eax, ecx
sub eax, ebp
sub eax, dword [esp + 0x54]
push ecx
mov edx, dword [ebx + 4]
push eax
mov eax, dword [esp + 0x98]
push dword [eax]
mov eax, dword [edx + 0x20]
push ebx
call eax
mov ebx, eax
mov dword [esp + 0x3c], ebx
jmp 0x1007f593
mov ecx, dword [esp + 0x80]
push dword [ebx + 8]
mov edx, dword [esp + 0x94]
push esi
mov eax, dword [ecx + 4]
push dword [edx]
mov eax, dword [eax + 0x20]
push ecx
call eax
mov ebx, eax
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x58]
xor ebp, ebp
add esp, 0x14
mov dword [esp + 0x40], ebp
mov ecx, dword [ecx + 8]
test ecx, ecx
jle 0x1007f8c4
mov edx, dword [esp + 0x48]
shl edx, 7
mov dword [esp + 0x54], edx
nop word [eax + eax]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x38]
add edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x5c]
jae 0x1007f6c9
cmp esi, edi
jae 0x1007f66f
mov edi, dword [esp + 0x30]
sub ecx, ebp
add edi, 0xffffff80
mov ecx, dword [ebx + ecx*4 - 4]
add edi, ecx
xor ebp, ebp
xor ebx, ebx
mov edx, edi
mov esi, eax
movzx ecx, word [edx]
lea edx, [edx + 4]
mov word [esi], cx
lea esi, [esi + 0x20]
movzx ecx, word [edx - 2]
add ebx, 2
neg cx
mov word [esi - 0x10], cx
cmp ebx, 8
jl 0x1007f606
xor ebx, ebx
lea edx, [edi + 0x10]
lea esi, [eax + 2]
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 4]
neg cx
lea esi, [esi + 0x20]
mov word [esi - 0x20], cx
add ebx, 2
movzx ecx, word [edx - 2]
mov word [esi - 0x10], cx
cmp ebx, 8
jl 0x1007f630
add ebp, 2
add edi, 0x20
add eax, 4
cmp ebp, 8
jl 0x1007f600
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x1007f8a5
mov ecx, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x30]
add ebx, 0xffffff80
mov dword [esp + 0x40], 8
add ebx, ecx
xor edi, edi
mov edx, ebx
mov esi, eax
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 4]
mov word [esi], cx
lea esi, [esi + 0x20]
movzx ecx, word [edx - 2]
add edi, 2
neg cx
mov word [esi - 0x10], cx
cmp edi, 8
jl 0x1007f690
add ebx, 0x10
add eax, 2
sub dword [esp + 0x40], 1
jne 0x1007f683
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x1007f8a5
cmp esi, edi
jae 0x1007f841
sub ecx, ebp
xor edi, edi
lea ebp, [eax + 0x50]
mov dword [esp + 0x1c], ebp
mov esi, dword [ebx + ecx*4 - 4]
lea ecx, [eax + 0x60]
add esi, dword [esp + 0x34]
lea ebx, [eax + 0x70]
mov dword [esp + 0x20], ecx
xor edx, edx
lea ecx, [eax + 0x40]
mov dword [esp + 0x18], ecx
lea ecx, [eax + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0x10]
mov dword [esp + 0x24], ecx
nop dword [eax]
movzx ecx, word [edx + esi]
lea ebx, [ebx + 4]
mov ebp, dword [esp + 0x24]
lea edx, [edx + 0x20]
mov word [eax + edi*2], cx
movzx ecx, word [esi + edx - 0x1e]
add dword [esp + 0x24], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 0x1c]
mov ebp, dword [esp + 0x10]
add dword [esp + 0x10], 2
add dword [esp + 0x24], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 0x1a]
mov ebp, dword [esp + 0x14]
add dword [esp + 0x14], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 0x18]
mov ebp, dword [esp + 0x18]
add dword [esp + 0x18], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 0x16]
mov ebp, dword [esp + 0x1c]
add dword [esp + 0x1c], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 0x14]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x20], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 0x12]
mov word [ebx - 4], cx
movzx ecx, word [edx + esi - 0x10]
mov ebp, dword [esp + 0x10]
neg cx
mov word [eax + edi*2 + 2], cx
movzx ecx, word [esi + edx - 0xe]
neg cx
add dword [esp + 0x10], 2
mov word [eax + edi*2 + 0x12], cx
add edi, 2
movzx ecx, word [edx + esi - 0xc]
neg cx
mov word [ebp], cx
movzx ecx, word [edx + esi - 0xa]
mov ebp, dword [esp + 0x14]
neg cx
add dword [esp + 0x14], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 8]
mov ebp, dword [esp + 0x18]
neg cx
add dword [esp + 0x18], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 6]
mov ebp, dword [esp + 0x1c]
neg cx
add dword [esp + 0x1c], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 4]
mov ebp, dword [esp + 0x20]
neg cx
add dword [esp + 0x20], 2
mov word [ebp], cx
movzx ecx, word [edx + esi - 2]
neg cx
mov word [ebx - 2], cx
cmp edi, 8
jl 0x1007f710
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x1007f8a5
mov esi, dword [ebx + ebp*4]
lea edx, [eax + 0x20]
add esi, dword [esp + 0x34]
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + esi]
lea edx, [edx + 2]
mov word [edx - 0x22], ax
movzx eax, word [ecx + esi + 2]
mov word [edx - 0x12], ax
movzx eax, word [ecx + esi + 4]
mov word [edx - 2], ax
movzx eax, word [ecx + esi + 6]
mov word [edx + 0xe], ax
movzx eax, word [ecx + esi + 8]
mov word [edx + 0x1e], ax
movzx eax, word [ecx + esi + 0xa]
mov word [edx + 0x2e], ax
movzx eax, word [ecx + esi + 0xc]
mov word [edx + 0x3e], ax
movzx eax, word [ecx + esi + 0xe]
add ecx, 0x10
mov word [edx + 0x4e], ax
cmp ecx, 0x80
jl 0x1007f850
mov eax, dword [esp + 0x44]
inc ebp
mov edx, dword [esp + 0x54]
sub edx, 0xffffff80
mov dword [esp + 0x40], ebp
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
cmp ebp, ecx
jl 0x1007f5c0
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
add ebp, dword [ebx + 8]
mov dword [esp + 0x48], ebp
cmp ebp, dword [ebx + 0x1c]
jb 0x1007f530
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
inc edx
add eax, 0xffffff80
sub ecx, 0xffffff80
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
cmp edx, dword [ebx + 0xc]
jl 0x1007f520
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x38]
add edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x38], edx
cmp edx, dword [ebx + 0x20]
jb 0x1007f4d0
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x60]
add ecx, 4
mov ebx, dword [esp + 0x80]
inc eax
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x74]
add edx, 0x58
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x8c], ecx
cmp eax, dword [ebx + 0x4c]
jl 0x1007f477
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret