Function at 0x5141f0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f7640
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x40
jne 0x51422f
cmp dword [0x5e8054], 0
je 0x5147ab
cmp dword [ebp - 8], 5
jl 0x5147ab
push 5
push str.file:
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b9c6e
add esp, 0xc
test eax, eax
jne 0x5147ab
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
or ecx, 0x40
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], 0
jmp 0x51427f
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 8]
jge 0x5142a0
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
xor eax, eax
cmp edx, 0x26
sete al
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x514276
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00509c20
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5142bf
mov eax, 7
jmp 0x51485f
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 5]
cmp eax, 0x2f
jne 0x514360
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 6]
cmp edx, 0x2f
jne 0x514360
mov dword [ebp - 0x24], 7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
test ecx, ecx
je 0x51430c
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x51430c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x5142e6
cmp dword [ebp - 0x24], 7
je 0x51435e
cmp dword [ebp - 0x24], 0x10
jne 0x514332
push 9
mov edx, dword [ebp + 0xc]
add edx, 7
push edx
push str.localhost
call fcn.004b9c6e
add esp, 0xc
test eax, eax
je 0x51435e
mov eax, dword [ebp + 0xc]
add eax, 7
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, 7
push ecx
push str.invalid_uri_authority:__.s
call fcn.00513550
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 1
jmp 0x514833
jmp 0x514367
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
movsx edx, byte [ebp - 0x15]
test edx, edx
je 0x514572
movsx eax, byte [ebp - 0x15]
cmp eax, 0x23
je 0x514572
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
movsx edx, byte [ebp - 0x15]
cmp edx, 0x25
jne 0x5144a2
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x5bfce0]
and edx, 8
je 0x5144a2
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x5bfce0]
and edx, 8
je 0x5144a2
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004f66a0
add esp, 4
movzx eax, al
shl eax, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004f66a0
add esp, 4
movzx edx, al
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 0
jne 0x514497
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
mov dl, byte [ecx]
mov byte [ebp - 0x15], dl
movsx eax, byte [ebp - 0x15]
test eax, eax
je 0x514492
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x23
je 0x514492
cmp dword [ebp - 0x1c], 0
jne 0x514460
movsx edx, byte [ebp - 0x15]
cmp edx, 0x3f
je 0x514492
cmp dword [ebp - 0x1c], 1
jne 0x514478
movsx eax, byte [ebp - 0x15]
cmp eax, 0x3d
je 0x514492
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x26
je 0x514492
cmp dword [ebp - 0x1c], 2
jne 0x514487
movsx edx, byte [ebp - 0x15]
cmp edx, 0x26
je 0x514492
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x514435
jmp 0x51436e
mov cl, byte [ebp - 0x30]
mov byte [ebp - 0x15], cl
jmp 0x514559
cmp dword [ebp - 0x1c], 1
jne 0x514530
movsx edx, byte [ebp - 0x15]
cmp edx, 0x26
je 0x5144be
movsx eax, byte [ebp - 0x15]
cmp eax, 0x3d
jne 0x514530
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx - 1]
test edx, edx
jne 0x514506
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
test ecx, ecx
je 0x514501
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
cmp eax, 0x23
je 0x514501
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
movsx edx, byte [ecx - 1]
cmp edx, 0x26
je 0x514501
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x5144cc
jmp 0x51436e
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x26
jne 0x514523
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x28]
mov byte [edx], 0
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x51452a
mov dword [ebp - 0x1c], 2
mov byte [ebp - 0x15], 0
jmp 0x514559
cmp dword [ebp - 0x1c], 0
jne 0x51453f
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x3f
je 0x51454e
cmp dword [ebp - 0x1c], 2
jne 0x514559
movsx edx, byte [ebp - 0x15]
cmp edx, 0x26
jne 0x514559
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x15]
mov byte [eax], cl
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
jmp 0x51436e
cmp dword [ebp - 0x1c], 1
jne 0x51458a
mov eax, dword [ebp - 0x14]
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 - 0x14]
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 - 0x14]
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 - 0x14]
push eax
call fcn.004f7640
add esp, 4
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x5147a9
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004f7640
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004f7640
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x34], 3
jne 0x514625
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x5ee3dc
call fcn.004b9c6e
add esp, 0xc
test eax, eax
jne 0x514625
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], edx
jmp 0x514797
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x34], 5
jne 0x514679
push 5
mov eax, dword [ebp - 0x2c]
push eax
push 0x5ee3e0
call fcn.004b9c6e
add esp, 0xc
test eax, eax
jne 0x514679
mov dword [ebp - 0x44], 0x60000
mov dword [ebp - 0x40], 0x5ee3f8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], str.cache
cmp dword [ebp - 0x34], 4
jne 0x5146b4
push 4
mov edx, dword [ebp - 0x2c]
push edx
push 0x5ee418
call fcn.004b9c6e
add esp, 0xc
test eax, eax
jne 0x5146b4
mov dword [ebp - 0x44], 0x87
mov dword [ebp - 0x40], 0x5ee434
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], str.access
cmp dword [ebp - 0x40], 0
je 0x514797
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
jmp 0x5146d7
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
cmp dword [eax + edx*8], 0
je 0x514729
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.004f7640
add esp, 4
cmp dword [ebp - 0x38], eax
jne 0x514727
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004b9c6e
add esp, 0xc
test eax, eax
jne 0x514727
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x50], ecx
jmp 0x514729
jmp 0x5146ce
cmp dword [ebp - 0x50], 0
jne 0x514755
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str.no_such__s_mode:__s
call fcn.00513550
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
jmp 0x514833
mov edx, dword [ebp - 0x50]
and edx, 0xffffff7f
cmp edx, dword [ebp - 0x4c]
jle 0x514789
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push str._s_mode_not_allowed:__s
call fcn.00513550
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 3
jmp 0x514833
mov eax, dword [ebp - 0x44]
not eax
and eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x2c], eax
jmp 0x5145c4
jmp 0x5147fd
mov ecx, dword [ebp - 8]
add ecx, 2
push ecx
call fcn.00509c20
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5147cd
mov eax, 7
jmp 0x51485f
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004bb670
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 8]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0xc]
and ecx, 0xffffffbf
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004f7f30
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x514833
mov eax, dword [ebp - 0x10]
push eax
push str.no_such_vfs:__s
call fcn.00513550
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x51484c
mov edx, dword [ebp - 0x14]
push edx
call fcn.004fee60
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret