Function at 0x4377fa
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], esi
call fcn.0040ca68
test byte [ebp - 8], 0x40
mov ebx, eax
jne 0x43782f
cmp dword [0x485d44], esi
je 0x437b92
cmp ebx, 5
jl 0x437b92
mov esi, dword [ebp + 8]
push 5
pop ecx
mov edi, str.file:
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x437b92
or dword [ebp - 8], 0x40
mov esi, dword [ebp + 8]
lea eax, [ebx + 2]
xor ecx, ecx
cmp ebx, ecx
cdq
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], edx
jle 0x437879
xor edi, edi
cmp byte [ecx + esi], 0x26
jne 0x43786d
inc edi
xor edx, edx
add eax, edi
adc dword [ebp - 0x2c], edx
inc ecx
cmp ecx, ebx
jl 0x437864
push dword [ebp - 0x2c]
push eax
call fcn.0040b669
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x437893
push 7
pop eax
jmp 0x437c13
cmp byte [esi + 5], 0x2f
push 5
pop edx
jne 0x4378ef
cmp byte [esi + 6], 0x2f
jne 0x4378ef
lea eax, [esi + 7]
mov cl, byte [eax]
push 7
pop edx
test cl, cl
je 0x4378ef
cmp cl, 0x2f
je 0x4378bb
inc edx
mov cl, byte [edx + esi]
test cl, cl
jne 0x4378ae
cmp edx, 7
je 0x4378ef
cmp edx, 0x10
jne 0x4378d5
push 9
pop ecx
mov edi, eax
mov esi, str.localhost
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x4378ec
push eax
add edx, 0xfffffff9
push edx
push str.invalid_uri_authority:__.s
call fcn.0040c79c
add esp, 0xc
jmp 0x437be7
mov esi, dword [ebp + 8]
mov al, byte [edx + esi]
xor edi, edi
test al, al
je 0x437a28
cmp al, 0x23
je 0x437a16
inc edx
cmp al, 0x25
jne 0x4379a5
mov cl, byte [edx + esi]
movzx ebx, cl
test byte [ebx + 0x458cd8], 8
je 0x4379a5
movzx ebx, byte [edx + esi + 1]
test byte [ebx + 0x458cd8], 8
je 0x4379a5
inc edx
movsx eax, byte [edx + esi]
mov dword [ebp - 0x24], eax
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
sub cl, al
mov eax, dword [ebp - 0x24]
sar eax, 6
and al, 1
imul bl
mov esi, dword [ebp + 8]
mov bl, al
mov eax, dword [ebp - 0x24]
sub al, bl
and ecx, 0xf
shl ecx, 4
and eax, 0xf
add ecx, eax
inc edx
test ecx, ecx
je 0x43799c
mov al, cl
jmp 0x4379ff
cmp al, 0x23
je 0x437a0b
test edi, edi
jne 0x437985
cmp al, 0x3f
je 0x437a0b
cmp edi, 1
jne 0x437992
cmp al, 0x3d
je 0x437a0b
cmp al, 0x26
je 0x437a0b
cmp edi, 2
jne 0x43799b
cmp al, 0x26
je 0x437a0b
inc edx
mov al, byte [edx + esi]
test al, al
jne 0x437971
jmp 0x437a0b
cmp edi, 1
jne 0x4379e9
cmp al, 0x26
je 0x4379b2
cmp al, 0x3d
jne 0x4379ff
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp byte [ebx + ecx - 1], 0
je 0x4379d9
cmp al, 0x26
jne 0x4379e2
mov byte [ebx + ecx], 0
inc ecx
mov dword [ebp - 4], ecx
jmp 0x4379e5
cmp al, 0x23
je 0x437a0b
cmp byte [edx + esi - 1], 0x26
je 0x437a0b
inc edx
mov al, byte [edx + esi]
test al, al
jne 0x4379cd
jmp 0x437a0b
push 2
pop edi
xor al, al
jmp 0x4379ff
test edi, edi
jne 0x4379f1
cmp al, 0x3f
je 0x4379fa
cmp edi, 2
jne 0x4379ff
cmp al, 0x26
jne 0x4379ff
xor edi, edi
xor al, al
inc edi
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 4]
mov byte [ecx + ebx], al
mov al, byte [edx + esi]
test al, al
jne 0x4378fc
cmp edi, 1
jne 0x437a28
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov byte [eax + ecx], 0
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, esi
mov byte [eax], 0
mov byte [eax + 1], 0
mov eax, esi
call fcn.0040ca68
lea ebx, [eax + esi + 1]
jmp 0x437b6b
mov eax, ebx
call fcn.0040ca68
mov esi, eax
lea eax, [esi + ebx + 1]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
call fcn.0040ca68
mov dword [ebp - 0x24], eax
cmp esi, 3
jne 0x437a81
push esi
pop ecx
mov edi, ebx
mov esi, 0x46812c
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x437a81
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
jmp 0x437b61
xor edx, edx
cmp dword [ebp - 0x2c], 5
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
jne 0x437ac2
push 5
mov edx, 0x468130
pop ecx
mov edi, ebx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x437b61
mov eax, 0x60000
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x486934
mov dword [ebp - 0x1c], eax
xor edx, edx
cmp dword [ebp - 0x2c], 4
jne 0x437af1
mov eax, str.mode
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x437af1
mov eax, dword [ebp - 8]
mov ecx, 0x87
and eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0x48694c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], str.access
cmp dword [ebp - 4], edx
je 0x437b61
mov eax, dword [ebp - 4]
mov edi, dword [eax]
xor ebx, ebx
cmp edi, edx
je 0x437b2d
mov eax, edi
call fcn.0040ca68
cmp dword [ebp - 0x24], eax
jne 0x437b22
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x437b1e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437b3d
mov eax, dword [ebp - 4]
inc ebx
mov edi, dword [eax + ebx*8]
test edi, edi
jne 0x437b01
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
jmp 0x4378df
mov eax, dword [ebp - 4]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x437b2d
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x437b76
mov eax, dword [ebp - 0x20]
not eax
and eax, dword [ebp - 8]
or eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
lea ebx, [eax + ecx + 1]
cmp byte [ebx], 0
jne 0x437a47
jmp 0x437bc6
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push str._s_mode_not_allowed:__s
call fcn.0040c79c
add esp, 0xc
mov dword [ebp - 0x14], 3
jmp 0x437bee
lea eax, [ebx + 2]
cdq
push edx
push eax
call fcn.0040b669
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x43788b
push ebx
push dword [ebp + 8]
push esi
call sub.msvcrt.dll_memcpy
add ebx, esi
add esp, 0xc
and dword [ebp - 8], 0xffffffbf
mov byte [ebx], 0
mov byte [ebx + 1], 0
push dword [ebp - 0x28]
call fcn.0040b184
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x437c00
push dword [ebp - 0x28]
push str.no_such_vfs:__s
call fcn.0040c79c
pop ecx
pop ecx
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [ecx], eax
call fcn.0040b818
and dword [ebp - 0xc], 0
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret