Function at 0x4803b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
and esi, 0x80
test edx, edx
je 0x480860
test ebx, ebx
je 0x4807f0
cmp dword [esp + 0x64], 0xa
ja case.default.0x4807ff
mov eax, dword [esp + 0x64]
jmp dword [eax*4 + 0x5da5d8]
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x18], 0
add eax, 0x24
mov dword [esp + 0x20], eax
lea esi, [esi]
mov dword [esp], ebx
call sym._strlen
cmp eax, 0x7a1200
jbe 0x480740
mov eax, 3
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x18], 0
add eax, 0x14
mov dword [esp + 0x20], eax
jmp 0x480410
mov dword [esp + 8], 0x29
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._Curl_is_absolute_url
test al, al
jne 0x480810
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym._curl_url_get
test eax, eax
jne 0x480810
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [0x5bcc24]
test eax, eax
mov edi, eax
mov dword [esp + 0x20], eax
je 0x480a48
mov dword [esp + 4], 0x5da4a0
mov dword [esp], eax
call sym._strstr
movzx esi, byte [ebx]
lea edx, [eax + 2]
test eax, eax
cmove edx, edi
mov dword [esp + 0x18], edx
mov eax, esi
cmp al, 0x2f
je 0x480d21
mov dword [esp + 4], 0x3f
mov dword [esp], edx
call sym._strchr
test eax, eax
je 0x4804fa
mov byte [eax], 0
movzx esi, byte [ebx]
mov eax, esi
cmp al, 0x3f
je 0x48051e
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sym._strrchr
test eax, eax
je 0x48051e
mov byte [eax], 0
movzx esi, byte [ebx]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sym._strchr
lea edx, [eax + 1]
test eax, eax
mov eax, 0
cmovne eax, edx
mov dword [esp + 0x18], eax
mov eax, esi
cmp al, 0x2e
je 0x480d8f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x1c]
movzx eax, byte [esi]
test al, al
je 0x480b9e
mov ebp, 1
xor edi, edi
jmp 0x480599
cmp al, 0x3f
mov ecx, 0
cmove ebp, ecx
call sym._urlchar_needs_escaping
lea edx, [edi + 2]
test al, al
cmovne edi, edx
add edi, 1
add esi, 1
movzx eax, byte [esi]
test al, al
je 0x480ba0
cmp esi, ebx
jb 0x480588
cmp al, 0x20
jne 0x480571
lea eax, [edi + 3]
mov ecx, ebp
add edi, 1
test cl, cl
cmovne edi, eax
jmp 0x48058b
mov dword [esp], ebx
call sym._strlen
cmp eax, 0x28
ja 0x480423
test byte [esp + 0x6c], 8
je 0x480cd6
mov edx, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x20], edx
jmp 0x4806d3
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x18], 0
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x480410
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x18], 0
add eax, 8
mov dword [esp + 0x20], eax
jmp 0x480410
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x18], 0
add eax, 0xc
mov dword [esp + 0x20], eax
jmp 0x480410
mov eax, dword [esp + 0x60]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call dword [0x5bcc2c]
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x18], 0
mov dword [eax + 0x14], 0
jmp 0x480410
lea eax, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._strtol
lea edx, [eax - 1]
mov edi, eax
mov eax, 4
cmp edx, 0xfffe
ja 0x480428
mov edx, dword [esp + 0x3c]
mov eax, 3
cmp byte [edx], 0
jne 0x480428
mov eax, dword [esp + 0x60]
mov dword [esp], ebx
add eax, 0x18
mov dword [esp + 0x20], eax
call sym._strlen
cmp eax, 0x7a1200
ja 0x480423
mov byte [esp + 0x1c], 0
jmp 0x480872
mov eax, dword [esp + 0x60]
mov byte [esp + 0x1c], 0
mov byte [esp + 0x24], 1
mov byte [esp + 0x18], 0
add eax, 0x1c
mov dword [esp + 0x20], eax
jmp 0x480410
mov eax, dword [esp + 0x6c]
test esi, esi
mov byte [esp + 0x24], 0
setne byte [esp + 0x18]
shr eax, 8
and eax, 1
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x60]
add eax, 0x20
mov dword [esp + 0x20], eax
jmp 0x480410
test esi, esi
je 0x480870
lea eax, [eax + eax*2 + 1]
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov dword [esp + 0x28], eax
je 0x480a55
cmp byte [esp + 0x18], 0
jne 0x480900
movzx eax, byte [ebx]
test al, al
je 0x480e6c
mov byte [esp + 0x2f], 0
mov esi, dword [esp + 0x28]
mov ebp, ebx
mov dword [esp + 0x68], ebx
movzx edi, byte [esp + 0x1c]
mov ebx, esi
mov esi, ebp
jmp 0x4807b1
movzx eax, byte [esi]
mov ecx, 0
cmp al, 0x3d
cmove edi, ecx
mov byte [ebx], al
add ebx, 1
add esi, 1
movzx eax, byte [esi]
test al, al
je 0x480b60
mov dword [esp], eax
call sym._Curl_isunreserved
test al, al
jne 0x480791
movzx eax, byte [esi]
cmp al, 0x2f
je 0x480b20
cmp al, 0x3d
je 0x480b50
cmp al, 0x2b
jne 0x480b2b
cmp byte [esp + 0x18], 0
je 0x480b2b
mov eax, 0x2b
jmp 0x48079e
cmp dword [esp + 0x64], 0xa
ja case.default.0x4807ff
mov eax, dword [esp + 0x64]
jmp dword [eax*4 + 0x5da604]
mov dword [esp + 4], 1
mov dword [esp], 0x34
call dword [0x5bcc20]
test eax, eax
mov esi, eax
je 0x480a55
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov eax, ebx
call sym._seturl
test eax, eax
mov ebx, eax
jne 0x480b80
mov edx, dword [esp + 0x60]
mov eax, esi
call sym._mv_urlhandle
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
mov dword [esp], ebx
call dword [0x5bcc24]
test eax, eax
mov dword [esp + 0x28], eax
mov ebx, eax
jne 0x480893
jmp 0x480a55
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x480960
cmp al, 0x25
jne 0x480890
movzx eax, byte [ebx + 1]
mov dword [esp], eax
call sym._Curl_isxdigit
test eax, eax
je 0x480890
movzx eax, byte [ebx + 2]
mov dword [esp], eax
call sym._Curl_isxdigit
test eax, eax
je 0x480890
movzx eax, byte [ebx + 1]
mov dword [esp], eax
call sym._Curl_isupper
test eax, eax
je 0x480e0c
movzx eax, byte [ebx + 1]
add ebx, 3
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_tolower]
mov byte [ebx - 2], al
movzx eax, byte [ebx - 1]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_tolower]
mov byte [ebx - 1], al
jmp 0x480893
movzx eax, byte [ebx]
mov edx, dword [esp + 0x28]
test al, al
je 0x480925
mov ecx, 0x2b
cmp al, 0x20
cmove eax, ecx
add ebx, 1
add edx, 1
mov byte [edx - 1], al
movzx eax, byte [ebx]
test al, al
jne 0x480910
mov eax, dword [esp + 0x28]
mov byte [edx], 0
mov dword [esp], eax
call dword [0x5bcc24]
test eax, eax
mov ebx, eax
je 0x4809b6
movzx eax, byte [eax]
mov byte [esp + 0x2f], 1
test al, al
jne 0x48077c
mov eax, dword [esp + 0x28]
mov byte [eax], 0
xor edi, edi
mov dword [esp], ebx
call dword [0x5bcc2c]
lea esi, [esi]
cmp byte [esp + 0x1c], 0
je 0x4809d0
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4809d0
mov dword [esp], edx
mov dword [esp + 0x18], edx
call sym._strlen
test eax, eax
mov ebx, eax
je 0x4809d0
mov edx, dword [esp + 0x18]
cmp byte [edx + eax - 1], 0x26
je 0x480e81
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._strlen
lea eax, [ebx + eax + 2]
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov edi, eax
jne 0x480c80
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [0x5bcc2c]
mov eax, 7
jmp 0x480428
cmp dword [esp + 0x64], 5
jne 0x480a10
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
jne 0x4809ea
test dword [esp + 0x6c], 0x400
jne 0x480a10
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
add eax, 0x14
mov edx, esi
call sym._hostname_check.isra.1
test eax, eax
je 0x480a10
mov dword [esp], esi
call dword [0x5bcc2c]
jmp 0x480423
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp], eax
call dword [0x5bcc2c]
mov ecx, dword [esp + 0x28]
test edi, edi
mov dword [esi], ecx
je case.0x4807ff.0
mov eax, dword [esp + 0x60]
mov dword [eax + 0x30], edi
xor eax, eax
jmp 0x480428
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [0x5bcc2c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [0x5bcc2c]
mov eax, 7
jmp 0x480428
mov eax, dword [esp + 0x60]
lea ebx, [eax + 0x24]
mov esi, esi
lea edi, [edi]
mov eax, dword [ebx]
test eax, eax
je case.0x4807ff.0
mov dword [esp], eax
call dword [0x5bcc2c]
mov dword [ebx], 0
xor eax, eax
jmp 0x480428
mov ebx, dword [esp + 0x60]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 0x14]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 0x10]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 0xc]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 8]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 4]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 0x1c]
jmp 0x480a70
mov eax, dword [esp + 0x60]
mov dword [eax + 0x30], 0
lea ebx, [eax + 0x18]
jmp 0x480a70
mov eax, dword [esp + 0x60]
lea ebx, [eax + 0x20]
jmp 0x480a70
cmp byte [esp + 0x24], 0
jne 0x48079e
mov dword [esp], ebx
mov dword [esp + 0xc], eax
add ebx, 3
mov dword [esp + 8], str.___02x
mov dword [esp + 4], 4
call sym._curl_msnprintf
jmp 0x4807a3
mov ecx, edi
test cl, cl
je 0x480b2b
xor edi, edi
jmp 0x48079e
xor edi, edi
cmp byte [esp + 0x2f], 0
mov esi, ebx
mov byte [esi], 0
mov ebx, ebp
je 0x480960
jmp 0x480952
mov eax, esi
call sym._parseurl.part.2
mov eax, esi
call sym._free_urlhandle
mov dword [esp], esi
call dword [0x5bcc2c]
mov eax, ebx
jmp 0x480428
xor edi, edi
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._strlen
mov ebp, eax
mov esi, eax
lea eax, [edi + eax + 2]
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov ebx, eax
je 0x480a3b
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax]
cmp al, 0x2f
je 0x480bfe
mov edx, dword [esp + 0x18]
test edx, edx
je 0x480bf3
cmp byte [edx], 0
je 0x480bfe
cmp al, 0x3f
je 0x480bfe
lea esi, [ebp + 1]
mov byte [ebx + ebp], 0x2f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + esi]
call sym._strcpy_url
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [0x5bcc2c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [0x5bcc2c]
mov dword [esp + 4], 1
mov dword [esp], 0x34
call dword [0x5bcc20]
test eax, eax
mov esi, eax
je 0x480e25
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov eax, ebx
call sym._seturl
test eax, eax
mov edi, eax
jne 0x480cfa
mov dword [esp], ebx
call dword [0x5bcc2c]
jmp 0x480846
mov eax, 9
jmp 0x480428
mov eax, dword [esp + 0x60]
lea edx, [ebx + 1]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._strcpy
mov edx, dword [esp + 0x18]
mov byte [edi + ebx], 0x26
mov esi, dword [esp + 0x28]
lea eax, [edi + edx]
mov dword [esp], eax
mov dword [esp + 4], esi
call sym._strcpy
mov dword [esp], esi
call dword [0x5bcc2c]
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp], eax
call dword [0x5bcc2c]
mov dword [esi], edi
xor eax, eax
jmp 0x480428
mov dword [esp], ebx
call sym._Curl_builtin_scheme
mov edx, eax
mov eax, 5
test edx, edx
je 0x480428
mov dword [esp], ebx
call sym._strlen
jmp 0x4805cc
mov eax, esi
call sym._parseurl.part.2
mov dword [esp], ebx
call dword [0x5bcc2c]
mov eax, esi
call sym._free_urlhandle
mov dword [esp], esi
call dword [0x5bcc2c]
mov eax, edi
jmp 0x480428
cmp byte [ebx + 1], 0x2f
je 0x480d6d
mov edi, dword [esp + 0x18]
mov dword [esp + 4], 0x2f
mov dword [esp], edi
call sym._strchr
test eax, eax
mov esi, eax
mov dword [esp + 4], 0x3f
je 0x480e53
mov dword [esp], edi
call sym._strchr
test eax, eax
je 0x480e38
cmp esi, eax
jbe 0x480e38
mov byte [eax], 0
jmp 0x48054d
mov eax, dword [esp + 0x18]
mov byte [eax], 0
lea eax, [ebx + 2]
mov dword [esp + 0x1c], eax
call sym._find_host_sep
mov dword [esp + 0x24], 0
mov ebx, eax
jmp 0x480559
movzx eax, byte [ebx + 1]
cmp al, 0x2f
je 0x480e3f
cmp al, 0x2e
jne 0x48054d
cmp byte [ebx + 2], 0x2f
jne 0x48054d
xor esi, esi
jmp 0x480dbd
cmp byte [ebx + 1], 0x2e
jne 0x480dc8
cmp byte [ebx + 2], 0x2f
jne 0x480dc8
add ebx, 3
add esi, 1
cmp byte [ebx], 0x2e
je 0x480db1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48054d
mov edi, dword [esp + 0x18]
jmp 0x480dec
sub esi, 1
mov byte [eax], 0
je 0x48054d
mov dword [esp + 4], 0x2f
mov dword [esp], edi
call sym._strrchr
test eax, eax
jne 0x480de0
mov eax, dword [esp + 0x18]
mov byte [eax], 0
jmp 0x48054d
movzx eax, byte [ebx + 2]
mov dword [esp], eax
call sym._Curl_isupper
test eax, eax
jne 0x4808d6
jmp 0x480890
mov dword [esp], ebx
call dword [0x5bcc2c]
mov eax, 7
jmp 0x480428
mov eax, esi
jmp 0x480d65
cmp byte [ebx + 2], 0x2e
lea edx, [ebx + 2]
jne 0x480e7a
movzx eax, byte [ebx + 3]
mov ebx, edx
jmp 0x480d9b
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym._strchr
test eax, eax
jne 0x480d65
jmp 0x48054d
mov eax, dword [esp + 0x28]
xor edi, edi
mov byte [eax], 0
jmp 0x480960
mov ebx, edx
jmp 0x48054d
mov edi, dword [esp + 0x28]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebx + ecx]
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov edi, eax
je 0x4809b6
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._strcpy
mov edx, ebx
jmp 0x480ca2