Function at 0x40b7e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x28]
push edi
mov word [ebp - 0x10], ax
xor esi, esi
xor eax, eax
mov dword [ebp - 8], esi
push 0x64
mov word [ebp - 0xe], ax
call fcn.00407c18
mov ecx, dword [ebp + 0x10]
call fcn.00405fc0
mov ebx, dword [ebp + 0xc]
cmp word [ebx], si
je 0x40ba28
lea esp, [esp]
movzx eax, word [ebx + esi*2]
cmp eax, 0x20
je 0x40b929
cmp eax, 9
je 0x40b929
movzx eax, word [ebx + esi*2]
mov dword [ebp - 8], esi
test ax, ax
je 0x40ba28
mov edi, eax
mov word [ebp - 0xe], si
mov dword [ebp - 0xc], eax
cmp edi, 0x30
jae 0x40b8c1
cmp edi, 0x2e
je 0x40b8c6
cmp edi, 0x41
jae 0x40b92f
cmp edi, 0x61
jae 0x40ba5f
cmp edi, 0x5f
je 0x40ba68
mov eax, edi
cmp eax, 0x24
je case.0x40b89b.64
cmp eax, 0x3d
je 0x40ba98
sub eax, 0x1a
cmp eax, 0x44
ja case.0x40b89b.27
movzx eax, byte [eax + 0x40bd58]
jmp dword [eax*4 + 0x40bd0c]
push 0x4f
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
cmp edi, 0x39
ja 0x40b854
mov eax, dword [ebp + 0x10]
mov esi, 0x40
mov ecx, dword [eax + 8]
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x40b8e3
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4 - 4]
movzx esi, word [eax + 8]
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 8]
call fcn.00404df1
add esp, 0xc
cmp al, 1
jne 0x40bc88
cmp si, 0x4a
mov esi, dword [ebp - 8]
jne 0x40ba11
mov ecx, dword [ebp + 0x10]
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 0x40ba11
inc esi
jmp 0x40b820
cmp edi, 0x5a
ja 0x40b862
jmp 0x40ba68
push dword [ebp + 0x10]
call fcn.0040b79d
test eax, eax
js 0x4503c5
xor eax, eax
lea ecx, [ebp - 0x18]
cmp word [ebp - 0xc], 0x24
sete al
add eax, 0x32
push eax
call fcn.0040bef7
inc esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 8], esi
call fcn.0040bfbf
movzx edi, word [ebx + esi*2]
cmp di, 0x5a
jbe 0x40b9cc
cmp di, 0x61
jb 0x40b9d4
cmp di, 0x7a
ja 0x40b9d4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
cmp edx, 1
jg 0x450320
xor al, al
test al, al
jne 0x450327
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
inc eax
push eax
call fcn.0040be83
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
mov word [ecx + eax*2], di
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x24], ecx
inc esi
mov word [eax + ecx*2], dx
jmp 0x40b96f
cmp di, 0x41
jae 0x40b985
jmp 0x40b979
cmp di, 0x30
jae 0x40ba89
cmp di, 0x5f
je 0x40b985
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], esi
je 0x40bd03
lea ecx, [ebp - 0x28]
call fcn.0040c7c9
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bf6f
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
cmp word [ebx + esi*2], 0
jne 0x40b820
push 0x7f
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0xe], si
call fcn.0040bd9d
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.0040b1ff
lea ecx, [ebp - 0x18]
call fcn.0041d6ea
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0x7a
ja 0x40b86b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.004050f7
cmp dword [ebp - 0x18], 0xffffffff
je 0x450395
mov esi, dword [ebp - 8]
jmp 0x40ba11
cmp di, 0x39
ja 0x40b9de
jmp 0x40b985
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
je 0x450312
mov eax, 0x41
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bef7
jmp 0x40ba11
push 0x4e
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
push 0x47
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
push 0x48
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
push 0x40
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
call fcn.0040507f
lea ecx, [ebp - 0x18]
test eax, eax
js 0x4503b0
push 0x36
call fcn.0040bef7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bf6f
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
mov esi, dword [ebp - 8]
jmp 0x40ba1d
push 0x4d
lea ecx, [ebp - 0x18]
call fcn.0040bef7
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
jne 0x40ba11
push 0x56
jmp 0x40bbb1
push 0x49
lea ecx, [ebp - 0x18]
call fcn.0040bef7
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
jne 0x40ba11
push 0x52
inc esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], esi
call fcn.0040bef7
jmp 0x40ba11
push 0x4c
lea ecx, [ebp - 0x18]
call fcn.0040bef7
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
jne 0x40ba11
inc esi
lea ecx, [ebp - 0x18]
push 0x55
mov dword [ebp - 8], esi
call fcn.0040bef7
jmp 0x40ba11
push 0x4b
lea ecx, [ebp - 0x18]
call fcn.0040bef7
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
jne 0x40ba11
jmp 0x450280
push 0x4a
lea ecx, [ebp - 0x18]
call fcn.0040bef7
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
jne 0x40ba11
jmp 0x450279
inc esi
mov dword [ebp - 8], esi
cmp word [ebx + esi*2], 0x3d
je 0x40bc72
mov eax, 0x42
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bef7
jmp 0x40ba11
movzx eax, word [ebx + esi*2 + 2]
inc esi
mov dword [ebp - 8], esi
sub eax, 0x3d
je 0x40bcf4
sub eax, 1
je 0x40bc7d
mov eax, 0x43
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bef7
jmp 0x40ba11
inc esi
mov eax, 0x45
mov dword [ebp - 8], esi
jmp 0x40bc3a
mov eax, 0x44
inc esi
mov dword [ebp - 8], esi
jmp 0x40bc64
mov esi, dword [ebp - 8]
cmp edi, 0x2e
jne 0x40b859
inc esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 8], esi
call fcn.0040bfbf
movzx eax, word [ebx + esi*2]
cmp ax, 0x5a
jbe 0x40bcc2
cmp ax, 0x61
jb 0x40bcca
cmp ax, 0x7a
ja 0x40bcca
push eax
lea ecx, [ebp - 0x28]
call fcn.004051ec
inc esi
jmp 0x40bca0
cmp ax, 0x41
jae 0x40bcb6
jmp 0x40bcaa
cmp ax, 0x30
jae 0x40bcfb
cmp ax, 0x5f
je 0x40bcb6
cmp ax, 0x7f
ja 0x40bcb6
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], esi
je 0x40bd03
push 0x35
lea ecx, [ebp - 0x18]
call fcn.0040bef7
jmp 0x40ba05
mov eax, 0x46
jmp 0x40bc82
cmp ax, 0x39
jbe 0x40bcb6
jmp 0x40bcd0
lea eax, [esi - 1]
push eax
jmp 0x4503c6
push 0x53
jmp 0x40bbb1
push 0x54
jmp 0x40bbb1
push 0x51
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
push 0x57
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
push 0x58
lea ecx, [ebp - 0x18]
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
inc esi
mov dword [ebp - 8], esi
jmp 0x40ba1d
test esi, esi
jne case.0x40b89b.27
cmp word [ebx + 2], si
jne case.0x40b89b.27
mov eax, dword [ebp + 8]
cmp eax, dword [0x4d23a0]
jl case.0x40b89b.27
mov esi, 1
mov dword [ebp - 8], esi
jmp 0x40ba1d
inc esi
mov eax, 0x50
mov dword [ebp - 8], esi
jmp 0x40baac
mov al, 1
jmp 0x40b995
lea eax, [edx - 1]
push 4
mov dword [ecx], eax
call fcn.0041fd5b
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add eax, 2
jne 0x45034e
mov eax, 8
jmp 0x450354
add eax, 7
and eax, 0xfffffff8
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fd8b
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp + 0xc], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
push eax
call fcn.00420db0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x28], ecx
jmp 0x40b9b2
push dword [ebp - 8]
push 0x138c
jmp 0x4503cb
push esi
push 0x1388
push dword [ebp + 8]
call fcn.00469600
lea ecx, [ebp - 0x18]
push 0x7f
call fcn.0040bef7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bd9d
jmp 0x4503d3
push esi
push 0x138b
push dword [ebp + 8]
call fcn.00469600
or esi, 0xffffffff
jmp 0x40ba44