Function at 0x64668e84
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
call sub.KERNEL32.dll_GetCommandLineA
mov esi, eax
xor eax, eax
mov ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0xc], 0x647f9098
mov dword [esp + 8], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 4], 0x53
mov dword [esp], ecx
mov dword [esp + 0x20], ecx
call sym.allegro_5.0.10_monolith_mt.dll_al_malloc_with_context
mov ebp, eax
mov ecx, dword [esp + 0x20]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0xc], 0x647f9098
mov dword [esp + 8], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 4], 0x58
mov dword [esp], 0x100
call sym.allegro_5.0.10_monolith_mt.dll_al_malloc_with_context
mov dword [esp + 0x28], eax
test eax, eax
je 0x64669114
movsx ecx, byte [ebp]
xor ebx, ebx
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x24], 0
mov esi, ebp
mov edi, dword [0x648a0904]
jmp 0x64668f40
mov edx, dword [0x648a0928]
mov eax, dword [edx]
mov ax, word [eax + ecx*2]
and eax, 8
movzx eax, ax
test eax, eax
je 0x64668f61
inc ebx
lea esi, [ebp + ebx]
movsx ecx, byte [ebp + ebx]
test cl, cl
je 0x64669008
cmp dword [edi], 1
je 0x64668f20
mov dword [esp + 4], 8
mov dword [esp], ecx
call fcn.647d43dc
test eax, eax
jne 0x64668f36
movsx edx, byte [esi]
test dl, dl
je 0x64668f3b
cmp dl, 0x27
je 0x64669091
cmp dl, 0x22
je 0x64669091
xor edx, edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [eax + ecx*4], esi
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jge 0x646690a4
movsx eax, byte [esi]
test al, al
je 0x64669008
test edx, edx
jne 0x64669085
jmp 0x64668fd0
mov ecx, dword [0x648a0928]
mov edx, dword [ecx]
mov ax, word [edx + eax*2]
and eax, 8
movzx eax, ax
test eax, eax
jne 0x64668fe9
inc ebx
lea esi, [ebp + ebx]
movsx eax, byte [ebp + ebx]
test al, al
je 0x64669008
cmp dword [edi], 1
je 0x64668fac
mov dword [esp + 4], 8
mov dword [esp], eax
call fcn.647d43dc
test eax, eax
je 0x64668fc2
mov al, byte [esi]
test al, al
je 0x64668f3b
mov byte [esi], 0
inc ebx
movsx ecx, byte [ebp + ebx]
lea esi, [ebp + ebx]
test cl, cl
jne 0x64668f48
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [eax + ecx*4], 0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [esp + 0x50]
mov dword [esp + 0xc], 0x647f9098
mov dword [esp + 8], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 4], 0x88
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 0x20], eax
call sym.allegro_5.0.10_monolith_mt.dll_al_free_with_context
mov dword [esp + 0xc], 0x647f9098
mov dword [esp + 8], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 4], 0x89
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_al_free_with_context
mov eax, dword [esp + 0x20]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
inc ebx
lea esi, [ebp + ebx]
mov al, byte [ebp + ebx]
test al, al
je 0x64669008
movsx ecx, al
cmp ecx, edx
jne 0x64669078
jmp 0x64668feb
inc ebx
lea esi, [ebp + ebx]
cmp byte [esi], 0
jne 0x64668f7c
jmp 0x64669008
add eax, 0x40
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x647f9098
mov dword [esp + 0xc], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 8], 0x72
shl eax, 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 0x20], edx
call sym.allegro_5.0.10_monolith_mt.dll_al_realloc_with_context
mov dword [esp + 0x28], eax
test eax, eax
mov edx, dword [esp + 0x20]
jne 0x64668f98
mov dword [esp + 0xc], 0x647f9098
mov dword [esp + 8], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 4], 0x74
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_al_free_with_context
mov eax, 1
jmp 0x6466906e
mov dword [esp + 0xc], 0x647f9098
mov dword [esp + 8], str.d:Libraries_build_allegro_src_allegro_git_allegro_git_srcwinwsystem.c
mov dword [esp + 4], 0x5a
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_al_free_with_context
mov eax, 1
jmp 0x6466906e