Function at 0x6ba9b0
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.0x6ba9dc.2
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x6bb218]
jmp dword [ecx*4 + 0x6bb1b0]
mov dword [ebp - 4], 1
jmp 0x6ba9f5
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 + 0x818060]
and edx, 1
je 0x6baa0c
jmp 0x6ba9ec
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x95
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0x2d
jne 0x6baa66
mov dword [ebp - 4], 2
jmp 0x6baa3b
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 0x6baa55
cmp dword [ebp - 8], 0xa
je 0x6baa55
jmp 0x6baa32
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x95
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x57
mov eax, 1
jmp 0x6bb1ac
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x16
mov eax, 1
jmp 0x6bb1ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
mov eax, 1
jmp 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
mov eax, 1
jmp 0x6bb1ac
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x56
mov eax, 1
jmp 0x6bb1ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x58
mov eax, 1
jmp 0x6bb1ac
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0x2a
jne 0x6baaef
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
test ecx, ecx
jne 0x6bab02
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x59
mov eax, 1
jmp 0x6bb1ac
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
mov dword [ebp - 8], ecx
jmp 0x6bab1e
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0x2a
jne 0x6bab32
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0x2f
je 0x6bab46
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 0x6bab46
jmp 0x6bab15
cmp dword [ebp - 8], 0
je 0x6bab55
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 0x6bb1ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5a
mov eax, 1
jmp 0x6bb1ac
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 0x6bb1ac
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3d
jne 0x6babc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4e
mov eax, 2
jmp 0x6bb1ac
cmp dword [ebp - 8], 0x3e
jne 0x6babdb
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x4b
mov eax, 2
jmp 0x6bb1ac
cmp dword [ebp - 8], 0x3c
jne 0x6babf6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x54
mov eax, 2
jmp 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4f
mov eax, 1
jmp 0x6bb1ac
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3d
jne 0x6bac2e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x50
mov eax, 2
jmp 0x6bb1ac
cmp dword [ebp - 8], 0x3e
jne 0x6bac49
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x55
mov eax, 2
jmp 0x6bb1ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4d
mov eax, 1
jmp 0x6bb1ac
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0x3d
je 0x6bac7d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
mov eax, 2
jmp 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4b
mov eax, 2
jmp 0x6bb1ac
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
cmp eax, 0x7c
je 0x6bacb1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x53
mov eax, 1
jmp 0x6bb1ac
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x5b
mov eax, 2
jmp 0x6bb1ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x19
mov eax, 1
jmp 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x52
mov eax, 1
jmp 0x6bb1ac
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x5d
mov eax, 1
jmp 0x6bb1ac
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 1
jmp 0x6bad18
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 0x6bad50
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x6bad4e
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
cmp ecx, dword [ebp - 0xc]
jne 0x6bad4c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x6bad4e
jmp 0x6bad50
jmp 0x6bad0f
cmp dword [ebp - 8], 0x27
jne 0x6bad6c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5e
mov eax, dword [ebp - 4]
add eax, 1
jmp 0x6bb1ac
cmp dword [ebp - 8], 0
je 0x6bad88
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x1a
mov eax, dword [ebp - 4]
add eax, 1
jmp 0x6bb1ac
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x94
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x818060]
and edx, 4
jne case.0x6ba9dc.39
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x76
mov eax, 1
jmp 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x81
mov dword [ebp - 4], 0
jmp 0x6badda
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 + 0x818060]
and edx, 4
je 0x6badf1
jmp 0x6badd1
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x6bae31
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 + 0x818060]
and edx, 4
je 0x6bae28
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x6bae08
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 0x6bae4d
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x45
jne 0x6baec9
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x818060]
and edx, 4
jne 0x6bae97
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
cmp ecx, 0x2b
je 0x6bae81
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx + 1]
cmp eax, 0x2d
jne 0x6baec9
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 2]
movzx eax, byte [edx + 0x818060]
and eax, 4
je 0x6baec9
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 + 0x818060]
and ecx, 4
je 0x6baec0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x6baea0
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 + 0x818060]
and eax, 0x46
je 0x6baef2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x94
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x6baec9
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
mov dword [ebp - 8], ecx
jmp 0x6baf15
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0x5d
je 0x6baf2f
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 0x6baf2f
jmp 0x6baf0c
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 0x6bb1ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x85
mov dword [ebp - 4], 1
jmp 0x6baf67
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 + 0x818060]
and edx, 4
je 0x6baf7e
jmp 0x6baf5e
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov dword [ebp - 4], 1
jmp 0x6baf98
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 + 0x818060]
and eax, 4
je 0x6bafaf
jmp 0x6baf8f
cmp dword [ebp - 4], 1
jle case.0x6ba9dc.27
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x84
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x85
mov dword [ebp - 4], 1
jmp 0x6bafe8
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 0x6bb09b
movzx eax, byte [ebp - 8]
movzx ecx, byte [eax + 0x818060]
and ecx, 0x46
je 0x6bb019
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x6bb096
cmp dword [ebp - 8], 0x28
jne 0x6bb074
cmp dword [ebp - 0x10], 0
jle 0x6bb074
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 0x6bb056
movzx eax, byte [ebp - 8]
movzx ecx, byte [eax + 0x818060]
and ecx, 1
jne 0x6bb056
cmp dword [ebp - 8], 0x29
jne 0x6bb025
cmp dword [ebp - 8], 0x29
jne 0x6bb067
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x6bb070
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
jmp 0x6bb09b
cmp dword [ebp - 8], 0x3a
jne 0x6bb094
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x6bb094
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x6bb096
jmp 0x6bb09b
jmp 0x6bafdf
cmp dword [ebp - 0x10], 0
jne 0x6bb0aa
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x94
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
cmp eax, 0x27
jne case.0x6ba9dc.2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x83
mov dword [ebp - 4], 2
jmp 0x6bb0dd
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 0x6bb110
cmp dword [ebp - 8], 0x27
je 0x6bb110
movzx edx, byte [ebp - 8]
movzx eax, byte [edx + 0x818060]
and eax, 8
jne 0x6bb10e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x94
jmp 0x6bb0d4
mov edx, dword [ebp - 4]
and edx, reloc.gdiplus.dll_Ordinal_1
jns 0x6bb120
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x6bb12a
cmp dword [ebp - 8], 0
jne 0x6bb133
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
cmp dword [ebp - 8], 0
je 0x6bb142
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x818060]
and ecx, 0x46
jne 0x6bb15b
jmp 0x6bb19e
mov dword [ebp - 4], 1
jmp 0x6bb16d
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 + 0x818060]
and edx, 0x46
je 0x6bb184
jmp 0x6bb164
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.006bb290
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
jmp 0x6bb1ac
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x94
mov eax, 1
mov esp, ebp
pop ebp
ret