Function at 0x551780
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
lea edi, [ebp - 0xa0]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004cdb80
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
and ecx, 0x40
test ecx, ecx
jne 0x5517d9
cmp dword [0x590d54], 0
je 0x551d5d
cmp dword [ebp - 0x18], 5
jl 0x551d5d
push 5
push str.file:
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x551d5d
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 8]
or ecx, 0x40
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], 0
jmp 0x551829
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jge 0x55184c
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
xor eax, eax
cmp edx, 0x26
sete al
mov ecx, dword [ebp - 0x2c]
add ecx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x551820
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004caba0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x55186b
mov eax, 7
jmp 0x551e11
mov dword [ebp - 0x24], 5
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 5]
cmp ecx, 0x2f
jne 0x55190d
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 6]
cmp eax, 0x2f
jne 0x55190d
mov dword [ebp - 0x24], 7
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
test edx, edx
je 0x5518bb
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x5518bb
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x551895
cmp dword [ebp - 0x24], 7
je 0x55190d
cmp dword [ebp - 0x24], 0x10
jne 0x5518e1
push 9
mov eax, dword [ebp + 0xc]
add eax, 7
push eax
push str.localhost
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x55190d
mov ecx, dword [ebp + 0xc]
add ecx, 7
push ecx
mov edx, dword [ebp - 0x24]
sub edx, 7
push edx
push str.invalid_uri_authority:__.s
call fcn.004cd6a0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
jmp 0x551de5
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ebp - 0x14], al
movsx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x551b26
movsx edx, byte [ebp - 0x14]
cmp edx, 0x23
je 0x551b26
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
movsx ecx, byte [ebp - 0x14]
cmp ecx, 0x25
jne 0x551a56
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx]
xor ecx, ecx
mov cl, byte [eax + 0x5782ec]
and ecx, 8
test ecx, ecx
je 0x551a56
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 1]
xor ecx, ecx
mov cl, byte [eax + 0x5782ec]
and ecx, 8
test ecx, ecx
je 0x551a56
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
call fcn.00501740
add esp, 4
and eax, 0xff
shl eax, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
call fcn.00501740
add esp, 4
and eax, 0xff
mov ecx, dword [ebp - 0x30]
add ecx, eax
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x551a4b
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ebp - 0x14], al
movsx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x551a46
movsx edx, byte [ebp - 0x14]
cmp edx, 0x23
je 0x551a46
cmp dword [ebp - 0x20], 0
jne 0x551a14
movsx eax, byte [ebp - 0x14]
cmp eax, 0x3f
je 0x551a46
cmp dword [ebp - 0x20], 1
jne 0x551a2c
movsx ecx, byte [ebp - 0x14]
cmp ecx, 0x3d
je 0x551a46
movsx edx, byte [ebp - 0x14]
cmp edx, 0x26
je 0x551a46
cmp dword [ebp - 0x20], 2
jne 0x551a3b
movsx eax, byte [ebp - 0x14]
cmp eax, 0x26
je 0x551a46
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x5519e9
jmp 0x551914
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0x14], dl
jmp 0x551b0d
cmp dword [ebp - 0x20], 1
jne 0x551ae4
movsx eax, byte [ebp - 0x14]
cmp eax, 0x26
je 0x551a72
movsx ecx, byte [ebp - 0x14]
cmp ecx, 0x3d
jne 0x551ae4
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x28]
movsx eax, byte [edx - 1]
test eax, eax
jne 0x551aba
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
test edx, edx
je 0x551ab5
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
cmp ecx, 0x23
je 0x551ab5
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx - 1]
cmp eax, 0x26
je 0x551ab5
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x551a80
jmp 0x551914
movsx edx, byte [ebp - 0x14]
cmp edx, 0x26
jne 0x551ad7
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
mov byte [eax], 0
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x551ade
mov dword [ebp - 0x20], 2
mov byte [ebp - 0x14], 0
jmp 0x551b0d
cmp dword [ebp - 0x20], 0
jne 0x551af3
movsx edx, byte [ebp - 0x14]
cmp edx, 0x3f
je 0x551b02
cmp dword [ebp - 0x20], 2
jne 0x551b0d
movsx eax, byte [ebp - 0x14]
cmp eax, 0x26
jne 0x551b0d
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x28]
mov dl, byte [ebp - 0x14]
mov byte [ecx], dl
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x551914
cmp dword [ebp - 0x20], 1
jne 0x551b3e
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x28]
mov byte [ecx], 0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
mov byte [eax], 0
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x28]
mov byte [edx], 0
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004cdb80
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
test edx, edx
je 0x551d5b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004cdb80
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004cdb80
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x34], 3
jne 0x551bd9
push 3
mov edx, dword [ebp - 0x1c]
push edx
push 0x580a3c
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x551bd9
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x551d49
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x34], 5
jne 0x551c2d
push 5
mov ecx, dword [ebp - 0x1c]
push ecx
push str.cache
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x551c2d
mov dword [ebp - 0x48], 0x60000
mov dword [ebp - 0x40], 0x591cf0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], str.cache
cmp dword [ebp - 0x34], 4
jne 0x551c68
push 4
mov eax, dword [ebp - 0x1c]
push eax
push str.mode
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x551c68
mov dword [ebp - 0x48], 0x87
mov dword [ebp - 0x40], 0x591d08
mov ecx, dword [ebp - 0x48]
and ecx, dword [ebp - 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], str.access
cmp dword [ebp - 0x40], 0
je 0x551d49
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
jmp 0x551c8b
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax*8], 0
je 0x551cdd
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx*8]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.004cdb80
add esp, 4
cmp dword [ebp - 0x3c], eax
jne 0x551cdb
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x551cdb
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x54], edx
jmp 0x551cdd
jmp 0x551c82
cmp dword [ebp - 0x54], 0
jne 0x551d09
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
push str.no_such__s_mode:__s
call fcn.004cd6a0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 1
jmp 0x551de5
mov eax, dword [ebp - 0x54]
and al, 0x7f
cmp eax, dword [ebp - 0x4c]
jle 0x551d39
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push str._s_mode_not_allowed:__s
call fcn.004cd6a0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 3
jmp 0x551de5
mov edx, dword [ebp - 0x48]
not edx
mov eax, dword [ebp - 8]
and eax, edx
or eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x1c], eax
jmp 0x551b78
jmp 0x551daf
mov ecx, dword [ebp - 0x18]
add ecx, 2
push ecx
call fcn.004caba0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x551d7f
mov eax, 7
jmp 0x551e11
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 8]
and ecx, 0xffffffbf
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004c9e60
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x551de5
mov eax, dword [ebp - 0xc]
push eax
push str.no_such_vfs:__s
call fcn.004cd6a0
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x551dfe
mov edx, dword [ebp - 0x10]
push edx
call fcn.004cb000
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
add esp, 0xa0
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret