Function at 0x40b4b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
push edi
mov word [ebp - 0x18], ax
xor edi, edi
xor eax, eax
mov dword [ebp - 8], edi
push 0x64
mov word [ebp - 0x16], ax
call fcn.00407a14
mov ecx, dword [ebp + 0x10]
call fcn.00405c10
mov ebx, dword [ebp + 0xc]
cmp word [ebx], di
je 0x40b5f2
lea esp, [esp]
movzx eax, word [ebx + edi*2]
cmp eax, 0x20
je 0x40b631
cmp eax, 9
je 0x40b631
movzx eax, word [ebx + edi*2]
mov dword [ebp - 8], edi
test ax, ax
je 0x40b5f2
mov esi, eax
mov word [ebp - 0x16], di
mov dword [ebp - 0x10], eax
cmp esi, 0x30
jae 0x40b58e
cmp esi, 0x2e
je 0x40b593
cmp esi, 0x41
jae 0x40b637
cmp esi, 0x61
jae 0x40b731
cmp esi, 0x5f
je 0x40b73a
mov eax, esi
cmp eax, 0x24
je case.0x40b56b.64
cmp eax, 0x3d
je 0x40b766
sub eax, 0x1a
cmp eax, 0x44
ja case.0x40b56b.27
movzx eax, byte [eax + 0x40baf8]
jmp dword [eax*4 + 0x40baac]
push 0x4f
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
cmp esi, 0x39
ja 0x40b524
mov eax, dword [ebp + 0x10]
mov edi, 0x40
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x40b5b0
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4 - 4]
movzx edi, word [eax + 8]
push edi
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 8]
call fcn.00408eea
add esp, 0xc
cmp al, 1
jne 0x40ba09
cmp di, 0x4a
je 0x40b9ae
mov edi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
cmp word [ebx + edi*2], 0
jne 0x40b4f0
push 0x7f
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
mov word [ebp - 0x16], di
call fcn.0040bb3d
xor esi, esi
lea ecx, [ebp - 0x30]
call fcn.0040bd2c
mov eax, dword [ebp - 0x18]
add eax, 0xffffffd0
cmp ax, 0xf
jbe 0x450cdc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc edi
jmp 0x40b4f0
cmp esi, 0x5a
ja 0x40b532
jmp 0x40b73a
push dword [ebp + 0x10]
call fcn.0040b462
test eax, eax
js 0x450cc6
xor eax, eax
lea ecx, [ebp - 0x20]
cmp word [ebp - 0x10], 0x24
sete al
add eax, 0x32
push eax
call fcn.0040bc23
inc edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 8], edi
call fcn.0040bceb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
movzx ebx, word [ebx + edi*2]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
lea ecx, [ecx]
cmp bx, 0x5a
jbe 0x40b6de
cmp bx, 0x61
jb 0x40b6e6
cmp bx, 0x7a
ja 0x40b6e6
mov edx, dword [ecx]
cmp edx, 1
jg 0x450b7b
xor cl, cl
test cl, cl
jne 0x450b82
lea ecx, [esi + 2]
cmp dword [ebp - 8], ecx
jb 0x40b8e6
mov ecx, dword [ebp - 0x30]
mov word [ecx + esi*2], bx
xor edx, edx
inc esi
inc edi
mov dword [ebp - 0x2c], esi
mov word [ecx + esi*2], dx
movzx ebx, word [eax + edi*2]
mov ecx, dword [ebp - 0xc]
jmp 0x40b690
cmp bx, 0x41
jae 0x40b6a2
jmp 0x40b696
cmp bx, 0x30
jae 0x40b75b
cmp bx, 0x5f
je 0x40b6a2
mov dword [ebp - 8], edi
test esi, esi
je 0x40baa3
lea ecx, [ebp - 0x30]
call fcn.0040c269
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bc9b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
mov ebx, dword [ebp + 0xc]
jmp 0x40b5e7
cmp esi, 0x7a
ja 0x40b53b
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.00407b8f
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40b5d8
jmp 0x450c96
cmp bx, 0x39
ja 0x40b6ec
jmp 0x40b6a2
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
je 0x450b71
mov eax, 0x41
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
jmp 0x40b5e7
push 0x4e
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
push 0x47
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
push 0x48
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
push 0x40
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
call fcn.004091c7
lea ecx, [ebp - 0x20]
test eax, eax
js 0x450cb1
push 0x36
call fcn.0040bc23
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bc9b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
mov edi, dword [ebp - 8]
jmp 0x40b5e7
push 0x4d
lea ecx, [ebp - 0x20]
call fcn.0040bc23
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x40b5db
push 0x56
jmp 0x40b88b
push 0x49
lea ecx, [ebp - 0x20]
call fcn.0040bc23
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x40b5db
push 0x52
inc edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], edi
call fcn.0040bc23
jmp 0x40b5db
push 0x4c
lea ecx, [ebp - 0x20]
call fcn.0040bc23
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x40b5db
inc edi
lea ecx, [ebp - 0x20]
push 0x55
mov dword [ebp - 8], edi
call fcn.0040bc23
jmp 0x40b5db
push 0x4b
lea ecx, [ebp - 0x20]
call fcn.0040bc23
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x40b5db
jmp 0x450adf
cmp ecx, 0x41c2
jae 0x450bfa
add ecx, ecx
test ecx, ecx
je 0x450c8c
lea eax, [ecx + 7]
and eax, 0xfffffff8
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042019b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
test eax, eax
je 0x40b94d
lea ecx, [esi*2 + 2]
push ecx
push eax
push edx
call fcn.004211b0
add esp, 0xc
push dword [ebp - 0x30]
call fcn.004201a4
mov edx, dword [ebp - 0x10]
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, edx
mov dword [ebp - 0x30], ecx
jmp 0x40b6c6
push 0x4a
lea ecx, [ebp - 0x20]
call fcn.0040bc23
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x40b5db
jmp 0x450ad8
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
je 0x40b9ed
mov eax, 0x42
jmp 0x40b77a
movzx eax, word [ebx + edi*2 + 2]
inc edi
mov dword [ebp - 8], edi
sub eax, 0x3d
je 0x40ba8d
sub eax, 1
je 0x40b9fb
mov eax, 0x43
jmp 0x40b77a
mov ax, word [ebp - 0x18]
cmp ax, 5
jne 0x450ac9
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
neg ecx
mov edi, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
adc eax, 0
mov ecx, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, 0x49
mov word [eax + 8], cx
jmp 0x40b5db
mov eax, 0x45
inc edi
mov dword [ebp - 8], edi
jmp 0x40b77a
inc edi
mov eax, 0x44
mov dword [ebp - 8], edi
jmp 0x40b77a
mov edi, dword [ebp - 8]
cmp esi, 0x2e
jne 0x40b529
inc edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 8], edi
call fcn.0040bceb
movzx eax, word [ebx + edi*2]
cmp ax, 0x5a
jbe 0x40ba43
cmp ax, 0x61
jb 0x40ba4b
cmp ax, 0x7a
ja 0x40ba4b
push eax
lea ecx, [ebp - 0x30]
call fcn.0040acc0
inc edi
jmp 0x40ba21
cmp ax, 0x41
jae 0x40ba37
jmp 0x40ba2b
cmp ax, 0x30
jae 0x40ba9b
cmp ax, 0x5f
je 0x40ba37
cmp ax, 0x7f
ja 0x40ba37
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 8], edi
je 0x40baa3
push 0x35
lea ecx, [ebp - 0x20]
call fcn.0040bc23
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bc9b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
jmp 0x40b5e7
inc edi
mov eax, 0x46
mov dword [ebp - 8], edi
jmp 0x40b77a
cmp ax, 0x39
jbe 0x40ba37
jmp 0x40ba51
lea eax, [edi - 1]
push eax
jmp 0x450cc7
cmp ax, 0x10
jne 0x40b5d8
jmp 0x40b9bc
push 0x53
jmp 0x40b88b
push 0x54
jmp 0x40b88b
push 0x51
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
push 0x57
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
push 0x58
lea ecx, [ebp - 0x20]
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
inc edi
mov dword [ebp - 8], edi
jmp 0x40b5e7
test edi, edi
jne case.0x40b56b.27
cmp word [ebx + 2], di
jne case.0x40b56b.27
mov eax, dword [ebp + 8]
cmp eax, dword [0x4d33a0]
jl case.0x40b56b.27
mov edi, 1
mov dword [ebp - 8], edi
jmp 0x40b5e7
mov eax, 0x50
jmp 0x40b9f2
mov cl, 1
jmp 0x40b6af
mov ecx, dword [ebp - 0xc]
lea eax, [edx - 1]
push 4
mov dword [ecx], eax
call fcn.0042016b
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], ecx
mov dword [ecx], 1
add esi, 2
jne 0x450bac
lea eax, [esi + 8]
jmp 0x450bb2
lea eax, [esi + 7]
and eax, 0xfffffff8
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042019b
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x30]
push esi
call fcn.004211b0
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov esi, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x30], ecx
jmp 0x40b6c6
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
test ecx, ecx
jns 0x450c0a
fadd qword [0x4c91e0]
cmp ecx, 0x2000000
jae 0x450c38
fmul qword [0x4c43c8]
fnstcw word [ebp - 6]
movzx eax, word [ebp - 6]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
fldcw word [ebp - 6]
jmp 0x40b8f4
cmp ecx, 0x8000000
jae 0x450c66
fmul qword [0x4c43c0]
fnstcw word [ebp - 6]
movzx eax, word [ebp - 6]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
fldcw word [ebp - 6]
jmp 0x40b8f4
fmul qword [0x4c43b8]
fnstcw word [ebp - 6]
movzx eax, word [ebp - 6]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
fldcw word [ebp - 6]
jmp 0x40b8f4
mov eax, 8
jmp 0x40b902
push dword [ebp - 8]
push 0x138c
jmp 0x450ccc
push edi
push 0x1388
push dword [ebp + 8]
call fcn.00469f71
lea ecx, [ebp - 0x20]
push 0x7f
call fcn.0040bc23
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0040bb3d
jmp 0x450cd4
push edi
push 0x138b
push dword [ebp + 8]
call fcn.00469f71
or esi, 0xffffffff
jmp 0x40b60e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40b626
push ecx
call fcn.0041e631
jmp 0x40b626