Function at 0x46a0a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub esp, 0xa0
push ebp
mov ebp, dword [esp + 0xac]
lea eax, [esp + 0x40]
push eax
push ecx
push ebp
push edx
call fcn.00496340
add esp, 0x10
test eax, eax
je 0x46a0d7
mov eax, 1
pop ebp
add esp, 0xa0
ret
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x68]
sub ecx, edi
sub edx, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc0]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
imul eax, ecx
mov dword [esp + 0x30], edx
imul edx, ebx
lea esi, [eax + esi*4]
add esi, dword [ebp + 8]
mov eax, dword [esp + 0xc0]
lea edi, [edx + edi*4]
mov edx, dword [eax + 8]
mov al, byte [esp + 0x4c]
add edi, edx
xor edx, edx
cmp al, dl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edi
je 0x46a509
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x58]
mov ebx, ecx
and ecx, 7
mov eax, ecx
sub eax, ebp
add eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x2c]
lea eax, [ebp + eax*4]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, ecx
sub eax, ebp
mov ebp, dword [esp + 0x30]
lea eax, [ebp + eax*4]
sar ebx, 3
cmp ecx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
jne 0x46a322
cmp eax, edx
jle 0x46a609
mov dword [esp + 0x18], eax
cmp ebx, edx
jle 0x46a2f6
lea eax, [edi + 5]
lea ecx, [esi + 6]
mov ebp, ebx
mov bl, byte [esi]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 5]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 4]
mov byte [eax - 3], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 4], bl
mov byte [eax - 2], dl
mov bl, byte [esp + 0x12]
mov edi, dword [esp + 0x14]
mov byte [edi], bl
mov bl, byte [ecx - 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 1]
mov byte [esp + 0x12], bl
mov bl, byte [ecx]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x12]
mov byte [eax], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 1], bl
mov byte [eax + 2], dl
mov bl, byte [ecx + 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 3]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 4]
mov byte [eax + 5], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 4], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 3], bl
mov byte [eax + 6], dl
mov bl, byte [ecx + 6]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 7]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 8]
mov byte [eax + 9], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 8], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 7], bl
mov byte [eax + 0xa], dl
mov bl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xb]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xc]
mov byte [eax + 0xd], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xc], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xb], bl
mov byte [eax + 0xe], dl
mov bl, byte [ecx + 0xe]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x10]
mov byte [eax + 0x11], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x10], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xf], bl
mov byte [eax + 0x12], dl
mov bl, byte [ecx + 0x12]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x14]
mov byte [eax + 0x15], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x14], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x13], bl
mov byte [eax + 0x16], dl
mov bl, byte [ecx + 0x16]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x17]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x18]
mov byte [eax + 0x19], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x18], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x17], bl
mov byte [eax + 0x1a], dl
add edi, 0x20
add eax, 0x20
add esi, 0x20
add ecx, 0x20
dec ebp
mov dword [esp + 0x14], edi
jne 0x46a1b3
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add edi, ebp
add esi, ecx
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jne 0x46a1a3
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0xa0
ret
cmp eax, edx
jle 0x46a609
mov dword [esp + 0x1c], eax
mov edi, edi
cmp ebx, edx
jle 0x46a487
lea eax, [edi + 5]
lea ecx, [esi + 6]
mov ebp, ebx
mov bl, byte [esi]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 5]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 4]
mov byte [eax - 3], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 4], bl
mov byte [eax - 2], dl
mov bl, byte [esp + 0x13]
mov edi, dword [esp + 0x14]
mov byte [edi], bl
mov bl, byte [ecx - 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 1]
mov byte [esp + 0x12], bl
mov bl, byte [ecx]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x12]
mov byte [eax], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 1], bl
mov byte [eax + 2], dl
mov bl, byte [ecx + 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 3]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 4]
mov byte [eax + 5], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 4], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 3], bl
mov byte [eax + 6], dl
mov bl, byte [ecx + 6]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 7]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 8]
mov byte [eax + 9], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 8], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 7], bl
mov byte [eax + 0xa], dl
mov bl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xb]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xc]
mov byte [eax + 0xd], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xc], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xb], bl
mov byte [eax + 0xe], dl
mov bl, byte [ecx + 0xe]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x10]
mov byte [eax + 0x11], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x10], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xf], bl
mov byte [eax + 0x12], dl
mov bl, byte [ecx + 0x12]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x14]
mov byte [eax + 0x15], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x14], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x13], bl
mov byte [eax + 0x16], dl
mov bl, byte [ecx + 0x16]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x17]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x18]
mov byte [eax + 0x19], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x18], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x17], bl
mov byte [eax + 0x1a], dl
add edi, 0x20
add eax, 0x20
add esi, 0x20
add ecx, 0x20
dec ebp
mov dword [esp + 0x14], edi
jne 0x46a340
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
cmp ecx, edx
jle 0x46a4dd
mov ebx, edi
lea ebp, [edi + 3]
lea eax, [esi + 2]
sub ebx, esi
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov cl, byte [eax - 2]
mov byte [esp + 0x13], cl
mov cl, byte [eax - 1]
mov byte [esp + 0x12], cl
mov cl, byte [eax]
mov byte [ebx + eax], cl
mov cl, byte [esp + 0x12]
mov byte [ebp - 2], cl
mov cl, byte [esp + 0x13]
mov byte [ebp - 3], cl
mov ecx, dword [esp + 0x18]
mov byte [ebp], dl
add eax, 4
add ebp, 4
dec ecx
mov dword [esp + 0x18], ecx
jne 0x46a4a0
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
add edi, eax
mov eax, dword [esp + 0x1c]
add esi, ebp
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
jne 0x46a330
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0xa0
ret
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
shl eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
mov ebx, ecx
imul ebx, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x1c], edx
mov dword [esp + 0x40], ebx
jle 0x46a609
lea eax, [edi + 1]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
jmp 0x46a582
mov ebp, dword [esp + 0x24]
add ebp, dword [esp + 0x14]
mov dword [esp + 0x24], ebp
js 0x46a598
mov edi, dword [esp + 0x48]
add esi, ecx
sub ebp, edi
mov dword [esp + 0x24], ebp
mov edi, dword [esp + 0x18]
cmp edi, edx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
jle 0x46a5ea
add ebp, dword [esp + 0x34]
js 0x46a5b7
mov ecx, dword [esp + 0x44]
add esi, 4
sub ebp, ecx
mov bl, byte [esi + 1]
mov cl, byte [esi]
mov byte [esp + 0x12], bl
mov bl, byte [esi + 2]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x38]
mov byte [eax], bl
mov byte [eax + 2], dl
add esi, ecx
add eax, 4
dec edi
jne 0x46a5a8
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
add eax, ebp
add esi, ebx
dec edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
jne 0x46a57e
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0xa0
ret