Function at 0x52a370
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
sub edx, 9
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x75
ja case.0x52a39c.2
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x52abd8]
jmp dword [ecx*4 + 0x52ab70]
mov dword [ebp - 4], 1
jmp 0x52a3b5
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x5f6510]
and edx, 1
je 0x52a3cc
jmp 0x52a3ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x95
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0x2d
jne 0x52a426
mov dword [ebp - 4], 2
jmp 0x52a3fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x52a415
cmp dword [ebp - 8], 0xa
je 0x52a415
jmp 0x52a3f2
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x95
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x57
mov eax, 1
jmp 0x52ab6c
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x16
mov eax, 1
jmp 0x52ab6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
mov eax, 1
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
mov eax, 1
jmp 0x52ab6c
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x56
mov eax, 1
jmp 0x52ab6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x58
mov eax, 1
jmp 0x52ab6c
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0x2a
jne 0x52a4af
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
test ecx, ecx
jne 0x52a4c2
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x59
mov eax, 1
jmp 0x52ab6c
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
mov dword [ebp - 8], ecx
jmp 0x52a4de
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0x2a
jne 0x52a4f2
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0x2f
je 0x52a506
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52a506
jmp 0x52a4d5
cmp dword [ebp - 8], 0
je 0x52a515
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x95
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5a
mov eax, 1
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
xor ecx, ecx
cmp eax, 0x3d
sete cl
add ecx, 1
mov eax, ecx
jmp 0x52ab6c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3d
jne 0x52a580
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4e
mov eax, 2
jmp 0x52ab6c
cmp dword [ebp - 8], 0x3e
jne 0x52a59b
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x4b
mov eax, 2
jmp 0x52ab6c
cmp dword [ebp - 8], 0x3c
jne 0x52a5b6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x54
mov eax, 2
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4f
mov eax, 1
jmp 0x52ab6c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3d
jne 0x52a5ee
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x50
mov eax, 2
jmp 0x52ab6c
cmp dword [ebp - 8], 0x3e
jne 0x52a609
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x55
mov eax, 2
jmp 0x52ab6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4d
mov eax, 1
jmp 0x52ab6c
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0x3d
je 0x52a63d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
mov eax, 2
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4b
mov eax, 2
jmp 0x52ab6c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
cmp eax, 0x7c
je 0x52a671
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x53
mov eax, 1
jmp 0x52ab6c
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x5b
mov eax, 2
jmp 0x52ab6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x19
mov eax, 1
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x52
mov eax, 1
jmp 0x52ab6c
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x5d
mov eax, 1
jmp 0x52ab6c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 1
jmp 0x52a6d8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x52a710
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x52a70e
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
cmp ecx, dword [ebp - 0xc]
jne 0x52a70c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x52a70e
jmp 0x52a710
jmp 0x52a6cf
cmp dword [ebp - 8], 0x27
jne 0x52a72c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5e
mov eax, dword [ebp - 4]
add eax, 1
jmp 0x52ab6c
cmp dword [ebp - 8], 0
je 0x52a748
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x1a
mov eax, dword [ebp - 4]
add eax, 1
jmp 0x52ab6c
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x94
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x5f6510]
and edx, 4
jne case.0x52a39c.39
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x76
mov eax, 1
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x81
mov dword [ebp - 4], 0
jmp 0x52a79a
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x5f6510]
and edx, 4
je 0x52a7b1
jmp 0x52a791
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x52a7f1
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x5f6510]
and edx, 4
je 0x52a7e8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x52a7c8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x82
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x65
je 0x52a80d
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x45
jne 0x52a889
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x5f6510]
and edx, 4
jne 0x52a857
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
cmp ecx, 0x2b
je 0x52a841
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx + 1]
cmp eax, 0x2d
jne 0x52a889
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 2]
movzx eax, byte [edx + 0x5f6510]
and eax, 4
je 0x52a889
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5f6510]
and ecx, 4
je 0x52a880
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x52a860
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x82
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
movzx eax, byte [edx + 0x5f6510]
and eax, 0x46
je 0x52a8b2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x94
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x52a889
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
mov dword [ebp - 8], ecx
jmp 0x52a8d5
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0x5d
je 0x52a8ef
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x52a8ef
jmp 0x52a8cc
mov edx, dword [ebp - 8]
sub edx, 0x5d
neg edx
sbb edx, edx
and edx, 0x7a
add edx, 0x1a
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x85
mov dword [ebp - 4], 1
jmp 0x52a927
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x5f6510]
and edx, 4
je 0x52a93e
jmp 0x52a91e
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov dword [ebp - 4], 1
jmp 0x52a958
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
movzx eax, byte [edx + 0x5f6510]
and eax, 4
je 0x52a96f
jmp 0x52a94f
cmp dword [ebp - 4], 1
jle case.0x52a39c.27
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x84
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x85
mov dword [ebp - 4], 1
jmp 0x52a9a8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x52aa5b
movzx eax, byte [ebp - 8]
movzx ecx, byte [eax + 0x5f6510]
and ecx, 0x46
je 0x52a9d9
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x52aa56
cmp dword [ebp - 8], 0x28
jne 0x52aa34
cmp dword [ebp - 0x10], 0
jle 0x52aa34
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x52aa16
movzx eax, byte [ebp - 8]
movzx ecx, byte [eax + 0x5f6510]
and ecx, 1
jne 0x52aa16
cmp dword [ebp - 8], 0x29
jne 0x52a9e5
cmp dword [ebp - 8], 0x29
jne 0x52aa27
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x52aa30
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
jmp 0x52aa5b
cmp dword [ebp - 8], 0x3a
jne 0x52aa54
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x52aa54
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x52aa56
jmp 0x52aa5b
jmp 0x52a99f
cmp dword [ebp - 0x10], 0
jne 0x52aa6a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x94
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
cmp eax, 0x27
jne case.0x52a39c.2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x83
mov dword [ebp - 4], 2
jmp 0x52aa9d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x52aad0
cmp dword [ebp - 8], 0x27
je 0x52aad0
movzx edx, byte [ebp - 8]
movzx eax, byte [edx + 0x5f6510]
and eax, 8
jne 0x52aace
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x94
jmp 0x52aa94
mov edx, dword [ebp - 4]
and edx, 0x80000001
jns 0x52aae0
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x52aaea
cmp dword [ebp - 8], 0
jne 0x52aaf3
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
cmp dword [ebp - 8], 0
je 0x52ab02
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5f6510]
and ecx, 0x46
jne 0x52ab1b
jmp 0x52ab5e
mov dword [ebp - 4], 1
jmp 0x52ab2d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x5f6510]
and edx, 0x46
je 0x52ab44
jmp 0x52ab24
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a290
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
jmp 0x52ab6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
mov eax, 1
mov esp, ebp
pop ebp
ret