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

Disassembly:
dec ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], 0
je 0x507a9e
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x68], ecx
lea ecx, [ebx - 1]
shr ecx, 1
inc ecx
mov dword [esp + 0x54], ecx
add ecx, ecx
mov dword [esp + 0x38], ecx
mov bl, byte [0x563bfc]
test bl, bl
mov ecx, dword [esp + 0x34]
je 0x5076be
prefetchnta byte [ebp]
prefetchnta byte [edi + ebp]
shr ecx, 2
shl ecx, 2
xor ebx, ebx
test ecx, ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x7c], ecx
jbe 0x50749f
mov edx, 0xfffffffd
sub edx, edi
mov dword [esp + 0x60], edx
or edx, 0xffffffff
sub edx, edi
mov dword [esp + 0x3c], edx
mov edx, 0xfffffffc
sub edx, edi
mov dword [esp + 0x5c], edx
mov edx, 0xfffffffe
sub edx, edi
mov dword [esp + 0x58], edx
mov edx, 6
sub edx, edi
mov dword [esp + 0x80], edx
mov edx, 3
sub edx, edi
mov dword [esp + 0x50], edx
mov edx, 5
sub edx, edi
mov dword [esp + 0x84], edx
mov edx, 2
sub edx, edi
mov dword [esp + 0x44], edx
mov edx, 4
sub edx, edi
mov dword [esp + 0x4c], edx
mov esi, 0x3b
sub esi, edi
mov edx, 1
sub edx, edi
lea ecx, [edi + ebp + 5]
mov edi, dword [esp + 0x24]
add edi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x74], edi
jmp 0x507090
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
lea ecx, [ecx]
prefetchnta byte [ecx + esi]
movzx edi, byte [ebp]
lea eax, [ecx + esi]
mov eax, dword [esp + 0x60]
movzx esi, byte [ecx + eax]
mov eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
mov dword [esp + 0x14], eax
mov eax, dword [eax*4 + 0x565368]
add eax, dword [esi*4 + 0x564f68]
movzx edx, byte [ecx + edx]
mov dword [esp + 0x28], esi
add eax, dword [edi*4 + 0x564768]
sar eax, 8
add eax, 0x10
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x3c]
movzx edi, byte [ecx + eax]
mov eax, dword [esp + 0x58]
movzx eax, byte [ecx + eax]
movzx esi, byte [ebp + 5]
mov dword [esp + 0x78], eax
mov eax, dword [eax*4 + 0x564768]
add eax, dword [edi*4 + 0x565368]
mov dword [esp + 0x18], edi
add eax, dword [esi*4 + 0x564f68]
mov esi, dword [edx*4 + 0x564768]
sar eax, 8
add eax, 0x10
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
movzx eax, byte [ecx + eax]
add esi, dword [eax*4 + 0x564f68]
mov edx, dword [esp + 0x44]
movzx eax, byte [ecx + edx]
mov edi, dword [eax*4 + 0x565368]
mov edx, dword [esp + 0x84]
movzx eax, byte [ecx + edx]
mov eax, dword [eax*4 + 0x565368]
mov edx, dword [esp + 0x4c]
movzx edx, byte [ecx + edx]
add esi, edi
mov edi, dword [edx*4 + 0x564768]
mov edx, dword [esp + 0x80]
movzx edx, byte [ecx + edx]
add eax, edi
mov edi, dword [edx*4 + 0x564f68]
movzx edx, byte [ecx - 3]
add eax, edi
movzx edi, byte [ecx - 4]
sar eax, 8
add eax, 0x10
mov dword [esp + 0x9c], eax
movzx eax, byte [ecx - 5]
mov eax, dword [eax*4 + 0x564768]
add eax, dword [edi*4 + 0x565368]
mov edi, dword [edx*4 + 0x564f68]
movzx edx, byte [ecx]
add eax, edi
movzx edi, byte [ecx - 1]
sar eax, 8
prefetchnta byte [ecx + 0x3b]
add eax, 0x10
mov dword [esp + 0x6c], eax
movzx eax, byte [ecx - 2]
mov eax, dword [eax*4 + 0x564768]
add eax, dword [edi*4 + 0x565368]
mov edi, dword [edx*4 + 0x564f68]
movzx edx, byte [ecx + 1]
add eax, edi
sar esi, 8
sar eax, 8
add esi, 0x10
add eax, 0x10
mov dword [esp + 0x94], eax
movzx eax, byte [ecx + 2]
mov edi, dword [eax*4 + 0x565368]
add edi, dword [edx*4 + 0x564768]
movzx eax, byte [ecx + 3]
mov edx, dword [eax*4 + 0x564f68]
movzx eax, byte [ecx + 4]
add edi, edx
movzx edx, byte [ecx + 5]
mov dword [esp + 0x10], eax
mov eax, dword [edx*4 + 0x565368]
mov edx, dword [esp + 0x10]
add eax, dword [edx*4 + 0x564768]
movzx edx, byte [ecx + 6]
add eax, dword [edx*4 + 0x564f68]
mov edx, dword [esp + 0x28]
sar eax, 8
add eax, 0x10
mov dword [esp + 0x90], eax
movzx eax, byte [ecx - 3]
add eax, edx
movzx edx, byte [ecx]
add eax, edx
movzx edx, byte [ebp + 5]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 1]
sar eax, 2
mov dword [esp + 0x28], eax
movzx eax, byte [ecx - 4]
add eax, edx
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 2]
sar eax, 2
mov dword [esp + 0x14], eax
movzx eax, byte [ecx - 5]
add eax, edx
add eax, dword [esp + 0x78]
movzx edx, byte [ebp]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx*4 + 0x565768]
shr ebx, 1
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
adc al, 3
adc al, 0x9d
push 0xc100565b
clc
add al, byte [ebx]
adc al, 0x85
push 0x8b005667
pop esp
and al, 0x30
sar edx, 8
add dl, 0x80
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], dl
mov edx, dword [esp + 0x28]
mov edx, dword [edx*4 + 0x566368]
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x565f68]
mov ebx, dword [esp + 0x18]
add edx, dword [ebx*4 + 0x564b68]
mov ebx, dword [esp + 0x1c]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x80]
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sar edi, 8
add edi, 0x10
add eax, edx
movzx edx, byte [ecx + 6]
add eax, edx
movzx edx, byte [ecx + 3]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx + 5]
mov ebx, eax
mov eax, dword [esp + 0x84]
movzx eax, byte [ecx + eax]
add eax, edx
movzx edx, byte [ecx + 2]
add eax, edx
mov edx, dword [esp + 0x44]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, byte [ecx + edx]
sar eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
movzx eax, byte [ecx + eax]
add eax, edx
movzx edx, byte [ecx + 4]
add eax, edx
movzx edx, byte [ecx + 1]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x64]
add edx, 2
shr edx, 1
mov dword [esp + 0x78], edx
sar ebx, 2
mov edx, dword [ebx*4 + 0x565768]
sar eax, 2
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x565b68]
add edx, dword [eax*4 + 0x566768]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov edx, dword [esp + 0x28]
mov edx, dword [edx*4 + 0x566368]
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x565f68]
mov ebx, dword [esp + 0x18]
add edx, dword [ebx*4 + 0x564b68]
mov ebx, dword [esp + 0x1c]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x64]
shl eax, 8
and esi, 0xff
or esi, eax
mov eax, dword [esp + 0x8c]
and eax, 0xff
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x98]
and eax, 0xff
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x24]
mov dword [eax + ebx], esi
mov eax, dword [esp + 0x90]
and edi, 0xff
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x74]
and eax, 0xff
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x6c]
and eax, 0xff
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x7c]
mov dword [edx + ebx], edi
add ebx, 4
add ebp, 0xc
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x64], ebx
jb 0x507085
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xac]
cmp ebx, dword [esp + 0x34]
jae 0x5078c2
mov esi, 0xfffffffd
sub esi, edi
mov dword [esp + 0x60], esi
or esi, 0xffffffff
sub esi, edi
mov dword [esp + 0x3c], esi
lea edx, [ebx + edx + 1]
mov esi, 0xfffffffc
sub esi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x5c], esi
mov edx, 0x3b
sub edx, edi
mov esi, 0xfffffffe
sub esi, edi
lea ecx, [edi + ebp + 5]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], esi
jmp 0x5074f0
mov edx, dword [esp + 0x2c]
prefetchnta byte [edx + ecx]
add edx, ecx
movzx edx, byte [ebp]
mov edx, dword [edx*4 + 0x564768]
mov esi, dword [esp + 0x5c]
movzx esi, byte [ecx + esi]
add edx, dword [esi*4 + 0x565368]
mov esi, dword [esp + 0x60]
movzx esi, byte [ecx + esi]
add edx, dword [esi*4 + 0x564f68]
prefetchnta byte [ecx + 0x3b]
mov esi, dword [esp + 0x10]
sar edx, 8
add dl, 0x10
mov byte [esi - 1], dl
movzx edx, byte [ebp + 5]
mov edx, dword [edx*4 + 0x564f68]
mov esi, dword [esp + 0x58]
movzx esi, byte [ecx + esi]
add edx, dword [esi*4 + 0x564768]
mov esi, dword [esp + 0x3c]
movzx esi, byte [ecx + esi]
add edx, dword [esi*4 + 0x565368]
mov esi, dword [esp + 0x10]
sar edx, 8
add dl, 0x10
mov byte [esi], dl
movzx edx, byte [ecx - 5]
mov edx, dword [edx*4 + 0x564768]
movzx esi, byte [ecx - 4]
add edx, dword [esi*4 + 0x565368]
movzx esi, byte [ecx - 3]
add edx, dword [esi*4 + 0x564f68]
mov esi, dword [esp + 0x10]
sar edx, 8
add dl, 0x10
mov byte [esi + eax - 1], dl
movzx edx, byte [ecx]
mov edx, dword [edx*4 + 0x564f68]
movzx esi, byte [ecx - 2]
add edx, dword [esi*4 + 0x564768]
movzx esi, byte [ecx - 1]
add edx, dword [esi*4 + 0x565368]
mov esi, dword [esp + 0x10]
sar edx, 8
add dl, 0x10
mov byte [esi + eax], dl
movzx edx, byte [ebp + 5]
movzx eax, byte [ecx]
add eax, edx
movzx edx, byte [ecx - 3]
add eax, edx
mov edx, dword [esp + 0x60]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 4]
sar eax, 2
mov dword [esp + 0x28], eax
movzx eax, byte [ecx - 1]
add eax, edx
mov edx, dword [esp + 0x3c]
movzx edx, byte [ecx + edx]
add eax, edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 2]
sar eax, 2
mov dword [esp + 0x14], eax
movzx eax, byte [ebp]
add eax, edx
movzx edx, byte [ecx - 5]
add eax, edx
mov edx, dword [esp + 0x58]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax*4 + 0x565768]
mov eax, dword [esp + 0x14]
add edx, dword [eax*4 + 0x565b68]
mov eax, dword [esp + 0x18]
add edx, dword [eax*4 + 0x566768]
mov eax, dword [esp + 0x30]
sar edx, 8
add dl, 0x80
mov esi, ebx
shr esi, 1
mov byte [esi + eax], dl
mov edx, dword [esp + 0x28]
mov eax, dword [edx*4 + 0x566368]
mov edx, dword [esp + 0x14]
add eax, dword [edx*4 + 0x565f68]
mov edx, dword [esp + 0x18]
add eax, dword [edx*4 + 0x564b68]
mov edx, dword [esp + 0x1c]
sar eax, 8
add al, 0x80
mov byte [esi + edx], al
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x34]
add ebx, 2
add ebp, 6
add ecx, 6
cmp ebx, eax
mov eax, dword [esp + 0xac]
jb 0x5074ec
jmp 0x5078ba
xor ebx, ebx
test ecx, ecx
jbe 0x5078c2
mov ecx, 3
sub ecx, edi
mov dword [esp + 0x50], ecx
mov ecx, 2
sub ecx, edi
inc edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], edx
or ecx, 0xffffffff
sub ecx, edi
mov edx, 1
sub edx, edi
lea esi, [edi + ebp + 2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jmp 0x507701
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ecx + esi]
movzx edx, byte [ebp]
mov edx, dword [edx*4 + 0x564768]
add edx, dword [ecx*4 + 0x565368]
movzx ecx, byte [ebp + 2]
add edx, dword [ecx*4 + 0x564f68]
mov ecx, dword [esp + 0x10]
sar edx, 8
add dl, 0x10
mov byte [ecx - 1], dl
mov edx, dword [esp + 0x40]
movzx ecx, byte [edx + esi]
mov ecx, dword [ecx*4 + 0x564768]
mov edx, dword [esp + 0x44]
movzx edx, byte [edx + esi]
add ecx, dword [edx*4 + 0x565368]
mov edx, dword [esp + 0x50]
movzx edx, byte [edx + esi]
add ecx, dword [edx*4 + 0x564f68]
mov edx, dword [esp + 0x10]
sar ecx, 8
add cl, 0x10
mov byte [edx], cl
movzx ecx, byte [esi - 2]
mov ecx, dword [ecx*4 + 0x564768]
movzx edx, byte [esi - 1]
add ecx, dword [edx*4 + 0x565368]
movzx edx, byte [esi]
add ecx, dword [edx*4 + 0x564f68]
mov edx, dword [esp + 0x10]
sar ecx, 8
add cl, 0x10
mov byte [edx + eax - 1], cl
movzx ecx, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x564768]
movzx edx, byte [esi + 2]
add ecx, dword [edx*4 + 0x565368]
movzx edx, byte [esi + 3]
add ecx, dword [edx*4 + 0x564f68]
mov edx, dword [esp + 0x10]
sar ecx, 8
add cl, 0x10
mov byte [edx + eax], cl
mov ecx, dword [esp + 0x50]
movzx edx, byte [ecx + esi]
movzx eax, byte [esi + 3]
movzx ecx, byte [ebp + 2]
add eax, edx
movzx edx, byte [esi]
add eax, ecx
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [esi - 1]
mov ecx, eax
movzx eax, byte [esi + 2]
add eax, edx
mov edx, dword [esp + 0x44]
movzx edx, byte [edx + esi]
add eax, edx
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + esi]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [esi + 1]
sar eax, 2
mov dword [esp + 0x14], eax
movzx eax, byte [ebp]
add eax, edx
movzx edx, byte [esi - 2]
add eax, edx
mov edx, dword [esp + 0x40]
movzx edx, byte [edx + esi]
add eax, edx
sar ecx, 2
cdq
mov dword [esp + 0x28], ecx
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [ecx*4 + 0x565768]
mov ecx, dword [esp + 0x14]
add eax, dword [ecx*4 + 0x565b68]
mov ecx, dword [esp + 0x18]
add eax, dword [ecx*4 + 0x566768]
mov ecx, dword [esp + 0x30]
sar eax, 8
add al, 0x80
mov edx, ebx
shr edx, 1
mov byte [edx + ecx], al
mov eax, dword [esp + 0x28]
mov ecx, dword [eax*4 + 0x566368]
mov eax, dword [esp + 0x14]
add ecx, dword [eax*4 + 0x565f68]
mov eax, dword [esp + 0x18]
add ecx, dword [eax*4 + 0x564b68]
mov eax, dword [esp + 0x1c]
sar ecx, 8
add cl, 0x80
mov byte [edx + eax], cl
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x34]
add ebx, 2
add ebp, 6
add esi, 6
cmp ebx, eax
mov eax, dword [esp + 0xac]
jb 0x5076fd
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
cmp ebx, eax
jae 0x507a68
test byte [esp + 0x34], 1
jne 0x5079e5
movzx ecx, byte [ebp]
mov ecx, dword [ecx*4 + 0x564768]
movzx edx, byte [ebp + 2]
add ecx, dword [edx*4 + 0x564f68]
movzx edx, byte [ebp + 1]
add ecx, dword [edx*4 + 0x565368]
mov edx, dword [esp + 0x24]
add edx, ebx
sar ecx, 8
add cl, 0x10
mov byte [edx], cl
mov byte [edx + 1], cl
movzx ecx, byte [edi + ebp]
mov ecx, dword [ecx*4 + 0x564768]
mov dword [esp + 0x2c], edx
movzx edx, byte [edi + ebp + 2]
add ecx, dword [edx*4 + 0x564f68]
movzx edx, byte [edi + ebp + 1]
add ecx, dword [edx*4 + 0x565368]
mov edx, dword [esp + 0x2c]
sar ecx, 8
add cl, 0x10
mov byte [edx + eax], cl
mov byte [edx + eax + 1], cl
movzx ecx, byte [ebp + 2]
movzx eax, byte [edi + ebp + 2]
add eax, ecx
cdq
sub eax, edx
movzx edx, byte [ebp + 1]
mov ecx, eax
movzx eax, byte [edi + ebp + 1]
add eax, edx
cdq
sub eax, edx
movzx edx, byte [ebp]
sar eax, 1
mov dword [esp + 0x14], eax
movzx eax, byte [edi + ebp]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
sar ecx, 1
mov edx, dword [ecx*4 + 0x565768]
mov eax, ebx
shr eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add edx, dword [eax*4 + 0x565b68]
mov eax, dword [esp + 0x18]
add edx, dword [eax*4 + 0x566768]
mov eax, dword [esp + 0x10]
sar edx, 8
add dl, 0x80
mov byte [eax + esi], dl
mov ecx, dword [ecx*4 + 0x566368]
mov edx, dword [esp + 0x14]
add ecx, dword [edx*4 + 0x565f68]
mov edx, dword [esp + 0x18]
add ecx, dword [edx*4 + 0x564b68]
mov edx, dword [esp + 0x1c]
sar ecx, 8
add cl, 0x80
mov byte [eax + edx], cl
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xac]
add ebp, 3
add ebx, 2
cmp ebx, eax
jae 0x507a68
lea ecx, [ebx + edx]
mov dl, byte [ecx - 1]
mov dword [esp + 0x2c], ecx
mov cl, byte [ecx + eax - 1]
mov byte [esp + 0x21], cl
invalid