Function at 0x431364
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
call fcn.0040bd6b
test dl, 0x40
mov esi, eax
jne 0x43139c
cmp dword [0x47310c], ebx
je 0x4316eb
cmp esi, 5
jl 0x4316eb
push 5
push str.file:
push edi
call fcn.0044db77
add esp, 0xc
test eax, eax
jne 0x4316eb
or dword [ebp - 8], 0x40
cmp esi, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 2]
jle 0x4313db
xor edx, edx
cmp byte [eax + edi], 0x26
sete dl
add ecx, edx
inc eax
cmp eax, esi
jl 0x4313cb
push ecx
call fcn.0042dec0
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x4313f1
push 7
pop eax
jmp 0x431768
cmp byte [edi + 5], 0x2f
jne 0x43144a
cmp byte [edi + 6], 0x2f
jne 0x43144a
lea ebx, [edi + 7]
mov al, byte [ebx]
test al, al
push 7
pop esi
je 0x43144d
cmp al, 0x2f
je 0x431415
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x431409
cmp esi, 7
je 0x43144d
cmp esi, 0x10
jne 0x431433
push 9
push ebx
push str.localhost
call fcn.0044db77
add esp, 0xc
test eax, eax
je 0x43144d
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.00419538
add esp, 0xc
jmp 0x43173c
push 5
pop esi
mov al, byte [esi + edi]
and dword [ebp + 8], 0
test al, al
je 0x431591
cmp al, 0x23
je 0x43157e
inc esi
cmp al, 0x25
jne 0x431505
mov cl, byte [esi + edi]
movzx edx, cl
test byte [edx + 0x467be0], 8
je 0x431505
movzx edx, byte [esi + edi + 1]
test byte [edx + 0x467be0], 8
je 0x431505
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
sub cl, al
inc esi
movsx edx, byte [esi + edi]
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
and edx, 0xf
add ecx, edx
inc esi
test ecx, ecx
je 0x4314fc
mov al, cl
jmp 0x431567
cmp al, 0x23
je 0x431573
cmp dword [ebp + 8], 0
jne 0x4314db
cmp al, 0x3f
je 0x431573
cmp dword [ebp + 8], 1
jne 0x4314f1
cmp al, 0x3d
je 0x431573
cmp al, 0x26
je 0x431573
cmp dword [ebp + 8], 2
jne 0x4314fb
cmp al, 0x26
je 0x431573
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4314c5
jmp 0x431573
xor ecx, ecx
inc ecx
cmp dword [ebp + 8], ecx
jne 0x43154e
cmp al, 0x26
je 0x431515
cmp al, 0x3d
jne 0x431567
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp byte [edx + ecx - 1], 0
je 0x43153c
cmp al, 0x26
jne 0x431545
mov byte [edx + ecx], 0
inc ecx
mov dword [ebp - 4], ecx
jmp 0x431565
cmp al, 0x23
je 0x431573
cmp byte [esi + edi - 1], 0x26
je 0x431573
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x431530
jmp 0x431573
mov dword [ebp + 8], 2
jmp 0x431565
cmp dword [ebp + 8], 0
jne 0x431558
cmp al, 0x3f
je 0x431562
cmp dword [ebp + 8], 2
jne 0x431567
cmp al, 0x26
jne 0x431567
mov dword [ebp + 8], ecx
xor al, al
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 4]
mov byte [ecx + edx], al
mov al, byte [esi + edi]
test al, al
jne 0x43145c
cmp dword [ebp + 8], 1
jne 0x431591
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, ecx
mov byte [eax], 0
mov byte [eax + 1], 0
call fcn.0040bd6b
jmp 0x4316c0
mov ecx, esi
call fcn.0040bd6b
mov edx, eax
lea edi, [edx + esi + 1]
mov ecx, edi
mov dword [ebp - 0x20], edx
mov dword [ebp + 8], edi
call fcn.0040bd6b
cmp edx, 3
mov dword [ebp - 0x18], eax
jne 0x4315e7
push edx
push esi
push 0x46cdc0
call fcn.0044db77
add esp, 0xc
test eax, eax
jne 0x4315e7
mov dword [ebp - 0x1c], edi
jmp 0x4316ba
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x20], 5
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
jne 0x431623
push 5
push esi
push str.cache
call fcn.0044db77
add esp, 0xc
test eax, eax
jne 0x4316ba
mov ebx, 0x60000
mov dword [ebp - 0x14], ebx
mov edi, 0x473f14
mov dword [ebp - 4], str.cache
cmp dword [ebp - 0x20], 4
jne 0x431656
push 4
push esi
push str.mode
call fcn.0044db77
add esp, 0xc
test eax, eax
jne 0x431656
mov ebx, dword [ebp - 8]
mov eax, 0x87
mov dword [ebp - 0x14], eax
mov edi, 0x473f2c
and ebx, eax
mov dword [ebp - 4], str.access
xor esi, esi
cmp edi, esi
je 0x4316ba
cmp dword [edi], esi
je 0x43168a
mov eax, edi
mov ecx, dword [eax]
call fcn.0040bd6b
cmp dword [ebp - 0x18], eax
jne 0x431681
push dword [ebp - 0x18]
push ecx
push dword [ebp + 8]
call fcn.0044db77
add esp, 0xc
test eax, eax
je 0x43169a
inc esi
lea eax, [edi + esi*8]
cmp dword [eax], 0
jne 0x431662
push dword [ebp + 8]
push dword [ebp - 4]
push str.no_such__s_mode:__s
jmp 0x43143d
mov esi, dword [edi + esi*8 + 4]
test esi, esi
je 0x43168a
mov eax, esi
and eax, 0xffffff7f
cmp eax, ebx
jg 0x4316cf
mov eax, dword [ebp - 0x14]
not eax
and eax, dword [ebp - 8]
or eax, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx + 1]
cmp byte [esi], 0
jne 0x4315aa
jmp 0x43171b
push dword [ebp + 8]
push dword [ebp - 4]
push str._s_mode_not_allowed:__s
call fcn.00419538
add esp, 0xc
mov dword [ebp - 0x10], 3
jmp 0x431743
lea eax, [esi + 2]
push eax
call fcn.0042dec0
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0xc], ebx
je 0x4313e9
push esi
push edi
push ebx
call fcn.0044c950
lea eax, [ebx + esi]
add esp, 0xc
and dword [ebp - 8], 0xffffffbf
mov byte [eax], 0
mov byte [eax + 1], 0
push dword [ebp - 0x1c]
call fcn.00412f26
test eax, eax
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x431755
push dword [ebp - 0x1c]
push str.no_such_vfs:__s
call fcn.00419538
pop ecx
pop ecx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [ecx], eax
call fcn.0040bbbc
pop ecx
xor eax, eax
jmp 0x431758
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret