Function at 0x523310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
movzx ecx, byte [edx]
lea eax, [ecx - 9]
cmp eax, 0x75
ja case.0x52332e.11
movzx eax, byte [eax + 0x52395c]
jmp dword [eax*4 + 0x5238f4]
movzx eax, byte [edx + 1]
mov esi, 1
test byte [eax + 0x5f0220], 1
je 0x52335f
nop word [eax + eax]
movzx ecx, byte [esi + edx + 1]
inc esi
test byte [ecx + 0x5f0220], 1
jne 0x523350
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword [ecx], 0x95
pop ebp
ret
cmp byte [edx + 1], 0x2d
jne 0x52339f
movzx eax, byte [edx + 2]
mov esi, 2
test eax, eax
je 0x52335f
cmp eax, 0xa
je 0x52335f
movzx eax, byte [esi + edx + 1]
inc esi
test eax, eax
jne 0x523381
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword [ecx], 0x95
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x57
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x16
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x17
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 1
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x56
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x58
mov eax, 1
pop ebp
ret
cmp byte [edx + 1], 0x2a
jne 0x523444
mov cl, byte [edx + 2]
test cl, cl
je 0x523444
mov eax, 3
movzx ecx, cl
cmp ecx, 0x2a
jne 0x52342b
cmp byte [eax + edx], 0x2f
je 0x523436
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x523437
inc eax
jmp 0x523420
inc eax
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx], 0x95
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x59
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x5a
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x4c
xor eax, eax
cmp byte [edx + 1], 0x3d
sete al
inc eax
pop ebp
ret
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x52349a
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x4e
mov eax, 2
pop ebp
ret
cmp eax, 0x3e
jne 0x5234b1
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0x4b
mov eax, 2
pop esi
pop ebp
ret
cmp eax, 0x3c
mov eax, dword [ebp + 0xc]
jne 0x5234c8
pop edi
mov dword [eax], 0x54
mov eax, 2
pop esi
pop ebp
ret
pop edi
mov dword [eax], 0x4f
mov eax, 1
pop esi
pop ebp
ret
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x5234f2
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x50
mov eax, 2
pop ebp
ret
cmp eax, 0x3e
mov eax, dword [ebp + 0xc]
jne 0x523509
pop edi
mov dword [eax], 0x55
mov eax, 2
pop esi
pop ebp
ret
pop edi
mov dword [eax], 0x4d
mov eax, 1
pop esi
pop ebp
ret
cmp byte [edx + 1], 0x3d
mov eax, dword [ebp + 0xc]
je 0x5234a2
pop edi
mov dword [eax], 0x94
mov eax, 2
pop esi
pop ebp
ret
cmp byte [edx + 1], 0x7c
mov eax, dword [ebp + 0xc]
je 0x523548
pop edi
mov dword [eax], 0x53
mov eax, 1
pop esi
pop ebp
ret
pop edi
mov dword [eax], 0x5b
mov eax, 2
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x19
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x52
mov eax, 1
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x5d
mov eax, 1
pop ebp
ret
movzx edi, byte [edx + 1]
mov esi, 1
test edi, edi
je 0x5235b8
nop word [eax + eax]
cmp edi, ecx
jne 0x5235ae
movzx eax, byte [edx + esi + 1]
cmp eax, ecx
jne 0x5235b8
inc esi
movzx edi, byte [esi + edx + 1]
inc esi
test edi, edi
jne 0x5235a0
cmp edi, 0x27
jne 0x5235cd
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0x5e
lea eax, [esi + 1]
pop esi
pop ebp
ret
test edi, edi
je 0x5235e1
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0x1a
lea eax, [esi + 1]
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword [ecx], 0x94
pop ebp
ret
movzx eax, byte [edx + 1]
test byte [eax + 0x5f0220], 4
jne case.0x52332e.48
mov eax, dword [ebp + 0xc]
pop edi
pop esi
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 + 0x5f0220], 4
je 0x52363f
nop word [eax + eax]
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5f0220], 4
jne 0x523630
cmp byte [esi + edx], 0x2e
jne 0x523675
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5f0220], 4
je 0x52366f
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5f0220], 4
jne 0x523660
mov dword [edi], 0x82
mov al, byte [esi + edx]
cmp al, 0x65
je 0x523680
cmp al, 0x45
jne 0x5236d5
mov cl, byte [esi + edx + 1]
movzx eax, cl
test byte [eax + 0x5f0220], 4
jne 0x5236a8
cmp cl, 0x2b
je 0x52369a
cmp cl, 0x2d
jne 0x5236d5
movzx eax, byte [esi + edx + 2]
test byte [eax + 0x5f0220], 4
je 0x5236d5
movzx eax, byte [esi + edx + 2]
add esi, 2
test byte [eax + 0x5f0220], 4
je 0x5236cf
nop dword [eax]
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5f0220], 4
jne 0x5236c0
mov dword [edi], 0x82
movzx eax, byte [esi + edx]
test byte [eax + 0x5f0220], 0x46
je 0x5238ee
nop word [eax + eax]
inc esi
mov dword [edi], 0x94
movzx ecx, byte [esi + edx]
test byte [ecx + 0x5f0220], 0x46
jne 0x5236f0
pop edi
mov eax, esi
pop esi
pop ebp
ret
mov eax, 1
cmp ecx, 0x5d
je 0x523722
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x523722
inc eax
cmp ecx, 0x5d
jne 0x523714
cmp ecx, 0x5d
mov esi, 0x1a
mov ecx, dword [ebp + 0xc]
mov edx, 0x94
cmove edx, esi
pop edi
pop esi
mov dword [ecx], edx
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov esi, 1
mov dword [eax], 0x85
movzx eax, byte [edx + 1]
test byte [eax + 0x5f0220], 4
je 0x5238ee
nop word [eax + eax]
movzx ecx, byte [esi + edx + 1]
inc esi
test byte [ecx + 0x5f0220], 4
jne 0x523760
pop edi
mov eax, esi
pop esi
pop ebp
ret
movzx eax, byte [edx + 1]
mov esi, 1
test byte [eax + 0x5f0220], 4
je case.0x52332e.36
nop word [eax + eax]
movzx ecx, byte [esi + edx + 1]
inc esi
test byte [ecx + 0x5f0220], 4
jne 0x523790
cmp esi, 1
jle case.0x52332e.36
mov ecx, dword [ebp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword [ecx], 0x84
pop ebp
ret
mov edi, dword [ebp + 0xc]
xor esi, esi
push ebx
mov dword [edi], 0x85
lea ecx, [esi + 1]
movzx ebx, byte [edx + 1]
test ebx, ebx
je 0x52382d
nop word [eax + eax]
movzx eax, bl
test byte [eax + 0x5f0220], 0x46
je 0x5237df
inc esi
jmp 0x5237f0
cmp ebx, 0x28
je 0x5237fc
cmp ebx, 0x3a
jne 0x523829
cmp byte [edx + ecx + 1], bl
jne 0x523829
inc ecx
movzx ebx, byte [ecx + edx + 1]
inc ecx
test ebx, ebx
jne 0x5237d0
jmp 0x523829
test esi, esi
jle 0x52382b
movzx ebx, byte [ecx + edx + 1]
inc ecx
test ebx, ebx
je 0x52381b
test byte [ebx + 0x5f0220], 1
jne 0x52381b
cmp ebx, 0x29
jne 0x523800
inc ecx
jmp 0x523829
cmp ebx, 0x29
jne 0x523823
inc ecx
jmp 0x523829
mov dword [edi], 0x94
test esi, esi
jne 0x523833
mov dword [edi], 0x94
pop ebx
pop edi
mov eax, ecx
pop esi
pop ebp
ret
cmp byte [edx + 1], 0x27
jne case.0x52332e.11
mov esi, dword [ebp + 0xc]
mov ecx, 2
mov dword [esi], 0x83
movzx eax, byte [edx + 2]
test byte [eax + 0x5f0220], 8
je 0x52386f
nop dword [eax + eax]
movzx eax, byte [ecx + edx + 1]
inc ecx
test byte [eax + 0x5f0220], 8
jne 0x523860
cmp byte [ecx + edx], 0x27
jne 0x52387a
test cl, 1
je 0x523894
mov dword [esi], 0x94
mov al, byte [ecx + edx]
test al, al
je 0x523894
cmp al, 0x27
je 0x523894
mov al, byte [ecx + edx + 1]
inc ecx
test al, al
jne 0x523887
cmp byte [ecx + edx], 0
lea eax, [ecx + 1]
pop edi
cmove eax, ecx
pop esi
pop ebp
ret
test byte [ecx + 0x5f0220], 0x46
jne 0x5238bd
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 0x94
mov eax, 1
pop ebp
ret
movzx eax, byte [edx + 1]
mov esi, 1
test byte [eax + 0x5f0220], 0x46
je 0x5238df
nop
movzx eax, byte [esi + edx + 1]
inc esi
test byte [eax + 0x5f0220], 0x46
jne 0x5238d0
push esi
push edx
call fcn.005005b0
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret