Function at 0x539980
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, 0x1c
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0x21d
mov dword [ebp - 0xc], ebx
lea esi, [ebx + 0x21d]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x17c]
mov dword [edi + 0x17c], eax
mov eax, dword [ebx + 0x138]
mov dword [edi + 0x138], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x13c]
mov dword [edi + 0x13c], eax
mov eax, dword [ebx + 0x144]
mov dword [edi + 0x144], eax
movzx eax, word [ebx + 0x148]
mov word [edi + 0x148], ax
mov eax, dword [ebx + 0x120]
mov dword [edi + 0x120], eax
mov eax, dword [ebx + 0x11c]
mov dword [edi + 0x11c], eax
movzx eax, word [ebx + 0x17a]
mov word [edi + 0x17a], ax
mov eax, dword [ebx + 0x114]
mov dword [edi + 0x114], eax
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x10c]
mov dword [edi + 0x10c], eax
mov al, byte [ebx + 0x110]
mov byte [edi + 0x110], al
mov al, byte [ebx + 0x64]
mov byte [edi + 0x64], al
mov al, byte [ebx + 0xec]
mov byte [edi + 0xec], al
mov eax, dword [ebx + 0xf0]
mov dword [edi + 0xf0], eax
mov eax, dword [ebx + 0xf4]
mov dword [edi + 0xf4], eax
mov eax, dword [ebx + 0x118]
mov dword [edi + 0x118], eax
movzx eax, word [ebx + 0x150]
mov word [edi + 0x150], ax
movzx eax, word [ebx + 0x14e]
mov word [edi + 0x14e], ax
mov eax, dword [ebx + 0x124]
mov dword [edi + 0x124], eax
mov eax, dword [ebx + 0x108]
mov dword [edi + 0x108], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x44], eax
movzx eax, word [ebx + 0x14c]
mov word [edi + 0x14c], ax
movzx eax, word [ebx + 0x14a]
mov word [edi + 0x14a], ax
movzx eax, word [ebx + 0x154]
mov word [edi + 0x154], ax
movzx eax, word [ebx + 0x156]
mov word [edi + 0x156], ax
movzx eax, word [ebx + 0x152]
mov word [edi + 0x152], ax
movzx eax, word [ebx + 0x158]
mov word [edi + 0x158], ax
movzx eax, word [ebx + 0x15a]
mov word [edi + 0x15a], ax
movzx eax, word [ebx + 0x162]
mov word [edi + 0x162], ax
movzx eax, word [ebx + 0x15e]
mov word [edi + 0x15e], ax
movzx eax, word [ebx + 0x160]
mov word [edi + 0x160], ax
movzx eax, word [ebx + 0x15c]
mov word [edi + 0x15c], ax
mov eax, dword [ebx + 0x308]
mov dword [edi + 0x308], eax
mov eax, dword [ebx + 0x30c]
mov dword [edi + 0x30c], eax
mov eax, dword [ebx + 0x168]
mov dword [edi + 0x168], eax
mov eax, dword [ebx + 0x16c]
mov dword [edi + 0x16c], eax
mov eax, dword [ebx + 0x170]
mov dword [edi + 0x170], eax
mov al, byte [ebx + 0x178]
mov byte [edi + 0x178], al
mov eax, dword [ebx + 0x290]
mov ecx, dword [ebx + 0x294]
mov dword [edi + 0x290], eax
mov dword [edi + 0x294], ecx
mov eax, dword [ebx + 0x144]
mov dword [edi + 0x144], eax
movzx eax, word [ebx + 0x148]
mov word [edi + 0x148], ax
mov eax, dword [ebx + 0x134]
mov dword [edi + 0x134], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov al, byte [ebx + 0x218]
mov byte [edi + 0x218], al
mov al, byte [ebx + 0x21a]
mov byte [edi + 0x21a], al
mov al, byte [ebx + 0x219]
mov byte [edi + 0x219], al
movq xmm0, qword [ebx + 0x2ec]
movq qword [edi + 0x2ec], xmm0
mov eax, dword [ebx + 0x2f4]
mov dword [edi + 0x2f4], eax
movq xmm0, qword [ebx + 0x2f8]
movq qword [edi + 0x2f8], xmm0
mov eax, dword [ebx + 0x300]
mov dword [edi + 0x300], eax
mov eax, dword [ebx + 0x304]
mov dword [edi + 0x304], eax
mov al, byte [ebx + 0x29c]
mov byte [edi + 0x29c], al
mov al, byte [ebx + 0x21b]
mov esi, dword [ebp + 0xc]
mov byte [edi + 0x21b], al
mov al, byte [ebx + 0xf8]
mov byte [edi + 0xf8], al
mov eax, dword [ebx + 0xfc]
mov dword [edi + 0xfc], eax
mov eax, dword [ebx + 0x100]
mov dword [edi + 0x100], eax
mov eax, dword [ebx + 0x2a8]
mov ecx, dword [ebx + 0x2ac]
mov dword [edi + 0x2a8], eax
mov dword [edi + 0x2ac], ecx
movzx eax, word [ebx + 0x2a0]
mov word [edi + 0x2a0], ax
movzx eax, word [ebx + 0x2a2]
mov word [edi + 0x2a2], ax
mov al, byte [ebx + 0x29f]
mov byte [edi + 0x29f], al
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x539d1e
push 0x40
push eax
call fcn.0058e570
add esp, 8
add eax, eax
mov ecx, esi
mov dword [ebp - 4], eax
push eax
call fcn.005348a0
mov dword [ebp - 8], eax
test eax, eax
je 0x53a2fb
push dword [ebp - 4]
push dword [ebx + 0x2c]
push eax
call fcn.005c0660
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [edi + 0x2c], eax
cmp dword [ebx + 0x114], 0
je 0x53a2fb
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x539d83
cmp byte [eax], 0
jbe 0x539d83
push 5
mov ecx, esi
call fcn.005348a0
mov dword [edi + 0x20], eax
mov ecx, esi
mov eax, dword [ebx + 0x20]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
add eax, eax
push eax
call fcn.005348a0
mov ecx, dword [edi + 0x20]
mov dword [ecx + 1], eax
mov ecx, dword [ebx + 0x20]
movzx eax, byte [ecx]
lea eax, [eax + eax*2]
add eax, eax
push eax
mov eax, dword [edi + 0x20]
push dword [ecx + 1]
push dword [eax + 1]
call fcn.005c0660
mov eax, dword [ebx + 0x20]
add esp, 0xc
mov ecx, dword [edi + 0x20]
mov al, byte [eax]
mov byte [ecx], al
mov eax, dword [ebx + 0x114]
test eax, eax
jle 0x539d96
cmp eax, 0xe
jl 0x539ecc
cmp eax, 0xf
je 0x539ecc
cmp eax, 0x17
je 0x539ecc
cmp eax, 0x11
je 0x539ecc
cmp eax, 0x12
je 0x539ecc
cmp eax, 0x19
je 0x539ecc
cmp eax, 0x18
je 0x539ecc
cmp eax, 0x10
je 0x539ecc
cmp eax, 0x16
je 0x539ecc
cmp eax, 0x1a
je 0x539ecc
cmp eax, 0x1b
je 0x539ecc
cmp eax, 0x15
je 0x539ecc
cmp eax, 0x20
je 0x539ecc
cmp eax, 0x21
je 0x539ecc
cmp eax, 0x22
je 0x539ecc
cmp eax, 0x23
je 0x539ecc
cmp eax, 0x24
je 0x539ecc
cmp eax, 0x2c
je 0x539ecc
cmp eax, 0x2d
je 0x539ecc
cmp eax, 0x33
je 0x539ecc
cmp eax, 0x1f
je 0x539ecc
cmp eax, 0x1d
je 0x539ecc
cmp eax, 0x31
je 0x539ecc
cmp eax, 0x36
je 0x539ecc
cmp eax, 0x37
je 0x539ecc
cmp eax, 0x39
je 0x539ecc
cmp eax, 0x3a
je 0x539ecc
cmp eax, 0x3b
je 0x539ecc
cmp eax, 0x1e
je 0x539ecc
cmp eax, 0x3c
je 0x539ecc
cmp eax, 0x38
je 0x539ecc
cmp eax, 0x4b
je 0x539ecc
cmp eax, 0x4c
je 0x539ecc
cmp eax, 0x4d
je 0x539ecc
cmp eax, 0x54
je 0x539ecc
cmp eax, 0x4f
je 0x539ecc
cmp eax, 0x50
je 0x539ecc
cmp eax, 0x51
je 0x539ecc
cmp eax, 0x57
je 0x539ecc
cmp eax, 0x52
je 0x539ecc
cmp eax, 0x2f
je 0x539ecc
cmp eax, 0x55
je 0x539ecc
cmp eax, 0x56
je 0x539ecc
cmp eax, 0x58
je 0x539ecc
cmp eax, 0x59
je 0x539ecc
cmp eax, 0x5f
je 0x539ecc
cmp eax, 0x5b
jne 0x539ee9
call fcn.00516800
mov ecx, eax
call fcn.00516780
mov ecx, eax
call fcn.005162e0
test al, al
je 0x539ef2
mov eax, dword [ebx + 0x114]
cmp eax, 0x25
jne 0x53a145
cmp dword [ebx + 4], 0
je 0x539f23
mov eax, dword [ebx + 0x38]
mov ecx, esi
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
push edi
call fcn.005348a0
push edi
push dword [ebx + 4]
mov esi, eax
push esi
call fcn.005c0660
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [edi + 4], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x1c], 0
je 0x539f51
mov eax, dword [ebx + 0x3c]
mov ecx, esi
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
push edi
call fcn.005348a0
push edi
push dword [ebx + 0x1c]
mov esi, eax
push esi
call fcn.005c0660
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [edi + 0x1c], esi
cmp dword [ebx + 8], 0
je 0x539ff1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x539ff1
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl ecx, 8
add ecx, eax
shr ecx, 1
mov dword [ebp - 8], ecx
lea esi, [ecx*4]
mov ecx, dword [ebp + 0xc]
push esi
call fcn.005348a0
push esi
push dword [ebx + 8]
mov dword [ebp - 4], eax
push eax
call fcn.005c0660
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [edi + 8], eax
mov edi, dword [ebp - 8]
mov esi, dword [ebx + 8]
test edi, edi
je 0x539ff1
mov ebx, dword [ebp + 0xc]
sub eax, esi
mov dword [ebp - 4], eax
mov ecx, eax
mov eax, dword [esi]
test eax, eax
je 0x539fe3
push eax
call fcn.0058e420
add esp, 4
mov ecx, ebx
lea eax, [eax*2 + 2]
push eax
call fcn.005348a0
push dword [esi]
mov dword [ebp - 8], eax
push eax
call fcn.0058e340
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + esi], eax
add esi, 4
sub edi, 1
jne 0x539fb1
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x53a028
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
shl esi, 8
add esi, eax
and esi, 0xfffffffe
add esi, 2
push esi
call fcn.005348a0
push esi
push dword [ebx + 0xc]
mov edi, eax
push edi
call fcn.005c0660
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x53a05f
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
shl esi, 8
add esi, eax
and esi, 0xfffffffe
add esi, 2
push esi
call fcn.005348a0
push esi
push dword [ebx + 0x10]
mov edi, eax
push edi
call fcn.005c0660
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax + 0x10], edi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x53a096
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
shl esi, 8
add esi, eax
and esi, 0xfffffffe
add esi, 2
push esi
call fcn.005348a0
push esi
push dword [ebx + 0x14]
mov edi, eax
push edi
call fcn.005c0660
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax + 0x14], edi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x53a0cd
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
shl esi, 8
add esi, eax
and esi, 0xfffffffe
add esi, 2
push esi
call fcn.005348a0
push esi
push dword [ebx + 0x18]
mov edi, eax
push edi
call fcn.005c0660
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax + 0x18], edi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x53a101
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
add eax, 2
shl esi, 8
add esi, eax
push esi
call fcn.005348a0
push esi
push dword [ebx + 0x24]
mov edi, eax
push edi
call fcn.005c0660
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax + 0x24], edi
cmp dword [ebx + 0x28], 0
je 0x53a13f
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x53a13f
movzx edi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
shl edi, 8
add edi, eax
shr edi, 1
shl edi, 3
push edi
call fcn.005348a0
push edi
push dword [ebx + 0x28]
mov esi, eax
push esi
call fcn.005c0660
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [edi + 0x28], esi
jmp 0x53a142
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x114]
cmp eax, 0x13
jl 0x53a155
cmp eax, 0x14
jle 0x53a17b
cmp eax, 0x34
je 0x53a17b
cmp eax, 0x62
je 0x53a17b
cmp eax, 0x5c
je 0x53a17b
call fcn.00516800
mov ecx, eax
call fcn.00516780
mov ecx, eax
call fcn.005162e0
test al, al
je 0x53a1ac
mov eax, dword [ebx + 0x38]
mov ecx, esi
add eax, 2
push eax
call fcn.005348a0
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0x38]
add ecx, 2
push ecx
push 0
push eax
call fcn.005c0be0
push dword [ebx + 0x38]
push dword [ebx + 4]
push dword [edi + 4]
call fcn.005c0660
add esp, 0x18
mov eax, dword [ebx + 0x114]
cmp eax, 0x3e
je 0x53a1f2
cmp eax, 0x3f
je 0x53a1f2
cmp eax, 0x40
je 0x53a1f2
cmp eax, 0x41
je 0x53a1f2
cmp eax, 0x42
je 0x53a1f2
cmp eax, 0x43
je 0x53a1f2
cmp eax, 0x44
je 0x53a1f2
cmp eax, 0x45
je 0x53a1f2
cmp eax, 0x46
je 0x53a1f2
cmp eax, 0x47
je 0x53a1f2
cmp eax, 0x48
je 0x53a1f2
cmp eax, 0x49
jne 0x53a2bb
cmp dword [ebx + 4], 0
je 0x53a216
push dword [ebx + 0x38]
mov ecx, esi
call fcn.005348a0
push dword [ebx + 0x38]
mov esi, eax
push dword [ebx + 4]
push esi
call fcn.005c0660
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x53a24a
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
add eax, 2
shl esi, 8
add esi, eax
push esi
call fcn.005348a0
push esi
push dword [ebx + 0xc]
mov edi, eax
push edi
call fcn.005c0660
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x53a280
movzx esi, byte [eax + 1]
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc]
add eax, 2
shl esi, 8
add esi, eax
push esi
call fcn.005348a0
push esi
push dword [ebx + 8]
mov edi, eax
push edi
call fcn.005c0660
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax + 8], edi
jmp 0x53a283
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x53a2be
movzx esi, byte [ecx + 1]
movzx eax, byte [ecx]
mov ecx, dword [ebp + 0xc]
add eax, 2
shl esi, 8
add esi, eax
push esi
call fcn.005348a0
push esi
push dword [ebx + 0x10]
mov edi, eax
push edi
call fcn.005c0660
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, esi
mov dword [esi + 0x10], edi
jmp 0x53a2be
mov eax, dword [ebp + 8]
lea edi, [eax + 0x180]
mov ecx, 0x26
mov al, byte [ebp + 0x10]
lea esi, [ebx + 0x180]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x5d], al
mov al, byte [ebx + 0x128]
mov byte [ecx + 0x128], al
mov al, byte [ebx + 0x129]
mov byte [ecx + 0x129], al
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x12c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10