Function at 0x4363a0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5bd254]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x5f], 1
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 1
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 1
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x59], 1
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 0
mov byte [ebp - 0x55], 1
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 1
mov byte [ebp - 0x52], 1
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x4f], 1
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 1
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 1
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x47], 1
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 1
mov byte [ebp - 0x44], 1
mov byte [ebp - 0x43], 0
mov byte [ebp - 0x42], 1
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 1
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 1
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 1
mov byte [ebp - 0x36], 1
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 1
mov byte [ebp - 0x32], 1
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 1
mov byte [ebp - 0x2e], 1
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 1
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 1
mov byte [ebp - 0x26], 1
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 1
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 1
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 1
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 1
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 1
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 1
mov byte [ebp - 0x18], 1
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 1
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 1
mov byte [ebp - 0x12], 1
mov byte [ebp - 0x11], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
push eax
call fcn.005138b0
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], 0
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 8], ecx
jmp 0x43653e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x224]
jge 0x436594
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx]
push edx
call fcn.00516e4b
add esp, 4
test eax, eax
je 0x436592
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movsx ecx, byte [eax]
sub ecx, 0x30
mov edx, dword [ebp - 0x22c]
mov dword [ebp + edx*4 - 0x220], ecx
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0x6c
jl 0x436592
jmp 0x436594
jmp 0x436535
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x224], ecx
cmp dword [ebp + 0x30], 1
je 0x4365b0
cmp dword [ebp + 0x30], 4
jne 0x43666b
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x224]
mov dword [ebp - 8], edx
jmp 0x4365cb
mov eax, dword [ebp - 8]
sub eax, 2
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x43661e
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x224]
shl edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 9
jle 0x4365fd
mov eax, dword [ebp - 0x64]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x68], ecx
jmp 0x436606
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 8], 1
jle 0x43661c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp + eax*4 - 0x228]
mov dword [ebp - 0x68], ecx
jmp 0x4365c2
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0xa
idiv ecx
mov eax, 0xa
sub eax, edx
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa
jne 0x436640
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x68]
mov dword [ebp + ecx*4 - 0x220], edx
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x30
mov byte [0x601e3c], cl
cmp dword [ebp + 0x30], 2
jne 0x436803
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x224]
mov dword [ebp - 8], edx
jmp 0x436697
mov eax, dword [ebp - 8]
sub eax, 2
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4366ea
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x224]
shl edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 9
jle 0x4366c9
mov eax, dword [ebp - 0x64]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x68], ecx
jmp 0x4366d2
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 8], 1
jle 0x4366e8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp + eax*4 - 0x228]
mov dword [ebp - 0x68], ecx
jmp 0x43668e
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0xa
idiv ecx
mov eax, 0xa
sub eax, edx
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa
jne 0x43670c
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x68]
mov dword [ebp + ecx*4 - 0x220], edx
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 8], ecx
jmp 0x436746
mov edx, dword [ebp - 8]
sub edx, 2
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x436799
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x224]
shl ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 9
jle 0x436778
mov eax, dword [ebp - 0x64]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x68], ecx
jmp 0x436781
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 8], 1
jle 0x436797
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp + eax*4 - 0x228]
mov dword [ebp - 0x68], ecx
jmp 0x43673d
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0xa
idiv ecx
mov eax, 0xa
sub eax, edx
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa
jne 0x4367bb
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x68]
mov dword [ebp + ecx*4 - 0x220], edx
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp + ecx*4 - 0x228]
imul edx, edx, 0xa
mov eax, dword [ebp - 0x224]
add edx, dword [ebp + eax*4 - 0x224]
mov dword [ebp - 0x64], edx
mov cl, byte [ebp - 0x64]
mov byte [0x601e3c], cl
cmp dword [ebp + 0x30], 3
jne 0x436987
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 2
mov edx, dword [ebp - 0x224]
mov dword [ebp - 8], edx
jmp 0x43682f
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x436861
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x224]
imul edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 8
jne 0x43685f
mov dword [ebp - 0x64], 2
jmp 0x436826
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0xb
idiv ecx
mov eax, 0xb
sub eax, edx
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xb
jne 0x436883
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xa
jne 0x436890
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x68]
mov dword [ebp + ecx*4 - 0x220], edx
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 8], ecx
jmp 0x4368ca
mov edx, dword [ebp - 8]
sub edx, 2
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x43691d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x224]
shl ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 9
jle 0x4368fc
mov eax, dword [ebp - 0x64]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x68], ecx
jmp 0x436905
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 8], 1
jle 0x43691b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp + eax*4 - 0x228]
mov dword [ebp - 0x68], ecx
jmp 0x4368c1
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0xa
idiv ecx
mov eax, 0xa
sub eax, edx
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa
jne 0x43693f
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x68]
mov dword [ebp + ecx*4 - 0x220], edx
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp + ecx*4 - 0x228]
imul edx, edx, 0xa
mov eax, dword [ebp - 0x224]
add edx, dword [ebp + eax*4 - 0x224]
mov dword [ebp - 0x64], edx
mov cl, byte [ebp - 0x64]
mov byte [0x601e3c], cl
cmp dword [ebp + 0x24], 0
jle 0x4369b4
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00436ce0
add esp, 0x1c
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 4]
push edx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], 0
jmp 0x4369ef
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x224]
jge 0x436c13
cmp dword [ebp + 0x24], 0
jle 0x436a3a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x220]
movsx eax, byte [ebp + edx*8 - 0x60]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00436ce0
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x220]
movsx edx, byte [ebp + ecx*8 - 0x60]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + edx*4]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x220]
movsx ecx, byte [ebp + eax*8 - 0x5f]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + ecx*4]
push eax
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x24], 0
jle 0x436abe
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x220]
movsx eax, byte [ebp + edx*8 - 0x5e]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00436ce0
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x220]
movsx edx, byte [ebp + ecx*8 - 0x5e]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + edx*4]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x220]
movsx ecx, byte [ebp + eax*8 - 0x5d]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + ecx*4]
push eax
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x24], 0
jle 0x436b42
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x220]
movsx eax, byte [ebp + edx*8 - 0x5c]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00436ce0
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x220]
movsx edx, byte [ebp + ecx*8 - 0x5c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + edx*4]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x220]
movsx ecx, byte [ebp + eax*8 - 0x5b]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + ecx*4]
push eax
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x24], 0
jle 0x436bc6
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x220]
movsx eax, byte [ebp + edx*8 - 0x5a]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00436ce0
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x220]
movsx edx, byte [ebp + ecx*8 - 0x5a]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + edx*4]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x220]
movsx ecx, byte [ebp + eax*8 - 0x59]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + ecx*4]
push eax
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
jmp 0x4369e6
cmp dword [ebp + 0x24], 0
jle 0x436c3f
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00436ce0
add esp, 0x1c
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + 4]
push eax
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x24], 0
jle 0x436c94
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00436ce0
add esp, 0x1c
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
push ecx
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx + 4]
push eax
call sym.convertifd.exe_BarcodeSpace
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00511a80
mov esp, ebp
pop ebp
ret