Function at 0x2a38210
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
push ebx
xor edx, edx
push ebp
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [ecx + eax*2]
push edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], edx
or ebx, 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
movzx esi, word [eax]
cmp esi, edx
jne 0x2a38307
sub eax, dword [ebp + 0xc]
sar eax, 1
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x1c]
cmp eax, edx
je 0x2a389f4
mov ecx, dword [eax + 0xd4]
mov edi, eax
mov dword [esp + 0x30], ecx
call fcn.02a37c50
test al, al
je 0x2a382ee
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x2a382c8
sub eax, ecx
cmp dword [esp + 0x20], 0
mov dword [esi + 4], eax
je 0x2a382b8
sub dword [esp + 0x20], ecx
jmp 0x2a382c5
cmp dword [esp + 0x2c], 0
je 0x2a382c5
sub dword [ebp], ecx
sub dword [ebp + 4], ecx
sub dword [ebp + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x18], 8
jb 0x2a382de
mov ecx, dword [ecx + 4]
jmp 0x2a382e1
add ecx, 4
lea eax, [ecx + eax*2]
mov dword [ebp + 0xc], ecx
movzx esi, word [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x2a382ff
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0xd4], eax
test esi, esi
je 0x2a389f4
mov ecx, dword [esp + 0x20]
xor edx, edx
cmp ecx, edx
je 0x2a38355
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x2a3834b
movsx eax, byte [esi + 0x2b0a7bb]
cmp eax, edx
je 0x2a3834b
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
mov dword [ebp], ecx
sar eax, 1
sub eax, ecx
lea ecx, [eax + ecx - 1]
mov dword [esp + 0x2c], eax
mov dword [ebp + 4], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
jmp 0x2a38359
add dword [esp + 0x18], 2
jmp 0x2a38256
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x2a38612
cmp esi, 0x3e
jne 0x2a3842c
mov ecx, dword [esp + 0x38]
test cl, 0xc0
jne 0x2a38447
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
sar eax, 1
inc eax
mov dword [ebp + 8], eax
cmp ecx, 1
jne 0x2a383d0
xor edi, edi
mov dword [esp + 0x14], edi
cmp ebx, ecx
jne 0x2a38405
cmp dword [esp + 0x24], 0x2f
jne 0x2a38405
test edx, edx
je 0x2a383c3
test dword [esp + 0x38], 0x200
je 0x2a383c3
lea eax, [edx - 9]
cmp eax, 0x1e
ja 0x2a38405
movsx eax, byte [edx + 0x2b0a7f3]
test eax, eax
je 0x2a38405
mov eax, dword [esp + 0x3c]
or dword [eax + 0xc], 0x10000
jmp 0x2a38405
dec eax
cmp eax, ecx
jle 0x2a38405
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx]
sub eax, edx
add eax, 2
mov esi, edi
sub esi, eax
sub ecx, 1
je 0x2a383ff
mov dx, word [eax]
mov di, word [esi + eax]
add eax, 2
cmp dx, di
je 0x2a383e5
mov edi, dword [esp + 0x14]
jmp 0x2a38405
xor edi, edi
mov dword [esp + 0x14], edi
and dword [esp + 0x38], 0xfffffdff
test edi, edi
jne 0x2a3865b
test byte [esp + 0x38], 0x20
je 0x2a3898c
add dword [esp + 0x18], 2
xor edx, edx
jmp 0x2a38256
cmp esi, 0x3c
jne 0x2a38443
cmp ebx, 2
je 0x2a38aa5
cmp ebx, 0xffffffff
je 0x2a38aa5
mov ecx, dword [esp + 0x38]
test bl, 1
je 0x2a385cd
test ecx, 0x2c0
je 0x2a384f9
cmp esi, 0x22
jne 0x2a38487
test cl, cl
jns 0x2a384b0
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x80
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
cmp esi, 0x27
jne 0x2a384b0
test cl, 0x40
je 0x2a384b0
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x40
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
test ecx, 0x200
je 0x2a385b5
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x2a385b5
movsx eax, byte [esi + 0x2b0a49f]
test eax, eax
je 0x2a385b5
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x200
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
cmp esi, 0x22
jne 0x2a3852c
test ecx, 0x100
je 0x2a385b5
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x180
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
cmp esi, 0x27
jne 0x2a3855b
test ecx, 0x100
je 0x2a385b5
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x140
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
cmp esi, 0x3d
jne 0x2a38590
cmp dword [esp + 0x24], esi
je 0x2a38590
test ecx, 0x100
jne 0x2a38598
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x100
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
test ecx, 0x100
je 0x2a385b5
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x2a385ab
movsx eax, byte [esi + 0x2b0a49f]
test eax, eax
jne 0x2a385b5
xor ecx, 0x300
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x2a38256
test bl, 0x40
je 0x2a3865b
cmp esi, 0x22
jne 0x2a385f6
test cl, 0x40
jne 0x2a3865b
add dword [esp + 0x18], 2
xor ecx, 0x80
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x2a38256
cmp esi, 0x27
jne 0x2a3865b
test cl, cl
js 0x2a3865b
add dword [esp + 0x18], 2
xor ecx, 0x40
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x2a38256
mov edx, dword [esp + 0x38]
test edx, edx
je 0x2a389a7
test dl, 0x10
je 0x2a38667
cmp esi, 0x3c
je 0x2a38ab3
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x2a3863f
movsx eax, byte [esi + 0x2b0a49f]
test eax, eax
jne 0x2a3865b
xor edx, 0x10
mov dword [esp + 0x38], edx
mov ebx, 2
mov dword [esp + 0x14], str.0829001x_europa
mov dword [esp + 0x1c], 1
add dword [esp + 0x18], 2
xor edx, edx
jmp 0x2a38256
test dl, 1
je 0x2a38767
mov ecx, 1
xor edx, ecx
mov dword [esp + 0x38], edx
cmp esi, 0x60
ja 0x2a38740
cmp esi, 0x40
jbe 0x2a38692
cmp esi, 0x5b
jb 0x2a38740
cmp esi, 0x5f
je 0x2a38740
cmp esi, 0x3a
je 0x2a38740
cmp esi, 0x2f
jne 0x2a386d2
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
add dword [esp + 0x18], 2
sar eax, 1
add eax, ecx
xor ebx, ebx
mov dword [esp + 0x14], 0x2b0a820
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
xor edx, edx
jmp 0x2a38256
cmp esi, 0x21
jne 0x2a386ea
add dword [esp + 0x18], 2
or edx, 2
mov dword [esp + 0x38], edx
xor edx, edx
jmp 0x2a38256
cmp esi, 0x3f
jne 0x2a3871d
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
add dword [esp + 0x18], 2
sar eax, 1
add eax, ecx
mov dword [esp + 0x14], 0x2b0a824
mov dword [esp + 0x1c], 2
lea ebx, [esi - 0x2f]
mov dword [esp + 0x20], eax
xor edx, edx
jmp 0x2a38256
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [esp + 0x30], ecx
mov dword [eax], 0x2b0a82c
jmp 0x2a3892b
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
add dword [esp + 0x18], 2
sar eax, 1
mov dword [esp + 0x14], 0x2b0a820
mov dword [esp + 0x1c], ecx
mov ebx, ecx
mov dword [esp + 0x20], eax
xor edx, edx
jmp 0x2a38256
test dl, 2
je 0x2a38860
xor edx, 2
mov dword [esp + 0x38], edx
cmp esi, 0x2d
jne 0x2a3878f
add dword [esp + 0x18], 2
or edx, 4
mov dword [esp + 0x38], edx
xor edx, edx
jmp 0x2a38256
test dl, 0x20
je 0x2a387e7
lea ecx, [esi - 0x41]
cmp ecx, 0xd
ja 0x2a387c8
movsx eax, byte [esi + 0x2b0a80f]
test eax, eax
je 0x2a387c8
add dword [esp + 0x18], 2
mov dword [esp + 0x14], 0x2b0a820
mov ebx, 0x40
mov dword [esp + 0x1c], 1
xor edx, edx
jmp 0x2a38256
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0x2b0a860
jmp 0x2a38923
cmp esi, 0x5b
jne 0x2a387ff
add dword [esp + 0x18], 2
or edx, 8
mov dword [esp + 0x38], edx
xor edx, edx
jmp 0x2a38256
cmp esi, 0x44
jne 0x2a38817
add dword [esp + 0x18], 2
or edx, 0x20
mov dword [esp + 0x38], edx
xor edx, edx
jmp 0x2a38256
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
add edx, 0x10
push edx
mov dword [esp + 0x2c], 0x2b0a820
mov dword [esp + 0x34], 1
mov dword [eax], 0x2b0a888
call fcn.02a35940
add dword [esp + 0x30], 2
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x2a38256
test dl, 4
je 0x2a388d9
xor edx, 4
mov dword [esp + 0x38], edx
cmp esi, 0x2d
jne 0x2a38890
add dword [esp + 0x18], 2
mov dword [esp + 0x14], 0x2b0a8b8
mov dword [esp + 0x1c], 3
lea ebx, [esi - 0xd]
xor edx, edx
jmp 0x2a38256
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
push ecx
mov ecx, dword [esp + 0x50]
mov dword [eax], 0
mov eax, esp
add ecx, 0x10
push ecx
mov dword [esp + 0x2c], 0x2b0a820
mov dword [esp + 0x34], 1
mov dword [eax], 0x2b0a8c0
call fcn.02a35940
add dword [esp + 0x30], 2
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x2a38256
test dl, 8
je 0x2a38952
xor edx, 8
mov dword [esp + 0x38], edx
cmp esi, 0x43
jne 0x2a38909
add dword [esp + 0x18], 2
mov dword [esp + 0x14], 0x2b0a8e8
mov dword [esp + 0x1c], 3
lea ebx, [esi - 0x3b]
xor edx, edx
jmp 0x2a38256
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.0721866koi8_ru0928599iso8859_9
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x50]
add eax, 0x10
push eax
mov dword [esp + 0x2c], 0x2b0a820
call fcn.02a35940
add dword [esp + 0x30], 2
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x2a38256
test dl, 0x20
je 0x2a3865b
cmp esi, 0x3c
jne 0x2a38973
add dword [esp + 0x18], 2
or edx, 1
mov dword [esp + 0x38], edx
xor edx, edx
jmp 0x2a38256
cmp esi, 0x3e
jne 0x2a3865b
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
lea ebx, [esi + 2]
sar eax, 1
inc eax
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 8]
sub edx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
cmp esi, 0x3c
jne 0x2a389c0
add dword [esp + 0x18], 2
mov dword [esp + 0x38], 1
xor edx, edx
jmp 0x2a38256
lea ecx, [esi - 9]
mov ebx, 4
cmp ecx, 0x17
ja 0x2a38646
movsx eax, byte [esi + 0x2b0a49f]
test eax, eax
je 0x2a38646
add dword [esp + 0x18], 2
mov dword [esp + 0x38], 0x10
xor edx, edx
jmp 0x2a38256
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
cmp dword [ebp + 8], eax
jne 0x2a38a1c
pop edi
pop esi
pop ebp
mov dword [edx + 8], 0
mov dword [edx], 0
mov eax, 0xfffffffe
pop ebx
add esp, 0x24
ret 8
cmp ebx, 4
je 0x2a3898c
cmp ebx, 2
je 0x2a3898c
test byte [esp + 0x38], 0x20
mov ecx, 0x2b0a6f0
jne 0x2a38a7a
cmp ebx, 0x40
je 0x2a38a7a
cmp ebx, 1
jne 0x2a38a4b
mov ecx, 0x2b0a714
jmp 0x2a38a7f
test ebx, ebx
jne 0x2a38a56
mov ecx, 0x2b0a728
jmp 0x2a38a7f
cmp ebx, 8
jne 0x2a38a62
mov ecx, 0x2b0a738
jmp 0x2a38a7f
cmp ebx, 0x10
jne 0x2a38a6e
mov ecx, 0x2b0a754
jmp 0x2a38a7f
cmp ebx, 0x20
jne 0x2a38a7f
mov ecx, 0x2b0a784
jmp 0x2a38a7f
mov ecx, 0x2b0a6f8
or ebx, 0xffffffff
push ebx
push eax
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add edx, 0x10
push edx
mov dword [eax], 0x2b0a794
call fcn.02a35940
add esp, 0x18
jmp 0x2a3898c
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
sar eax, 1
jmp 0x2a38989
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
mov ebx, 4
sar eax, 1
jmp 0x2a38989