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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x370
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x36c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x14], esi
push 0
push 0xa
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], edi
push ecx
lea ecx, [edi + 0x10]
mov dword [esp + 0x74], 0
call fcn.00414e2f
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x684b44
mov dword [esi], ecx
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x36c]
xor ecx, esp
call fcn.004087b5
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x2dc], 0
je 0x684b82
lea eax, [esp + 0x1c]
mov word [esp + 0x24], 0x103
push eax
push esi
lea ecx, [edi + 4]
mov dword [esp + 0x24], str.Invalid_multiple_blocks
call fcn.0067bc20
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x36c]
xor ecx, esp
call fcn.004087b5
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x170]
mov dword [esp + 0x164], 0
mov dword [esp + 0x160], eax
mov al, byte [esp + 0x7c]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x168], 0x40
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x10]
call fcn.004019dd
mov cl, byte [esp + 0x24]
mov al, cl
not al
test al, 1
je 0x684c2b
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
cmp esi, 2
jne 0x684c75
lea eax, [esp + 0x40]
push eax
lea ecx, [edi + 0x10]
call fcn.0040ad2b
mov esi, dword [esp + 0x40]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x684c50
test byte [esp + 0x24], 1
je 0x684c10
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x684c10
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x10]
call fcn.004019dd
mov cl, byte [esp + 0x24]
mov al, cl
not al
test al, 1
jne 0x684bd1
mov dl, byte [esp + 0xc]
and cl, 1
and dl, 0xfe
or dl, cl
mov byte [esp + 0xc], dl
test dl, 1
jne 0x684c96
mov edx, dword [esp + 0x1c]
mov esi, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jmp 0x684ca0
mov al, byte [esp + 0xc]
or al, 1
mov dword [esp + 0x40], 0
test byte [esp + 0x24], 1
mov byte [esp + 0xc], al
je 0x684cb8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x684cb8
mov eax, dword [ecx]
jmp 0x684cb0
mov al, byte [esp + 0xc]
mov edx, dword [esp + 0x20]
and al, 0xfe
mov byte [esp + 0xc], al
mov dword [esp + 0x18], edx
test cl, 1
je 0x684cbc
test esi, esi
je 0x684cbc
mov eax, dword [esi]
mov ecx, esi
jmp 0x684cb0
mov esi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], esi
test cl, cl
je 0x684cb4
test edx, edx
je 0x684cb4
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov al, byte [esp + 0xc]
mov edx, dword [esp + 0x18]
not al
test al, 1
je 0x685326
mov eax, esi
sub eax, 0
je 0x685303
sub eax, 1
je 0x6852e6
sub eax, 1
je 0x685303
push 0
lea eax, [esp + 0x164]
mov dword [esp + 0x168], 0
push eax
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x10]
call fcn.00409b56
mov dl, byte [esp + 0x30]
mov al, dl
not al
test al, 1
je 0x6852d6
mov ecx, dword [esp + 0x2c]
cmp ecx, 3
jne 0x684e51
cmp dword [esp + 0x164], ecx
jb 0x68528b
mov ecx, dword [esp + 0x160]
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x80]
mov dword [esp + 0x68], eax
call fcn.00409a89
mov eax, dword [esp + 0x164]
mov esi, 2
mov dword [esp + 0x48], eax
cmp eax, esi
je 0x684dd1
mov edi, dword [esp + 0x160]
mov edx, dword [edi + esi*8]
mov eax, edx
mov ecx, dword [edi + esi*8 + 4]
or eax, ecx
jne 0x684e80
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x54]
inc esi
push eax
lea eax, [esp + 0x54]
push dword [edi + esi*8 + 4]
push dword [edi + esi*8]
push eax
call fcn.00684300
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x685242
mov edi, dword [esp + 0x54]
cmp edi, 0x3e
jne 0x684db9
push eax
lea ecx, [esp + 0x84]
call fcn.004132f0
push edi
lea ecx, [esp + 0x84]
call fcn.00410258
mov edi, dword [esp + 0x34]
inc esi
cmp esi, dword [esp + 0x48]
jne 0x684d64
lea eax, [esp + 0x80]
push eax
call fcn.0040a349
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x7c]
push dword [edi + 0xe8]
push eax
call fcn.00414191
add esp, 0x14
lea ecx, [edi + 0x2d8]
mov esi, eax
lea eax, [esp + 0x44]
push eax
call fcn.0040e0e8
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [esp + 0x90]
push dword [eax + 4]
lea eax, [esp + 0x94]
push eax
mov ecx, eax
call fcn.0041041f
push 0x40
push dword [esp + 0x94]
call fcn.004036ca
mov dl, byte [esp + 0x38]
add esp, 8
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test dl, 1
je 0x684e60
test ecx, ecx
je 0x684e60
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0xc], 1
je 0x684bb6
test esi, esi
je 0x684bb6
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x684bb6
cmp edx, 1
jne 0x684fcb
test ecx, ecx
jne 0x684fcb
inc esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push dword [edi + esi*8 + 4]
push dword [edi + esi*8]
mov edi, dword [esp + 0x40]
mov ecx, edi
push eax
call fcn.00684300
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x685242
mov eax, dword [esp + 0x5c]
cmp eax, 0x40
jne 0x684f0b
mov eax, dword [esp + 0x160]
inc esi
mov word [esp + 0x38], 0
mov ecx, dword [eax + esi*8]
mov eax, ecx
or eax, 0
je 0x684ef6
push 2
push 0
push ecx
call fcn.0040ebba
mov cl, 0x3f
mov byte [esp + 0x45], 1
add esp, 0xc
sub cl, al
mov byte [esp + 0x38], cl
push dword [esp + 0x38]
lea ecx, [esp + 0x84]
call fcn.0040112c
jmp 0x684dca
cmp eax, 0x44
jne 0x684f58
mov eax, dword [esp + 0x160]
inc esi
mov word [esp + 0x3c], 0
mov ecx, dword [eax + esi*8]
mov eax, ecx
or eax, 0
je 0x684f43
push 2
push 0
push ecx
call fcn.0040ebba
mov cl, 0x3f
mov byte [esp + 0x49], 1
add esp, 0xc
sub cl, al
mov byte [esp + 0x3c], cl
push dword [esp + 0x3c]
lea ecx, [esp + 0x84]
call fcn.00404f5c
jmp 0x684dca
cmp eax, 0x42
jne 0x684f7d
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x80]
inc esi
push dword [eax + esi*8 + 4]
push dword [eax + esi*8]
call fcn.00404025
jmp 0x684dca
cmp eax, 0x43
jne 0x684fa2
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x80]
inc esi
push dword [eax + esi*8 + 4]
push dword [eax + esi*8]
call fcn.00406e1f
jmp 0x684dca
cmp eax, 0x41
jne 0x684dca
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x80]
inc esi
push dword [eax + esi*8 + 4]
push dword [eax + esi*8]
call fcn.00411e5a
jmp 0x684dca
cmp edx, 3
jne 0x684fd4
test ecx, ecx
je 0x684fe5
cmp edx, 4
jne 0x685195
test ecx, ecx
jne 0x685195
inc esi
cmp edx, 4
jne 0x684ff4
mov byte [esp + 0x12], 1
test ecx, ecx
je 0x684ff9
mov byte [esp + 0x12], 0
lea eax, [esp + 0x11c]
mov dword [esp + 0x118], 0x40
mov dword [esp + 0x110], eax
lea edi, [edi + esi*8]
xor edx, edx
mov dword [esp + 0xc8], 0x40
lea eax, [esp + 0xcc]
mov dword [esp + 0x114], edx
xor ecx, ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x6850b1
cmp esi, dword [esp + 0x48]
je 0x6850aa
mov al, byte [edi]
mov byte [esp + 0x13], al
cmp edx, dword [esp + 0x118]
jb 0x68507b
push 1
push 0
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x11c]
call fcn.00405e1b
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x110]
inc esi
mov cl, byte [esp + 0x13]
mov byte [eax + edx], cl
mov eax, dword [esp + 0x160]
mov edx, dword [esp + 0x114]
inc edx
mov dword [esp + 0x114], edx
lea edi, [eax + esi*8]
mov eax, dword [edi]
or eax, dword [edi + 4]
jne 0x685047
mov ecx, dword [esp + 0xc4]
cmp byte [esp + 0x12], 0
je 0x68513a
mov eax, dword [esp + 0x160]
inc esi
lea edi, [eax + esi*8]
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x68513a
nop
cmp esi, dword [esp + 0x48]
je 0x685133
mov al, byte [edi]
mov byte [esp + 0x13], al
cmp ecx, dword [esp + 0xc8]
jb 0x685104
push 1
push 0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xcc]
call fcn.00405e1b
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
inc esi
mov dl, byte [esp + 0x13]
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0xc4]
inc ecx
mov dword [esp + 0xc4], ecx
lea edi, [eax + esi*8]
mov eax, dword [edi]
or eax, dword [edi + 4]
jne 0x6850d0
mov edx, dword [esp + 0x114]
push ecx
push dword [esp + 0xc4]
lea ecx, [esp + 0x88]
push edx
push dword [esp + 0x11c]
call fcn.0040fdf3
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xcc]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, ecx
je 0x685174
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x110]
lea ecx, [esp + 0x11c]
cmp eax, ecx
je 0x684dc6
push eax
call edi
add esp, 4
jmp 0x684dc6
cmp edx, 6
jne 0x6851a3
mov byte [esp + 0x12], 1
test ecx, ecx
je 0x6851a8
mov byte [esp + 0x12], 0
inc esi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push dword [edi + esi*8 + 4]
push dword [edi + esi*8]
mov edi, dword [esp + 0x40]
mov ecx, edi
push eax
call fcn.00684300
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x685242
mov eax, dword [esp + 0x64]
cmp eax, 0x3e
jne 0x685215
cmp byte [esp + 0x12], 0
je 0x685201
mov eax, dword [esp + 0x160]
inc esi
mov ecx, edi
push dword [eax + esi*8]
call fcn.0067e3c0
push eax
lea ecx, [esp + 0x84]
call fcn.004132f0
jmp 0x684dca
xor eax, eax
lea ecx, [esp + 0x80]
push eax
call fcn.004132f0
jmp 0x684dca
cmp eax, 0x3f
jne 0x684dca
mov eax, dword [esp + 0x160]
inc esi
mov ecx, edi
push dword [eax + esi*8]
call fcn.0067e3c0
push eax
lea ecx, [esp + 0x84]
call fcn.00402bf3
jmp 0x684dca
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0x80]
call fcn.00406dd4
test byte [esp + 0x30], 1
je 0x685269
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x685269
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0xc], 1
je 0x685341
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x685341
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x685341
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [edi + 4]
mov word [esp + 0x2c], 0x103
mov dword [esp + 0x24], str.Invalid_record
call fcn.0067bc20
test byte [esp + 0x30], 1
je 0x6852c1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x6852c1
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0xc], 1
je 0x685341
test esi, esi
je 0x685341
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x685341
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.004091f6
jmp 0x6852ac
test byte [esp + 0xc], 1
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
je 0x685341
mov eax, dword [esi]
mov ecx, 1
push ecx
call dword [eax]
jmp 0x685341
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [edi + 4]
mov word [esp + 0x2c], 0x103
mov dword [esp + 0x24], str.Malformed_block
call fcn.0067bc20
jmp 0x6852c1
and byte [esp + 0xc], 1
mov ecx, dword [esp + 0x14]
je 0x685339
mov eax, esi
xor esi, esi
mov dword [ecx], eax
jmp 0x68533f
mov dword [ecx], 0
xor ecx, ecx
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x170]
cmp eax, ecx
je 0x68535e
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
add esp, 4
mov ecx, dword [esp + 0x374]
mov eax, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.004087b5
mov esp, ebp
pop ebp
ret 4