Function at 0x59da60
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
push ebx
push ebp
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
mov esi, edi
cmp edi, eax
jne 0x59da87
xor esi, esi
jmp 0x59da9d
cmp byte [edi], al
je 0x59da95
jmp 0x59da90
inc esi
cmp byte [esi], al
jne 0x59da90
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x59daae
cmp dword [0x69fd44], eax
je 0x59df43
cmp esi, 5
jl 0x59df43
cmp dword [edi], 0x656c6966
jne 0x59df43
cmp byte [edi + 4], 0x3a
jne 0x59df43
or dword [esp + 0x14], 0x40
xor ebx, ebx
xor ebp, ebp
cmp esi, 2
lea ecx, [esi + 2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x59db0e
lea ecx, [esi - 1]
lea esp, [esp]
xor edx, edx
cmp byte [edi + eax], 0x26
sete dl
add ebx, edx
xor edx, edx
cmp byte [edi + eax + 1], 0x26
sete dl
add eax, 2
add ebp, edx
cmp eax, ecx
jl 0x59daf0
cmp eax, esi
jge 0x59db1f
xor ecx, ecx
cmp byte [eax + edi], 0x26
sete cl
add dword [esp + 0x1c], ecx
call fcn.00598c00
test eax, eax
jne 0x59db3f
add ebp, ebx
add ebp, dword [esp + 0x1c]
push ebp
call fcn.00569410
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x59db4c
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x24
ret
mov cl, 0x2f
mov esi, 5
cmp byte [edi + 5], cl
jne 0x59dbc8
cmp byte [edi + 6], cl
jne 0x59dbc8
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x59dbc8
lea esp, [esp]
cmp al, cl
je 0x59db7d
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x59db70
cmp esi, 7
je 0x59dbc8
cmp esi, 0x10
jne 0x59dbab
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x59dbab
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59db91
mov al, byte [ecx]
cmp al, byte [edx]
je 0x59dbc8
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.005737f0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x59dfae
mov al, byte [esi + edi]
mov edx, dword [esp + 0x18]
xor ebp, ebp
test al, al
je 0x59dd1d
lea esp, [esp]
cmp al, 0x23
je 0x59dd0d
inc esi
cmp al, 0x25
jne 0x59dc8f
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x65b618], 8
je 0x59dc8f
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x65b618], 8
je 0x59dc8f
movsx edx, byte [esi + edi + 1]
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
inc esi
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
inc esi
and edx, 0xf
add ecx, edx
test ecx, ecx
jne 0x59dc87
mov al, byte [esi + edi]
test al, al
je 0x59dcfe
mov edi, edi
cmp al, 0x23
je 0x59dcfe
test ebp, ebp
jne 0x59dc60
cmp al, 0x3f
jmp 0x59dc76
cmp ebp, 1
jne 0x59dc6f
cmp al, 0x3d
je 0x59dcfe
jmp 0x59dc74
cmp ebp, 2
jne 0x59dc7c
cmp al, 0x26
je 0x59dcfe
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x59dc50
jmp 0x59dcfe
mov edx, dword [esp + 0x18]
mov al, cl
jmp 0x59dcf2
cmp ebp, 1
jne 0x59dcd8
cmp al, 0x26
je 0x59dc9c
cmp al, 0x3d
jne 0x59dcf2
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x59dcc6
mov al, byte [esi + edi]
test al, al
je 0x59dcfe
mov edi, edi
cmp al, 0x23
je 0x59dcfe
cmp byte [esi + edi - 1], 0x26
je 0x59dcfe
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x59dcb0
jmp 0x59dcfe
cmp al, 0x26
jne 0x59dcd1
mov byte [ecx + edx], 0
inc edx
jmp 0x59dcf0
mov ebp, 2
jmp 0x59dcf0
test ebp, ebp
jne 0x59dce2
cmp al, 0x3f
je 0x59dceb
jmp 0x59dcf2
cmp ebp, 2
jne 0x59dcf2
cmp al, 0x26
jne 0x59dcf2
mov ebp, 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ecx + edx], al
inc edx
mov dword [esp + 0x18], edx
mov al, byte [esi + edi]
mov edx, dword [esp + 0x18]
test al, al
jne 0x59dbe0
mov eax, dword [esp + 0x10]
cmp ebp, 1
jne 0x59dd21
mov byte [eax + edx], 0
inc edx
jmp 0x59dd21
mov eax, dword [esp + 0x10]
mov byte [eax + edx], 0
mov byte [eax + edx + 1], 0
cmp byte [eax], 0
je 0x59dd36
nop
inc eax
cmp byte [eax], 0
jne 0x59dd30
mov ecx, dword [esp + 0x10]
sub eax, ecx
and eax, 0x3fffffff
cmp byte [eax + ecx + 1], 0
lea edx, [eax + ecx + 1]
je 0x59df83
mov eax, edx
inc eax
cmp byte [eax], 0
jne 0x59dd52
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov ecx, ebx
cmp ebx, ebp
jne 0x59dd75
mov dword [esp + 0x1c], ebp
jmp 0x59dd92
cmp byte [ebx], 0
je 0x59dd86
lea ebx, [ebx]
inc ecx
cmp byte [ecx], 0
jne 0x59dd80
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x1c], ecx
cmp eax, 3
jne 0x59ddbd
cmp byte [edx], 0x76
jne 0x59df0e
cmp byte [edx + 1], 0x66
jne 0x59df0e
cmp byte [edx + 2], 0x73
jne 0x59df0e
mov dword [esp + 0x2c], ebx
jmp 0x59df0e
cmp eax, 5
jne 0x59ddf0
cmp dword [edx], 0x68636163
jne 0x59df0e
cmp byte [edx + 4], 0x65
jne 0x59df0e
mov eax, 0x60000
mov dword [esp + 0x28], eax
mov edi, 0x6a0c74
mov dword [esp + 0x20], 0x660bf0
jmp 0x59de23
cmp eax, 4
jne 0x59df0e
cmp dword [edx], 0x65646f6d
jne 0x59df0e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], 0x87
mov edi, 0x6a0c8c
and eax, 0x87
mov dword [esp + 0x20], str.access
mov ecx, dword [edi]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x59decc
mov eax, ecx
test ecx, ecx
je 0x59de4d
cmp byte [ecx], 0
je 0x59de46
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x59de40
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x1c], eax
jne 0x59debf
mov esi, dword [esp + 0x1c]
mov edx, ebx
cmp esi, 4
jb 0x59de74
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x59de78
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x59de60
test esi, esi
je 0x59dee8
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x59deb3
cmp esi, 1
jbe 0x59dee4
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x59deb3
cmp esi, 2
jbe 0x59dee4
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x59deb3
cmp esi, 3
jbe 0x59dee4
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x18]
sar eax, 0x1f
or eax, 1
je 0x59dee8
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x59de31
mov ecx, dword [esp + 0x20]
push ebx
push ecx
push str.no_such__s_mode:__s
call fcn.005737f0
add esp, 0xc
jmp 0x59dfa8
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + ebp*8 + 4]
test eax, eax
je 0x59decc
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x24]
jg 0x59df23
mov ecx, dword [esp + 0x28]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
cmp byte [eax + ebx + 1], 0
lea edx, [eax + ebx + 1]
jne 0x59dd50
jmp 0x59df83
mov eax, dword [esp + 0x20]
push ebx
push eax
push str._s_mode_not_allowed:__s
call fcn.005737f0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
mov esi, 3
jmp 0x59dfb3
call fcn.00598c00
test eax, eax
jne 0x59db3f
lea edx, [esi + 2]
push edx
call fcn.00569410
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x59db3f
push esi
push edi
push ebx
call fcn.005e13c0
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x2c]
push esi
call fcn.00569150
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x59dfca
push esi
push str.no_such_vfs:__s
call fcn.005737f0
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov esi, 1
mov eax, dword [esp + 0x10]
push eax
call fcn.0055d790
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x59dfce
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret