Function at 0x402640
Capabilities:
Packed with generic packer
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.004128c9
add esp, 4
xor ecx, ecx
push 4
mov dword [ebp - 0x24], eax
mov word [eax], cx
call fcn.004128c9
add esp, 4
test eax, eax
je 0x42bf50
mov dword [eax], 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], ebx
jbe 0x4026cf
xor edi, edi
mov eax, edx
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4026c9
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x402792
push esi
call fcn.00410eb6
mov eax, dword [ebp + 0x10]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x4026a5
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ebx
cmp word [eax], bx
je 0x4028e3
mov ecx, dword [ebp + 0xc]
jmp 0x4026f0
movzx eax, word [ecx + ebx*2]
cmp eax, 0x20
je 0x4027e7
cmp eax, 9
je 0x4027e7
movzx eax, word [ecx + ebx*2]
test ax, ax
je 0x4028cf
mov esi, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0xa], bx
cmp esi, 0x30
jae 0x4027ed
cmp esi, 0x2e
je 0x4027f6
cmp esi, 0x41
jae 0x402995
cmp esi, 0x61
jae 0x402c0a
cmp esi, 0x5f
je 0x40299e
mov eax, esi
cmp eax, 0x24
je 0x402929
cmp eax, 0x3d
je 0x4029cf
cmp eax, 0x28
je 0x402a0d
cmp eax, 0x29
je 0x4029f0
cmp eax, 0x22
je case.0x40278b.39
sub eax, 0x1a
cmp eax, 0x44
ja case.0x40278b.27
movzx ecx, byte [eax + 0x402ca0]
jmp dword [ecx*4 + 0x402c64]
cmp ax, 0x30
jl 0x4026bd
mov ecx, dword [esi]
test ecx, ecx
je 0x4026bd
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
cmp dword [edx], ebx
je 0x42bf58
mov ecx, dword [ebp - 8]
push ecx
call fcn.00410eb6
add esp, 4
jmp 0x4026bd
mov edi, 0x40
lea esi, [ebp - 0x14]
call fcn.004024d0
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402540
inc ebx
jmp 0x4028c1
inc ebx
jmp 0x4026f0
cmp esi, 0x39
ja 0x402725
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x42bf7a
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx*4 - 4]
movzx edi, word [edx + 8]
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.00402fa0
cmp al, 1
jne 0x42bfba
cmp di, 0x4a
je 0x42bf84
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00402540
mov ebx, dword [ebp - 8]
jmp 0x4028c1
cmp di, 0x30
jae 0x402ae6
cmp di, 0x5f
je 0x402960
test esi, esi
je 0x42c264
lea eax, [ebp - 0x24]
call fcn.004024b0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push esi
push edi
call dword [0x486640]
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jge 0x402b40
mov eax, 0x33
push 0x10
mov word [ebp - 0xc], ax
call fcn.004128c9
add esp, 4
test eax, eax
je 0x42c190
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.00402540
mov eax, dword [ebp + 0xc]
cmp word [eax + ebx*2], 0
jne 0x4026e1
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jl 0x4028e3
cmp ax, 0x3f
jle 0x402b16
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.00402540
mov esi, dword [ebp - 0x18]
dec dword [esi]
jne 0x40291e
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041279c
add esp, 4
push esi
call fcn.00410eb6
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.00403140
mov ecx, dword [ebp + 0xc]
movzx edi, word [ecx + ebx*2]
mov esi, dword [ebp - 0x20]
lea esp, [esp]
cmp di, 0x5a
ja 0x40294c
cmp di, 0x41
jae 0x402960
cmp di, 0x61
jb 0x402845
cmp di, 0x7a
ja 0x402845
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jg 0x42c128
lea eax, [esi + 1]
lea esi, [ebp - 0x24]
call fcn.00402cf0
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 0x402940
cmp esi, 0x5a
ja 0x402737
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 8]
call fcn.00402e50
cmp dword [ebp - 0x14], 0xffffffff
je 0x42c1c7
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00402540
mov ebx, dword [ebp - 8]
jmp 0x4028c1
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x42c118
mov edi, 0x41
call fcn.004024d0
jmp 0x4028b6
mov edi, 0x48
lea esi, [ebp - 0x14]
call fcn.004024d0
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402540
inc ebx
jmp 0x4028c1
mov edi, 0x47
lea esi, [ebp - 0x14]
call fcn.004024d0
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402540
inc ebx
jmp 0x4028c1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x24]
lea edi, [ebp - 8]
call fcn.00402d70
lea esi, [ebp - 0x14]
test eax, eax
jne 0x42c209
lea edi, [eax + 0x36]
call 0x3f24d0
or dword [ebp - 0x24], esi
lea edi, [ebp - 0x14]
call fcn.00402030
mov eax, edi
mov edi, dword [ebp + 0x10]
call fcn.00402540
mov ebx, dword [ebp - 8]
jmp 0x4028c1
mov edi, 0x4d
lea esi, [ebp - 0x14]
call fcn.004024d0
mov edx, dword [ebp + 0xc]
inc ebx
cmp word [edx + ebx*2], 0x3d
jne 0x4028b6
mov edi, 0x56
inc ebx
call fcn.004024d0
jmp 0x4028b6
mov edi, 0x49
lea esi, [ebp - 0x14]
call fcn.004024d0
mov ecx, dword [ebp + 0xc]
inc ebx
cmp word [ecx + ebx*2], 0x3d
jne 0x4028b6
mov edi, 0x52
inc ebx
call fcn.004024d0
jmp 0x4028b6
mov edi, 0x4c
lea esi, [ebp - 0x14]
call fcn.004024d0
mov ecx, dword [ebp + 0xc]
inc ebx
cmp word [ecx + ebx*2], 0x3d
jne 0x4028b6
jmp 0x42c0a7
cmp di, 0x39
jbe 0x402960
jmp 0x40284f
mov edi, 0x4b
lea esi, [ebp - 0x14]
call fcn.004024d0
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
jne 0x4028b6
jmp 0x42c077
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4028e3
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
je 0x42c28f
push esi
call fcn.00410eb6
add esp, 4
jmp 0x4028e3
cmp ax, 0x3f
jg 0x402885
jmp 0x42c17a
mov edi, 0x4e
lea esi, [ebp - 0x14]
call fcn.004024d0
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402540
inc ebx
jmp 0x4028c1
mov edi, 0x4f
lea esi, [ebp - 0x14]
call fcn.004024d0
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402540
inc ebx
jmp 0x4028c1
lea esi, [ebp - 0x24]
inc ebx
call fcn.00403140
mov esi, dword [ebp + 0xc]
movzx eax, word [esi + ebx*2]
cmp ax, 0x5a
ja 0x402ba5
cmp ax, 0x41
jae 0x402bb1
cmp ax, 0x61
jb 0x402bbd
cmp ax, 0x7a
ja 0x402bbd
push eax
lea eax, [ebp - 0x24]
call fcn.00402e10
inc ebx
jmp 0x402b95
cmp ax, 0x30
jae 0x42c03c
cmp ax, 0x5f
je 0x402bb1
cmp dword [ebp - 0x20], 0
je 0x42c1f4
lea eax, [ebp - 0x24]
call fcn.004024b0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push edx
push eax
call dword [0x486640]
mov edi, 0x32
lea esi, [ebp - 0x14]
call fcn.004024d0
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00402030
jmp 0x4028b6
cmp esi, 0x7a
jbe 0x40299e
jmp 0x402740
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + ebx*2 + 2]
inc ebx
sub eax, 0x3d
lea esi, [ebp - 0x14]
je 0x42c0ca
dec eax
je 0x42c0ba
mov edi, 0x43
call fcn.004024d0
jmp 0x4028b6
mov ecx, dword [ebp + 0xc]
inc ebx
cmp word [ecx + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x42c0da
mov edi, 0x42
call fcn.004024d0
jmp 0x4028b6
in eax, 0x39
xchg esi, eax
sbb ebx, dword ss:[ebx]
xchg edx, eax
pop ss
sub dh, byte [ecx - 0x203f94c7]
adc dl, byte [ecx]
adc dl, byte [ecx]
pushal
xor dword [eax - 0x16], ecx
sub dl, 0xd7
pop ds
xor dword [edx - 0x24], eax
mov esi, 0xbb80aa32
xchg edx, eax
in al, dx
dec eax
pop ds
xchg byte [ebx], cl
lss esi, [esi + 0x29d37583]
xor dword [ebp - 0x2d], 0x29
jne 0x42bf2e
sub ebx, ecx
inc esi
in eax, dx
jo 0x42bfcb
retf
arpl word [ebx + 0x7d], dx
invalid
sti
and dword [ebx - 0x36], eax
invalid
jo 0x42bfbb
adc esi, dword [edx + 0xb8c293f]
pop ds
jne 0x42bf59
jae 0x42bf3d
push edx
cmp edx, dword [esi - 0x2e]
cmpsd dword [esi], dword es:[edi]
pushal
in al, dx
invalid
inc ecx
cdq
aam 0xae
retf 0x4416
insd dword es:[edi], dx
dec eax
or dword [ebp + 0x45b161bb], 0xab272b98
lea edi, [ebx - 0x67ba4e9f]
cwde
sub esp, dword [edi]
stosd dword es:[edi], eax
mov al, byte [0x8e17bdb0]
and cl, byte [0xb4aec582]
mov eax, 0x164e4715
and ah, byte [edx + 0x30809bac]
push eax
das
or edx, dword [edx]
mov dl, 0x4f
and byte [edx - 0x66], dh
jle 0x42c034
and byte [edx - 0x44], al
push esi
cmp esp, ecx
sbb dword [eax - 0x6f], 0xad72b6cd
mov al, 0x94
dec eax
dec ebx
rcr dword [ecx], 0xb
push edx
sub esp, esp
js 0x42c055
retf
push eax
adc dl, byte [ebx]
sbb cl, cl
jl 0x42c080
and eax, 0xb23070a
xchg ebp, eax
invalid
or edx, dword [ebp - 0x2e2b289e]
dec ecx
out dx, eax
add bh, byte [ecx]
out dx, al
or dword [edi + 0x74], edx
cmp dword [ebp + 0x559de27f], ecx
loop 0x42bfd3
push ebp
mov al, 0x13
loop 0x42c03e
adc dword [edi], esi
aaa
jp 0x42bfce
invalid
popal
jle 0x42c094
cmp byte [esi], 0xf1
ja 0x42c018
cli
leave
stc
ficomp word [eax + edi*8 - 0x1211d753]
pushfd
clc
lodsd eax, dword [esi]
sub dh, ch
in eax, dx
pushfd
clc
lodsd eax, dword [esi]
sub dh, ch
in eax, dx
push esp
insb byte es:[edi], dx
cwde
jno 0x42c07b
and eax, 0x4736584c
dec esp
pop eax
inc edi
jp 0x42c091
cld
dec ebp
sub edi, dword [eax]
and cl, byte [ebp - 0x69636bb]
loope 0x42c023
xor ch, byte [ecx]
and byte [ebx + edx + 0x594d9baa], ch
wait
dec ebp
pop ecx
push esi
xlatb
mov edi, 0xaded22c2
lodsd eax, dword [esi]
adc dword [eax - 0x4d], ebp
jg 0x42c019
jbe 0x42c06e
pop ds
jo 0x42c0fc
enter 0x41d7, 0xffffffffffffffce
loope 0x42c06e
mov esp, 0xca26f1b9
xchg byte [bp - 0x33], ch
mov ecx, 0x67ca26f1
xchg byte [esi - 0x33], ch
int 0xbe
invalid
mov esi, 0xf587b1f0
mov cl, 0x87
cmc
pushal
sbb bh, byte [eax]
rol byte [ecx + edi + 0x49], 1
xor ebx, eax
mov ebx, 0xc386715
out 0xe7, al
push 0xffffffffffffff93
or byte [esp + eax*8 - 0x21], ah
jle 0x42c051
shr dword [edx - 0x33], cl
insb byte es:[edi], dx
xchg esi, eax
xchg ebp, eax
insd dword es:[edi], dx
mov al, byte [0x31dec9c6]
dec edi
jo 0x42c06a
xor dword [edi + 0x70], ecx
lodsb al, byte [esi]
in eax, 0x71
sub byte [edx + 0x4d67f3dd], 0xf9
xor eax, edx
cmpsd dword [esi], dword es:[edi]
and dword [eax - 0x769465c0], ecx
sti
lds eax, [edx - 0x50a02649]
insb byte es:[edi], dx
mov word [ecx + 0x1f], cs
dec ecx
pop ds
and byte [ebp + 0x2e], ah
or eax, 0xdebdc1b4
xor cl, ah
or al, 0x57
rcr edi, 1
add eax, 0x97240ee7
mov esp, 0x89899430
pop edi
invalid
xchg edx, eax
lodsd eax, dword [esi]
and al, dh
loope 0x42c17b
mov dh, 0x82
out dx, eax
retf
iretd
xchg edi, eax
pop edx
movsd dword es:[edi], dword [esi]
mov edx, 0x23cac430
xchg byte [ebp + 0x6d147fa], bh
popfd
adc ebp, dword [edx - 0x61]
adc dword [esi], 0x57
rcr byte [esi], 0x47
test byte [edx], ah
invalid
in al, 0xeb
cmp ecx, 0xf3fab6d9
sub dword [edi + 0x71ce3d03], 0x2a58981f
add eax, dword [esi + 0x2a]
sbb bh, dh
loopne 0x42c17e
inc esi
sub bl, byte [eax]
mul eax
std
div edi
mov byte [esi + 0x6b41ea54], dl
and al, 0xf4
fisub word [ecx + 0x7a]
adc eax, 0xdb6f8cf2
mov word [edi - 0x25], gs
test eax, 0x301495aa
push ecx
loop 0x42c128
push ss
cmp al, byte [eax]
stosd dword es:[edi], eax
in al, 0x45
imul ecx, dword [ecx - 0x3ad6d449], 0xd670de27
sar esp, 0xbb
std
inc edi
enter 0xffffffffffffeefa, 0xffffffffffffffa3
jne 0x42c168
dec edx
dec edx
dec eax
invalid
sti
mov byte [0xe92ea26c], al
ljmp 0x1e2f
mov byte [0xe9eae92e], al
pop es
adc al, dl
das
push ds
invalid
ret 0xc9af
mov bl, 0xd4
push ebx
dec edx
inc edi
pop ebp
jnp 0x42c1c7
insd dword es:[edi], dx
cmpsd dword [esi], dword es:[edi]
lahf
cmp ch, ch
pop ss
mov ebp, ecx
push 0x142d7e9f
add bl, byte [ebx + 0x1f32c8cc]
pop ds
imul edx, dword [edi + 0x5b], 0x75
arpl ax, cx
in al, dx
add edx, dword [edi]
clc
and eax, 0xc1482d58
or dh, dh
jmp 0x42c1ca
mov ebx, dword [esi]
adc byte [edi], 0x34
inc ebp
pop dword [edi + 0x6a391bbd]
push ebp
sti
cmp bl, 0x16
rol dword [ebx], cl
adc byte [edi - 0x662257ec], cl
out dx, al
fist dword [esp + edx*2 + 0x1c]
inc esi
clc
les esp, [ebx - 0x709785df]
or eax, 0x60318180
and al, 0x78
jo 0x42c223
xor dword [eax + 0x24], esp
js 0x42c2d9
mov ecx, 0xae93d99b
pop eax
sbb byte [edx], al
wait
fst dword [ebx + 0x21858ae]
fmul qword [edx]
mov eax, 0xd2b1c903
push esp
or byte [ecx - 0x1f92f1a1], cl
rcr byte [edx + 0x56], 0x7a
retf
mov byte [0x354e6d26], al
imul ebp, dword [esi + 0x466787d5], 0xc11f4909
or bl, byte [ebx]
cdq
je 0x42c2ed
js 0x42c2a1
mov dl, 0xff
lds ebp, [ebx + 0x47ce70f0]
sbb dword [eax], ebp
in al, 0xb9
fcomp dword [edi - 0x67]
add dword [ecx + 0x2b], 0xf1dbab88
in al, 0xc4
ror edx, 0xba
lodsb al, byte [esi]
and al, 0xbb
out 0x59, eax
xchg ecx, eax
js 0x42c2a1
sub eax, 0xaa37e6e3
add esp, dword [eax - 0x65]
push ecx
and dword [eax + edi], esp
outsd dx, dword [esi]
push eax
int 0x95
call 0xafcc005e
and al, 0x9f
retf