Function at 0x472070
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
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.00442940
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x40
jne 0x4720af
cmp dword [0x532ccc], 0
je 0x472654
cmp dword [ebp - 8], 5
jl 0x472654
push 5
push str.file:
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041708d
add esp, 0xc
test eax, eax
jne 0x472654
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
add eax, 2
cdq
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
or eax, 0x40
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], 0
jmp 0x472103
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 8]
jge 0x47214b
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
cmp ecx, 0x26
jne 0x472129
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0
jmp 0x472137
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
adc eax, dword [ebp - 0x64]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jmp 0x4720fa
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00457220
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47216e
mov eax, 7
jmp 0x47270a
mov dword [ebp - 0x2c], 5
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 5]
cmp ecx, 0x2f
jne 0x472210
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 6]
cmp eax, 0x2f
jne 0x472210
mov dword [ebp - 0x2c], 7
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
test edx, edx
je 0x4721be
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x4721be
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x472198
cmp dword [ebp - 0x2c], 7
je 0x472210
cmp dword [ebp - 0x2c], 0x10
jne 0x4721e4
push 9
mov eax, dword [ebp + 0xc]
add eax, 7
push eax
push str.localhost
call fcn.0041708d
add esp, 0xc
test eax, eax
je 0x472210
mov ecx, dword [ebp + 0xc]
add ecx, 7
push ecx
mov edx, dword [ebp - 0x2c]
sub edx, 7
push edx
push str.invalid_uri_authority:__.s
call fcn.004716a0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
jmp 0x4726de
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x2c]
mov al, byte [edx]
mov byte [ebp - 0x15], al
movsx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x47241b
movsx edx, byte [ebp - 0x15]
cmp edx, 0x23
je 0x47241b
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x25
jne 0x47234b
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5143d0]
and ecx, 8
je 0x47234b
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 1]
movzx ecx, byte [eax + 0x5143d0]
and ecx, 8
je 0x47234b
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004417f0
add esp, 4
movzx edx, al
shl edx, 4
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.004417f0
add esp, 4
movzx ecx, al
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x38], 0
jne 0x472340
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
movsx edx, byte [ebp - 0x15]
test edx, edx
je 0x47233b
movsx eax, byte [ebp - 0x15]
cmp eax, 0x23
je 0x47233b
cmp dword [ebp - 0x1c], 0
jne 0x472309
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x3f
je 0x47233b
cmp dword [ebp - 0x1c], 1
jne 0x472321
movsx edx, byte [ebp - 0x15]
cmp edx, 0x3d
je 0x47233b
movsx eax, byte [ebp - 0x15]
cmp eax, 0x26
je 0x47233b
cmp dword [ebp - 0x1c], 2
jne 0x472330
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x26
je 0x47233b
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x4722de
jmp 0x472217
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x15], al
jmp 0x472402
cmp dword [ebp - 0x1c], 1
jne 0x4723d9
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x26
je 0x472367
movsx edx, byte [ebp - 0x15]
cmp edx, 0x3d
jne 0x4723d9
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x30]
movsx ecx, byte [eax - 1]
test ecx, ecx
jne 0x4723af
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
test eax, eax
je 0x4723aa
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
cmp edx, 0x23
je 0x4723aa
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x2c]
movsx ecx, byte [eax - 1]
cmp ecx, 0x26
je 0x4723aa
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x472375
jmp 0x472217
movsx eax, byte [ebp - 0x15]
cmp eax, 0x26
jne 0x4723cc
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x30]
mov byte [ecx], 0
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
jmp 0x4723d3
mov dword [ebp - 0x1c], 2
mov byte [ebp - 0x15], 0
jmp 0x472402
cmp dword [ebp - 0x1c], 0
jne 0x4723e8
movsx eax, byte [ebp - 0x15]
cmp eax, 0x3f
je 0x4723f7
cmp dword [ebp - 0x1c], 2
jne 0x472402
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0x26
jne 0x472402
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x30]
mov al, byte [ebp - 0x15]
mov byte [edx], al
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x472217
cmp dword [ebp - 0x1c], 1
jne 0x472433
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x30]
mov byte [edx], 0
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x30]
mov byte [ecx], 0
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x30]
mov byte [eax], 0
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00442940
add esp, 4
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
movsx ecx, byte [eax]
test ecx, ecx
je 0x472652
mov edx, dword [ebp - 0x34]
push edx
call fcn.00442940
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00442940
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x3c], 3
jne 0x4724ce
push 3
mov ecx, dword [ebp - 0x34]
push ecx
push 0x5397dc
call fcn.0041708d
add esp, 0xc
test eax, eax
jne 0x4724ce
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x10], edx
jmp 0x472640
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x3c], 5
jne 0x472522
push 5
mov eax, dword [ebp - 0x34]
push eax
push 0x5397e0
call fcn.0041708d
add esp, 0xc
test eax, eax
jne 0x472522
mov dword [ebp - 0x4c], 0x60000
mov dword [ebp - 0x48], 0x5397f8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], str.cache
cmp dword [ebp - 0x3c], 4
jne 0x47255d
push 4
mov edx, dword [ebp - 0x34]
push edx
push str.mode
call fcn.0041708d
add esp, 0xc
test eax, eax
jne 0x47255d
mov dword [ebp - 0x4c], 0x87
mov dword [ebp - 0x48], 0x539834
mov eax, dword [ebp - 0x4c]
and eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], str.access
cmp dword [ebp - 0x48], 0
je 0x472640
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
jmp 0x472580
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
cmp dword [eax + edx*8], 0
je 0x4725d2
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00442940
add esp, 4
cmp dword [ebp - 0x40], eax
jne 0x4725d0
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0041708d
add esp, 0xc
test eax, eax
jne 0x4725d0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x58], ecx
jmp 0x4725d2
jmp 0x472577
cmp dword [ebp - 0x58], 0
jne 0x4725fe
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x50]
push eax
push str.no_such__s_mode:__s
call fcn.004716a0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
jmp 0x4726de
mov edx, dword [ebp - 0x58]
and edx, 0xffffff7f
cmp edx, dword [ebp - 0x54]
jle 0x472632
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push str._s_mode_not_allowed:__s
call fcn.004716a0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 3
jmp 0x4726de
mov eax, dword [ebp - 0x4c]
not eax
and eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x34], eax
jmp 0x47246d
jmp 0x4726a8
mov eax, dword [ebp - 8]
add eax, 2
cdq
push edx
push eax
call fcn.00457220
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x472678
mov eax, 7
jmp 0x47270a
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00415910
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 8]
mov byte [edx + 1], 0
mov eax, dword [ebp - 0xc]
and eax, 0xffffffbf
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004432e0
add esp, 4
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4726de
mov ecx, dword [ebp - 0x10]
push ecx
push str.no_such_vfs:__s
call fcn.004716a0
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x4726f7
mov eax, dword [ebp - 0x14]
push eax
call fcn.0044c7e0
add esp, 4
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret