Function at 0x4ed400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx ecx, byte [edx]
lea eax, [ecx - 9]
cmp eax, 0x75
ja case.0x4ed41f.11
movzx eax, byte [eax + 0x4eda50]
jmp dword [eax*4 + 0x4ed9e8]
movzx eax, byte [edx + 1]
mov esi, 1
test byte [eax + 0x5cfbc8], 1
je 0x4ed44f
nop dword [eax + eax]
movzx ecx, byte [esi + edx + 1]
inc esi
test byte [ecx + 0x5cfbc8], 1
jne 0x4ed440
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword [ecx], 0x95
pop ebp
ret
cmp byte [edx + 1], 0x2d
jne 0x4ed491
movzx eax, byte [edx + 2]
mov esi, 2
test eax, eax
je 0x4ed44f
cmp eax, 0xa
je 0x4ed44f
movzx eax, byte [esi + edx + 1]
inc esi
test eax, eax
jne 0x4ed472
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword [ecx], 0x95
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x57
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x16
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x17
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 1
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x56
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x58
mov eax, 1
pop ebp
ret
cmp byte [edx + 1], 0x2a
jne 0x4ed544
mov al, byte [edx + 2]
test al, al
je 0x4ed544
mov ecx, 3
movzx esi, al
cmp esi, 0x2a
jne 0x4ed523
cmp byte [ecx + edx], 0x2f
je 0x4ed52e
movzx esi, byte [ecx + edx]
test esi, esi
je 0x4ed52e
inc ecx
jmp 0x4ed518
test esi, esi
lea eax, [ecx + 1]
pop edi
cmove eax, ecx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [ecx], 0x95
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x59
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x5a
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x4c
xor eax, eax
cmp byte [edx + 1], 0x3d
sete al
inc eax
pop ebp
ret
mov al, byte [edx + 1]
cmp al, 0x3d
jne 0x4ed59c
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x4e
mov eax, 2
pop ebp
ret
cmp al, 0x3e
je 0x4ed625
cmp al, 0x3c
mov eax, dword [ebp + 0xc]
jne 0x4ed5bb
pop edi
pop esi
mov dword [eax], 0x54
mov eax, 2
pop ebx
pop ebp
ret
pop edi
pop esi
mov dword [eax], 0x4f
mov eax, 1
pop ebx
pop ebp
ret
mov al, byte [edx + 1]
cmp al, 0x3d
jne 0x4ed5e5
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x50
mov eax, 2
pop ebp
ret
cmp al, 0x3e
mov eax, dword [ebp + 0xc]
jne 0x4ed5fc
pop edi
pop esi
mov dword [eax], 0x55
mov eax, 2
pop ebx
pop ebp
ret
pop edi
pop esi
mov dword [eax], 0x4d
mov eax, 1
pop ebx
pop ebp
ret
cmp byte [edx + 1], 0x3d
je 0x4ed625
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x94
mov eax, 2
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x4b
mov eax, 2
pop ebp
ret
cmp byte [edx + 1], 0x7c
mov eax, dword [ebp + 0xc]
je 0x4ed651
pop edi
pop esi
mov dword [eax], 0x53
mov eax, 1
pop ebx
pop ebp
ret
pop edi
pop esi
mov dword [eax], 0x5b
mov eax, 2
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x19
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x52
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x5d
mov eax, 1
pop ebp
ret
movzx edi, byte [edx + 1]
mov esi, 1
test edi, edi
je 0x4ed6bf
cmp edi, ecx
jne 0x4ed6b5
movzx eax, byte [edx + esi + 1]
cmp eax, ecx
jne 0x4ed6bf
inc esi
movzx edi, byte [esi + edx + 1]
inc esi
test edi, edi
jne 0x4ed6a7
cmp edi, 0x27
jne 0x4ed6d5
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0x5e
lea eax, [esi + 1]
pop esi
pop ebx
pop ebp
ret
test edi, edi
je 0x4ed6ea
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0x1a
lea eax, [esi + 1]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword [ecx], 0x94
pop ebp
ret
movzx eax, byte [edx + 1]
test byte [eax + 0x5cfbc8], 4
jne case.0x4ed41f.48
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x76
mov eax, 1
pop ebp
ret
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [edi], 0x81
movzx eax, byte [edx]
test byte [eax + 0x5cfbc8], 4
je 0x4ed740
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5cfbc8], 4
jne 0x4ed731
cmp byte [esi + edx], 0x2e
jne 0x4ed775
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5cfbc8], 4
je 0x4ed76f
nop word [eax + eax]
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5cfbc8], 4
jne 0x4ed760
mov dword [edi], 0x82
mov al, byte [esi + edx]
cmp al, 0x65
je 0x4ed780
cmp al, 0x45
jne 0x4ed7d5
mov cl, byte [esi + edx + 1]
movzx eax, cl
test byte [eax + 0x5cfbc8], 4
jne 0x4ed7a8
cmp cl, 0x2b
je 0x4ed79a
cmp cl, 0x2d
jne 0x4ed7d5
movzx eax, byte [esi + edx + 2]
test byte [eax + 0x5cfbc8], 4
je 0x4ed7d5
movzx eax, byte [esi + edx + 2]
add esi, 2
test byte [eax + 0x5cfbc8], 4
je 0x4ed7cf
nop dword [eax]
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5cfbc8], 4
jne 0x4ed7c0
mov dword [edi], 0x82
movzx eax, byte [esi + edx]
test byte [eax + 0x5cfbc8], 0x46
je 0x4ed9de
nop word [eax + eax]
inc esi
mov dword [edi], 0x94
movzx ecx, byte [esi + edx]
test byte [ecx + 0x5cfbc8], 0x46
jne 0x4ed7f0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov eax, 1
cmp ecx, 0x5d
je 0x4ed823
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x4ed823
inc eax
cmp ecx, 0x5d
jne 0x4ed815
cmp ecx, 0x5d
mov esi, 0x1a
mov ecx, dword [ebp + 0xc]
mov edx, 0x94
pop edi
cmove edx, esi
pop esi
mov dword [ecx], edx
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov esi, 1
mov dword [eax], 0x85
movzx eax, byte [edx + 1]
test byte [eax + 0x5cfbc8], 4
je 0x4ed9de
nop dword [eax]
movzx ecx, byte [esi + edx + 1]
inc esi
test byte [ecx + 0x5cfbc8], 4
jne 0x4ed860
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
movzx eax, byte [edx + 1]
mov esi, 1
test byte [eax + 0x5cfbc8], 4
je case.0x4ed41f.36
nop dword [eax + eax]
movzx ecx, byte [esi + edx + 1]
inc esi
test byte [ecx + 0x5cfbc8], 4
jne 0x4ed890
cmp esi, 1
jle case.0x4ed41f.36
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword [ecx], 0x84
pop ebp
ret
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [edi], 0x85
lea eax, [esi + 1]
movzx ecx, byte [edx + 1]
test ecx, ecx
je 0x4ed930
nop word [eax + eax]
test byte [ecx + 0x5cfbc8], 0x46
je 0x4ed8dc
inc esi
jmp 0x4ed8ed
cmp ecx, 0x28
je 0x4ed8f9
cmp ecx, 0x3a
jne 0x4ed928
cmp byte [edx + eax + 1], cl
jne 0x4ed928
inc eax
movzx ecx, byte [eax + edx + 1]
inc eax
test ecx, ecx
jne 0x4ed8d0
jmp 0x4ed928
test esi, esi
jle 0x4ed92a
nop dword [eax]
mov bl, byte [eax + edx + 1]
inc eax
movzx ecx, bl
test bl, bl
je 0x4ed91a
test byte [ecx + 0x5cfbc8], 1
jne 0x4ed91a
cmp ecx, 0x29
jne 0x4ed900
cmp bl, 0x29
jne 0x4ed922
inc eax
jmp 0x4ed928
mov dword [edi], 0x94
test esi, esi
jne 0x4ed9e0
mov dword [edi], 0x94
pop edi
pop esi
pop ebx
pop ebp
ret
cmp byte [edx + 1], 0x27
jne case.0x4ed41f.11
mov eax, dword [ebp + 0xc]
mov ebx, 2
mov dword [eax], 0x83
movzx ecx, byte [edx + 2]
test ecx, ecx
je 0x4ed975
cmp ecx, 0x27
je 0x4ed975
test byte [ecx + 0x5cfbc8], 8
jne 0x4ed96b
mov dword [eax], 0x94
movzx ecx, byte [ebx + edx + 1]
inc ebx
test ecx, ecx
jne 0x4ed957
test bl, 1
jne 0x4ed97e
test ecx, ecx
jne 0x4ed984
mov dword [eax], 0x94
pop edi
lea eax, [ebx + 1]
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
pop ebp
ret
test byte [ecx + 0x5cfbc8], 0x46
jne 0x4ed9ad
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], 0x94
mov eax, 1
pop ebp
ret
movzx eax, byte [edx + 1]
mov esi, 1
test byte [eax + 0x5cfbc8], 0x46
je 0x4ed9cf
nop
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5cfbc8], 0x46
jne 0x4ed9c0
push esi
push edx
call fcn.004d2e30
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret