Function at 0x4d0960
Capabilities:
Check if file exists
Get file attributes
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6458f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ebx, ebx
mov al, byte [esi + 0x46]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], ebx
je 0x4d09a9
mov eax, dword [esi + 0x38]
mov ecx, dword [edi + 0x3f0]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 8]
jmp 0x4d09c3
mov edx, dword [esi + 0x38]
mov eax, dword [edi + 0x3f0]
push 0x2f
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 8]
push ecx
call fcn.00609c00
add esp, 8
cmp eax, ebx
je 0x4d1373
mov edx, dword [0x6f7b78]
mov dword [ebp + 8], edx
mov cl, byte [esi + 0x46]
mov byte [ebp - 4], 1
test cl, cl
jne 0x4d09e0
inc eax
push eax
lea eax, [ebp + 8]
push 0x6cbf70
push eax
call fcn.0061fae1
add esp, 0xc
lea ecx, [ebp + 8]
push 0x5c
push 0x2f
call fcn.0061f4c7
mov ecx, dword [ebp + 8]
push ebx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
call fcn.004027e0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4d0a23
lea eax, [ebp - 0x18]
push 0x25
push eax
call fcn.0060a17b
add esp, 8
test eax, eax
je 0x4d0a68
lea ecx, [ebp - 0x4fc]
call fcn.005de500
mov eax, dword [ebp + 8]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x1c]
push ebx
push edx
push ebx
push eax
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 3
call fcn.005d3e40
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 2
call fcn.005deb70
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4d0a72
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
push ecx
call fcn.00402850
add esp, 8
mov edx, dword [ebp - 0x3c]
push ebx
push edx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x54], bx
call fcn.004027e0
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 5
cmp eax, ebx
mov ecx, eax
jne 0x4d0aaa
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4d0ab4
lea eax, [ebp - 0x18]
push ecx
push eax
call fcn.0060a1a4
add esp, 8
test eax, eax
jne 0x4d0b3f
mov eax, dword [ebp - 0x3c]
push eax
call fcn.005d3dc0
add esp, 4
test al, al
je 0x4d0b3f
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x58]
call fcn.00401070
cmp esi, ebx
je 0x4d0b33
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4d0b30
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
cmp eax, ebx
mov dword [ebp - 0x50], eax
je 0x4d0b30
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x58], eax
je 0x4d0b30
mov edx, dword [ebp - 0x50]
push edx
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
mov dword [ebp - 0x50], eax
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00401f20
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0b6a
cmp word [esi], 0x3a
jne 0x4d0b65
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0b56
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0b95
cmp word [esi], 0x2a
jne 0x4d0b90
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0b81
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0bc0
cmp word [esi], 0x3f
jne 0x4d0bbb
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0bac
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0beb
cmp word [esi], 0x7c
jne 0x4d0be6
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0bd7
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0c16
cmp word [esi], 0x3c
jne 0x4d0c11
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0c02
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0c41
cmp word [esi], 0x3e
jne 0x4d0c3c
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0c2d
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0c6c
cmp word [esi], 0x22
jne 0x4d0c67
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0c58
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0c97
cmp word [esi], 0x25
jne 0x4d0c92
mov word [esi], 0x2d
add esi, 2
jmp 0x4d0c83
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0cc2
cmp word [esi], 0x2f
jne 0x4d0cbd
mov word [esi], 0x5f
add esi, 2
jmp 0x4d0cae
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0ced
cmp word [esi], 0x21
jne 0x4d0ce8
mov word [esi], 0x5f
add esi, 2
jmp 0x4d0cd9
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0d18
cmp word [esi], 0x40
jne 0x4d0d13
mov word [esi], 0x5f
add esi, 2
jmp 0x4d0d04
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0d3f
cmp word [esi], 0x27
jne 0x4d0d3a
mov word [esi], 0x5f
add esi, 2
jmp 0x4d0d2b
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0d66
cmp word [esi], 0x2c
jne 0x4d0d61
mov word [esi], 0x5f
add esi, 2
jmp 0x4d0d52
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4d0d94
push esi
call fcn.00609a4e
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x4d0d8d
cmp word [esi], 0x3b
jne 0x4d0d88
mov word [esi], 0x5f
add esi, 2
jmp 0x4d0d79
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
jne 0x4d0d97
lea esi, [ebp - 0x18]
push esi
call fcn.00609a4e
add esp, 4
xor ecx, ecx
cmp ecx, eax
jge 0x4d0db6
cmp word [esi + ecx*2], 0x20
jae 0x4d0db3
mov word [esi + ecx*2], 0x2d
inc ecx
jmp 0x4d0da2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4d0dc0
lea eax, [ebp - 0x18]
push eax
call fcn.00609a4e
mov esi, eax
mov eax, dword [edi + 0x298]
add esp, 4
cmp eax, ebx
jne 0x4d0ddb
lea eax, [edi + 0x29c]
push eax
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp edx, ebx
mov ecx, edx
jne 0x4d0dfe
lea ecx, [ebp - 0x18]
cmp word [ecx + esi*2 - 2], 0x5c
mov ebx, 0x6fc41c
je 0x4d0e10
mov ebx, 0x6c91c0
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [esi + 0x298]
test ecx, ecx
jne 0x4d0e26
lea ecx, [esi + 0x29c]
cmp word [ecx + eax*2 - 2], 0x5c
mov edi, 0x6fc41c
je 0x4d0e38
mov edi, 0x6c91c0
test edx, edx
mov esi, edx
jne 0x4d0e41
lea esi, [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x298]
test eax, eax
jne 0x4d0e54
lea eax, [ecx + 0x29c]
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x4d0fde
test eax, eax
je 0x4d0fde
test edi, edi
je 0x4d0fde
test esi, esi
je 0x4d0fde
test ebx, ebx
je 0x4d0fde
push eax
lea ecx, [ebp - 0x70]
call fcn.00401ee0
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00401ee0
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00401ee0
mov edx, dword [ebp - 0x2c]
mov bl, 9
push edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00401ee0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x4c]
call fcn.004027c0
push 0
push str._s_s_s_s
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.004027e0
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x38]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x7c]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x64]
add edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
mov dword [ebp - 0x2c], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x70]
add edi, esi
call fcn.00401f10
push eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
add edi, ecx
lea esi, [eax + edi + 5]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x28], edx
je 0x4d0fa3
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x38]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x64]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x70]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00609a4e
add esp, 0x20
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00401070
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d0fe8
lea eax, [ebp - 0x24]
push eax
call fcn.00609a4e
mov ebx, eax
mov eax, dword [ebp + 0x14]
add esp, 4
test eax, eax
je 0x4d1007
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x4d1009
xor esi, esi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4d101b
push eax
call fcn.00609a4e
add esp, 4
jmp 0x4d101d
xor eax, eax
lea edi, [eax + esi]
lea edx, [edi + ebx]
cmp edx, 0x104
jle 0x4d1132
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4d1074
mov esi, eax
push esi
call fcn.00609a4e
add esp, 4
cmp eax, 0x32
jbe 0x4d1074
mov eax, dword [ebp + 0x18]
mov word [esi + 0x60], 0
test eax, eax
je 0x4d1060
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x4d1062
xor esi, esi
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00609a4e
mov edi, eax
add esp, 4
add edi, esi
jmp 0x4d1020
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x4d10bc
push esi
call fcn.00609a4e
add esp, 4
cmp eax, 0xa
jbe 0x4d10bc
mov eax, dword [ebp + 0x14]
mov word [esi + 0x10], 0
test eax, eax
je 0x4d10a5
mov edx, eax
push edx
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x4d10a7
xor esi, esi
mov eax, dword [ebp + 0x18]
push eax
call fcn.00609a4e
mov edi, eax
add esp, 4
add edi, esi
jmp 0x4d1020
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d10c6
lea eax, [ebp - 0x24]
push 0x5c
push eax
call fcn.00609ba3
xor esi, esi
add esp, 8
cmp eax, esi
je 0x4d1102
mov word [eax], si
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x4d10e4
lea eax, [ebp - 0x24]
push 0x5c
push eax
call fcn.00609ba3
add esp, 8
cmp eax, esi
je 0x4d10f9
mov word [eax + 2], si
jmp 0x4d1118
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x4d110c
jmp 0x4d1109
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x4d110c
lea eax, [ebp - 0x24]
mov word [eax + ebx*2 - 4], si
mov word [eax + ebx*2 - 2], 0x5c
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x4d1122
lea eax, [ebp - 0x24]
push eax
call fcn.00609a4e
add esp, 4
mov ebx, eax
jmp 0x4d1020
mov eax, dword [0x6fcacc]
test eax, eax
je 0x4d1151
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d1145
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d116e
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d115b
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.004a5e30
add esp, 8
test eax, eax
jne 0x4d13b3
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp eax, edi
jne 0x4d117a
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x34], di
call fcn.00401f20
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xc
cmp eax, edi
jne 0x4d119b
lea eax, [ebp - 0x34]
push eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x38]
add esp, 4
cmp ecx, edi
mov edx, ecx
jne 0x4d11b0
lea edx, [ebp - 0x34]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4d11c8
push 0x6c91c0
lea ecx, [ebp - 0x38]
call fcn.0046c750
mov ecx, dword [ebp - 0x38]
cmp ecx, edi
jne 0x4d11cf
lea ecx, [ebp - 0x34]
add ecx, 6
push 0x5c
push ecx
call fcn.0060a17b
add esp, 8
mov esi, eax
cmp esi, edi
je 0x4d13a7
mov eax, dword [ebp - 0x38]
cmp eax, edi
jne 0x4d11f1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edi
mov word [ebp - 0x48], di
call fcn.00401f20
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.00401f10
mov ebx, esi
lea ecx, [ebp - 0x4c]
sub ebx, eax
sar ebx, 1
call fcn.00401f10
push 1
lea ecx, [ebp - 0x4c]
mov word [eax + ebx*2], di
call fcn.00401f10
push eax
call fcn.004a5e30
add esp, 8
cmp eax, edi
jne 0x4d1386
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401f10
push eax
call fcn.004a6010
add esp, 8
cmp eax, edi
jne 0x4d1386
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x6f7b78]
mov esi, eax
mov dword [ebp + 0x18], ecx
push edi
lea edx, [ebp + 0x10]
push edi
push edx
push 0x400
push esi
push edi
push 0x1100
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x6fdbfc]
push eax
lea edx, [ebp + 0x18]
push ecx
push edx
call fcn.0061fae1
mov eax, dword [ebp + 0x10]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x6f7b78]
mov dword [ebp + 0x14], ecx
mov bl, 0xf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401f10
lea edx, [ebp - 0x2c]
push eax
push edx
call fcn.00402850
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x18]
push esi
push eax
push ecx
lea edx, [ebp + 0x14]
push str._s__s_error__ld_n
push edx
mov byte [ebp - 4], 0x10
call fcn.0061fae1
mov ecx, dword [0x6fcc14]
add esp, 0x14
test ecx, ecx
je 0x4d12fc
mov eax, dword [ebp + 0x14]
push 1
push eax
call fcn.004be7c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00622d8a
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xe
call fcn.00622d8a
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xd
call fcn.00622d8a
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
add esi, 2
push 0x5c
push esi
call fcn.0060a17b
add esp, 8
lea ecx, [ebp - 0x4c]
mov esi, eax
mov byte [ebp - 4], 0xc
call fcn.00401070
jmp 0x4d11df
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00401070
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push 0
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401f10
mov esi, dword [ebp + 0x10]
push eax
push 0x6c9cb0
mov ecx, esi
call fcn.004472d0
mov ecx, esi
call fcn.00401f10
push 0x6cd9a8
push eax
call fcn.0060a3e0
add esp, 8
test eax, eax
je 0x4d1337
push 0x6c91c0
push 0x6cd9a8
mov ecx, esi
call fcn.004434d0
jmp 0x4d13d5