Function at 0x402f97
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
mov eax, 0x65
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
seto cl
push esi
push edi
mov dword [ebp - 0x20], ebx
neg ecx
or ecx, eax
push ecx
call fcn.004114f7
add esp, 4
xor ecx, ecx
push 4
mov dword [ebp - 0x24], eax
mov word [eax], cx
call fcn.004114f7
add esp, 4
test eax, eax
je 0x427cee
mov dword [eax], 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], ebx
jbe 0x402b3f
xor edi, edi
mov eax, edx
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x402b39
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x402c02
push esi
call fcn.004110fc
mov eax, dword [ebp + 0x10]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x402b15
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ebx
cmp word [eax], bx
je 0x402d2f
mov ecx, dword [ebp + 0xc]
jmp 0x402b60
movzx eax, word [ecx + ebx*2]
cmp eax, 0x20
je 0x402c57
cmp eax, 9
je 0x402c57
movzx eax, word [ecx + ebx*2]
test ax, ax
je 0x402d1b
mov esi, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0xa], bx
cmp esi, 0x30
jae 0x402c5d
cmp esi, 0x2e
je 0x402c66
cmp esi, 0x41
jae 0x402ddd
cmp esi, 0x61
jae 0x403052
cmp esi, 0x5f
je 0x402de6
mov eax, esi
cmp eax, 0x24
je 0x402d75
cmp eax, 0x3d
je 0x402e17
cmp eax, 0x28
je 0x402e55
cmp eax, 0x29
je 0x402e38
cmp eax, 0x22
je case.0x402bfb.39
sub eax, 0x1a
cmp eax, 0x44
ja case.0x402bfb.27
movzx eax, byte [eax + 0x4030e8]
jmp dword [eax*4 + 0x4030ac]
cmp ax, 0x30
jl 0x402b2d
mov ecx, dword [esi]
test ecx, ecx
je 0x402b2d
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
cmp dword [edx], ebx
je 0x427cf6
mov ecx, dword [ebp - 8]
push ecx
call fcn.004110fc
add esp, 4
jmp 0x402b2d
mov edi, 0x40
lea esi, [ebp - 0x14]
call fcn.00402940
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.004029b0
inc ebx
jmp 0x402d0d
inc ebx
jmp 0x402b60
cmp esi, 0x39
ja 0x402b95
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
call fcn.004033e0
cmp al, 1
jne 0x427d18
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.004029b0
mov ebx, dword [ebp - 8]
jmp 0x402d0d
cmp di, 0x30
jae 0x402f2e
cmp di, 0x5f
je 0x402da8
test esi, esi
je 0x427fc2
lea eax, [ebp - 0x24]
call fcn.00402920
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push esi
push edi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jge 0x402f88
mov eax, 0x33
push 0x10
mov word [ebp - 0xc], ax
call fcn.004114f7
add esp, 4
test eax, eax
je 0x427eee
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
inc dword [ecx]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.004029b0
mov eax, dword [ebp + 0xc]
cmp word [eax + ebx*2], 0
jne 0x402b51
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jl 0x402d2f
cmp ax, 0x3f
jle 0x402f5e
mov edi, dword [ebp + 0x10]
mov ecx, 0x7f
lea eax, [ebp - 0x14]
mov word [ebp - 0xc], cx
mov dword [ebp - 0x14], 0
mov word [ebp - 0xa], bx
call fcn.004029b0
mov esi, dword [ebp - 0x18]
dec dword [esi]
jne 0x402d6a
mov edx, dword [ebp - 0x24]
push edx
call fcn.004110fc
add esp, 4
push esi
call fcn.004110fc
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebp - 0x24]
inc ebx
call fcn.00403580
mov eax, dword [ebp + 0xc]
movzx edi, word [eax + ebx*2]
mov esi, dword [ebp - 0x20]
cmp di, 0x5a
ja 0x402d94
cmp di, 0x41
jae 0x402da8
cmp di, 0x61
jb 0x402c91
cmp di, 0x7a
ja 0x402c91
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jg 0x427e86
lea eax, [esi + 1]
lea esi, [ebp - 0x24]
call fcn.00403130
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
mov word [eax + esi*2], di
inc esi
xor ecx, ecx
inc ebx
mov word [eax + esi*2], cx
movzx edi, word [edx + ebx*2]
mov dword [ebp - 0x20], esi
jmp 0x402d88
cmp esi, 0x5a
ja 0x402ba7
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 8]
call fcn.00403290
cmp dword [ebp - 0x14], 0xffffffff
je 0x427f25
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.004029b0
mov ebx, dword [ebp - 8]
jmp 0x402d0d
mov edx, dword [ebp + 0xc]
inc ebx
cmp word [edx + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x427e76
mov edi, 0x41
call fcn.00402940
jmp 0x402d02
mov edi, 0x48
lea esi, [ebp - 0x14]
call fcn.00402940
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.004029b0
inc ebx
jmp 0x402d0d
mov edi, 0x47
lea esi, [ebp - 0x14]
call fcn.00402940
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.004029b0
inc ebx
jmp 0x402d0d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x24]
lea edi, [ebp - 8]
call int.004031b0
lea esi, [ebp - 0x14]
test eax, eax
jne 0x427f67
lea edi, [eax + 0x36]
call fcn.00402940
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.004024b0
mov eax, edi
mov edi, dword [ebp + 0x10]
call fcn.004029b0
mov ebx, dword [ebp - 8]
jmp 0x402d0d
mov edi, 0x4d
lea esi, [ebp - 0x14]
call fcn.00402940
mov ecx, dword [ebp + 0xc]
inc ebx
cmp word [ecx + ebx*2], 0x3d
jne 0x402d02
mov edi, 0x56
inc ebx
call fcn.00402940
jmp 0x402d02
mov edi, 0x49
lea esi, [ebp - 0x14]
call fcn.00402940
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
jne 0x402d02
mov edi, 0x52
inc ebx
call fcn.00402940
jmp 0x402d02
mov edi, 0x4c
lea esi, [ebp - 0x14]
call fcn.00402940
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
jne 0x402d02
jmp 0x427e05
cmp di, 0x39
jbe 0x402da8
jmp 0x402c9b
mov edi, 0x4b
lea esi, [ebp - 0x14]
call fcn.00402940
mov edx, dword [ebp + 0xc]
inc ebx
cmp word [edx + ebx*2], 0x3d
jne 0x402d02
jmp 0x427dd5
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x402d2f
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
je 0x427fed
push esi
call fcn.004110fc
add esp, 4
jmp 0x402d2f
cmp ax, 0x3f
jg 0x402cd1
jmp 0x427ed8
mov edi, 0x4e
lea esi, [ebp - 0x14]
call fcn.00402940
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.004029b0
inc ebx
jmp 0x402d0d
mov edi, 0x4f
lea esi, [ebp - 0x14]
call fcn.00402940
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.004029b0
inc ebx
jmp 0x402d0d
lea esi, [ebp - 0x24]
inc ebx
call fcn.00403580
mov esi, dword [ebp + 0xc]
movzx eax, word [esi + ebx*2]
cmp ax, 0x5a
ja 0x402fed
cmp ax, 0x41
jae 0x402ff9
cmp ax, 0x61
jb 0x403005
cmp ax, 0x7a
ja 0x403005
push eax
lea eax, [ebp - 0x24]
call fcn.00403250
inc ebx
jmp 0x402fdd
cmp ax, 0x30
jae 0x427d9a
cmp ax, 0x5f
je 0x402ff9
cmp dword [ebp - 0x20], 0
je 0x427f52
lea eax, [ebp - 0x24]
call fcn.00402920
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov edi, 0x32
lea esi, [ebp - 0x14]
call fcn.00402940
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.004024b0
jmp 0x402d02
cmp esi, 0x7a
jbe 0x402de6
jmp 0x402bb0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ebx*2 + 2]
inc ebx
sub eax, 0x3d
lea esi, [ebp - 0x14]
je 0x427e28
dec eax
je 0x427e18
mov edi, 0x43
call fcn.00402940
jmp 0x402d02
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x427e38
mov edi, 0x42
call fcn.00402940
jmp 0x402d02
sbb bl, byte [ebp - 0x38]
and esi, dword [edi]
and al, 0xee
pop edi
jge 0x427d21
stc
ficom dword [ecx + 0x6f]
stosd dword es:[edi], eax
hlt
cmp dword [esi + 0x24], 0xffffff86
mov esi, 0x2c978b09
wait
fucompi st(3)
mov eax, dword [0xe06fbe74]
sbb al, 0x38
out 0x7d, al
sbb byte [edi], bh
and bl, bl
mov bl, 0x15
imul ebp, dword [eax], 0xffffffeb
push edx
push edx
cmp eax, edx
push es
add byte [0xe859c48b], al
sbb byte [ebx], bl
push cs
mov al, 0x12
adc byte [edx + edx], ch
fmul dword [ecx]
xchg byte [eax], ah
fnstenv [eax + 0x21a42938]
sal byte [eax + 0x63], cl
xchg edx, eax
push edx
mov cl, 0x81
push ecx
movsb byte es:[edi], byte [esi]
dec ebx
mov bl, 0xc8
fild dword [ebx]
or ah, byte [edx]
nop
and byte [ecx], 0xd4
mov eax, 0x5b8b0b91
and ah, al
retf 0x81a5
out 0xa3, eax
hlt
scasd eax, dword es:[edi]
add byte [ecx - 0x1f22f36c], dl
hlt
dec edi
inc edi
add byte [eax + ecx*8 + 0x45970b49], bl
aas
xlatb
std
jp 0x427df8
add dword [esi + esi*8 - 0x7a], edx
stosb byte es:[edi], al
lea esi, [ecx + edi + 0x5e17e821]
lahf
and eax, 0x1095a012
pop eax
pop esp
inc ebx
in al, dx
or al, 0xa6
loop 0x427db9
int1
push 0xd
hlt
ljmp 0x3024:0x4d810101
sub esp, ecx
invalid
loope 0x427dc2
and dword [edx - 0x1696783d], ebp
sbb ebx, dword [ebx]
xor eax, 0x430674d4
je 0x427e0d
inc ebx
add byte [edi + ebx], al
pop es
fmul st(3)
shr byte [ebx + ebx*2 - 0x3d822ccc], 0xec
cld
invalid
retf
jge 0x427e5c
dec eax
jno 0x427e3e
in al, dx
invalid
test byte [edi - 0x1f], 0xb
adc dh, byte [esi + edi + 0x521fe7ab]
stosd dword es:[edi], eax
out 0x1f, eax
push edx
inc eax
jecxz 0x427e3a
stosb byte es:[edi], al
int 0xdb
add ah, byte [ecx - 0x158ad55a]
lcall 0x3e73, 0xe4795235
push edx
jns 0x427e21
jae 0x427e7d
test bl, dh
test bl, dh
mov dh, 0x45
jmp 0x427df9
jmp 0x427e49
jmp dword [edi]
add al, 0x9e
push ebx
pop edx
cmp bh, cl
stc
int1
and bl, cl
in eax, dx
sub esp, dword [0xc833a151]
cmp esp, dword [0x2e117b49]
invalid
call dword [edx]
or dword [ecx - 0x24], ebx
lodsb al, byte [esi]
inc esp
stosb byte es:[edi], al
cmp eax, 0x7d896e73
mov ah, 0xdd
jg 0x427e86
dec edx
dec edi
jb 0x427e68
retf 0x724f
stosb byte es:[edi], al
adc dword [esi], ecx
enter 0xffffffffffff932a, 0xfffffffffffffffb
xchg ebx, eax
sti
ror ah, 0x40
xor dword [ecx - 0x5e], edx
mov al, byte [0xff019b66]
in eax, 0xe9
and eax, 0x79c31aee
add dl, 0xff
cli
pop dword [eax]
xchg esi, edi
ror byte [edx - 4], 1
enter 0x2cb, 0xffffffffffffffb7
cli
mov ebp, 0xcbcffda3
xchg ebx, eax
or ch, 0x86
repne outsb dx, byte [esi]
mov ah, 0x58
push edx
dec ecx
outsd dx, dword [esi]
mov ebp, 0xfa8cb6c8
jg 0x427e90
lodsd eax, dword [esi]
jmp 0x427e5e
arpl bp, si
push 0xffffffffffffff91
rol edx, 0x1c
out dx, al
xchg ebp, eax
out dx, eax
fisttp word [eax - 0x36]
pop ebp
dec edi
mov ah, byte [ebx - 0x56]
test eax, 0x9b94ad2e
wait
dec esi
mov word [ecx + 0x72], es
pushfd
fdiv st(6), st(0)
test eax, 0x8ab73e03
xchg ecx, eax
test byte [eax - 0x1f], al
outsb dx, byte [esi]
test eax, 0x5c43c896
push 0xd00104f1
fstp xword [ebx]
mov edx, 0xd5228989
arpl word [ecx - 0x4f2872d9], cx
int3
or al, 4
sub byte [esi + 0x1a], al
and eax, 0xf99d3aff
iretd
cmp bl, byte [ebp - 0x6f923007]
loope 0x427f3a
enter 0xffffffffffff8835, 6
push eax
js 0x427f1e
test byte [ebp - 0x3b8af2fd], ah
js 0x427f5d
test al, 0xe7
lodsd eax, dword [esi]
retf
movsb byte es:[edi], byte [esi]
inc ebp
test al, 9
add dword [ebp - 0x5f], ebp
add dword [edx], eax
inc esi
xor ch, byte [edx + 0x66]
push 0x66
push cs
push cs
mov byte [0x588037a8], al
push ecx
sahf
sub eax, 0xe089a101
mov dword [ecx], 0x7ec425d9
mov al, byte [0xa8860c8f]
adc al, 0x99
cmc
fnstsw word [ebp - 0x487a22d0]
test dword fs:[ebx - 0x52], 0xf85945bd
sub byte [ecx], bh
and byte [edx + 0x498620a8], ah
pushal
mov dword [ecx], ecx
adc eax, 0x5710c8e6
adc byte [edi + 0x5c], dl
adc byte [edi + 0x5c], dl
fstp xword [ecx - 0x74]
int1
mov al, byte [0x5c615803]
and al, 0x31
push es
mov ebx, dword [edx + 0x2a]
adc dl, byte [eax - 0x17914b5a]
add al, 0x7e
lea ebp, [ebx - 0x77]
pop edx
sbb byte [ebx], dl
sub dl, 0xe1
add bh, dh
mov dword [edx + 0x18], ebx
adc eax, dword [edx - 0x1fd1e16]
mov edx, 0x1022980b
test byte [edx], ch
and eax, 0xbb6f4c58
sub ah, byte [0xbb6f4c58]
fist word [ebx]
loope 0x427fdc
add ah, byte [ebp + 0x7f]
mov eax, dword [0x641d1179]
fsubr qword [eax - 0x4e495f56]
push cs
salc
imul ebx, dword [ecx + 0x266a4a0], 0x50cb989
xor dword [ecx], 0x9f0e3aec
dec esp
sbb dl, byte [edi]
sub al, 0x40
adc ebp, edi
outsd dx, dword [esi]
cdq
adc eax, 0x40cd450
push ebp
test eax, 0x6aa0b2c8
xchg ebx, eax
pop esi
xor al, 0xdf
jne 0x427fb3
out dx, eax
cmp bl, cl
retf
dec esi
inc ecx
cmp dword [ebx - 0x3d7b237f], 0x6d9044e1
inc esp
nop
insd dword es:[edi], dx
dec ecx
sar byte [esi - 4], 0xd4
test dword [ebx - 2], esp
jg 0x428013
jmp 0x428097
stosb byte es:[edi], al
clc
and dword [esi - 0x5e], 0xffffffeb
scasd eax, dword es:[edi]
xor eax, 0xd85cf0f2
mov esi, 0xf9892213
push ebx
mov byte fs:[0xe119c33f], al
invalid
in eax, dx
sbb edx, edi
jg 0x428038
xlatb
sub al, 0x7f
mov esi, 0xfe1f8923
xchg byte [edx - 0x1a3c0d63], al
invalid