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

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0xcc
movzx eax, byte [edx]
movzx edx, byte [edx + 4]
movzx ebp, byte [ebx + 5]
movzx edi, byte [esi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
sub eax, edx
mov dword [esp], edx
movzx edx, byte [ebx + 1]
mov ecx, eax
mov dword [esp + 4], ebp
movzx eax, byte [ebx + 6]
mov dword [esp + 0x10], edx
sub edx, ebp
movzx ebp, byte [ebx + 2]
mov dword [esp + 8], eax
mov dword [esp + 0x14], ebp
sub ebp, eax
mov eax, ebp
mov ebp, edi
movzx edi, byte [esi + 1]
imul ebp, ecx
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 2]
imul ebp, eax
add ebp, edi
movzx edi, byte [esi + 4]
mov dword [esp + 0x30], ebp
imul edi, ecx
mov dword [esp + 0x8c], ebp
mov ebp, edi
movzx edi, byte [esi + 5]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 6]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x90], edi
movzx edi, byte [esi + 8]
mov ebp, edi
movzx edi, byte [esi + 9]
imul ebp, ecx
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0xa]
imul ebp, eax
add ebp, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x94], ebp
movzx edi, byte [esi + 0xc]
imul edi, ecx
mov ebp, edi
movzx edi, byte [esi + 0xd]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0xe]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x98], edi
movzx edi, byte [esi + 0x10]
imul edi, ecx
mov ebp, edi
movzx edi, byte [esi + 0x11]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x12]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x9c], edi
movzx edi, byte [esi + 0x14]
mov ebp, edi
movzx edi, byte [esi + 0x15]
imul ebp, ecx
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x16]
imul ebp, eax
add ebp, edi
movzx edi, byte [esi + 0x18]
mov dword [esp + 0x44], ebp
imul edi, ecx
mov dword [esp + 0xa0], ebp
mov ebp, edi
movzx edi, byte [esi + 0x19]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x1a]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0xa4], edi
movzx edi, byte [esi + 0x1c]
imul edi, ecx
mov ebp, edi
movzx edi, byte [esi + 0x1d]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x1e]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0xa8], edi
movzx edi, byte [esi + 0x20]
mov ebp, edi
movzx edi, byte [esi + 0x21]
imul ebp, ecx
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x22]
imul ebp, eax
add ebp, edi
movzx edi, byte [esi + 0x24]
mov dword [esp + 0x50], ebp
imul edi, ecx
mov dword [esp + 0xac], ebp
mov ebp, edi
movzx edi, byte [esi + 0x25]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x26]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0xb0], edi
movzx edi, byte [esi + 0x28]
imul edi, ecx
mov ebp, edi
movzx edi, byte [esi + 0x29]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x2a]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0xb4], edi
movzx edi, byte [esi + 0x2c]
mov ebp, edi
movzx edi, byte [esi + 0x2d]
imul ebp, ecx
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x2e]
imul ebp, eax
add ebp, edi
movzx edi, byte [esi + 0x30]
mov dword [esp + 0x5c], ebp
imul edi, ecx
mov dword [esp + 0xb8], ebp
mov ebp, edi
movzx edi, byte [esi + 0x31]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x32]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0xbc], edi
movzx edi, byte [esi + 0x34]
imul edi, ecx
mov ebp, edi
movzx edi, byte [esi + 0x35]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x36]
imul ebp, eax
add edi, ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0xc0], edi
movzx edi, byte [esi + 0x38]
imul edi, ecx
mov ebp, edi
movzx edi, byte [esi + 0x39]
imul edi, edx
add edi, ebp
movzx ebp, byte [esi + 0x3a]
imul ebp, eax
add edi, ebp
movzx ebp, byte [esi + 0x3c]
mov dword [esp + 0x68], edi
mov dword [esp + 0xc4], edi
movzx edi, byte [esi + 0x3d]
imul ebp, ecx
movzx esi, byte [esi + 0x3e]
imul edi, edx
imul esi, eax
add edi, ebp
add esi, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0xc8], esi
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
imul edi, ecx
imul esi, edx
add esi, edi
mov edi, dword [esp + 0x14]
imul edi, eax
lea ebp, [esi + edi]
mov esi, dword [esp]
mov edi, dword [esp + 4]
mov dword [esp + 0x1c], ebp
imul edi, edx
imul esi, ecx
add esi, edi
mov edi, dword [esp + 8]
imul edi, eax
add esi, edi
mov dword [esp + 0x18], esi
movzx esi, byte [ebx + 8]
imul esi, ecx
mov edi, esi
movzx esi, byte [ebx + 9]
imul esi, edx
add esi, edi
movzx edi, byte [ebx + 0xa]
imul edi, eax
add edi, esi
movzx esi, byte [ebx + 0xc]
mov dword [esp + 0x28], edi
imul ecx, esi
movzx esi, byte [ebx + 0xd]
imul edx, esi
add edx, ecx
movzx ecx, byte [ebx + 0xe]
imul eax, ecx
mov ecx, dword [esp + 0x18]
add eax, edx
add ecx, eax
mov dword [esp + 0x24], eax
add eax, edi
mov edx, eax
mov eax, ebp
sar ecx, 1
add eax, edi
sar edx, 1
sar eax, 1
mov dword [esp], eax
mov edi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x660fd7b0
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x80000000
mov ebp, dword [esp + 0x34]
cmp edx, eax
mov dword [esp + 0x74], 0
setg bl
mov dword [esp + 0x78], 0x80000000
mov esi, ebx
xor ebx, ebx
mov dword [esp + 0x7c], 0xc0000000
mov dword [esp + 0x80], 0xc0000000
shl esi, 2
cmp ecx, eax
mov dword [esp + 0x84], 0x40000000
setg bl
mov dword [esp + 0x88], 0x40000000
add ebx, ebx
cmp edi, eax
setg al
movzx eax, al
mov edi, eax
xor eax, eax
or edi, esi
or edi, ebx
mov ebx, dword [esp + edi*4 + 0x6c]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x38]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x3c]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x40]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x44]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x48]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x4c]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x50]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x54]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x58]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x5c]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x60]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x64]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
xor eax, eax
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
mov ebp, dword [esp + 0x68]
shr ebx, 2
cmp edx, ebp
setg al
mov edi, eax
xor eax, eax
shl edi, 2
cmp ecx, ebp
setg al
mov esi, eax
xor eax, eax
add esi, esi
cmp dword [esp], ebp
setg al
mov ebp, eax
mov eax, dword [esp + 0x20]
or ebp, edi
or ebp, esi
or ebx, dword [esp + ebp*4 + 0x6c]
shr ebx, 2
cmp eax, edx
setl dl
movzx edx, dl
shl edx, 2
cmp eax, ecx
mov ecx, 2
cmovge ecx, dword [esp + 0x2c]
mov esi, ecx
xor ecx, ecx
cmp eax, dword [esp]
setl cl
or ecx, edx
or ecx, esi
or ebx, dword [esp + ecx*4 + 0x6c]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
shl ecx, 4
mov eax, edi
shl edx, 4
mov dword [esp + 0x10], ecx
shl eax, 4
mov dword [esp + 8], edx
xor edx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + eax + 0x6c], edx
add eax, 4
cmp eax, 0x20
jb 0x660fd7cb
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], 0
xor edi, edi
xor edx, edx
mov dword [esp + 4], eax
lea ebp, [esp + 0x7c]
mov ecx, edi
mov dword [esp + 0x20], 0
lea esi, [esi]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + ecx*2 + 0x8c]
lea edx, [edx + edx*2]
lea ebx, [ebx + ebx*4]
add edx, ebx
mov ebx, eax
shl ebx, 4
add edx, ebx
cmp dword [esp + 8], edx
jle 0x660fd968
cmp dword [esp + 0x10], edx
jg 0x660fda38
mov dword [esp], 7
mov edx, dword [esp + 0x24]
mov ebx, 0xf
mov edi, 3
mov dword [esp + 0x30], 0xb
sub eax, edx
mov edx, dword [esp + 4]
mov dword [esp + 0xc], eax
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [esp + ecx*2 + 0x90]
lea esi, [eax + eax*2]
mov eax, dword [esp + 0xc]
shl eax, 3
sub eax, dword [esp + 0xc]
add eax, esi
mov esi, dword [ebp + 4]
lea esi, [esi + esi*4]
add eax, esi
mov esi, edx
add eax, dword [ebp]
shl esi, 4
add eax, esi
cmp dword [esp + 8], eax
jle 0x660fd9d0
cmp dword [esp + 0x10], eax
cmovg ebx, dword [esp]
mov eax, dword [esp + 0x24]
cmovg eax, dword [esp + 0x18]
mov dword [esp], ebx
sub edx, eax
mov eax, dword [esp + 4]
mov dword [eax + 4], edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + ecx*2 + 0x94]
lea esi, [ebx + ebx*2]
lea ebx, [edx*8]
sub ebx, edx
add ebx, esi
mov esi, dword [ebp + 8]
lea esi, [esi + esi*4]
add ebx, esi
mov esi, eax
add ebx, dword [ebp + 4]
shl esi, 4
add ebx, esi
cmp dword [esp + 8], ebx
jle 0x660fd9b0
cmp dword [esp + 0x10], ebx
jle 0x660fd9f0
or dword [esp], 0x10
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 4]
sub eax, esi
mov esi, dword [esp + ecx*2 + 0x98]
lea edi, [eax*8]
mov dword [ebx + 8], eax
mov ebx, dword [ebp + 0xc]
sub edi, eax
lea ebx, [ebx + ebx*4]
add ebx, edi
mov edi, esi
add ebx, dword [ebp + 8]
shl edi, 4
add ebx, edi
cmp dword [esp + 8], ebx
jle 0x660fd998
cmp dword [esp + 0x10], ebx
jg 0x660fda00
or dword [esp], 0xc0
mov eax, dword [esp + 0x24]
sub esi, eax
mov eax, dword [esp]
mov ebx, dword [esp + 4]
shl eax, cl
add ecx, 8
or dword [esp + 0x20], eax
mov eax, ebp
mov dword [ebx + 0xc], esi
mov ebp, ebx
cmp ecx, 0x20
je 0x660fd79a
mov dword [esp + 4], eax
jmp 0x660fd800
cmp dword [esp + 0x14], edx
jg 0x660fda10
mov dword [esp + 0x30], 8
mov edx, dword [esp + 0x1c]
mov ebx, 0xc
xor edi, edi
mov dword [esp], 4
jmp 0x660fd84b
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], ebx
jle 0x660fd936
or dword [esp], 0x80
mov eax, dword [esp + 0x28]
jmp 0x660fd936
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], ebx
jle 0x660fd8f0
or dword [esp], 0x20
mov esi, dword [esp + 0x28]
jmp 0x660fd8f0
cmp dword [esp + 0x14], eax
jg 0x660fda60
mov dword [esp], edi
mov eax, dword [esp + 0x1c]
jmp 0x660fd8a1
or dword [esp], 0x30
mov esi, dword [esp + 0x24]
jmp 0x660fd8f0
or dword [esp], 0x40
mov eax, dword [esp + 0x18]
jmp 0x660fd936
mov dword [esp], 6
mov edx, dword [esp + 0x28]
mov ebx, 0xe
mov edi, 2
mov dword [esp + 0x30], 0xa
jmp 0x660fd84b
mov dword [esp], 5
mov edx, dword [esp + 0x18]
mov ebx, 0xd
mov dword [esp + 0x30], 9
mov edi, dword [esp + 0x2c]
jmp 0x660fd84b
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
jmp 0x660fd8a1