Function at 0x59163c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x591644
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59216d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov edx, eax
sub edx, 2
movzx edx, word [edx]
cmp edx, 0x2e
jg 0x5916cb
je 0x5917a4
cmp edx, 0x28
jg 0x5916b3
je 0x591b86
sub edx, 1
jb 0x591cf3
sub edx, 0x23
je 0x591752
jmp 0x591f44
sub edx, 0x29
je 0x591cf3
dec edx
sub edx, 2
jb 0x591d04
jmp 0x591f44
cmp edx, 0x5c
jg 0x5916ed
je 0x591d15
sub edx, 0x3f
je 0x591d04
sub edx, 0x1c
je 0x5917ee
jmp 0x591f44
sub edx, 0x5e
je 0x591700
sub edx, 0x1e
je 0x591cf3
jmp 0x591f44
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x59172a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor edx, edx
call fcn.004065f8
jne 0x59173e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x59173e
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
mov dx, 0x22
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x59177c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor edx, edx
call fcn.004065f8
jne 0x591790
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x591790
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
mov dx, 0x23
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 4
je 0x5917d4
mov dx, 3
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x592142
mov dx, 0x24
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x592142
cmp word [eax], 0x5e
jne 0x59182a
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x591810
push ebp
mov ax, 0x16
call fcn.0059144c
pop ecx
mov dword [ebp - 8], eax
jmp 0x59181e
push ebp
mov ax, 5
call fcn.0059144c
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x591854
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x591846
push ebp
mov ax, 0x15
call fcn.0059144c
pop ecx
mov dword [ebp - 8], eax
jmp 0x591854
push ebp
mov ax, 4
call fcn.0059144c
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x591b1c
push ebp
call fcn.00591478
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x591b1c
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x2d
jne 0x591a58
mov eax, esi
add eax, 2
cmp word [eax], 0
je 0x591a58
add esi, 2
cmp word [esi], 0x5d
je 0x591a58
cmp byte [ebp - 0xd], 0
je 0x591a58
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edi, word [eax]
cmp di, 0x5c
jne 0x59193d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
cmp ax, 0x100
jae 0x591922
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
add eax, 0xffffffc0
cmp ax, 0x37
ja 0x591910
and eax, 0x7f
bt dword [0x592180], eax
jae 0x591922
push ebp
mov ax, 0x2d
call fcn.00591460
pop ecx
jmp 0x591b1c
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.005914d0
pop ecx
mov edi, eax
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x591979
cmp word [ebp - 0x10], 0x430
jne 0x591979
cmp di, 0x44f
jne 0x591979
push ebp
lea eax, [ebp - 0x18]
mov edx, 0x6521f8
mov ecx, 0x22
call fcn.0040639c
mov eax, dword [ebp - 0x18]
call fcn.00591498
pop ecx
jmp 0x591a49
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x5919b5
cmp word [ebp - 0x10], 0x410
jne 0x5919b5
cmp di, 0x42f
jne 0x5919b5
push ebp
lea eax, [ebp - 0x1c]
mov edx, 0x65223c
mov ecx, 0x22
call fcn.0040639c
mov eax, dword [ebp - 0x1c]
call fcn.00591498
pop ecx
jmp 0x591a49
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x591a0a
cmp word [ebp - 0x10], 0x430
jne 0x591a0a
cmp di, 0x42f
jne 0x591a0a
push ebp
lea eax, [ebp - 0x20]
mov edx, 0x6521f8
mov ecx, 0x22
call fcn.0040639c
mov eax, dword [ebp - 0x20]
call fcn.00591498
pop ecx
push ebp
lea eax, [ebp - 0x24]
mov edx, 0x65223c
mov ecx, 0x22
call fcn.0040639c
mov eax, dword [ebp - 0x24]
call fcn.00591498
pop ecx
jmp 0x591a49
cmp di, word [ebp - 0x10]
jae 0x591a21
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
inc word [ebp - 0x10]
push ebp
mov eax, edi
call fcn.00591460
pop ecx
cmp di, word [ebp - 0x10]
jbe 0x591a49
push ebp
movzx eax, word [ebp - 0x10]
call fcn.00591460
pop ecx
inc word [ebp - 0x10]
cmp di, word [ebp - 0x10]
ja 0x591a34
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x591b1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5c
jne 0x591aff
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0
jne 0x591a95
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
sub ax, 0x64
je 0x591ab5
sub ax, 0xf
je 0x591ad5
sub ax, 4
je 0x591ac3
jmp 0x591ae7
push ebp
mov eax, 0x59218c
call fcn.00591498
pop ecx
jmp 0x591b12
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
call fcn.00591498
pop ecx
jmp 0x591b12
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
call fcn.00591498
pop ecx
jmp 0x591b12
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.005914d0
pop ecx
call fcn.00591478
pop ecx
jmp 0x591b12
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
call fcn.00591478
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0
je 0x591b3e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
jne 0x591884
push ebp
xor eax, eax
call fcn.00591460
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
je 0x591b67
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x592142
cmp word [eax], 0x3f
jne 0x591cc3
add eax, 2
cmp word [eax], 0x23
jne 0x591c04
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 4
jmp 0x591baf
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x591bc6
cmp ax, 0x29
jne 0x591ba5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x29
je 0x591be6
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
jmp 0x591c23
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x591c3a
cmp ax, 0x29
jne 0x591c19
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc0]
cmp word [edi], 0x29
jne 0x591c94
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov edx, esi
call fcn.0040690c
mov eax, dword [ebp - 0x30]
mov ecx, edi
sub ecx, esi
sar ecx, 1
jns 0x591c65
adc ecx, 0
mov edx, 1
call fcn.00406f0c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.004069dc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005902bc
test al, al
jne 0x591ca5
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.005909a8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x591ce3
xor ebx, ebx
jmp 0x592145
mov eax, dword [ebp - 0x14]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x592142
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
cmp word [eax], 0
jne 0x591d2c
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp eax, 0x57
jg 0x591d77
je 0x591ea8
cmp eax, 0x42
jg 0x591d60
je 0x591db8
add eax, 0xffffffcf
sub eax, 9
jb 0x591ec9
sub eax, 7
je 0x591dcc
jmp 0x591f1f
sub eax, 0x44
je 0x591e18
sub eax, 0xf
je 0x591e60
jmp 0x591f1f
cmp eax, 0x64
jg 0x591d8d
je 0x591df4
sub eax, 0x5a
je 0x591de0
sub eax, 8
je 0x591da4
jmp 0x591f1f
sub eax, 0x73
je 0x591e3c
sub eax, 4
je 0x591e84
jmp 0x591f1f
mov dx, 0x25
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x591f35
mov dx, 0x26
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x591f35
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x591f35
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x591f35
mov dx, 0xc
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
mov dx, 0xd
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
mov dx, 0x10
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
mov dx, 0x11
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
mov dx, 0xe
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
mov dx, 0xf
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x591ee6
mov dx, 0x1d
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x591ef5
mov dx, 0x1c
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
sub dx, 0x30
mov eax, dword [ebp - 4]
call fcn.00590668
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x591f35
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.005914d0
pop ecx
call fcn.00591384
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x592142
mov eax, dword [ebp - 4]
sub dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x59201a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx esi, word [eax]
cmp si, 0x23
je 0x591f84
mov edx, esi
mov eax, 0x5921a4
call fcn.0058ef30
test eax, eax
je 0x59201a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x591fec
jmp 0x591f9f
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x591fc8
cmp ax, 0xd
je 0x591fc8
cmp ax, 0xa
jne 0x591f95
jmp 0x591fc8
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0xd
je 0x591fbe
cmp ax, 0xa
je 0x591fbe
jmp 0x592006
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x5921a4
call fcn.0058ef30
test eax, eax
jne 0x591fe2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592142
mov edx, str._.____
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
call fcn.00590708
mov esi, eax
test esi, esi
jg 0x592065
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x7b
je 0x592053
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x592145
mov edx, str._.____
mov eax, esi
add eax, 2
call fcn.00590708
inc eax
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov edx, esi
add edx, edx
add eax, edx
movzx eax, word [eax]
cmp esi, 1
jle 0x592095
cmp ax, 0x2a
je 0x592094
cmp ax, 0x2b
je 0x592094
cmp ax, 0x3f
je 0x592094
cmp ax, 0x7b
jne 0x592095
dec esi
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp esi, 1
jne 0x5920a6
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x5920c3
mov dx, 0x14
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592119
mov dx, 8
mov eax, dword [ebp - 4]
call fcn.00590628
mov dword [ebp - 8], eax
jmp 0x592119
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x5920fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x5921a4
call fcn.0058ef30
test eax, eax
jne 0x59210e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, dword [ebp - 4]
call fcn.00590668
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
dec esi
test esi, esi
jle 0x592138
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x5920d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x5920d4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00590668
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592174
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406748
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.004061ec
ret