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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, 0xffffffba
cmp dword [esp + 0x68], 5
jb 0x67d9ca
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
movzx ebx, word [eax]
mov edx, eax
mov ecx, ebx
dec cl
mov eax, 1
shl eax, cl
mov ecx, 1
mov dword [esp + 0x44], ebx
test ebx, ebx
cmove eax, ecx
lea edx, [edx + eax*4 + 4]
movzx edi, byte [esi + ebp - 1]
mov ebx, dword [edx + edi*8 + 4]
lea eax, [ebx + 0x8000]
mov ecx, eax
and eax, 0xffff0000
sub eax, ebx
shr ecx, 0x10
sar eax, cl
mov dword [esp + 0x34], edx
add eax, dword [edx + edi*8]
mov ecx, dword [esp + 0x74]
movzx ebx, word [ecx]
mov edx, ecx
mov ecx, ebx
dec cl
mov edi, 1
shl edi, cl
mov dword [esp + 0x40], ebx
test ebx, ebx
mov ecx, 1
cmove edi, ecx
lea edx, [edx + edi*4 + 4]
mov ecx, dword [esp + 0x78]
movzx ebx, byte [ecx + ebp - 1]
mov ebp, dword [edx + ebx*8 + 4]
lea edi, [ebp + 0x8000]
mov ecx, edi
and edi, 0xffff0000
sub edi, ebp
shr ecx, 0x10
sar edi, cl
mov dword [esp + 0x30], edx
add edi, dword [edx + ebx*8]
mov ecx, dword [esp + 0x7c]
movzx edx, word [ecx]
mov esi, ecx
mov ecx, edx
dec cl
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x3c], edx
test edx, edx
mov ecx, 1
cmove ebx, ecx
lea edx, [esi + ebx*4 + 4]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
movzx ecx, byte [ecx + esi - 1]
mov dword [esp + 8], ecx
mov ebp, dword [edx + ecx*8 + 4]
lea ebx, [ebp + 0x8000]
mov ecx, ebx
and ebx, 0xffff0000
sub ebx, ebp
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add ebp, esi
add ebp, 0xfffffffc
shr ecx, 0x10
sar ebx, cl
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
movzx eax, word [ecx + eax*2 + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 8]
add ebx, dword [edx + eax*8]
movzx ecx, byte [eax + 0x8d7ed0]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
movzx esi, word [edx + eax*8 - 4]
and esi, dword [ecx*4 + 0x8d7f2c]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
movzx eax, word [eax + edi*2 + 4]
mov dword [esp + 0x14], eax
mov edi, ecx
shr edi, 3
mov edx, dword [esp + 0x64]
add edi, edx
cmp edi, ebp
cmova edi, ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
movzx eax, word [eax + ebx*2 + 4]
mov dword [esp + 0x18], eax
mov dword [edx], esi
mov edx, ecx
and cl, 0xf8
shr esi, cl
and edx, 7
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + ecx - 1]
movzx ebx, byte [eax + 0x8d7ef4]
mov eax, dword [esp + 0x84]
movzx eax, word [eax + ecx*8 - 2]
and eax, dword [ebx*4 + 0x8d7f2c]
mov ecx, edx
shl eax, cl
or eax, esi
add edx, ebx
mov esi, edx
shr esi, 3
add esi, edi
cmp esi, ebp
mov dword [esp + 4], ebp
cmova esi, ebp
mov dword [edi], eax
mov edi, edx
and dl, 0xf8
mov ecx, edx
mov edx, edi
shr eax, cl
and edx, 7
cmp dword [esp + 0x8c], 0
je 0x67d552
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
movzx ebx, byte [edi + ebp - 1]
xor ecx, ecx
cmp ebx, 0x18
mov dword [esp], edx
jae 0x67d584
mov edx, ebx
jmp 0x67d5dd
mov ecx, edx
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
movzx edi, byte [edi + ebp - 1]
mov ebx, dword [edi*4 + 0x8d7f2c]
mov edx, dword [esp + 0x84]
and ebx, dword [edx + ebp*8 - 8]
shl ebx, cl
or ebx, eax
add ecx, edi
mov eax, ecx
mov edi, dword [esp + 0x78]
jmp 0x67d5fc
cmp bl, 0x18
je 0x67d5d8
mov edi, dword [ebx*4 + 0x8d7ecc]
mov ecx, dword [esp + 0x84]
and edi, dword [ecx + ebp*8 - 8]
mov ecx, dword [esp]
shl edi, cl
or edi, eax
add ecx, ebx
add ecx, 0xffffffe8
mov ebp, ecx
shr ebp, 3
add ebp, esi
mov eax, dword [esp + 4]
cmp ebp, eax
cmova ebp, eax
mov dword [esi], edi
mov eax, ecx
and cl, 0xf8
shr edi, cl
lea ecx, [ebx - 0x18]
and eax, 7
mov dword [esp], eax
mov eax, edi
mov edi, dword [esp + 0x78]
mov esi, ebp
mov ebp, dword [esp + 0x88]
mov edx, 0x18
mov ebx, dword [esp + 0x84]
mov ebx, dword [ebx + ebp*8 - 8]
shr ebx, cl
and ebx, dword [edx*4 + 0x8d7f2c]
mov ecx, dword [esp]
shl ebx, cl
or ebx, eax
add ecx, edx
mov eax, ecx
mov edx, eax
shr edx, 3
add edx, esi
mov ecx, dword [esp + 4]
cmp edx, ecx
cmova edx, ecx
mov dword [esi], ebx
mov ecx, eax
and cl, 0xf8
shr ebx, cl
and eax, 7
cmp ebp, 2
jb 0x67d909
add dword [esp + 0x28], 4
add dword [esp + 0x24], 4
add dword [esp + 0x20], 4
lea esi, [ebp - 2]
mov ecx, eax
jmp 0x67d68e
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx*4 + 0x8d7f2c]
mov ecx, dword [esp + 0x84]
and ebx, dword [ecx + esi*8]
mov ecx, eax
shl ebx, cl
or ebx, edi
add eax, edx
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 4]
mov edx, eax
shr edx, 3
add edx, ebp
cmp edx, ecx
cmova edx, ecx
mov dword [ebp], ebx
mov ecx, eax
and cl, 0xf8
shr ebx, cl
dec esi
and eax, 7
cmp esi, dword [esp + 0x88]
mov ecx, eax
jae 0x67d90b
mov dword [esp], ebx
mov dword [esp + 8], esi
movzx esi, byte [edi + esi]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x30]
mov eax, dword [eax + esi*8 + 4]
mov esi, dword [esp + 0x14]
add eax, esi
shr eax, 0x10
mov edi, dword [eax*4 + 0x8d7f2c]
and edi, esi
mov ebx, ecx
shl edi, cl
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 8]
movzx ebp, byte [ecx + ebp]
mov dword [esp + 0x10], ebp
or edi, dword [esp]
add ebx, eax
mov dword [esp], ebx
mov ecx, eax
shr esi, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add esi, dword [ecx + eax*8]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + ebp*8 + 4]
mov ebx, dword [esp + 0xc]
add eax, ebx
shr eax, 0x10
mov ebp, dword [eax*4 + 0x8d7f2c]
and ebp, ebx
mov ecx, dword [esp]
shl ebp, cl
or ebp, edi
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 8]
movzx edi, byte [ecx + edi]
mov ecx, dword [esp + 0x24]
movzx esi, word [ecx + esi*2]
mov dword [esp + 0x14], esi
add dword [esp], eax
mov esi, dword [esp + 0x10]
movzx ecx, byte [esi + 0x8d7ef4]
mov dword [esp + 0x38], ecx
mov ecx, eax
shr ebx, cl
mov eax, dword [esp + 0x34]
add ebx, dword [eax + esi*8]
mov ecx, dword [esp + 0x28]
movzx ebx, word [ecx + ebx*2]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp]
mov ebp, ecx
shr ebp, 3
mov dword [esp + 0x4c], edi
movzx eax, byte [edi + 0x8d7ed0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [edx], eax
add ebp, edx
mov edx, dword [esp + 4]
cmp ebp, edx
cmova ebp, edx
mov ebx, ecx
and ebx, 7
and cl, 0xf8
shr eax, cl
mov edx, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*8 + 4]
mov edi, dword [esp + 0x18]
add eax, edi
shr eax, 0x10
mov esi, dword [eax*4 + 0x8d7f2c]
and esi, edi
mov ecx, ebx
shl esi, cl
mov ecx, eax
shr edi, cl
or esi, edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
add edi, dword [ecx + edx*8]
add ebx, eax
mov eax, ebx
shr eax, 3
add eax, ebp
mov ecx, dword [esp + 4]
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [esp + 0x20]
movzx edi, word [ecx + edi*2]
mov dword [esp + 0x18], edi
mov dword [ebp], esi
mov edx, ebx
and bl, 0xf8
mov ecx, ebx
shr esi, cl
and edx, 7
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 8]
mov edi, ebx
movzx ebx, word [ecx + ebx*8 + 4]
mov ebp, dword [esp + 0x10]
and ebx, dword [ebp*4 + 0x8d7f2c]
mov ecx, edx
shl ebx, cl
or ebx, esi
mov esi, dword [esp + 0x38]
mov ecx, ebp
add edx, ebp
add ecx, esi
cmp ecx, 0x19
jb 0x67d833
mov esi, edx
shr esi, 3
add esi, eax
mov ecx, dword [esp + 4]
cmp esi, ecx
cmova esi, ecx
mov dword [eax], ebx
mov eax, edx
and dl, 0xf8
mov ecx, edx
shr ebx, cl
and eax, 7
mov edx, eax
mov eax, esi
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
mov ebp, edi
movzx edi, word [ecx + edi*8 + 6]
and edi, dword [esi*4 + 0x8d7f2c]
mov ecx, edx
shl edi, cl
or edi, ebx
add edx, esi
mov esi, ebp
mov ecx, edx
shr ecx, 3
add ecx, eax
mov ebx, dword [esp + 4]
cmp ecx, ebx
cmova ecx, ebx
mov ebp, ecx
mov dword [eax], edi
mov eax, edx
and eax, 7
and dl, 0xf8
mov ecx, edx
shr edi, cl
cmp dword [esp + 0x8c], 0
je 0x67d640
xor ecx, ecx
mov ebx, dword [esp + 0x1c]
cmp bl, 0x18
jae 0x67d890
mov dword [esp], ebx
jmp 0x67d8ea
cmp bl, 0x18
jne 0x67d89e
mov dword [esp], 0x18
jmp 0x67d8ea
mov dword [esp], 0x18
mov edx, dword [ebx*4 + 0x8d7ecc]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 8]
and edx, dword [ecx + esi*8]
mov ecx, eax
shl edx, cl
or edx, edi
lea ecx, [eax + ebx]
add ecx, 0xffffffe8
mov esi, ecx
shr esi, 3
add esi, ebp
cmp esi, dword [esp + 4]
cmova esi, dword [esp + 4]
mov dword [ebp], edx
mov eax, ecx
and cl, 0xf8
shr edx, cl
lea ecx, [ebx - 0x18]
and eax, 7
mov edi, edx
mov ebp, esi
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 8]
mov ebx, dword [edx + esi*8]
shr ebx, cl
mov edx, dword [esp]
and ebx, dword [edx*4 + 0x8d7f2c]
jmp 0x67d655
mov ecx, eax
mov edi, dword [esp + 0xc]
mov eax, edx
mov edx, dword [esp + 0x44]
and edi, dword [edx*4 + 0x8d7f2c]
shl edi, cl
or edi, ebx
add ecx, edx
mov esi, ecx
shr esi, 3
add esi, eax
mov edx, dword [esp + 4]
cmp esi, edx
cmova esi, edx
mov ebp, edx
mov dword [eax], edi
mov edx, ecx
and cl, 0xf8
shr edi, cl
and edx, 7
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
and ebx, dword [eax*4 + 0x8d7f2c]
mov ecx, edx
shl ebx, cl
or ebx, edi
add edx, eax
mov edi, edx
shr edi, 3
add edi, esi
cmp edi, ebp
cmova edi, ebp
mov dword [esi], ebx
mov eax, edx
and dl, 0xf8
mov ecx, edx
shr ebx, cl
and eax, 7
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
and ebp, dword [edx*4 + 0x8d7f2c]
mov ecx, eax
add eax, edx
shl ebp, cl
or ebp, ebx
mov edx, eax
shr edx, 3
add edx, edi
mov ebx, dword [esp + 4]
cmp edx, ebx
cmova edx, ebx
mov dword [edi], ebp
mov esi, eax
and al, 0xf8
mov ecx, eax
shr ebp, cl
and esi, 7
bts ebp, esi
inc esi
mov dword [edx], ebp
mov eax, esi
shr eax, 3
add eax, edx
cmp ebx, eax
jbe 0x67d9c5
and esi, 7
cmp esi, 1
sbb eax, 0xffffffff
sub eax, dword [esp + 0x64]
jne 0x67d9ca
mov eax, 0xffffffba
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret