Function at 0x565ed0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x10]
cmp byte [edx], 0x25
jne 0x56626b
mov ecx, dword [esi + 0xac]
lea eax, [ecx + 1]
push ebp
mov ebp, 1
cmp eax, 0x11
ja case.default.0x565f03
movzx eax, byte [eax + 0x566284]
jmp dword [eax*4 + 0x566270]
xor ecx, ecx
lea edx, [ecx + 0x12]
call fcn.005618b0
pop ebp
pop esi
ret
cmp dword [esi + 0xd4], 0
je 0x565f29
cmp ecx, 0xffffffff
je case.0x565f03.2
push 0
push str.PEReference_in_prolog_n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
mov dword [esi + 0x54], 0x13
push 0x13
jmp 0x565f7d
cmp dword [esi + 0xd4], 0
je 0x565f5d
cmp ecx, 0xffffffff
je case.0x565f03.2
push 0
push str.PEReference_in_epilog_n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
mov dword [esi + 0x54], 0x14
push 0x14
push ebp
push 0
push esi
push 0
push 0
push 0
call fcn.00588a40
add esp, 0x44
cmp dword [esi + 0x120], 0
mov dword [esi + 0xc], 0
jne case.0x565f03.2
mov dword [esi + 0xd4], ebp
pop ebp
pop esi
ret
cmp dword [esi + 0x60], 0
jne 0x565fbb
cmp dword [esi + 0x28], ebp
je case.0x565f03.2
mov al, byte [edx + 1]
cmp al, 0x20
je case.0x565f03.2
cmp al, 9
jb 0x565fd2
cmp al, 0xa
jbe case.0x565f03.2
cmp al, 0xd
je case.0x565f03.2
test al, al
je case.0x565f03.2
push ebx
push edi
push esi
call fcn.0058cc90
push esi
call fcn.00566980
add esp, 8
mov ebx, eax
call fcn.00555fd0
cmp dword [eax], 0
je 0x56601b
call fcn.00555e90
mov edi, eax
call fcn.00555ed0
mov ecx, dword [eax]
mov edx, dword [edi]
push ebx
push str.PEReference:__s_n
push ecx
call edx
add esp, 0xc
xor edi, edi
cmp ebx, edi
jne 0x566053
cmp dword [esi + 0xd4], edi
je 0x566036
cmp dword [esi + 0xac], 0xffffffff
je 0x566268
push edi
push str.PEReference:_no_name_n
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 3
mov dword [esi + 0x54], 0x18
push 0x18
jmp 0x566249
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0x3b
jne 0x566220
push esi
call fcn.0058cc90
mov eax, dword [esi]
add esp, 4
cmp eax, edi
je 0x566088
mov eax, dword [eax + 0x60]
cmp eax, edi
je 0x566088
mov edx, dword [esi + 4]
push ebx
push edx
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x5660fb
cmp dword [esi + 0x1c], ebp
je 0x5660e5
cmp dword [esi + 0x58], 0
jne 0x566099
cmp dword [esi + 0x5c], 0
je 0x5660e5
cmp dword [esi + 0x68], 0
je 0x5660c5
cmp dword [esi + 0x70], 0
je 0x5660c5
xor eax, eax
push str.PEReference:____s__not_found_n
mov ecx, ebx
lea edx, [eax + 0x1b]
call fcn.00561d70
add esp, 4
pop edi
pop ebx
pop ebp
mov dword [esi + 0x64], 0
pop esi
ret
push 0x1b
mov edx, ebx
push esi
xor ecx, ecx
mov ebx, str.PEReference:____s__not_found_n
call fcn.00561ce0
add esp, 8
pop edi
pop ebx
pop ebp
mov dword [esi + 0x64], 0
pop esi
ret
mov eax, ebx
mov edx, str.PEReference:____s__not_found_n
mov ecx, 0x1a
call fcn.00561e70
pop edi
pop ebx
pop ebp
pop esi
ret
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x28], 0x562d20
je 0x56611e
push edi
mov eax, esi
call fcn.00562d30
push eax
push esi
call fcn.005646b0
add esp, 0xc
pop edi
pop ebx
pop ebp
pop esi
ret
mov eax, dword [edi + 0x30]
cmp eax, 4
je 0x566141
cmp eax, 5
je 0x566141
mov eax, ebx
mov edx, str.PEReference:__s_is_not_a_parameter_entity_n
mov ecx, 0x1e
call fcn.00561e70
pop edi
pop ebx
pop ebp
pop esi
ret
push edi
push esi
call fcn.0058d9e0
push eax
push esi
call fcn.005646b0
add esp, 0x10
test eax, eax
jl 0x566268
cmp dword [esi + 0x124], 0
jne 0x566179
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
cmp ecx, 0xfa
jge 0x566179
call fcn.00564540
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x14]
sub edx, dword [eax + 0x10]
cmp edx, 4
jl 0x5661ce
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx]
mov byte [esp + 0x14], dl
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
mov byte [esp + 0x15], dl
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 2]
mov byte [esp + 0x16], dl
mov eax, dword [eax + 0x10]
mov cl, byte [eax + 3]
lea edx, [esp + 0x14]
push 4
push edx
mov byte [esp + 0x1f], cl
call fcn.00598630
add esp, 8
test eax, eax
je 0x5661ce
push eax
push esi
call fcn.0058e070
add esp, 8
cmp dword [edi + 0x30], 5
jne 0x566268
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x566268
cmp byte [eax + 1], 0x3f
jne 0x566268
cmp byte [eax + 2], 0x78
jne 0x566268
cmp byte [eax + 3], 0x6d
jne 0x566268
cmp byte [eax + 4], 0x6c
jne 0x566268
mov al, byte [eax + 5]
cmp al, 0x20
je 0x566212
cmp al, 9
jb 0x56620e
cmp al, 0xa
jbe 0x566212
cmp al, 0xd
jne 0x566268
push esi
call fcn.00565710
add esp, 4
pop edi
pop ebx
pop ebp
pop esi
ret
cmp dword [esi + 0xd4], edi
je 0x566231
cmp dword [esi + 0xac], 0xffffffff
je 0x566268
push edi
push str.PEReference:_expecting___n
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 3
mov dword [esi + 0x54], 0x19
push 0x19
push ebp
push edi
push esi
push edi
push edi
push edi
call fcn.00588a40
add esp, 0x44
mov dword [esi + 0xc], edi
cmp dword [esi + 0x120], edi
jne 0x566268
mov dword [esi + 0xd4], ebp
pop edi
pop ebx
pop ebp
pop esi
ret