Function at 0x40dc80
Capabilities:
Enumerate files on windows
Get common file path
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x43a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0xc9c], eax
push edi
mov word [ebx], ax
xor edi, edi
push 8
movzx eax, word [esi]
mov dword [ebp - 0xc94], edi
mov edi, esi
push eax
mov dword [ebp - 0xc90], edx
mov dword [ebp - 0xc8c], ebx
mov dword [ebp - 0xc88], 0
mov dword [ebp - 0xc98], 1
call fcn.0041f340
add esp, 8
test eax, eax
je 0x40dcf8
movzx eax, word [edi + 2]
add edi, 2
push 8
push eax
call fcn.0041f340
add esp, 8
test eax, eax
jne 0x40dce2
push 3
push 0x437678
push edi
call fcn.0041fe38
add esp, 0xc
test eax, eax
je 0x40dd20
push 3
push 0x437680
push edi
call fcn.0041fe38
add esp, 0xc
test eax, eax
jne 0x40dd2a
mov dword [ebp - 0xc98], 0
lea edx, [ebp - 0xa30]
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x40dd34
lea ecx, [ebp - 0x828]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x40dd50
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dd70
sub ecx, edx
mov edx, dword [ebp + 0xc]
sar ecx, 1
lea eax, [edx + 1]
cmp eax, ecx
jae 0x40dda1
lea eax, [edx + edx]
cmp eax, 0x208
jae 0x40e5f4
xor ecx, ecx
mov word [ebp + eax - 0xa30], cx
mov ecx, 0x441cc0
lea eax, [ebp - 0xa30]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ddd6
test dx, dx
je 0x40ddd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ddd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ddb0
xor eax, eax
jmp 0x40dddb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40de3c
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ddf0
sub ecx, edx
sar ecx, 1
je 0x40de3c
xor ecx, ecx
movzx eax, word [ecx + 0x4418b0]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x40de03
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + 0x441ab8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x40de20
jmp 0x40e04d
lea ebx, [ebp - 0xa30]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x40de45
sub ebx, ecx
sar ebx, 1
jne 0x40de73
lea edi, [ebp - 0xa30]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40de60
mov eax, dword [0x437378]
mov dword [edi], eax
xor eax, eax
lea edx, [ebp - 0x210]
mov word [ebp - 0x620], ax
lea ecx, [ebp - 0xa30]
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x620]
push eax
call fcn.0040d710
lea ecx, [ebp - 0x620]
add esp, 4
xor edi, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40deb0
sub ecx, edx
sar ecx, 1
je 0x40df23
lea esi, [ebp - 0x620]
cmp word [esi], 0x22
lea edx, [esi + 2]
jne 0x40df03
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0xc84], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dee0
sub ecx, dword [ebp - 0xc84]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.0041ec00
add esp, 0xc
jmp 0x40df06
inc edi
mov esi, edx
lea ecx, [ebp - 0x620]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df10
sub ecx, edx
sar ecx, 1
cmp edi, ecx
jb 0x40dec7
push 0x208
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.0041e550
add esp, 0xc
lea eax, [ebp - 0x418]
push 0
push eax
push 0x104
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp word [ebp - 0x418], 0x5c
jne 0x40dff0
cmp word [ebp - 0x416], 0x5c
jne 0x40dff0
cmp word [ebp - 0x414], 0x2e
jne 0x40dff0
cmp word [ebp - 0x412], 0x5c
jne 0x40dff0
lea eax, [ebp - 0x418]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edi, [ebp - 0x418]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40dfa0
mov eax, dword [0x437300]
lea edx, [ebp - 0x620]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40dfc0
lea edi, [ebp - 0x418]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dfd6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
jle 0x40e013
lea edi, [ebp - 0x418]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40e000
mov eax, dword [0x437378]
mov dword [edi], eax
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ecx + 0x4418ae], ax
test ax, ax
jne 0x40e015
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ecx + 0x441ab6], ax
test ax, ax
jne 0x40e030
mov ebx, dword [ebp - 0xc8c]
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc84], eax
cmp eax, 0xffffffff
jne 0x40e0a1
lea ecx, [ebp - 0x828]
mov eax, ecx
sub ebx, eax
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx - 2], ax
test ax, ax
jne 0x40e080
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d22b
mov esp, ebp
pop ebp
ret
xor esi, esi
mov edi, dword [ebp - 0xc88]
lea eax, [ebp - 0xc54]
mov ecx, 0x43737c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e0da
test dx, dx
je 0x40e0d6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e0da
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e0b4
xor eax, eax
jmp 0x40e0df
sbb eax, eax
or eax, 1
test eax, eax
je 0x40e183
mov ecx, 0x437380
lea eax, [ebp - 0xc54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e118
test dx, dx
je 0x40e114
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e118
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e0f2
xor eax, eax
jmp 0x40e11d
sbb eax, eax
or eax, 1
test eax, eax
je 0x40e183
cmp dword [ebp - 0xc98], 0
jne 0x40e139
mov eax, dword [ebp - 0xc80]
cmp eax, 0xffffffff
je 0x40e139
test al, 0x10
je 0x40e183
inc dword [ebp - 0xc94]
add esi, 0x208
push esi
push dword [ebp - 0xc88]
call fcn.004216fc
add esp, 8
mov dword [ebp - 0xc88], eax
test eax, eax
je 0x40e1d5
lea edx, [ebp - 0xc54]
mov ecx, esi
mov edi, edx
sub ecx, edi
add ecx, eax
nop dword [eax]
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx + edx - 0x20a], ax
test ax, ax
jne 0x40e170
mov edi, dword [ebp - 0xc84]
lea eax, [ebp - 0xc80]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e0a3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0xc94]
test edi, edi
jne 0x40e231
lea ecx, [ebp - 0x828]
mov eax, ecx
sub ebx, eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx - 2], ax
test ax, ax
jne 0x40e1c0
jmp 0x40e5d0
push edi
call fcn.0041f3e5
lea ecx, [ebp - 0x828]
add esp, 4
mov eax, ecx
sub ebx, eax
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx - 2], ax
test ax, ax
jne 0x40e1f0
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x44a060
call fcn.004079d0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d22b
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc88]
push 0x40dc00
push 0x208
push edi
push esi
call fcn.00421a40
lea ecx, [ebp - 0x828]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e254
sub ecx, edx
sar ecx, 1
je 0x40e2ca
mov ecx, 0x441cc0
lea eax, [ebp - 0x828]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e296
test dx, dx
je 0x40e292
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e296
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e270
xor eax, eax
jmp 0x40e29b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40e2ca
cmp dword [ebp - 0xc90], eax
je 0x40e2b9
mov ecx, dword [0x4418ac]
lea eax, [edi - 1]
cmp eax, ecx
je 0x40e2ca
lea eax, [ecx + 1]
jmp 0x40e2cc
mov eax, dword [0x4418ac]
test eax, eax
jne 0x40e2c7
lea eax, [edi - 1]
jmp 0x40e2cc
dec eax
jmp 0x40e2cc
xor eax, eax
xor ecx, ecx
mov dword [0x4418ac], eax
mov word [ebx], cx
imul ebx, eax, 0x208
add ebx, esi
mov ecx, ebx
movzx eax, word [ecx]
test ax, ax
je 0x40e4c8
mov edx, 0xb4
lea ecx, [ecx + 2]
cmp ax, 0x20
je 0x40e376
cmp ax, 0x21
je 0x40e376
cmp ax, 0x25
je 0x40e376
cmp ax, 0x26
je 0x40e376
cmp ax, 0x28
je 0x40e376
cmp ax, 0x29
je 0x40e376
cmp ax, 0x7b
je 0x40e376
cmp ax, 0x7d
je 0x40e376
cmp ax, 0x5b
je 0x40e376
cmp ax, 0x5d
je 0x40e376
cmp ax, 0x3d
je 0x40e376
cmp ax, 0x27
je 0x40e376
cmp ax, 0x60
je 0x40e376
cmp ax, 0x2c
je 0x40e376
cmp ax, 0x3b
je 0x40e376
cmp ax, 0x5e
je 0x40e376
cmp ax, 0x7e
je 0x40e376
cmp ax, 0x2b
je 0x40e376
cmp ax, dx
je 0x40e376
movzx eax, word [ecx]
test ax, ax
jne 0x40e2f1
jmp 0x40e4c8
lea edx, [ebp - 0x210]
mov dword [ebp - 0xc9c], 1
lea eax, [edx + 2]
or esi, 0xffffffff
xor edi, edi
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40e396
sub edx, dword [ebp - 0xc90]
sar edx, 1
je 0x40e3d7
nop dword [eax + eax]
movzx eax, word [ebp + ecx*2 - 0x210]
cmp eax, 0x22
jne 0x40e3c8
xor eax, eax
test edi, edi
sete al
mov edi, eax
jmp 0x40e3d2
cmp eax, 0x20
jne 0x40e3d2
test edi, edi
cmove esi, ecx
inc ecx
cmp ecx, edx
jb 0x40e3b0
lea ecx, [ebp - 0x20e]
cmp word [ecx + esi*2], 0x22
lea ecx, [ecx + esi*2]
je 0x40e456
cmp esi, 0xffffffff
je 0x40e45b
sub edx, esi
lea eax, [edx*2 + 2]
push eax
lea eax, [ebp - 0x210]
lea eax, [eax + esi*2]
push eax
push ecx
call fcn.0041ec00
lea ecx, [ebp - 0x210]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e412
sub ecx, edx
lea eax, [esi + 1]
sar ecx, 1
cmp eax, ecx
jne 0x40e444
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40e431
mov eax, dword [0x436c98]
mov dword [edi], eax
mov eax, 0x22
mov word [ebp + esi*2 - 0x20e], ax
jmp 0x40e4c8
cmp esi, 0xffffffff
jne 0x40e4c8
cmp word [ebp - 0x210], 0x22
je 0x40e4c8
lea edx, [ebp - 0x210]
mov dword [ebp - 0x620], 0x22
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40e477
lea edi, [ebp - 0x620]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40e490
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x620]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x40e4b0
mov edi, dword [ebp - 0xc8c]
lea ecx, [ebp - 0x210]
mov edx, edi
mov eax, ecx
sub edx, eax
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x40e4e0
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x40e4f2
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40e502
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [ebp - 0xc8c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0xc9c]
test edi, edi
jne 0x40e5a2
mov ecx, ebx
xor edx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e537
sub ecx, esi
sar ecx, 1
je 0x40e57d
lfence
nop dword [eax + eax]
cmp word [ebx + edx*2], 0x22
jne 0x40e560
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov ecx, ebx
inc edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e566
sub ecx, esi
sar ecx, 1
cmp edx, ecx
jb 0x40e550
test edi, edi
jne 0x40e5a2
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e586
sub ecx, edx
sar ecx, 1
je 0x40e5b8
cmp word [ebp + ecx*2 - 0x212], 0x22
jne 0x40e5b8
lea edi, [ebx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40e5a5
mov eax, dword [0x436c98]
mov dword [edi], eax
mov ecx, 0x441cc0
sub ecx, ebx
nop
movzx eax, word [ebx]
lea ebx, [ebx + 2]
mov word [ecx + ebx - 2], ax
test ax, ax
jne 0x40e5c0
mov eax, dword [ebp - 0xc88]
test eax, eax
je 0x40e5e3
push eax
call fcn.0041f3e5
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d22b
mov esp, ebp
pop ebp
ret
call fcn.0041d35b
int3