Function at 0x486e60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x4d4f80], eax
mov eax, dword [0x4d5000]
mov dword [0x4d4f84], ecx
mov dword [esp + 0x14], edx
xor ecx, ecx
mov cl, byte [eax + 7]
mov eax, dword [esp + 0x1c]
xor edx, edx
push ebx
mov dl, byte [0x4d4fe5]
push ebp
add ecx, edx
push esi
mov dword [0x4d4f9c], ecx
mov dl, byte [eax]
xor ebp, ebp
xor esi, esi
xor ebx, ebx
push edi
test dl, dl
mov dword [esp + 0x18], ebp
je 0x486f22
mov edx, dword [esp + 0x24]
mov al, byte [edx]
cmp al, 0xa
jne 0x486ee2
cmp ebx, esi
jge 0x486ec0
mov ebx, esi
mov edx, dword [0x4d5000]
xor eax, eax
xor esi, esi
mov al, byte [edx + 7]
xor edx, edx
mov dl, byte [0x4d4fe5]
add edx, ecx
lea ecx, [edx + eax]
mov dword [0x4d4f9c], ecx
jmp 0x486f0e
cmp al, 9
jne 0x486efd
mov edi, dword [0x4d4fb0]
mov eax, esi
cdq
and edi, 0xff
idiv edi
sub edi, edx
add esi, edi
jmp 0x486f0e
push eax
call fcn.004869b0
mov ecx, dword [0x4d4f9c]
add esp, 4
add esi, eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp byte [eax], 0
jne 0x486eb0
cmp ebx, esi
jge 0x486f22
mov ebx, esi
movzx dx, byte [0x4d4fe5]
mov eax, ecx
mov esi, ebx
sub eax, edx
mov word [0x4d4fa4], bx
mov word [0x4d4fa6], ax
mov al, byte [0x4d4f89]
test al, al
mov al, byte [0x4d4f8a]
je 0x486f67
test al, 0x66
je 0x486f67
push str.font:8
call fcn.00488ae0
mov ecx, dword [0x4d4f9c]
mov al, byte [0x4d4f8a]
add esp, 4
test al, 6
je 0x486f83
test al, 2
je 0x486f7d
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
mov al, byte [0x4d4f8a]
sar esi, 1
sub dword [0x4d4f80], esi
test al, 0x20
je 0x486fae
xor eax, eax
mov al, byte [0x4d4fe5]
mov edx, eax
mov eax, ecx
mov ecx, dword [0x4d4f84]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [0x4d4f9c], eax
mov dword [0x4d4f84], ecx
jmp 0x486fbf
test al, 0x40
je 0x486fbf
push str.font:9
call fcn.00488ae0
add esp, 4
mov ecx, dword [0x4d4f80]
mov edx, dword [0x4d4f84]
mov dword [0x4d4fe8], 0
mov dword [0x4d4f90], ecx
lea eax, [ecx - 2]
mov byte [esp + 0x24], 1
mov word [0x4d4fa0], ax
lea eax, [edx - 2]
mov word [0x4d4fa2], ax
mov edx, dword [0x4d4fa0]
add ax, 2
add edx, 2
add word [0x4d4fa6], ax
mov eax, dword [esp + 0x2c]
add word [0x4d4fa4], dx
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
mov byte [esp + 0x28], cl
je 0x487464
mov edi, dword [0x4d5000]
mov ebx, eax
mov al, byte [esp + 0x24]
test al, al
je 0x487057
mov eax, dword [0x4d5008]
mov byte [esp + 0x24], 0
movsx ebp, word [eax]
imul ebp, dword [0x4d4f84]
mov edx, dword [eax + 4]
mov eax, dword [0x4d4f80]
add ebp, edx
add ebp, eax
mov dword [esp + 0x18], ebp
mov al, byte [0x4d4f89]
test al, al
je 0x48714d
cmp ebx, dword [esp + 0x10]
jne 0x48714d
mov esi, dword [0x4d4f80]
mov edx, ebx
test cl, cl
je 0x48713f
mov al, byte [edx]
inc edx
cmp al, 7
mov byte [esp + 0x1c], al
jb 0x487136
cmp al, 0xd
je 0x487136
cmp al, 0x1a
je 0x487136
cmp al, 0xa
je 0x48713f
cmp al, 0xc
je 0x48713f
cmp al, 9
je 0x48713f
cmp al, 0x20
je 0x48713f
mov eax, dword [esp + 0x1c]
and eax, 0xff
mov cl, byte [eax + 0x4aa22c]
mov al, byte [edi + 4]
cmp cl, al
mov byte [esp + 0x1c], cl
jb 0x4870f8
cmp cl, byte [edi + 5]
ja 0x4870f8
mov ebx, dword [esp + 0x1c]
mov ecx, eax
and ecx, 0xff
and ebx, 0xff
sub ebx, ecx
mov ecx, dword [edi + ebx*4 + 8]
test ecx, ecx
jne 0x487107
and eax, 0xff
mov ecx, 0x41
sub ecx, eax
mov ecx, dword [edi + ecx*4]
xor ebx, ebx
xor eax, eax
mov bl, byte [ecx]
mov al, byte [ecx + 2]
add ebx, esi
xor ecx, ecx
mov cx, word [0x4d4fee]
lea esi, [ebx + eax]
cmp esi, ecx
jg 0x487183
mov eax, dword [0x4d4fe4]
mov ebx, dword [esp + 0x2c]
mov cl, byte [esp + 0x28]
and eax, 0xff
add esi, eax
cmp byte [edx], 0
jne 0x48707e
mov dword [esp + 0x10], edx
cmp ebx, dword [esp + 0x10]
je 0x487226
mov al, cl
inc ebx
cmp al, 7
mov byte [esp + 0x14], al
mov dword [esp + 0x2c], ebx
jae 0x48721a
mov cl, byte [0x4d4ffc]
test cl, cl
jne 0x487417
cmp al, 1
jne 0x4871ab
mov edx, dword [0x4d4fac]
mov dword [0x4d4fcc], edx
jmp 0x487417
mov ecx, dword [0x4d4f80]
mov eax, dword [0x4d4f90]
cmp ecx, eax
jne 0x4871a1
mov ebx, dword [esp + 0x2c]
mov cl, byte [esp + 0x28]
dec edx
mov dword [esp + 0x10], edx
jmp 0x487143
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
jmp 0x487226
mov ecx, dword [0x4d4fcc]
cmp al, 2
mov dword [0x4d4fac], ecx
jne 0x4871ca
mov dword [0x4d4fcc], 0x4d4ff0
jmp 0x487417
cmp al, 3
jne 0x4871dd
mov dword [0x4d4fcc], 0x4d4f78
jmp 0x487417
cmp al, 5
jne 0x4871f0
mov dword [0x4d4fcc], 0x4d4fb8
jmp 0x487417
cmp al, 4
jne 0x487203
mov dword [0x4d4fcc], 0x4d4fd0
jmp 0x487417
cmp al, 6
jne 0x487417
mov dword [0x4d4fcc], 0x4d4fc0
jmp 0x487417
cmp al, 0xc
je 0x487428
cmp al, 0xa
jne 0x487282
mov edx, dword [0x4d4f90]
xor ecx, ecx
mov cl, byte [0x4d4fe5]
mov dword [0x4d4f80], edx
mov edx, dword [0x4d4f84]
xor eax, eax
mov al, byte [edi + 7]
add ecx, edx
add eax, ecx
cmp word [0x4d4f94], 0
mov dword [0x4d4f84], eax
je 0x487278
mov edx, dword [0x4d4f88]
and edx, 0xff
add edx, eax
mov eax, dword [0x4d4f94]
and eax, 0xffff
cmp edx, eax
jge 0x487427
mov byte [esp + 0x24], 1
jmp 0x487417
cmp al, 9
jne 0x4872b9
mov esi, dword [0x4d4f80]
mov edx, dword [0x4d4f90]
mov ecx, dword [0x4d4fb0]
mov eax, esi
sub eax, edx
and ecx, 0xff
cdq
idiv ecx
mov byte [esp + 0x24], 1
sub ecx, edx
add esi, ecx
mov dword [0x4d4f80], esi
jmp 0x487417
cmp al, 0xd
je 0x487417
cmp al, 0x1a
je 0x487417
cmp al, 0x20
jne 0x4872f7
mov edx, dword [0x4d4f80]
xor ecx, ecx
mov cl, byte [edi + 6]
shr ecx, 1
lea eax, [edx + ecx + 1]
xor ecx, ecx
mov dword [0x4d4f80], eax
mov cl, byte [edi + 6]
shr ecx, 1
lea ebp, [ecx + ebp + 1]
mov dword [esp + 0x18], ebp
jmp 0x487417
mov edx, dword [esp + 0x14]
mov al, byte [edi + 4]
and edx, 0xff
mov cl, byte [edx + 0x4aa22c]
cmp cl, al
mov byte [esp + 0x14], cl
jb 0x487333
cmp cl, byte [edi + 5]
ja 0x487333
mov edx, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
and edx, 0xff
sub edx, ecx
mov esi, dword [edi + edx*4 + 8]
test esi, esi
jne 0x487342
and eax, 0xff
mov ecx, 0x41
sub ecx, eax
mov esi, dword [edi + ecx*4]
mov edx, dword [0x4d5008]
mov ebx, dword [0x4d4f80]
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 2]
mov cl, byte [esi]
movsx edi, word [edx]
mov dword [esp + 0x28], eax
add eax, ecx
add eax, ebx
cmp eax, edi
jg 0x48743b
cmp word [0x4d4f94], 0
je 0x48739a
mov eax, dword [0x4d4f88]
mov edx, dword [0x4d4f84]
and eax, 0xff
add eax, edx
mov edx, dword [0x4d4f94]
and edx, 0xffff
cmp eax, edx
jge 0x487430
mov ebp, dword [0x4d4f84]
xor eax, eax
mov al, byte [esi + 3]
xor edx, edx
mov dl, byte [esi + 1]
lea ebx, [edx + eax]
add ebx, ebp
mov ebp, dword [0x4d5008]
movsx ebp, word [ebp + 2]
cmp ebx, ebp
jg 0x48743b
imul eax, edi
mov ebp, dword [esp + 0x18]
mov ebx, edi
mov edi, dword [esp + 0x28]
sub ebx, ecx
push ebx
push edx
push ecx
add eax, edi
lea ecx, [esi + 4]
add eax, ebp
push ecx
push eax
call fcn.00401ee0
mov ecx, dword [0x4d4fe4]
xor eax, eax
mov al, byte [esi + 2]
xor edx, edx
mov dl, byte [esi]
mov edi, dword [0x4d5000]
mov ebx, dword [esp + 0x40]
add eax, edx
mov edx, dword [0x4d4f80]
and ecx, 0xff
add eax, ecx
add esp, 0x14
add edx, eax
add ebp, eax
mov dword [0x4d4f80], edx
mov dword [esp + 0x18], ebp
mov cl, byte [ebx]
test cl, cl
mov byte [esp + 0x28], cl
jne 0x48702b
jmp 0x48743b
dec ebx
mov dword [0x4d4fe8], ebx
jmp 0x48743b
mov edx, dword [esp + 0x2c]
dec edx
mov dword [0x4d4fe8], edx
mov ecx, dword [0x4d4fe8]
test ecx, ecx
je 0x487464
mov al, byte [ecx]
cmp al, 0xa
jne 0x487454
inc ecx
mov dword [0x4d4fe8], ecx
jmp 0x487464
cmp al, 0x20
jne 0x487464
inc ecx
mov dword [0x4d4fe8], ecx
cmp byte [ecx], 0x20
je 0x487458
pop edi
xor eax, eax
pop esi
pop ebp
mov word [0x4d4fee], ax
mov word [0x4d4f94], ax
pop ebx
add esp, 0x10
ret