Function at 0x4eee00
Capabilities:
Validate payment card number using luhn algorithm
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a68e
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x5f8310]
xor eax, ebp
mov dword [ebp - 0x22c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f4], ecx
mov byte [ebp - 0x2e0], 0x1b
mov byte [ebp - 0x2df], 0x30
mov byte [ebp - 0x2de], 0
mov byte [ebp - 0x238], 0xd
mov byte [ebp - 0x237], 0xa
mov byte [ebp - 0x236], 0
lea ecx, [ebp - 0x220]
call sub.mfc90.dll_Ordinal_580
mov dword [ebp - 4], 0
push 0x78
push 0
lea eax, [ebp - 0x8c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x1fc], 2
mov dword [ebp - 0x1f8], 2
mov dword [ebp - 0x1f4], 0xc
mov dword [ebp - 0x1f0], 2
mov dword [ebp - 0x1ec], 6
mov dword [ebp - 0x1e8], 0x44
mov dword [ebp - 0x1e4], 3
mov dword [ebp - 0x1e0], 2
mov dword [ebp - 0x1dc], 0xc
mov dword [ebp - 0x1d8], 3
mov dword [ebp - 0x1d4], 4
mov dword [ebp - 0x1d0], 0x28
mov dword [ebp - 0x1cc], 3
mov dword [ebp - 0x1c8], 7
mov dword [ebp - 0x1c4], 0x4e
mov dword [ebp - 0x1c0], 4
mov dword [ebp - 0x1bc], 2
mov dword [ebp - 0x1b8], 0xc
mov dword [ebp - 0x1b4], 4
mov dword [ebp - 0x1b0], 5
mov dword [ebp - 0x1ac], 0x32
mov dword [ebp - 0x1a8], 5
mov dword [ebp - 0x1a4], 5
mov dword [ebp - 0x1a0], 0x32
mov dword [ebp - 0x19c], 5
mov dword [ebp - 0x198], 7
mov dword [ebp - 0x194], 0x4e
mov dword [ebp - 0x190], 6
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x188], 2
mov dword [ebp - 0x184], 6
mov dword [ebp - 0x180], 5
mov dword [ebp - 0x17c], 0x32
mov dword [ebp - 0x178], 6
mov dword [ebp - 0x174], 7
mov dword [ebp - 0x170], 0x4e
mov dword [ebp - 0x16c], 7
mov dword [ebp - 0x168], 5
mov dword [ebp - 0x164], 0x32
mov dword [ebp - 0x160], 7
mov dword [ebp - 0x15c], 7
mov dword [ebp - 0x158], 0x4e
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x150], 5
mov dword [ebp - 0x14c], 0x32
mov dword [ebp - 0x148], 8
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x140], 0x4e
mov dword [ebp - 0x13c], 9
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x134], 0x4e
mov dword [ebp - 0x130], 0xa
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x128], 2
mov dword [ebp - 0x124], 0x11
mov dword [ebp - 0x120], 2
mov dword [ebp - 0x11c], 0xc
mov dword [ebp - 0x118], 0x11
mov dword [ebp - 0x114], 6
mov dword [ebp - 0x110], 0x44
mov dword [ebp - 0x10c], 0x12
mov dword [ebp - 0x108], 2
mov dword [ebp - 0x104], 0xc
mov dword [ebp - 0x100], 0x12
mov dword [ebp - 0xfc], 6
mov dword [ebp - 0xf8], 0x44
mov dword [ebp - 0xf4], 0xc
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xec], 0x4e
mov dword [ebp - 0xe8], 0x10
mov dword [ebp - 0xe4], 6
mov dword [ebp - 0xe0], 0x44
mov dword [ebp - 0xdc], 0x10
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xd4], 0x4e
mov dword [ebp - 0xd0], 0x11
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xc8], 0xc
mov dword [ebp - 0xc4], 0x11
mov dword [ebp - 0xc0], 6
mov dword [ebp - 0xbc], 0x44
mov dword [ebp - 0xb8], 0x12
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xb0], 0xc
mov dword [ebp - 0xac], 0x12
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa4], 0x44
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
push 0x5b0f3a
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 2
push 0x5b19a8
push 0x5b19ac
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x4ef28a
push 0
push 0
push 0x5b19bc
call sub.mfc90.dll_Ordinal_1183
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call sub.mfc90.dll_Ordinal_781
jmp 0x4ef920
push 0x5b19d0
mov ecx, 0x5f8888
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4ef2f2
push 0
push 0
push 0x5b19d4
call sub.mfc90.dll_Ordinal_1183
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call sub.mfc90.dll_Ordinal_781
jmp 0x4ef920
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x208], 0
lea edx, [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x2f4]
call fcn.004ef940
push 0x96
push 0
lea ecx, [ebp - 0x2d4]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x200]
push edx
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x4ef361
lea eax, [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x200]
push ecx
mov ecx, dword [ebp - 0x2f4]
call fcn.004ef940
jmp 0x4ef398
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call sub.mfc90.dll_Ordinal_781
jmp 0x4ef920
mov edx, dword [ebp - 0x10]
push edx
push 1
lea eax, [ebp - 0x2d4]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x2d3]
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 0x200]
push edx
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x4ef856
push 0x96
push 0
lea eax, [ebp - 0x2d4]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x200]
push edx
mov ecx, dword [ebp - 0x2f4]
call fcn.004ef940
mov dword [ebp - 0x204], 0
jmp 0x4ef423
mov eax, dword [ebp - 0x204]
add eax, 1
mov dword [ebp - 0x204], eax
lea ecx, [ebp - 0x220]
call fcn.00403350
cmp dword [ebp - 0x204], eax
jge 0x4ef57e
mov ecx, dword [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00415440
push eax
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
test eax, eax
jle 0x4ef579
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp + edx*4 - 0x8c]
movsx ecx, byte [ebp + eax - 0x2d3]
cmp ecx, 0x20
jne 0x4ef562
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp + edx*4 - 0x8c]
push eax
lea ecx, [ebp - 0x2d3]
push ecx
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call fcn.004b95a0
add esp, 0xc
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, dword [ebp - 0x224]
jle 0x4ef549
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
sub eax, dword [ebp - 0x224]
push eax
lea edx, [ebp - 0x2e4]
push edx
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x204]
push eax
lea ecx, [ebp - 0x220]
call fcn.004154b0
jmp 0x4ef560
push 0x5b0f3b
mov ecx, dword [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00415470
jmp 0x4ef579
push 0x5b0f43
mov edx, dword [ebp - 0x204]
push edx
lea ecx, [ebp - 0x220]
call fcn.00415470
jmp 0x4ef414
movsx ecx, byte [ebp - 0x2d4]
sub ecx, 0x30
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp + edx - 0x1fc]
cdq
mov esi, 0xa
idiv esi
cmp ecx, edx
jne 0x4ef7fb
cmp dword [ebp - 0x14], 0x1e
jge 0x4ef7fb
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp + eax - 0x1fc]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp + edx - 0x1fc]
jne 0x4ef7fb
cmp dword [ebp - 0x90], 0x10
jl 0x4ef681
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp + ecx - 0x1f4]
push edx
lea eax, [ebp - 0x2d3]
push eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp + ecx - 0x1f8]
push edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ecx + 0xdc84]
mov eax, dword [ebp + eax - 0x1fc]
lea ecx, [edx + eax - 0x10]
push ecx
lea edx, [ebp - 0x2e8]
push edx
mov ecx, dword [ebp - 0x2f4]
add ecx, 0x108
call fcn.0049c660
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x304]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call fcn.004b95a0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x4ef7da
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp + ecx - 0x1f8]
push edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp + eax - 0x1fc]
push ecx
lea edx, [ebp - 0x2ec]
push edx
mov ecx, dword [ebp - 0x2f4]
add ecx, 0x108
call fcn.0049c660
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30c]
push ecx
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2ec]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
test eax, eax
jle 0x4ef7da
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp + edx - 0x1f4]
push eax
lea ecx, [ebp - 0x2d3]
push ecx
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call fcn.004b95a0
add esp, 0xc
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, dword [ebp - 0x224]
jle 0x4ef7da
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
sub eax, dword [ebp - 0x224]
push eax
lea edx, [ebp - 0x2f0]
push edx
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2f0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x220]
call fcn.004154f0
mov esi, dword [ebp - 0x14]
imul esi, esi, 0xc
lea ecx, [ebp - 0x220]
call fcn.00403350
mov ecx, dword [ebp + esi - 0x1f4]
mov dword [ebp + eax*4 - 0x90], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp + edx - 0x1fc]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4ef5c2
cmp dword [ebp - 0x208], 0
jne 0x4ef847
mov edx, dword [ebp - 0x10]
push edx
push 2
push 1
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 1
lea edx, [ebp - 0x2d4]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
sub eax, 1
push eax
lea eax, [ebp - 0x2d3]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
jmp 0x4ef851
mov dword [ebp - 0x208], 0
jmp 0x4ef3c1
mov ecx, dword [ebp - 0x2f4]
cmp dword [ecx + 0xdc84], 0x10
jl 0x4ef884
mov edx, dword [ebp - 0x2f4]
mov eax, dword [edx + 0xdc84]
lea ecx, [eax + eax - 0x1e]
mov edx, 6
sub edx, ecx
mov dword [ebp - 0x90], edx
jmp 0x4ef88e
mov dword [ebp - 0x90], 6
mov dword [ebp - 0x208], 0
jmp 0x4ef8a9
mov eax, dword [ebp - 0x208]
add eax, 1
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x90]
jge 0x4ef8d1
mov edx, dword [ebp - 0x10]
push edx
push 2
push 1
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
jmp 0x4ef89a
mov ecx, dword [ebp - 0x200]
push ecx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call sub.mfc90.dll_Ordinal_781
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x22c]
xor ecx, ebp
call fcn.005795a6
mov esp, ebp
pop ebp
ret