Function at 0x30772f7
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, dword [0x311fa40]
mov esi, ecx
xor ebx, ebx
mov ecx, 0xfffff000
and dword [esp + 0x1c], ecx
and dword [esp + 0x24], ecx
movsx eax, byte [edi]
inc edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [0x311fa40], edi
cmp eax, 0x41
jg 0x30774d7
je 0x3077892
test eax, eax
je 0x30774c2
cmp eax, 0x2f
jle 0x30775ca
cmp eax, 0x31
jle 0x30773c2
cmp eax, 0x39
jg 0x30775ca
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x3021b10]
lea ecx, [esp + 0x1c]
call fcn.0307bd52
lea ecx, [esp + 0x18]
call fcn.0307b7a0
test eax, eax
jne 0x30773ab
mov eax, ecx
lea ecx, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
push 0x3021318
call fcn.0307b4a8
mov ecx, eax
call fcn.0307b99e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.0307bd86
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0307b363
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
test dl, dl
je 0x3077447
lea ecx, [esp + 0x98]
call fcn.03077f9a
push eax
lea eax, [esp + 0x14]
push eax
push 0x3c
lea ecx, [esp + 0x3c]
call fcn.0307b334
mov ecx, eax
call fcn.0307b99e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.0307bbb7
lea ecx, [esp + 0x20]
call fcn.0307b7e6
cmp al, 0x3e
jne 0x3077418
push 0x20
lea ecx, [esp + 0x24]
call fcn.0307ba2d
push 0x3e
lea ecx, [esp + 0x24]
call fcn.0307ba2d
mov eax, dword [ebp + 8]
test eax, eax
je 0x307742d
mov byte [eax], 1
mov edi, dword [0x311fa40]
cmp byte [edi], bl
jne 0x3077440
lea eax, [esp + 0x20]
jmp 0x30773af
inc edi
mov dword [0x311fa40], edi
xor dl, dl
lea ecx, [esp + 0xa0]
call fcn.030770d7
push eax
lea ecx, [esp + 0x1c]
call fcn.0307bd86
lea ecx, [esp + 0x18]
mov dword [0x311fa40], edi
call fcn.0307b7a0
test eax, eax
jne 0x30774a0
cmp byte [edi - 1], 0x31
jne 0x30774a0
mov eax, ecx
lea ecx, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
push 0x7e
call fcn.0307b334
mov ecx, eax
call fcn.0307b99e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.0307bd86
lea ecx, [esp + 0x20]
call fcn.0307b7a0
test eax, eax
jne 0x30773ab
mov eax, ecx
lea ecx, [esp + 0x18]
push eax
call fcn.0307bbb7
jmp 0x30773ab
dec edi
mov dword [0x311fa40], edi
push 2
mov ecx, esi
call fcn.0307b6d2
jmp 0x30773b7
cmp eax, 0x42
je 0x307788f
jle 0x30775ca
cmp eax, 0x5a
jle 0x3077892
cmp eax, 0x5f
jne 0x30775ca
movsx eax, byte [edi]
inc edi
mov dword [0x311fa40], edi
cmp eax, 0x4f
jg 0x30775d8
cmp eax, 0x44
jge 0x307786f
cmp eax, 0x39
jg 0x3077582
je 0x307755d
test eax, eax
je 0x30774c2
cmp eax, 0x2f
jle 0x30775ca
cmp eax, 0x36
jle 0x307754d
cmp eax, 0x38
jg 0x30775ca
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x3021ba0]
mov ecx, esi
call fcn.0307b4a8
jmp 0x30773b7
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x3021ba0]
jmp 0x307736a
movsx eax, byte [edi - 1]
lea ecx, [esp + 0x10]
push dword [eax*4 + 0x3021ba0]
call fcn.0307b4a8
or dword [esp + 0x14], 0x800
lea eax, [esp + 0x10]
jmp 0x30773af
cmp eax, 0x3f
je 0x30775b3
cmp eax, 0x40
jle 0x30775ca
cmp eax, 0x42
jle 0x307786f
cmp eax, 0x43
jne 0x30775ca
mov edx, 0x30213e4
push ecx
lea ecx, [esp + 0x14]
call fcn.030778ce
or dword [esp + 0x14], 0x100
jmp 0x3077579
movsx eax, byte [edi]
inc edi
mov dword [0x311fa40], edi
test eax, eax
je 0x30774c2
cmp eax, 0x30
je 0x30775d1
push 1
jmp 0x30774cb
mov edx, 0x302184c
jmp 0x307759f
cmp eax, 0x54
jg 0x30777a9
cmp eax, 0x53
jge 0x307786f
sub eax, 0x50
je 0x307775b
dec eax
je 0x3077373
dec eax
jne 0x30775ca
movsx eax, byte [edi - 1]
lea ecx, [esp + 0x18]
push dword [eax*4 + 0x3021b84]
call fcn.0307bd52
mov eax, dword [0x311fa40]
lea ecx, [esp + 0x20]
movsx eax, byte [eax]
push dword [eax*4 + 0x3021b04]
call fcn.0307bd52
mov ecx, dword [0x311fa40]
movsx eax, byte [ecx]
inc ecx
mov dword [0x311fa40], ecx
cmp eax, 0x30
je 0x307771f
cmp eax, 0x31
je 0x307766f
add eax, 0xffffffce
cmp eax, 2
ja 0x3077663
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0307b99e
jmp 0x30773b7
dec ecx
mov dword [0x311fa40], ecx
jmp 0x30774c9
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0307b99e
push 0x2c
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x80]
call fcn.03077c45
mov ecx, eax
call fcn.0307b930
push eax
lea ecx, [esp + 0x14]
call fcn.0307bbb7
push 0x2c
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.03077c45
mov ecx, eax
call fcn.0307b930
push eax
lea ecx, [esp + 0x14]
call fcn.0307bbb7
push 0x2c
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x90]
call fcn.03077c45
mov ecx, eax
call fcn.0307b930
push eax
lea ecx, [esp + 0x14]
call fcn.0307bbb7
push 0x29
lea eax, [esp + 0x44]
xor dl, dl
push eax
lea ecx, [esp + 0x58]
call fcn.03077ca3
mov ecx, eax
call fcn.0307b930
push eax
lea ecx, [esp + 0x14]
call fcn.0307bbb7
push 0x27
push esi
lea ecx, [esp + 0x18]
call fcn.0307b930
jmp 0x30773b7
xor edx, edx
lea ecx, [esp + 0x10]
call fcn.03079926
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x6c]
push eax
push 0x20
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x28]
call fcn.0307b930
mov ecx, eax
call fcn.0307b99e
mov ecx, eax
jmp 0x3077659
movsx eax, byte [edi - 1]
lea ecx, [esp + 0x18]
push dword [eax*4 + 0x3021b84]
call fcn.0307bd52
push ebx
xor dl, dl
lea ecx, [esp + 0x84]
call fcn.030772f7
push eax
lea ecx, [esp + 0x24]
call fcn.0307bd86
lea ecx, [esp + 0x20]
call fcn.0307b7a0
test eax, eax
jne 0x307764f
test byte [esp + 0x24], 0x40
je 0x307764f
jmp 0x30775ca
cmp eax, 0x56
jle 0x307787f
cmp eax, 0x57
jle 0x30775ca
cmp eax, 0x59
jle 0x307786f
cmp eax, 0x5f
jne 0x30775ca
movsx eax, byte [edi]
inc edi
mov dword [0x311fa40], edi
cmp eax, 0x41
jl 0x30775ca
cmp eax, 0x44
jle 0x30777f3
cmp eax, 0x46
jle 0x3077803
cmp eax, 0x4a
jg 0x30775ca
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x3021be8]
jmp 0x3077541
movsx eax, byte [edi - 1]
lea ecx, [esp + 0x10]
push dword [eax*4 + 0x3021be8]
call fcn.0307b4a8
mov eax, dword [0x311fa40]
cmp byte [eax], 0x3f
jne 0x3077849
lea ecx, [esp + 0x90]
call fcn.03076e46
push eax
lea ecx, [esp + 0x14]
call fcn.0307bbb7
mov eax, dword [0x311fa40]
cmp byte [eax], 0x40
jne 0x307785c
inc eax
mov dword [0x311fa40], eax
jmp 0x307785c
lea ecx, [esp + 0x28]
call fcn.0307708f
push eax
lea ecx, [esp + 0x14]
call fcn.0307bbb7
push 0x3021864
lea ecx, [esp + 0x14]
call fcn.0307baf0
jmp 0x3077579
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x3021b84]
jmp 0x3077541
movsx eax, byte [edi - 1]
push dword [eax*4 + 0x3021b84]
jmp 0x307736a
xor ebx, ebx
inc ebx
movsx eax, byte [edi - 1]
lea ecx, [esp + 0x18]
push dword [eax*4 + 0x3021af4]
call fcn.0307bd52
test ebx, ebx
je 0x3077373
lea ecx, [esp + 0x18]
call fcn.0307b7a0
test eax, eax
jne 0x30773ab
or dword [esp + 0x1c], 0x20
jmp 0x30773ab