Function at 0x540c70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp dword [edi + 0x38], 0x46
jne 0x540cc0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x38], eax
cmp eax, 0x45
jne 0x540cc0
call fcn.00526290
mov esi, eax
lea ecx, [edi + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00476460
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
push eax
push 0x6c5e84
push dword [ebp - 8]
push edi
call fcn.0054aa90
add esp, 0x10
mov esi, dword [edi + 0x38]
mov ecx, edi
call fcn.00529040
test al, al
je 0x540d4b
mov eax, dword [edi + 0x40]
mov esi, dword [eax + 4]
mov eax, dword [edi]
push dword [eax + 0x158]
push 0x54
call fcn.0043f1c0
add esp, 8
test eax, eax
je 0x540cfa
push dword [esi + 0x10]
mov ecx, eax
push dword [esi + 0xc]
push esi
call fcn.0051d8b0
jmp 0x540cfc
xor eax, eax
push eax
mov ecx, edi
call fcn.005226a0
push 1
mov ecx, edi
call fcn.00537830
mov ecx, dword [edi + 0x40]
mov ebx, eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x540d3a
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov dword [eax + 0x1c], ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
mov eax, dword [edi + 0x40]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 0x40]
mov eax, dword [eax]
mov dword [edi + 0x40], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.005291d0
test al, al
je 0x541137
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [eax + 0x158]
call fcn.00540b70
push eax
push esi
call fcn.005168d0
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 4]
cmp ecx, dword [0xa43e80]
je 0x540dd9
mov ecx, edi
call fcn.00526300
cmp eax, 0x42
jne 0x540dd0
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
add esp, 8
test eax, eax
je 0x540dc7
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax + 8], esi
pop esi
mov dword [eax + 4], ecx
mov dword [eax], 0x999384
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, edi
call fcn.00527a50
mov ecx, edi
call fcn.00526290
mov ebx, eax
mov ecx, edi
mov dword [ebp - 8], ebx
call fcn.00525d30
mov ecx, dword [esi + 4]
cmp ecx, dword [0xa43e80]
mov ecx, edi
jne 0x540e95
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 4]
call fcn.0054b160
test al, al
jne 0x540e89
mov ecx, dword [edi + 0x5c]
mov eax, dword [ecx + 4]
cmp eax, dword [0xa43e80]
je 0x540e75
mov eax, dword [edi]
push ebx
mov esi, dword [eax + 0x158]
call fcn.00489930
push eax
push esi
call fcn.005169f0
mov esi, eax
add esp, 8
mov ecx, dword [esi + 4]
cmp ecx, dword [0xa43e80]
je 0x540e75
mov ecx, dword [edi]
push dword [ecx + 0x158]
push 0x10
call fcn.0043f1c0
add esp, 8
test eax, eax
je 0x540dc7
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax + 8], esi
pop esi
mov dword [eax + 4], ecx
mov dword [eax], 0x999704
mov byte [eax + 0xc], 0
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 4]
mov ecx, edi
call fcn.0054ae90
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
push dword [ebp - 4]
call fcn.0054b480
mov ebx, eax
test ebx, ebx
jne 0x541010
mov eax, dword [esi + 4]
mov ebx, dword [ebp - 8]
cmp byte [eax + 0x15], 0
je 0x540f12
push dword [0xa492f8]
mov ecx, ebx
call fcn.0040e840
test al, al
je 0x540f12
push dword [ebp - 4]
mov ecx, edi
call fcn.0054c010
mov ecx, edi
call fcn.00525d30
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x540f07
mov eax, dword [ebp - 4]
pop edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], eax
mov eax, ebx
pop esi
mov dword [ebx], 0x999384
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor ebx, ebx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push 3
mov eax, dword [eax + 0x158]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
call fcn.004cfeb0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], ecx
cmp eax, 0x1fffffff
jle 0x540f81
push 4
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x9715f0
push 0x979a04
push eax
mov dword [ebp - 0x1c], 0xfe
mov dword [ebp - 0x18], 0
call fcn.0042fe30
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp - 8]
shl eax, 2
push eax
call fcn.0040dcb0
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 3]
mov eax, dword [edi]
push ecx
push dword [eax + 0x158]
call fcn.00411180
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.0046a450
push dword [0xa49a48]
lea ecx, [ebp - 0x34]
call fcn.0046a450
push ebx
lea ecx, [ebp - 0x34]
call fcn.0046a450
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov esi, dword [eax + 0x158]
call fcn.004c7030
push eax
push esi
call fcn.0049bd90
add esp, 0x10
mov ecx, edi
mov esi, eax
call fcn.00526300
dec eax
mov ecx, edi
push 0
neg eax
push 0
sbb eax, eax
neg eax
push eax
push 4
push 0
push esi
push dword [edi + 0x5c]
push dword [ebp - 4]
call fcn.0054f610
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0xa48702], 0
je 0x5415d8
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
je 0x5415d8
mov eax, dword [edi]
push 3
mov eax, dword [eax + 0x158]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
call fcn.004cfeb0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1fffffff
jle 0x541099
push 4
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x9715f0
push 0x979a04
push eax
mov dword [ebp - 0x1c], 0xfe
mov dword [ebp - 0x18], 0
call fcn.0042fe30
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
shl eax, 2
push eax
call fcn.0040dcb0
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 3]
mov eax, dword [edi]
push ecx
push dword [eax + 0x158]
call fcn.00411180
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.0046a450
push dword [0xa49a48]
lea ecx, [ebp - 0x34]
call fcn.0046a450
push dword [ebp - 8]
lea ecx, [ebp - 0x34]
call fcn.0046a450
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov esi, dword [eax + 0x158]
call fcn.004c7030
push eax
push esi
call fcn.0049bd90
add esp, 0x10
mov ecx, edi
mov esi, eax
call fcn.00526300
push dword [ebp - 0x14]
dec eax
mov ecx, edi
neg eax
push 0
sbb eax, eax
neg eax
push eax
push 4
push 0
push esi
push dword [edi + 0x5c]
push dword [ebp - 4]
call fcn.0054f610
mov ecx, dword [edi + 0x40]
push eax
mov ecx, dword [ecx + 8]
call fcn.005ccd50
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x6f
jne 0x5411b2
mov ecx, dword [edi + 0x40]
test ecx, ecx
jne 0x541147
xor esi, esi
jmp 0x54115d
mov ecx, dword [ecx + 4]
push 0
push dword [0xa4996c]
call fcn.0051e730
mov esi, eax
test esi, esi
jne 0x54116b
push 0x99e10c
push edi
call fcn.0054aa30
add esp, 8
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x54135a
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [ebx + 4], eax
mov dword [ebx], 0x99a390
mov dword [ebx + 8], esi
call fcn.00525d30
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x3c
jne 0x541229
lea ecx, [edi + 0xc]
call fcn.00476470
mov ecx, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 7]
mov eax, dword [edi]
push ecx
push dword [eax + 0x158]
call fcn.004f7180
mov ecx, dword [edi]
mov dword [ebp - 0x10], eax
push dword [ecx + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x54135a
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0x999384
mov dword [ebx + 8], eax
call fcn.00525d30
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x71
jne 0x541252
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x54135a
mov esi, dword [0xa48c7c]
jmp 0x5412a2
cmp esi, 0x5a
jne 0x54127b
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x54135a
mov esi, dword [0xa48c80]
jmp 0x5412a2
cmp esi, 0x66
jne 0x5412cd
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x54135a
mov esi, dword [0xa48c40]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [ebx + 4], eax
mov dword [ebx], 0x999384
mov dword [ebx + 8], esi
call fcn.00525d30
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x541305
mov ecx, edi
call fcn.00525d30
mov bl, byte [edi + 0x4c]
mov ecx, edi
push esi
push 0
mov byte [edi + 0x4c], 1
call fcn.00533d00
push 2
mov ecx, edi
mov dword [ebp - 0x14], eax
mov byte [edi + 0x4c], bl
call fcn.00527a50
mov ebx, dword [ebp - 0x14]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x3d
jne 0x54136c
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [eax + 0x158]
call fcn.00526270
push eax
push esi
call fcn.004eba80
mov esi, eax
add esp, 8
mov ecx, dword [esi + 4]
cmp ecx, dword [0xa43e80]
jne 0x54133e
push 0x99e12c
push edi
call fcn.0054aa30
add esp, 8
mov eax, dword [edi]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5412a2
mov ecx, edi
xor ebx, ebx
call fcn.00525d30
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x3b
jne 0x541383
push 1
mov ecx, edi
call fcn.005439d0
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x65
jne 0x5413a0
mov ecx, edi
call fcn.00525d30
push esi
mov ecx, edi
call fcn.0053eee0
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x50
jne 0x541409
push 1
lea ecx, [edi + 0xc]
call fcn.00487480
cmp eax, 0x32
je 0x5415cf
push 1
lea ecx, [edi + 0xc]
call fcn.00487480
cmp eax, 3
je 0x5415cf
push 1
lea ecx, [edi + 0xc]
call fcn.00487480
cmp eax, 0x37
je 0x5415cf
push 1
lea ecx, [edi + 0xc]
call fcn.00487480
cmp eax, 5
je 0x5415cf
mov ecx, edi
call fcn.00525d30
push esi
mov ecx, edi
call fcn.0053eee0
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x32
je 0x5415cf
cmp esi, 3
je 0x5415cf
cmp esi, 0x37
je 0x5415cf
cmp esi, 5
je 0x5415cf
cmp esi, 0x42
jne 0x541442
mov ecx, edi
call fcn.005455b0
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x6d
jne 0x5415bf
mov eax, dword [edi + 0x50]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3f]
shr eax, 0xf
test al, 1
je 0x54146c
push 0x99e144
push edi
call fcn.0054aa30
add esp, 8
mov ecx, dword [edi + 0x5c]
mov esi, dword [0xa43e80]
call fcn.00495b40
cmp eax, esi
jne 0x5414b1
mov eax, dword [edi]
mov ecx, dword [edi + 0x5c]
mov esi, dword [eax + 0x158]
call fcn.0049c080
push eax
push esi
call fcn.00411180
add esp, 8
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x104]
push eax
push 0x99b944
push edi
call fcn.0054aa30
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
mov ecx, edi
call fcn.00525d30
mov ecx, edi
call fcn.00526300
mov ecx, edi
cmp eax, 0xa
jne 0x541520
call fcn.00525d30
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0xc]
call fcn.00476460
push 0x99b670
mov ecx, edi
call fcn.00527920
mov ecx, edi
mov esi, eax
call fcn.00526300
mov ecx, edi
cmp eax, 1
jne 0x54150e
push esi
call fcn.005442c0
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
push esi
call fcn.00544590
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00526300
cmp eax, 3
je 0x5415af
mov ecx, edi
call fcn.00526300
push eax
call fcn.00522620
add esp, 4
test al, al
jne 0x5415af
mov ecx, edi
call fcn.00526300
cmp eax, 0x2f
je 0x5415af
mov ecx, edi
call fcn.00526300
cmp eax, 0xb
jne 0x541571
push 0x99e170
push edi
call fcn.0054aa30
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push dword [eax + 0x158]
push 0x10
call fcn.0043f1c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x540f07
mov eax, dword [ebp - 0x10]
mov ecx, dword [0xa49964]
pop edi
mov dword [ebx + 4], eax
mov eax, ebx
pop esi
mov dword [ebx], 0x999704
mov dword [ebx + 8], ecx
mov byte [ebx + 0xc], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00544b80
pop edi
mov ebx, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00550520
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00531350
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret