Function at 0x401777
Capabilities:
Encode data using base64
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
cmp ebp, dword [0x4a8e90]
jg 0x401764
test ebp, ebp
jle 0x401764
mov ebx, ebp
shl ebx, 4
add ebx, dword [0x4a8ec4]
test ebx, ebx
je 0x4017c3
inc ebp
lea eax, [ebp - 1]
mov dword [0x4a8014], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
movzx esi, word [eax + 8]
xor ecx, ecx
mov dword [esp + 0x34], 0
cmp si, 0x7f
je 0x4015e3
mov eax, edx
nop
mov edi, dword [eax + 4]
add eax, 4
inc ecx
cmp word [edi + 8], 0x7f
jne 0x4015d0
test ecx, ecx
jbe 0x4015e3
dec ecx
test si, si
jne case.0x40161f.8
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, 4
je 0x401670
cmp eax, 0xd
je 0x401741
cmp eax, 0xe
je 0x4016ec
cmp eax, 8
je 0x40176b
sub eax, 5
cmp eax, 0x1c
ja case.0x40161f.8
movzx ecx, byte [eax + 0x401994]
jmp dword [ecx*4 + 0x401954]
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
sub dword [esp + 0x30], 1
jne 0x42b0fd
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.0040e940
test eax, eax
je case.0x40161f.8
jmp 0x42b069
mov edi, dword [esp + 0x34]
xor eax, eax
test ax, ax
je 0x401693
mov esi, dword [edx + edi*4 + 4]
movzx eax, word [esi + 8]
inc edi
mov dword [esp + 0x34], edi
cmp ax, 0x7f
jne 0x401676
jmp 0x42b133
cmp dword [esi], 5
jne 0x40167b
mov ecx, dword [edx + ecx*4]
cmp word [ecx + 8], 0
jne 0x4016c5
cmp dword [ecx], 5
jne 0x4016c5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [esp + 0x38], eax
inc eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.00401090
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
cmp word [eax + 8], 0
jne case.0x40161f.8
mov eax, dword [eax]
cmp eax, 0x23
je case.0x40161f.8
jmp 0x42aff0
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
dec dword [esp + 0x20]
dec dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x42afda
cmp byte [esp + 0x45], 0
jne 0x42afe4
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea esi, [esp + 0x3c]
call fcn.0040c250
cmp dword [esp + 0x20], 0
jl 0x42b127
cmp dword [esp + 0x14], edi
je case.0x40161f.8
jmp 0x42b127
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
inc esp
and al, 0x14
call fcn.00401090
jmp case.0x40161f.8
xor ebx, ebx
jmp 0x4015a3
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42b037
add al, byte [eax]
add al, byte [eax]
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x18]
dec ebx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
je 0x42afca
cmp byte [esp + 0x5d], 0
mov eax, dword [esp + 0x58]
jne 0x42afd2
mov edi, dword [eax]
lea esi, [esp + 0x54]
call fcn.0040c250
cmp dword [esp + 0x18], 0
jl 0x42b11e
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b11e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0
call fcn.0040e940
test eax, eax
jne 0x42b069
cmp dword [esp + 0x30], eax
jne 0x42b0fd
lea eax, [esp + 0x6c]
call fcn.004014e0
lea eax, [esp + 0x3c]
call fcn.004014e0
lea eax, [esp + 0x78]
call fcn.004014e0
lea eax, [esp + 0x48]
call fcn.004014e0
lea eax, [esp + 0x54]
call fcn.004014e0
lea eax, [esp + 0x60]
call fcn.004014e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 1
jg 0x42b0fd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push edx
push eax
jmp 0x40164e
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42b037
mov eax, dword [esp + 0x14]
inc dword [esp + 0x1c]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
mov eax, dword [esp + 0x14]
inc dword [esp + 0x24]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x1c]
dec ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], ebx
call fcn.00410a70
test al, al
jne 0x42ae70
lea eax, [esp + 0x6c]
call fcn.00410a60
mov edi, dword [eax]
lea esi, [esp + 0x6c]
call fcn.0040c250
cmp dword [esp + 0x1c], 0
jl 0x42b109
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b109
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x24]
dec ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00410a70
test al, al
jne 0x42ae78
lea eax, [esp + 0x78]
call fcn.00410a60
mov edi, dword [eax]
lea esi, [esp + 0x78]
call fcn.0040c250
test eax, 0x7c830000
and al, 0x24
add byte [edi], cl
mov eax, ss
xchg edi, eax
add al, byte [eax]
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b115
add dword [eax], eax
add byte [eax], al
invalid
cmp al, 0xc6
add eax, 0x49728f
add dword [ebp - 0x18], ecx
leave
pop eax
std
dec dword [ebx - 0x16e7db8c]
out dx, al
pop esi
std
push dword [ebx]
rol byte [ebx + ebx*8 + 0x68c0940f], 4
add dword [eax], eax
add byte [eax + 0x14], ch
jge 0x42ae81
add byte [edx], ch
mov byte [0x4a7d00], 1
mov dword [0x4a7cfc], eax
call dword [0x48231c]
adc eax, 0x48231c
adc eax, 0x48231c
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
call 0x4006e7
lea ecx, [esp + 0x18]
push ecx
mov esi, 0x4a7d04
call fcn.0040cbc7
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
sub ebp, 2
call 0x4006e7
mov esi, dword [esp + 0x18]
jmp 0x400d2b
invalid
inc edi
add eax, 0x4a7cfc
add byte [eax], al
add byte [eax], al
mov dword [0x4a7cfc], 0
jmp 0x400d4f
add byte [eax], al
push edx
push 0x7b
push eax
jmp 0x42af02
call fcn.0045d2a5
lea esi, [esp + 0x10]
call fcn.00407f37
mov eax, 1
jmp 0x40b3a6
push ebx
invalid
xor eax, eax
jmp 0x40b8d2
or esi, edi
dec dword [ebx - 0x4ab1732]
std
invalid
adc byte [ebx - 0x4b61731], cl
std
invalid
mov eax, 0xfe093de9
call dword [esi - 0x18]
xor eax, esi
add dword [eax], eax
push edi
mov esi, eax
call fcn.0044a007
sub eax, esi
add dword [eax], eax
xor ecx, ecx
cmp esi, eax
sete cl
mov al, cl
jmp 0x40b8d2
ror dword [edx + 0x8e6e9c1], 0xfe
call dword [esi - 0x18]
push ecx
jno 0x42aff2
add dword [eax], eax
add byte [edi - 0x76], dl
fsubr st(0)
dec ecx
jno 0x42affa
push edi
mov bl, al
call fcn.00442143
add byte [ebx], dh
leave
xor ecx, ecx
cmp bl, al
sete cl
mov al, cl
jmp 0x40b8d2
leave
jno 0x42b00e
add byte [edi - 0x75], dl
shr al, 1
sal dword [ecx + 1], 0
push edi
mov edx, eax
call fcn.004421d7
xor ecx, ecx
cmp edx, eax
sete cl
mov al, cl
jmp 0x40b8d2
call dword [edi + 0x56]
call fcn.00436c24
add esp, 8
test al, al
je 0x42af83
invalid
mov eax, 1
jmp 0x40b8d2
inc ebp
cmp edx, eax
jne 0x42b09e
push esi
call fcn.004422ed
push edi
mov ebx, eax
call fcn.004422ed
add dword [eax], eax
cmp ebx, eax
jne 0x42b0ea
push esi
call fcn.004422ed
push eax
push ecx
push edi
call fcn.0046631a
add esp, 4
push eax
push esi
call fcn.0046631a
push eax
call fcn.004107da
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x40b8d2
mov eax, esi
lea ebx, [esp + 0x20]
call fcn.0040a9c7
mov eax, edi
lea ebx, [esp + 0x10]
call fcn.0040a9c7
lea eax, [esp + 0x20]
push eax
call fcn.00465cbd
push ebx
call fcn.00465cbd
lea edx, [esp + 0x20]
push edx
call fcn.004422ed
push ebx
mov esi, eax
call fcn.004422ed
cmp esi, eax
je 0x42b0f1
mov esi, ebx
call fcn.00407f37
lea esi, [esp + 0x20]
call fcn.00407f37
xor al, al
jmp 0x40b8d2
push esi
push ecx
lea ecx, [esp + 0x18]
push ecx
call fcn.0046631a
add esp, 4
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0046631a
add eax, dword [eax]
push eax
call fcn.004107da
add esp, 0xc
test eax, eax
lea esi, [esp + 0x10]
sete bl
call fcn.00407f37
lea esi, [esp + 0x20]
call fcn.00407f37
mov al, bl
jmp 0x40b8d2
ror byte [ebp + 0xf102474], 0x94
ret
adc eax, 0x8dfffdce
je 0x42b149
and al, ch
or al, 0xce
std
dec dword [edx + 0x7a0e9c3]
invalid
inc esi
add al, 0x8b
pop eax
add al, 0x50
call fcn.0040ff66
add esp, 4
mov dword [esi + 4], ebx
mov byte [esi + 9], 0
jmp 0x40a68c
aas
cmc
std
invalid