Function at 0x481a7c
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebp
cmp byte [esi], 0
mov dword [esp + 0x18], edi
je 0x481d45
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x481d2d
push esi
call ebx
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x481d2d
xor edi, edi
test al, al
mov dword [esp + 0x2c], edi
je 0x481b08
cmp al, 0x23
jne 0x481ad6
add dword [esp + 0x10], 2
jmp 0x481af6
cmp al, 0x2a
jne 0x481ae6
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x2c], eax
jmp 0x481af6
cmp al, 0x2d
je 0x481af6
cmp al, 0x2b
je 0x481af6
cmp al, 0x30
je 0x481af6
cmp al, 0x20
jne 0x481b01
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x481acb
cmp dword [esp + 0x2c], 0
jne 0x481b2e
push esi
call fcn.0046d8c6
pop ecx
mov dword [esp + 0x2c], eax
mov al, byte [esi]
test al, al
je 0x481b2e
movsx eax, al
push eax
call fcn.004717c2
test eax, eax
pop ecx
je 0x481b2e
push esi
call ebx
mov esi, eax
jmp 0x481b13
and dword [esp + 0x18], 0
cmp byte [esi], 0x2e
jne 0x481b51
push esi
call ebx
mov esi, eax
cmp byte [esi], 0x2a
jne 0x481b75
mov eax, dword [ebp]
add ebp, 4
push esi
mov dword [esp + 0x1c], eax
call ebx
mov esi, eax
mov al, byte [esi]
and dword [esp + 0x14], 0
cmp al, 0x49
jne 0x481b9b
cmp byte [esi + 1], 0x36
jne 0x481b9b
cmp byte [esi + 2], 0x34
jne 0x481b9b
add esi, 3
mov dword [esp + 0x14], 0x40000
jmp 0x481bcd
push esi
call fcn.0046d8c6
pop ecx
mov dword [esp + 0x18], eax
mov al, byte [esi]
test al, al
je 0x481b51
movsx eax, al
push eax
call fcn.004717c2
test eax, eax
pop ecx
je 0x481b51
push esi
call ebx
mov esi, eax
jmp 0x481b80
movsx eax, al
sub eax, 0x46
je 0x481bc8
sub eax, 6
je 0x481bc8
dec eax
dec eax
je 0x481bc8
sub eax, 0x1a
je 0x481bc0
sub eax, 4
jne 0x481bcd
mov dword [esp + 0x14], 0x20000
jmp 0x481bc8
mov dword [esp + 0x14], 0x10000
push esi
call ebx
mov esi, eax
movsx eax, byte [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x481c71
je 0x481ca1
sub eax, 0x43
je 0x481ca1
push 0x10
pop ecx
sub eax, ecx
je 0x481c8e
sub eax, ecx
je 0x481ca1
sub eax, ecx
je 0x481ca9
sub eax, 0xffd0
je 0x481ca1
sub eax, ecx
je 0x481ca9
movsx eax, byte [esi]
cmp eax, 0x69
jg 0x481ceb
je 0x481d00
cmp eax, 0x45
je 0x481c5b
cmp eax, 0x47
je 0x481c5b
cmp eax, 0x58
je 0x481d00
cmp eax, 0x64
je 0x481d00
jle 0x481d23
cmp eax, 0x67
jg 0x481d23
push 0x51db58
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x481d23
sub eax, 0x10073
je 0x481ca9
sub eax, 0xffd0
je 0x481ca1
sub eax, 0x10
je 0x481c8e
sub eax, 0x10
je 0x481ca1
sub eax, 0x10
jne 0x481c1e
mov eax, dword [ebp]
add ebp, 4
test eax, eax
je 0x481cb3
push eax
call fcn.0046fc61
pop ecx
jmp 0x481cbf
push 2
add ebp, 4
pop edi
jmp 0x481cd1
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x481cb8
push 6
pop edi
jmp 0x481cd1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x481cc9
push 1
pop edi
test edi, edi
je 0x481c1e
cmp edi, dword [esp + 0x2c]
jg 0x481cdb
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481d23
cmp edi, eax
jl 0x481d23
mov edi, eax
jmp 0x481d23
sub eax, 0x6e
je 0x481d20
dec eax
je 0x481d00
dec eax
je 0x481d0c
sub eax, 5
je 0x481d00
sub eax, 3
jne 0x481d23
test byte [esp + 0x16], 4
je 0x481d0c
add ebp, 8
jmp 0x481d0f
add ebp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
add eax, ecx
pop edi
cmp eax, edi
jmp 0x481ce5
add ebp, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x481d36
push esi
call ebx
sub eax, esi
add dword [esp + 0x10], eax
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x481aa9
pop ebx
push dword [esp + 0xc]
mov ecx, edi
call fcn.00481d79
test eax, eax
je 0x481d70
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [edi]
call dword [sym.imp.USER32.dll_wvsprintfA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00481de0
push 1
pop eax
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8