Function at 0x1030ce90
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
movzx ebx, byte [esi]
lea eax, [ebx - 9]
cmp eax, 0x75
ja case.0x1030cead.11
movzx eax, byte [eax + 0x1030d468]
jmp dword [eax*4 + 0x1030d400]
movzx eax, byte [esi + 1]
mov edx, 1
test byte [eax + 0x103f85e0], dl
je 0x1030cedf
jmp 0x1030ced0
movzx ecx, byte [edx + esi + 1]
inc edx
test byte [ecx + 0x103f85e0], 1
jne 0x1030ced0
mov dword [edi], 0x95
mov eax, edx
pop edi
pop esi
pop ebx
ret
cmp byte [esi + 1], 0x2d
jne 0x1030cf1b
movzx eax, byte [esi + 2]
mov ecx, 2
test eax, eax
je 0x1030cf0f
mov edi, edi
cmp eax, 0xa
je 0x1030cf0f
movzx eax, byte [ecx + esi + 1]
inc ecx
test eax, eax
jne 0x1030cf00
mov dword [edi], 0x95
mov eax, ecx
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x57
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x16
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x17
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 1
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x56
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x58
mov eax, 1
pop edi
pop esi
pop ebx
ret
cmp byte [esi + 1], 0x2a
jne 0x1030cfb1
mov cl, byte [esi + 2]
test cl, cl
je 0x1030cfb1
mov eax, 3
movzx ecx, cl
lea ebx, [ebx]
cmp ecx, 0x2a
jne 0x1030cf9b
cmp byte [eax + esi], 0x2f
je 0x1030cfa6
movzx ecx, byte [eax + esi]
test ecx, ecx
je 0x1030cfa7
inc eax
jmp 0x1030cf90
inc eax
mov dword [edi], 0x95
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x59
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x5a
mov eax, 1
pop edi
pop esi
pop ebx
ret
xor eax, eax
mov dword [edi], 0x4c
cmp byte [esi + 1], 0x3d
pop edi
sete al
pop esi
inc eax
pop ebx
ret
movzx eax, byte [esi + 1]
cmp eax, 0x3d
jne 0x1030cffb
mov dword [edi], 0x4e
mov eax, 2
pop edi
pop esi
pop ebx
ret
cmp eax, 0x3e
jne 0x1030d00f
mov dword [edi], 0x4b
mov eax, 2
pop edi
pop esi
pop ebx
ret
cmp eax, 0x3c
jne 0x1030d023
mov dword [edi], 0x54
mov eax, 2
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x4f
mov eax, 1
pop edi
pop esi
pop ebx
ret
movzx eax, byte [esi + 1]
cmp eax, 0x3d
jne 0x1030d04a
mov dword [edi], 0x50
mov eax, 2
pop edi
pop esi
pop ebx
ret
cmp eax, 0x3e
jne 0x1030d05e
mov dword [edi], 0x55
mov eax, 2
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x4d
mov eax, 1
pop edi
pop esi
pop ebx
ret
cmp byte [esi + 1], 0x3d
mov eax, 2
je 0x1030d082
mov dword [edi], 0x94
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x4b
pop edi
pop esi
pop ebx
ret
cmp byte [esi + 1], 0x7c
je 0x1030d0a1
mov dword [edi], 0x53
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x5b
mov eax, 2
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x19
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x52
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov dword [edi], 0x5d
mov eax, 1
pop edi
pop esi
pop ebx
ret
movzx edx, byte [esi + 1]
mov ecx, 1
test edx, edx
je 0x1030d108
lea ebx, [ebx]
cmp edx, ebx
jne 0x1030d0fe
movzx eax, byte [esi + ecx + 1]
cmp eax, ebx
jne 0x1030d108
inc ecx
movzx edx, byte [ecx + esi + 1]
inc ecx
test edx, edx
jne 0x1030d0f0
cmp edx, 0x27
jne 0x1030d11a
mov dword [edi], 0x5e
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
ret
test edx, edx
je 0x1030d330
mov dword [edi], 0x1a
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
ret
movzx eax, byte [esi + 1]
test byte [eax + 0x103f85e0], 4
jne case.0x1030cead.48
mov dword [edi], 0x76
mov eax, 1
pop edi
pop esi
pop ebx
ret
xor edx, edx
mov dword [edi], 0x81
test byte [ebx + 0x103f85e0], 4
je 0x1030d16f
lea esp, [esp]
movzx eax, byte [edx + esi + 1]
inc edx
test byte [eax + 0x103f85e0], 4
jne 0x1030d160
cmp byte [edx + esi], 0x2e
jne 0x1030d1a5
movzx eax, byte [edx + esi + 1]
inc edx
test byte [eax + 0x103f85e0], 4
je 0x1030d19f
jmp 0x1030d190
movzx eax, byte [edx + esi + 1]
inc edx
test byte [eax + 0x103f85e0], 4
jne 0x1030d190
mov dword [edi], 0x82
mov al, byte [edx + esi]
cmp al, 0x65
je 0x1030d1b0
cmp al, 0x45
jne 0x1030d205
mov cl, byte [edx + esi + 1]
movzx eax, cl
test byte [eax + 0x103f85e0], 4
jne 0x1030d1d8
cmp cl, 0x2b
je 0x1030d1ca
cmp cl, 0x2d
jne 0x1030d205
movzx eax, byte [edx + esi + 2]
test byte [eax + 0x103f85e0], 4
je 0x1030d205
movzx eax, byte [edx + esi + 2]
add edx, 2
test byte [eax + 0x103f85e0], 4
je 0x1030d1ff
lea esp, [esp]
movzx eax, byte [edx + esi + 1]
inc edx
test byte [eax + 0x103f85e0], 4
jne 0x1030d1f0
mov dword [edi], 0x82
movzx eax, byte [edx + esi]
test byte [eax + 0x103f85e0], 0x46
je 0x1030d227
movzx ecx, byte [edx + esi + 1]
inc edx
mov dword [edi], 0x94
test byte [ecx + 0x103f85e0], 0x46
jne 0x1030d212
pop edi
pop esi
mov eax, edx
pop ebx
ret
mov eax, 1
cmp ebx, 0x5d
je 0x1030d245
movzx ebx, byte [eax + esi]
test ebx, ebx
je 0x1030d245
inc eax
cmp ebx, 0x5d
jne 0x1030d237
cmp ebx, 0x5d
mov ecx, 0x94
mov edx, 0x1a
cmove ecx, edx
mov dword [edi], ecx
pop edi
pop esi
pop ebx
ret
movzx eax, byte [esi + 1]
mov edx, 1
mov dword [edi], 0x85
test byte [eax + 0x103f85e0], 4
je 0x1030d227
movzx ecx, byte [edx + esi + 1]
inc edx
test byte [ecx + 0x103f85e0], 4
jne 0x1030d273
pop edi
pop esi
mov eax, edx
pop ebx
ret
movzx eax, byte [esi + 1]
mov edx, 1
test byte [eax + 0x103f85e0], 4
je case.0x1030cead.36
lea ebx, [ebx]
movzx ecx, byte [edx + esi + 1]
inc edx
test byte [ecx + 0x103f85e0], 4
jne 0x1030d2a0
cmp edx, 1
jle case.0x1030cead.36
mov dword [edi], 0x84
mov eax, edx
pop edi
pop esi
pop ebx
ret
movzx edx, byte [esi + 1]
xor ebx, ebx
mov dword [edi], 0x85
lea ecx, [ebx + 1]
test edx, edx
je 0x1030d330
movzx eax, dl
test byte [eax + 0x103f85e0], 0x46
je 0x1030d2e2
inc ebx
jmp 0x1030d2f3
cmp edx, 0x28
je 0x1030d2ff
cmp edx, 0x3a
jne 0x1030d32c
cmp byte [esi + ecx + 1], dl
jne 0x1030d32c
inc ecx
movzx edx, byte [ecx + esi + 1]
inc ecx
test edx, edx
jne 0x1030d2d3
jmp 0x1030d32c
test ebx, ebx
jle 0x1030d32e
movzx edx, byte [ecx + esi + 1]
inc ecx
test edx, edx
je 0x1030d31e
test byte [edx + 0x103f85e0], 1
jne 0x1030d31e
cmp edx, 0x29
jne 0x1030d303
inc ecx
jmp 0x1030d32c
cmp edx, 0x29
jne 0x1030d326
inc ecx
jmp 0x1030d32c
mov dword [edi], 0x94
test ebx, ebx
jne 0x1030d336
mov dword [edi], 0x94
pop edi
pop esi
mov eax, ecx
pop ebx
ret
cmp byte [esi + 1], 0x27
jne case.0x1030cead.11
movzx eax, byte [esi + 2]
mov ecx, 2
mov dword [edi], 0x83
test byte [eax + 0x103f85e0], 8
je 0x1030d36f
lea ebx, [ebx]
movzx eax, byte [ecx + esi + 1]
inc ecx
test byte [eax + 0x103f85e0], 8
jne 0x1030d360
mov dl, byte [ecx + esi]
cmp dl, 0x27
jne 0x1030d387
mov eax, ecx
and eax, 0x80000001
jns 0x1030d385
dec eax
or eax, 0xfffffffe
inc eax
je 0x1030d39f
mov dword [edi], 0x94
test dl, dl
je 0x1030d39f
cmp dl, 0x27
je 0x1030d39f
mov dl, byte [ecx + esi + 1]
inc ecx
test dl, dl
jne 0x1030d391
cmp byte [ecx + esi], 0
je 0x1030d3a6
inc ecx
pop edi
pop esi
mov eax, ecx
pop ebx
ret
test byte [ebx + 0x103f85e0], 0x46
jne 0x1030d3c4
mov dword [edi], 0x94
mov eax, 1
pop edi
pop esi
pop ebx
ret
movzx eax, byte [esi + 1]
mov ebx, 1
test byte [eax + 0x103f85e0], 0x46
je 0x1030d3ef
jmp 0x1030d3e0
movzx ecx, byte [ebx + esi + 1]
inc ebx
test byte [ecx + 0x103f85e0], 0x46
jne 0x1030d3e0
mov edx, ebx
mov ecx, esi
call fcn.1030cdb0
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret