Function at 0x47f2f0
Capabilities:
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
and eax, 0x40
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], eax
jne 0x47f39b
movzx eax, byte [edi]
test al, al
je 0x47fd70
mov ebx, edi
mov esi, 1
jmp 0x47f338
mov eax, ebx
add esi, 1
lea ebx, [eax + 1]
movzx eax, byte [eax + 1]
test al, al
je 0x47f365
movzx edx, byte [ebx + 1]
cmp al, 0x5c
jne 0x47f328
test dl, dl
je 0x47fd10
and edx, 0xffffffdf
cmp dl, 0x55
je 0x47f9dd
add esi, 2
lea eax, [ebx + 1]
lea ebx, [eax + 1]
movzx eax, byte [eax + 1]
test al, al
jne 0x47f338
test byte [esp + 0x78], 0x10
mov dword [esp], esi
je 0x47fa2b
call sym.zsh.exe_zhalloc
mov ebx, eax
call sub.cygwin1.dll___locale_mb_cur_max
lea eax, [eax + eax*2 + 1]
mov dword [esp], eax
call sym.zsh.exe_zhalloc
mov dword [esp + 0x34], ebx
mov esi, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], esi
jmp 0x47f3b1
lea esi, [esp + 0x4b]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x34], esi
movzx edx, byte [eax]
test dl, dl
je 0x47f72d
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], 0
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x38], 0
shr ecx, 4
mov dword [esp + 0x14], ebx
and ecx, 1
mov byte [esp + 0x1b], cl
jmp 0x47f4da
cmp dl, 0x9d
jne 0x47f400
cmp byte [esp + 0x1b], 0
jne 0x47fc81
test edi, edi
jne 0x47f40d
cmp dl, 0x5e
je 0x47f6f8
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x47f426
cmp byte [0x522d37], 0
je 0x47f426
test dl, dl
js 0x47f7d8
cmp dl, 0x83
je 0x47f6c0
movzx ecx, dl
test byte [ecx + ecx + sym.zsh.exe_typtab], 0x10
je 0x47f6e0
mov ecx, edi
or ecx, ebp
je 0x47f7a0
mov ecx, dword [esp + 0x78]
lea ebx, [esi + 1]
and ecx, 0x10
cmp dl, 0x9f
jne 0x47f464
cmp byte [esp + 0x1b], 0
jne 0x47f9ea
movsx edx, dl
movzx eax, byte [edx + 0x4e8038]
mov byte [esi], al
mov esi, ebx
lea esi, [esi]
cmp ebp, 2
je 0x47f620
test edi, edi
je 0x47f49b
movzx eax, byte [esi - 1]
mov edx, eax
and edx, 0xffffff9f
cmp al, 0x3f
mov eax, 0x7f
cmovne eax, edx
mov byte [esi - 1], al
test ebp, ebp
je 0x47f4a3
or byte [esi - 1], 0x80
test ecx, ecx
jne 0x47f63f
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
test ecx, ecx
je 0x47f4c6
lea ecx, [esp + 0x4b]
cmp esi, ecx
jne 0x47fc66
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x70], eax
movzx edx, byte [edx + 1]
test dl, dl
je 0x47f729
cmp dl, 0x5c
jne 0x47f3f0
cmp byte [eax + 1], 0
je 0x47f40d
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x78]
and ecx, 0x80
mov dword [esp + 0x2c], ecx
je 0x47f760
mov ebx, dword [esp + 0x7c]
mov edx, eax
sub edx, dword [esp + 0x30]
mov ebx, dword [ebx]
mov dword [esp + 0x28], ebx
cmp edx, ebx
jge 0x47f760
lea edx, [ebx - 1]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x70], ecx
mov dword [ebx], edx
movzx edx, byte [eax + 1]
cmp dl, 0x83
je 0x47fa6b
lea ecx, [edx - 0x27]
cmp cl, 0x4f
ja case.default.0x47f54d
movzx ebx, cl
jmp dword [ebx*4 + 0x4fa200]
mov ebx, 1
cmp dl, 0x37
jg 0x47fd8a
movzx ecx, dl
test byte [ecx + ecx + sym.zsh.exe_typtab], 1
je 0x47fd8a
test byte [esp + 0x78], 1
jne 0x47fc2d
cmp dl, 0x30
jne 0x47fc4b
add eax, 2
mov dword [esp + 0x70], eax
movzx ecx, byte [eax + 1]
test cl, cl
je 0x47f5aa
movzx ecx, byte [eax + 2]
test cl, cl
je 0x47f5aa
movzx ecx, byte [eax + 3]
test cl, cl
jne 0x47fd5f
xor edx, edx
cmp byte [eax], 0x78
lea ebx, [esp + 0x70]
mov byte [esp + 0x24], cl
sete dl
mov dword [esp + 0xc], 0
lea edx, [edx*8 + 8]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
sete dl
movzx edx, dl
add eax, edx
mov dword [esp], eax
call sym.zsh.exe_zstrtol_underscore
test dword [esp + 0x78], 0x100
movzx ecx, byte [esp + 0x24]
lea edx, [esi + 1]
mov byte [esi], al
je 0x47f5fd
cmp al, 0x25
je 0x47fdc5
test cl, cl
je 0x47f608
mov eax, dword [esp + 0x38]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x78]
sub dword [esp + 0x70], 1
mov esi, edx
and ecx, 0x10
cmp ebp, 2
jne 0x47f481
nop
movzx eax, byte [esi - 1]
mov edx, eax
and eax, 0xffffff9f
or edx, 0xffffff80
or eax, 0xffffff80
test edi, edi
cmove eax, edx
mov byte [esi - 1], al
test ecx, ecx
je 0x47f4ab
mov eax, dword [esp + 0x1c]
cmp eax, esi
jae 0x47fc5d
movzx edi, byte [esp + 0x20]
mov ebx, dword [esp + 0x14]
and edi, 1
jmp 0x47f676
mov byte [ebx], 0x83
movzx edx, byte [eax]
add eax, 1
add ebx, 2
xor edx, 0x20
mov byte [ebx - 1], dl
cmp eax, esi
je 0x47f6ad
cmp byte [0x522d49], 0
movzx edx, byte [eax]
je 0x47f694
test dl, dl
je 0x47f7c0
mov ecx, edi
test cl, cl
jne 0x47f7c0
movzx ecx, dl
test byte [ecx + ecx + 0x523921], 0x10
jne 0x47f660
add eax, 1
mov byte [ebx], dl
add ebx, 1
cmp eax, esi
jne 0x47f676
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x1c]
jmp 0x47f4ab
lea edx, [eax + 1]
add esi, 1
mov dword [esp + 0x70], edx
movzx eax, byte [eax + 1]
xor eax, 0x20
mov byte [esi - 1], al
mov ecx, dword [esp + 0x78]
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x78]
mov byte [esi], dl
add esi, 1
and ecx, 0x10
jmp 0x47f478
test byte [esp + 0x78], 4
je 0x47f42f
cmp byte [eax + 1], 0
je 0x47f42f
mov edx, dword [esp + 0x70]
mov edi, 1
lea eax, [edx + 1]
mov dword [esp + 0x70], eax
movzx edx, byte [edx + 1]
test dl, dl
jne 0x47f4da
mov ebx, dword [esp + 0x14]
mov byte [esi], 0
test byte [esp + 0x78], 0x10
je 0x47fa49
mov edx, dword [esp + 0x10]
mov byte [ebx], 0
test edx, edx
je 0x47faa5
mov eax, dword [esp + 0x7c]
mov dword [eax], 0
mov eax, dword [esp + 0x34]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
movzx edx, byte [eax + 1]
cmp dl, 0x83
je 0x47fa75
lea ecx, [edx - 0x27]
cmp cl, 0x4f
ja case.default.0x47f784
movzx ecx, cl
jmp dword [ecx*4 + 0x4fa340]
xor ebx, ebx
jmp 0x47f559
cmp byte [esp + 0x1b], 0
jne 0x47f808
mov ecx, dword [esp + 0x78]
mov byte [esi], dl
add esi, 1
and ecx, 0x10
jmp 0x47f4a3
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
jmp 0x47f4ab
lea edx, [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.zsh.exe_mb_metacharlenconv
mov edx, dword [esp + 0x4c]
cmp edx, 0xffffffff
jne 0x47fdd1
mov ecx, dword [esp + 0x78]
and ecx, 0x10
jmp 0x47f478
mov eax, dword [esp + 0x14]
mov byte [eax], dl
mov edx, dword [esp + 0x70]
cmp byte [edx], 0x9f
je 0x47f9fe
add eax, 1
mov esi, dword [esp + 0x1c]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], eax
lea eax, [edx + 1]
jmp 0x47f4ca
mov ecx, dword [esp + 0x78]
mov byte [esi], 0xb
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x47fab3
xor edx, edx
cmp byte [eax + 1], 0x75
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
setne dl
mov esi, dword [esp + 0x14]
xor ecx, ecx
lea ebx, [eax + edx*4 + 4]
mov dword [esp + 0x28], ebx
nop
mov dword [esp + 0x24], eax
add eax, 1
mov dword [esp + 0x70], eax
movzx edx, byte [eax]
test dl, dl
jne 0x47f990
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x47fe18
movzx ecx, cx
mov dword [esp], esi
mov dword [esp + 4], ecx
call sub.cygwin1.dll_wctomb
cmp eax, 0xffffffff
je 0x47fca1
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x47f8d8
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x30]
mov edx, dword [ebx]
cmp ecx, edx
jge 0x47f8d8
add edx, eax
mov dword [ebx], edx
add esi, eax
test byte [esp + 0x78], 0x10
jne 0x47fad7
mov edx, dword [esp + 0x70]
lea eax, [edx + 1]
jmp 0x47f4ca
mov ecx, dword [esp + 0x78]
mov byte [esi], 9
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x78]
mov byte [esi], 0xd
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x78]
mov byte [esi], 0xa
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x78]
mov byte [esi], 0xc
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x78]
mov byte [esi], 8
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x78]
mov byte [esi], 7
add esi, 1
and ecx, 0x10
jmp 0x47f478
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x47f850
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
mov edx, dword [ebx]
cmp ecx, edx
jge 0x47f850
sub edx, 4
mov dword [ebx], edx
jmp 0x47fac1
movzx ebx, dl
test byte [ebx + ebx + sym.zsh.exe_typtab], 1
je 0x47f9c0
shl ecx, 4
movsx edx, dl
lea ecx, [ecx + edx - 0x30]
cmp eax, dword [esp + 0x28]
jne 0x47f870
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
jmp 0x47f896
mov ebx, edx
and ebx, 0xffffffdf
sub ebx, 0x41
cmp bl, 5
ja 0x47f886
shl ecx, 4
and edx, 0x1f
lea ecx, [ecx + edx + 9]
jmp 0x47f9a7
call sub.cygwin1.dll___locale_mb_cur_max
lea esi, [esi + eax*2]
jmp 0x47f357
lea edx, [eax + 1]
mov dword [esp + 0x70], edx
movzx eax, byte [eax + 1]
mov byte [esi], al
mov esi, ebx
jmp 0x47f478
lea eax, [edx + 1]
mov esi, dword [esp + 0x14]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x70], eax
movzx eax, byte [edx + 1]
add esi, 2
mov byte [esi - 1], al
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
lea eax, [edx + 1]
jmp 0x47f4ca
call sym.zsh.exe_zhalloc
xor ebx, ebx
mov dword [esp + 0x1c], 0
mov esi, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], esi
jmp 0x47f3b1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47f74a
mov eax, dword [esp + 0x74]
sub esi, dword [esp + 0x34]
mov dword [eax], esi
mov eax, dword [esp + 0x34]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x28]
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov byte [esi], 0x5c
add esi, 1
sub dword [esp + 0x70], 1
and ecx, 0x10
jmp 0x47f478
xor ebx, ebx
mov ecx, dword [esp + 0x78]
and ecx, 0x10
je 0x47f559
mov byte [esi], dl
add esi, 1
jmp 0x47f478
mov eax, dword [esp + 0x74]
mov esi, ebx
sub esi, dword [esp + 0x34]
mov dword [eax], esi
jmp 0x47fa5f
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
mov edx, dword [ebx]
cmp ecx, edx
jge 0x47f850
mov ebx, dword [esp + 0x7c]
sub edx, 6
mov dword [ebx], edx
jmp 0x47f850
mov ebx, dword [esp + 0x1c]
mov eax, ebx
cmp esi, ebx
jbe 0x47fe0a
mov ebx, dword [esp + 0x14]
jmp 0x47fb05
mov byte [ebx], 0x83
movzx edx, byte [eax]
add ebx, 2
xor edx, 0x20
mov byte [ebx - 1], dl
add eax, 1
cmp esi, eax
je 0x47fd35
movzx ecx, byte [eax]
test byte [ecx + ecx + 0x523921], 0x10
jne 0x47faeb
mov byte [ebx], cl
add ebx, 1
jmp 0x47fafa
test byte [esp + 0x78], 2
je 0x47fc4b
cmp byte [eax + 2], 0x2d
jne 0x47f70d
lea edx, [eax + 2]
mov edi, 1
add eax, 3
jmp 0x47f4ca
test byte [esp + 0x78], 2
je 0x47fc4b
cmp byte [eax + 2], 0x2d
lea edx, [eax + 2]
je 0x47fb56
mov edx, dword [esp + 0x70]
lea ebp, [edi + 1]
lea eax, [edx + 1]
jmp 0x47f4ca
lea eax, [esi + 1]
mov ebx, eax
mov ecx, dword [esp + 0x78]
mov byte [esi], 0x1b
mov esi, ebx
and ecx, 0x10
jmp 0x47f478
xor ebx, ebx
test byte [esp + 0x78], 8
jne 0x47fdee
mov eax, 1
test byte [esp + 0x78], 2
jne 0x47fba2
test al, al
je 0x47fba2
test ebx, ebx
jne 0x47fd49
mov byte [esi], 0x5c
add esi, 1
mov eax, dword [esp + 0x70]
add esi, 1
movzx eax, byte [eax]
mov byte [esi - 1], al
mov ecx, dword [esp + 0x78]
and ecx, 0x10
jmp 0x47f478
xor ecx, ecx
lea eax, [esi + 1]
mov ebx, eax
test byte [esp + 0x78], 2
jne 0x47fb66
mov byte [esi], 0x5c
mov eax, dword [esp + 0x70]
mov esi, ebx
lea edx, [eax - 1]
test ecx, ecx
je 0x47f4ca
mov ebx, dword [esp + 0x7c]
add dword [ebx], 1
jmp 0x47f4ca
xor ebx, ebx
test byte [esp + 0x78], 0x20
je 0x47fd18
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [eax], 1
and ecx, 0x10
jmp 0x47f478
xor ebx, ebx
cmp dl, 0x37
jg 0x47fc24
movzx ecx, dl
test byte [ecx + ecx + sym.zsh.exe_typtab], 1
jne 0x47f573
cmp dl, 0x78
jne 0x47fd8a
mov eax, dword [esp + 0x70]
jmp 0x47f58e
test byte [esp + 0x78], 2
jne 0x47fb24
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x28]
mov dword [eax], ebx
mov byte [esi], 0x5c
mov eax, dword [esp + 0x70]
add esi, 1
lea edx, [eax - 1]
jmp 0x47f4ca
mov esi, dword [esp + 0x1c]
jmp 0x47f4ab
mov edi, dword [esp + 0x7c]
movzx edx, byte [esp + 0x4b]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [edi], edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
sub eax, dword [esp + 0x30]
add eax, 1
mov dword [edi], eax
mov byte [ebx], 0
mov eax, dword [esp + 0x34]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.character_not_in_range
mov ebx, dword [esp + 0x14]
call sym.zsh.exe_zerr
mov eax, dword [esp + 0x70]
test byte [esp + 0x78], 0x10
je 0x47fdb3
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x7c]
jmp 0x47fcec
mov eax, dword [esp + 0x70]
test ecx, ecx
je 0x47fce7
mov ebp, eax
mov edx, dword [esi]
sub ebp, edi
cmp ebp, edx
jle 0x47fce7
add edx, 1
mov dword [esi], edx
cmp byte [eax], 0x9d
je 0x47fc85
lea edx, [eax + 1]
add ebx, 1
mov dword [esp + 0x70], edx
movzx eax, byte [eax + 1]
mov byte [ebx - 1], al
test al, al
jne 0x47fcd0
mov eax, dword [esp + 0x74]
sub ebx, dword [esp + 0x34]
mov dword [eax], ebx
jmp 0x47f754
add esi, 1
jmp 0x47f365
test byte [0x52397a], 1
je 0x47fb84
test byte [esp + 0x78], 1
je 0x47fc4b
jmp 0x47fc2d
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
lea eax, [edx + 1]
jmp 0x47f4ca
mov eax, dword [esp + 0x7c]
add dword [eax], 1
jmp 0x47fb9c
mov ebx, 1
jmp 0x47fa8e
mov byte [eax + 3], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
jmp 0x47f5aa
mov esi, 1
jmp 0x47f365
test byte [esp + 0x78], 2
jne 0x47fb49
jmp 0x47fc41
cmp dl, 0x5c
setne al
jmp 0x47fb89
mov ebx, 1
jmp 0x47fb79
mov ebx, 1
jmp 0x47fbeb
mov ecx, 1
jmp 0x47fbbd
mov eax, dword [esp + 0x74]
mov byte [esi], 0
sub esi, dword [esp + 0x34]
mov dword [eax], esi
jmp 0x47f754
mov byte [esi + 1], 0x25
lea edx, [esi + 2]
jmp 0x47f5fd
mov edi, dword [esp + 0x7c]
add eax, dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov dword [edi], edx
jmp 0x47f754
mov ebx, 1
jmp 0x47fc0e
mov eax, dword [esp + 0x7c]
mov dword [eax], 1
mov eax, dword [esp + 0x74]
mov byte [esi], 0
sub esi, dword [esp + 0x34]
mov dword [eax], esi
jmp 0x47f754
mov edx, dword [esp + 0x70]
mov esi, ebx
lea eax, [edx + 1]
jmp 0x47f4ca
mov eax, dword [esp + 0x7c]
mov dword [eax], ecx
mov eax, dword [esp + 0x70]
add eax, 1
mov dword [esp + 0x34], eax
jmp 0x47f754