Function at 0x10004030
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10004298
cmp eax, 0x7c
je 0x10004298
cmp eax, 0x29
jne 0x10004071
cmp dword [esi + 0x10], 0
jne 0x10004298
cmp eax, eax
jne 0x10004071
test dword [esi + 0x50], 0x10000000
je 0x100042a5
jmp 0x10004251
cmp eax, 0x2e
jne 0x10004085
push 5
lea ecx, [esi + 0x24]
call fcn.10004300
jmp 0x10004149
cmp eax, 0x5c
jne 0x1000412c
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x100040d2
cmp word [eax], 0x5c
jne 0x100040cd
lea ecx, [eax + 2]
cmp ecx, edx
je 0x100040cd
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x100040b9
movzx edi, word [ecx]
cmp edi, 0x28
je 0x100040cb
cmp edi, 0x29
je 0x100040cb
test dl, 0x10
jne 0x100040cd
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x100040cb
cmp edx, 0x7d
jne 0x100040cd
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100037e0
test byte [esi + 0x50], 0x80
je 0x10004120
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100040fe
push 4
lea ecx, [esi + 0x24]
call fcn.10004300
mov ecx, esi
call fcn.10003fe0
jmp 0x1000428a
cmp eax, 0x42
jne 0x10004120
push 4
lea ecx, [esi + 0x24]
call fcn.10004300
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10003fe0
jmp 0x1000428a
mov ecx, esi
call fcn.10004930
jmp 0x10004283
cmp eax, 0x5b
jne 0x10004199
mov ecx, esi
call fcn.10003fe0
mov ecx, esi
call fcn.10004840
cmp dword [esi + 0x4c], 0x5d
jne 0x100042b3
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x1000418d
cmp word [eax], 0x5c
jne 0x10004188
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10004188
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10004174
movzx edi, word [ecx]
cmp edi, 0x28
je 0x10004186
cmp edi, 0x29
je 0x10004186
test dl, 0x10
jne 0x10004188
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10004186
cmp edx, 0x7d
jne 0x10004188
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100037e0
jmp 0x10004283
cmp eax, 0x28
jne 0x1000420d
mov ecx, esi
call fcn.10003fe0
mov ecx, esi
call fcn.10004ad0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100042a5
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x100041fc
cmp word [eax], 0x5c
jne 0x100041f7
lea ecx, [eax + 2]
cmp ecx, edx
je 0x100041f7
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x100041e3
movzx edi, word [ecx]
cmp edi, 0x28
je 0x100041f5
cmp edi, 0x29
je 0x100041f5
test dl, 0x10
jne 0x100041f7
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x100041f5
cmp edx, 0x7d
jne 0x100041f7
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100037e0
test bl, bl
je 0x1000428a
jmp 0x10004283
cmp eax, 0x5e
jne 0x10004225
push 2
lea ecx, [esi + 0x24]
call fcn.10004300
mov ecx, esi
call fcn.10003fe0
jmp 0x1000428a
cmp eax, 0x24
jne 0x1000423d
push 3
lea ecx, [esi + 0x24]
call fcn.10004300
mov ecx, esi
call fcn.10003fe0
jmp 0x1000428a
cmp eax, 0x2a
je 0x1000429e
cmp eax, 0x2b
je 0x1000429e
cmp eax, 0x3f
je 0x1000429e
cmp eax, 0x7b
je 0x1000429e
cmp eax, 0x7d
jne 0x10004261
test dword [esi + 0x50], 0x10000000
je 0x100042ac
jmp 0x1000426f
cmp eax, 0x5d
jne 0x1000426f
test dword [esi + 0x50], 0x10000000
je 0x100042b3
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10004d90
mov ecx, esi
call fcn.10003fe0
mov ecx, esi
call fcn.10004be0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10004043
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.100037d0
push 5
call fcn.100037d0
push 6
call fcn.100037d0
push 4
call fcn.100037d0
int3