Function at 0x534330
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
mov eax, dword [0x7d5e80]
test eax, eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 1
jne 0x534422
push 0x1f03
call dword [sym.imp.OPENGL32.dll_glGetString]
mov dword [esp + 0x18], eax
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x534360
sub eax, edx
push str.wglGetExtensionsStringARB
mov ebp, eax
mov edi, 0x5b45eb
xor ebx, ebx
call dword [sym.imp.OPENGL32.dll_wglGetProcAddress]
mov esi, eax
test esi, esi
je 0x53439c
call dword [sym.imp.OPENGL32.dll_wglGetCurrentDC]
push eax
call esi
mov edi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x534391
sub eax, edx
mov ebx, eax
lea eax, [ebx + ebp + 3]
push eax
call fcn.0055c86c
add esp, 4
test eax, eax
mov dword [0x7d5e80], eax
jne 0x5343d0
push 0xad
push str.Externglh_glh_extensions.h
push str.Error_allocating_memory_in_file__s__line__d_n
call fcn.0055ca30
add esp, 0xc
push 0xffffffffffffffff
call fcn.0055bb80
mov ecx, dword [esp + 0x18]
mov esi, eax
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x5343d8
mov ecx, edi
mov byte [eax + ebp], 0x20
mov byte [eax + ebp + 1], dl
mov esi, ecx
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5343f0
sub ecx, esi
mov edi, eax
mov edx, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x534400
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, ebx
add eax, ebp
rep movsb byte es:[edi], byte [esi]
mov byte [eax + 1], 0x20
mov byte [eax + 2], 0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x534437
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
push eax
call fcn.0055d8cc
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x534450
sub eax, edx
mov esi, eax
mov eax, dword [0x7d5e7c]
test eax, eax
jne 0x534472
add esi, 2
push esi
call fcn.0055c86c
add esp, 4
jmp 0x534491
mov ecx, eax
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x534477
sub ecx, ebx
cmp esi, ecx
jbe 0x534496
add esi, 2
push esi
push eax
call fcn.0055c87e
add esp, 8
mov dword [0x7d5e7c], eax
test eax, eax
jne 0x5344b8
push 0xbf
push str.Externglh_glh_extensions.h
push str.Error_allocating_memory_in_file__s__line__d_n
call fcn.0055ca30
add esp, 0xc
push 0xffffffffffffffff
call fcn.0055bb80
mov byte [eax], 0
mov ecx, edi
lea ecx, [ecx]
mov al, byte [ecx]
test al, al
mov ebx, ecx
je 0x5344dc
cmp al, 0x20
je 0x5344d4
cmp al, 9
je 0x5344d4
cmp al, 0xa
jne 0x5344dc
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x5344c8
mov al, byte [ebx]
test al, al
je 0x5345c5
test al, al
mov ebp, ebx
je 0x534507
lea esp, [esp]
mov al, byte [ebp]
cmp al, 0x20
je 0x534507
cmp al, 9
je 0x534507
cmp al, 0xa
je 0x534507
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x5344f0
mov cl, byte [ebp]
mov edx, dword [0x7d5e80]
push edx
mov byte [esp + 0x17], cl
mov byte [ebp], 0
call fcn.00534110
add esp, 4
test eax, eax
je 0x534532
push ebx
call fcn.0052f7c0
add esp, 4
test eax, eax
jne 0x53458d
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x534536
sub eax, edx
mov esi, edx
mov edx, dword [0x7d5e7c]
mov edi, edx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x534550
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec edx
rep movsb byte es:[edi], byte [esi]
mov edi, edx
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x534570
mov ax, word [0x5b547c]
mov word [edi], ax
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
mov cl, byte [esp + 0x13]
mov byte [ebp], cl
mov al, byte [ebx]
test al, al
mov ecx, ebx
je 0x5344c0
cmp al, 0x20
je 0x5344c0
cmp al, 9
je 0x5344c0
cmp al, 0xa
je 0x5344c0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x5345a0
jmp 0x5344c0
push edi
call fcn.0055a5bd
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret