Function at 0x431580
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
push esi
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x40]
test eax, eax
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], esi
je 0x4315a9
mov dword [eax], 0
mov eax, dword [0x5a4288]
test eax, eax
je 0x431c76
mov eax, dword [0x59b500]
test eax, eax
je 0x431c76
mov ecx, dword [esp + 0x4c]
call fcn.004e2760
test eax, eax
je 0x431c76
mov ecx, esi
call fcn.00542c90
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x38]
xor esi, esi
test al, 1
mov dword [esp + 0x30], esi
je 0x4315f2
and dword [esp + 0x38], 0xfffffffe
movzx ecx, byte [edi]
push ecx
call fcn.00570d82
mov dword [esp + 0x30], eax
mov eax, dword [0x5a4288]
add esp, 4
test eax, eax
mov dword [esp + 0x18], 1
mov dword [esp + 8], eax
je 0x431c6c
push ebx
push ebp
mov ebp, eax
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov byte [0x5a4678], bl
mov eax, dword [ebp + 0x134]
test eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0x63
je 0x431652
cmp ecx, 0xffffffff
je 0x431652
cmp eax, ecx
jne 0x431c1d
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4316e0
mov eax, dword [ebp + 0x138]
test eax, eax
je 0x431676
mov ebx, 1
mov dword [esp + 0x18], ebx
jmp 0x43170e
mov al, byte [ebp + 0x68]
test al, al
lea esi, [ebp + 0x68]
je 0x4316d8
test edi, edi
je 0x431c1d
cmp byte [esi], 0
je 0x431c1d
mov edx, dword [edi + 0xbbc]
mov ecx, esi
call fcn.004ff8a0
test eax, eax
je 0x4316bc
mov edx, dword [esp + 0x40]
test edx, eax
je 0x4316bc
mov edx, dword [edi + 0xbbc]
mov ecx, esi
call fcn.004ff9d0
cmp eax, 0x63
jle 0x4316c9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x431691
jmp 0x431c1d
mov ebx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
jmp 0x43170e
mov eax, dword [ebp + 0x13c]
jmp 0x431706
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4316f5
mov ebx, 1
mov dword [esp + 0x18], ebx
jmp 0x43170e
mov al, byte [ebp + 0x68]
test al, al
jne 0x431c1d
mov eax, dword [ebp + 0x138]
test eax, eax
jne 0x431c1d
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x431888
cmp eax, 0x25
mov esi, ebp
je 0x431729
cmp eax, 0x24
jne 0x4317e3
mov eax, dword [0x5ae240]
mov ecx, dword [0x59bcf0]
mov esi, dword [0x5ae230]
mov edi, dword [0x5ae234]
mov ebp, dword [0x5ae238]
mov ebx, dword [0x5ae23c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, 0x5a4290
sub ecx, eax
nop
mov dl, byte [eax]
mov byte [eax + ecx], dl
inc eax
test dl, dl
jne 0x431760
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, 0x5a4290
call fcn.00480140
test eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [0x5ae230], esi
mov dword [0x5ae234], edi
mov dword [0x5ae238], ebp
mov dword [0x5ae23c], ebx
mov dword [0x5ae240], ecx
mov dword [0x59bcf0], edx
je 0x431c1d
mov al, byte [0x5a4290]
test al, al
je 0x431c1d
movzx eax, al
push eax
mov esi, 0x5a4290
call fcn.00570d82
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
add esp, 4
cmp eax, 0x2a
je 0x4317f7
cmp eax, 0x3f
je 0x4317f7
cmp eax, dword [esp + 0x34]
jne 0x431c1d
push 0x21
push esi
xor edi, edi
call fcn.00570260
add esp, 8
test eax, eax
je 0x431820
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x5a4678
call fcn.004314f0
mov edi, 1
mov al, byte [0x5a4678]
test al, al
jne 0x43184d
mov eax, dword [esp + 0x14]
mov edx, 0x5a4678
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x431834
mov al, byte [0x5a4678]
xor edi, edi
test al, al
je 0x431c1d
cmp byte [esi], 0x2a
jne 0x431864
push 0x584df4
push esi
call fcn.005809c6
add esp, 8
test eax, eax
je 0x43187c
push 1
push 0
mov edx, 0x5a4678
mov ecx, esi
call fcn.00542310
test eax, eax
je 0x431c1d
test edi, edi
je 0x431885
or ebx, 8
jmp 0x431888
or ebx, 4
mov cl, byte [ebp + 0xcc]
test cl, cl
lea eax, [ebp + 0xcc]
je 0x431a2b
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
push edx
mov edx, 0x5a4678
mov ecx, esi
call fcn.004314f0
mov al, byte [0x5a4678]
test al, al
jne 0x4318da
mov edx, 0x5a4678
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4318c3
mov al, byte [0x5a4678]
test al, al
je 0x431c1d
push 0x21
push 0x5a4678
call fcn.00570260
mov esi, eax
add esp, 8
test esi, esi
je 0x4318fc
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4318fc
xor esi, esi
push 0
push 0
push 0x5a4290
mov edx, esi
mov ecx, 0x5a4678
call fcn.00509150
mov edx, 0x5842b8
mov ecx, 0x5a4290
call fcn.00524d90
mov al, byte [0x5a4290]
test al, al
jne 0x431962
test esi, esi
je 0x431c1d
push 0
push 0
push 0x5a4290
xor edx, edx
mov ecx, 0x5a4678
call fcn.00509150
mov edx, 0x5842b8
mov ecx, 0x5a4290
call fcn.00524d90
mov al, byte [0x5a4290]
test al, al
je 0x431c1d
push 0x583ea0
push 0x5a4290
call fcn.00570bff
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x431c1d
mov edi, edi
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xcc]
add eax, 0xcc
test cl, cl
je 0x431a0d
cmp cl, 0x20
jne 0x4319a9
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4319a0
mov cl, byte [eax]
test cl, cl
je 0x431a0d
cmp byte [ebp], 0x3d
jne 0x4319b6
inc ebp
cmp cl, 0x3d
jne 0x4319bc
inc eax
cmp byte [eax], 0
mov esi, eax
je 0x4319d0
cmp byte [esi], 0x20
je 0x4319d0
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x4319c3
cmp byte [esi], 0
je 0x4319da
mov byte [esi], 0
jmp 0x4319dc
xor esi, esi
push eax
push ebp
xor edi, edi
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x4319f4
mov edi, 1
or ebx, 2
test esi, esi
je 0x4319fb
mov byte [esi], 0x20
test edi, edi
jne 0x431a2b
test esi, esi
je 0x431a0d
mov cl, byte [esi + 1]
test cl, cl
lea eax, [esi + 1]
jne 0x431997
push 0x583ea0
push 0
call fcn.00570bff
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x431980
jmp 0x431c1d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x140]
test ecx, ecx
je 0x431bf4
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
push edi
mov edx, 0x5a4678
mov ecx, esi
call fcn.004314f0
mov al, byte [0x5a4678]
test al, al
jne 0x431a7b
mov edx, 0x5a4678
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x431a64
mov al, byte [0x5a4678]
test al, al
je 0x431c1d
mov esi, dword [esp + 0x10]
test byte [esi + 0x140], 1
je 0x431aa2
push edi
push 0
xor edx, edx
mov ecx, 0x5a4678
call fcn.004b0bf0
test eax, eax
je 0x431c1d
or ebx, 2
test byte [esi + 0x140], 2
mov esi, dword [esp + 0x1c]
je 0x431afd
test esi, esi
je 0x431c1d
mov eax, dword [esi + 0x708]
mov ebp, 1
cmp eax, ebp
jne 0x431c1d
lea eax, [esi + 8]
mov edx, 0x5a4290
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x431ad4
push edi
push 0
mov edx, 0x5a4290
mov ecx, 0x5a4678
call fcn.004e8d80
test eax, eax
je 0x431c1d
or ebx, 2
jmp 0x431b02
mov ebp, 1
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x140], 4
je 0x431b57
test esi, esi
je 0x431c1d
cmp dword [esi + 0x708], ebp
jne 0x431c1d
lea eax, [esi + 8]
mov edx, 0x5a4290
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x431b30
push edi
push 0
mov edx, 0x5a4290
mov ecx, 0x5a4678
call fcn.00541620
test eax, eax
je 0x431c1d
or ebx, 2
mov edx, dword [esp + 0x10]
test byte [edx + 0x140], 8
je 0x431ba9
test esi, esi
je 0x431c1d
cmp dword [esi + 0x708], ebp
jne 0x431c1d
lea eax, [esi + 8]
mov edx, 0x5a4290
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x431b82
push edi
push 0
mov edx, 0x5a4290
mov ecx, 0x5a4678
call fcn.00503c90
test eax, eax
je 0x431c1d
or ebx, 2
mov eax, dword [esp + 0x10]
test byte [eax + 0x140], 0x10
je 0x431bf4
mov ebp, dword [esp + 0x14]
push edi
mov edx, 0x5a4678
mov ecx, ebp
xor esi, esi
call fcn.0049a970
test eax, eax
je 0x431be3
push 0x21
push 0x5a4678
call fcn.00570260
mov esi, eax
add esp, 8
test esi, esi
je 0x431be3
inc esi
push edi
mov edx, esi
mov ecx, ebp
call fcn.004e72c0
test eax, eax
je 0x431c1d
or ebx, 2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x144]
test eax, eax
je 0x431c10
mov ecx, dword [esp + 0x44]
imul eax, eax, 0x3c
cmp ecx, eax
jl 0x431c1d
or ebx, 2
test ebx, ebx
jg 0x431c4c
jne 0x431c1d
cmp dword [esp + 0x24], 0x63
jl 0x431c4c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov ebp, dword [edx + 0x148]
inc ecx
test ebp, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebp
jne 0x43161f
mov esi, dword [esp + 0x38]
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x2c
ret 0x18
mov eax, dword [esp + 0x4c]
test eax, eax
mov esi, dword [esp + 0x10]
je 0x431c5e
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov edx, dword [esi + 0x130]
mov eax, dword [esp + 0x48]
pop ebp
mov dword [eax], edx
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x2c
ret 0x18
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret 0x18