joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66437510
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x66c78018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x66c78018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6643762d
jmp 0x6643772a
jmp 0x66437827
jmp 0x66437924
jmp 0x66437a21
jmp 0x66437b1e
jmp 0x66437c1b
jmp 0x66437d18
jmp 0x66437e15
jmp 0x66437f12
jmp 0x6643800f
jmp 0x6643810c
jmp 0x66438209
mov dword [ebp - 0x14], 0
jmp 0x6643830d
jmp 0x6643840a
jmp 0x66438507
jmp 0x66438604
jmp 0x66438701
jmp 0x664387fe
jmp 0x664388fb
jmp 0x664389f8
jmp 0x66438af5
jmp 0x66438bf2
jmp 0x66438cef
jmp 0x66438dec
jmp 0x66438ee9
mov dword [ebp - 0x18], 0
jmp 0x66438fed
jmp 0x664390ea
jmp 0x664391e7
jmp 0x664392e4
jmp 0x664393e1
jmp 0x664394de
jmp 0x664395db
jmp 0x664396d8
jmp 0x664397d5
jmp 0x664398d2
jmp 0x664399cf
jmp 0x66439acc
jmp 0x66439bc9
mov dword [ebp - 0x10], 0
jmp 0x66439ccd
jmp 0x66439dca
jmp 0x66439ec7
jmp 0x66439fc4
jmp 0x6643a0c1
jmp 0x6643a1be
jmp 0x6643a2bb
jmp 0x6643a3b8
jmp 0x6643a4b5
jmp 0x6643a5b2
jmp 0x6643a6af
jmp 0x6643a7ac
jmp 0x6643a8a9
mov dword [ebp - 0x10], 0
jmp 0x6643e93a
jmp 0x6643a9b2
jmp 0x6643aaaf
jmp 0x6643abac
jmp 0x6643aca9
jmp 0x6643ada6
jmp 0x6643aea3
jmp 0x6643afa0
jmp 0x6643b09d
jmp 0x6643b19a
jmp 0x6643b297
jmp 0x6643b394
jmp 0x6643b491
jmp 0x6643b58e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x66c78014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6643b69c
jmp 0x6643b799
jmp 0x6643b896
jmp 0x6643b993
jmp 0x6643ba90
jmp 0x6643bb8d
jmp 0x6643bc8a
jmp 0x6643bd87
jmp 0x6643be84
jmp 0x6643bf81
jmp 0x6643c07e
jmp 0x6643c17b
jmp 0x6643c278
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x66c7801c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6643c386
jmp 0x6643c483
jmp 0x6643c580
jmp 0x6643c67d
jmp 0x6643c77a
jmp 0x6643c877
jmp 0x6643c974
jmp 0x6643ca71
jmp 0x6643cb6e
jmp 0x6643cc6b
jmp 0x6643cd68
jmp 0x6643ce65
jmp 0x6643cf62
mov eax, dword [0x66c78008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp 0x6643d07d
jmp 0x6643d17a
jmp 0x6643d277
jmp 0x6643d374
jmp 0x6643d471
jmp 0x6643d56e
jmp 0x6643d66b
jmp 0x6643d768
jmp 0x6643d865
jmp 0x6643d962
jmp 0x6643da5f
jmp 0x6643db5c
jmp 0x6643dc59
add dword [ebp - 0xc], 0x28
jmp 0x6643dd5a
jmp 0x6643de57
jmp 0x6643df54
jmp 0x6643e051
jmp 0x6643e14e
jmp 0x6643e24b
jmp 0x6643e348
jmp 0x6643e445
jmp 0x6643e542
jmp 0x6643e63f
jmp 0x6643e73c
jmp 0x6643e839
jmp 0x6643e936
add dword [ebp - 0x10], 1
mov eax, dword [0x66c78018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6643a8b5
nop
leave
ret
Function at 0x10001fd4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x10002054
lea eax, [ebp + 0xc]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push eax
call fcn.100014c7
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
mov esi, eax
add esp, 0x1c
or eax, 0xffffffff
test esi, esi
cmovs esi, eax
test esi, esi
jns 0x1000201d
push str.Error_calculating_buffer_size.
call fcn.100014cd
jmp 0x10002053
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
jne 0x10002033
push str.Memory_allocation_failed.
jmp 0x10002016
lea eax, [ebp + 0xc]
mov edx, esi
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.100014fb
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop edi
pop esi
pop ecx
pop ebp
ret

Function at 0x100022d8
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x10017ef6
call fcn.10017c96
mov edi, edx
mov dword [ebp - 0x10], edi
mov ebx, ecx
push 0x30
call fcn.10016d9c
pop ecx
push 0x30
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
add esp, 0xc
mov dword [esi + 0x14], 0xf
call fcn.1000718c
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1000718c
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000232d
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.10007f2a
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov byte [esi + 0x1c], cl
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push esi
push 0x10002059
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10002391
cmp dword [esi + 0x2c], 0
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x10002383
push dword [esi + 0x2c]
call edi
cmp dword [esi + 0x28], 0
je 0x1000238e
push dword [esi + 0x28]
call edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100023c2
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100023c2
mov eax, dword [edi]
lea ecx, [ebp + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x18]
push edi
push dword [eax + 4]
push dword [eax]
call fcn.100086a8
xor esi, esi
add esp, 0xc
inc esi
mov eax, 0x1001b23c
jmp 0x100023ca
mov eax, str.cr45request_data
or esi, 0xffffffff
push eax
call fcn.10001fd4
pop ecx
test ebx, ebx
je 0x100023dc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.1000718c
mov eax, esi
call fcn.10017c73
ret
Function at 0x10002484
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x30
mov dword [ebp - 4], edx
mov edi, ecx
call fcn.10016d9c
push 0x30
xor ebx, ebx
mov esi, eax
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
mov dword [esi + 0x14], 0xf
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100024b4
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.10007f2a
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x100021aa
push ebx
push ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10002522
cmp dword [esi + 0x2c], 0
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x10002514
push dword [esi + 0x2c]
call edi
cmp dword [esi + 0x28], 0
je 0x1000251f
push dword [esi + 0x28]
call edi
or edi, 0xffffffff
cmp byte [esi + 0x1c], 0
je 0x10002544
mov eax, dword [esi + 0x18]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x10002535
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10007f73
xor edi, edi
inc edi
test ebx, ebx
je 0x1000254f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000273d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x14c
mov eax, 0x10018008
call fcn.10017cc9
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x154], edi
xor ebx, ebx
push str.cr45IsInSpiders_start_n
mov dword [ebp - 0x158], ebx
call fcn.10001fd4
pop ecx
push edi
push str.cr45__szUa:_s_n
call fcn.10001fd4
pop ecx
pop ecx
push str.Baiduspider
lea ecx, [ebp - 0x110]
call fcn.10007562
mov al, byte [esi]
mov byte [ebp - 0xf8], 0x42
mov byte [ebp - 0xf7], al
and dword [ebp - 4], ebx
lea ecx, [ebp - 0xf4]
push str.Sogouspider
call fcn.10007562
mov al, byte [esi + 1]
mov byte [ebp - 0xdc], 0x53
mov byte [ebp - 0xdb], al
push str.Sogou_web_spider
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.10007562
mov al, byte [esi + 1]
mov byte [ebp - 0xc0], 0x53
mov byte [ebp - 0xbf], al
push str.360spider
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.10007562
mov al, byte [esi + 2]
mov byte [ebp - 0xa4], 0x33
mov byte [ebp - 0xa3], al
push str.YisouSpider
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.10007562
mov al, byte [esi + 3]
mov byte [ebp - 0x88], 0x59
mov byte [ebp - 0x87], al
push str.Googlebot
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.10007562
mov al, byte [esi + 4]
mov byte [ebp - 0x6c], 0x47
mov byte [ebp - 0x6b], al
push str.Bingbot
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.10007562
mov al, byte [esi + 5]
mov byte [ebp - 0x50], 0x42
mov byte [ebp - 0x4f], al
push str.BingPreview
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.10007562
mov al, byte [esi + 5]
mov byte [ebp - 0x34], 0x42
mov byte [ebp - 0x33], al
push str.MicrosoftPreview
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.10007562
mov al, byte [esi + 5]
mov byte [ebp - 0x18], 0x4d
mov byte [ebp - 0x17], al
push dword [ebp - 0x158]
xor eax, eax
mov dword [ebp - 4], 8
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10008d00
push 0x10002986
push 9
push 0x1c
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xa
push eax
call fcn.10016dcc
push str.cr45IsInSpiders_module_n
call fcn.10001fd4
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x150]
pop ecx
jmp 0x1000295f
cmp byte [edi + 0x19], 0
je 0x10002926
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1000290c
mov eax, dword [edi]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov byte [ebp - 0x141], 1
pop ecx
pop ecx
test eax, eax
jne 0x1000292d
mov byte [ebp - 0x141], 0
test bl, 2
je 0x10002940
lea ecx, [ebp - 0x128]
and ebx, 0xfffffffd
call fcn.100074c1
test bl, 1
je 0x10002953
lea ecx, [ebp - 0x140]
and ebx, 0xfffffffe
call fcn.100074c1
cmp byte [ebp - 0x141], 0
jne 0x10002963
add edi, 0x1c
cmp edi, esi
jne 0x100028fc
push str.cr45IsInSpiders_end_n
call fcn.10001fd4
pop ecx
lea ecx, [ebp - 0x150]
call fcn.10007c6b
xor eax, eax
cmp edi, esi
setne al
call fcn.10017c87
ret
Function at 0x10006163
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10006186
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x10006234
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x100061a7
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x100061a9
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x10006228
jg 0x100061bc
test esi, esi
je 0x10006228
test ecx, ecx
jl 0x1000620a
jg 0x100061c6
test eax, eax
je 0x1000620a
cmp edi, ecx
jg 0x100061d8
jl 0x100061d0
cmp esi, eax
jae 0x100061d8
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, ecx
test edi, edi
jl 0x10006228
jg 0x1000620d
test esi, esi
je 0x10006228
jmp 0x1000620d
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x10006228
push dword [ebx + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10006239
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jg 0x1000625b
jl 0x10006252
test edi, edi
jne 0x1000625b
xor eax, eax
xor edx, edx
jmp 0x1000631a
cmp dword [ecx + 0x38], 0
je 0x10006271
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x1000631a
mov eax, dword [ecx + 0x1c]
push esi
mov esi, edi
mov edx, dword [eax]
test edx, edx
je 0x100062b3
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jbe 0x100062b3
cmp dword [eax], edi
cmovb esi, dword [eax]
push esi
push edx
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 4]
mov eax, edi
add dword [ebp + 8], esi
sub eax, esi
mov dword [ebp + 0x10], eax
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
jmp 0x100062b9
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ecx + 0x4c], 0
mov edx, esi
je 0x10006310
call fcn.100077d2
mov edx, esi
jmp 0x100062ed
push dword [ecx + 0x4c]
push eax
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add dword [ebp + 8], eax
sub esi, eax
add esp, 0x10
mov edx, esi
cmp eax, 0xfff
jne 0x10006320
mov ecx, dword [ebp - 4]
mov eax, 0xfff
cmp esi, eax
ja 0x100062ca
test edx, edx
je 0x10006310
push dword [ecx + 0x4c]
push esi
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, esi
add esp, 0x10
sub edx, eax
sub edi, edx
sbb ebx, 0
mov eax, edi
mov edx, ebx
pop esi
pop edi
pop ebx
leave
ret 0xc
sub edi, esi
jmp 0x10006312
Function at 0x1000659d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1002300c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x100065c3
xor eax, eax
jmp 0x10006684
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x100065e5
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x100065e5
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x10006684
cmp dword [esi + 0x4c], 0
je 0x10006682
call fcn.100077d2
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10006611
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x10006682
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10006650
sub eax, 1
je 0x10006650
dec eax
sub eax, 1
jne 0x10006682
push dword [esi + 0x4c]
movsx ecx, byte [ebp - 0x25]
push ecx
jmp 0x10006602
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x10006674
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x10006682
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x10006684
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016983
leave
ret 4
Function at 0x100077f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1002300c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x1000784d
cmp byte [esi + 0x3d], bl
je 0x1000784d
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10007887
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x1000785e
sub eax, 1
je 0x10007861
dec eax
sub eax, 1
jne 0x10007887
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016983
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000787f
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10007887
cmp byte [esi + 0x3d], bl
sete al
jmp 0x1000784f
xor al, al
jmp 0x1000784f

Function at 0x100115cb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
mov ebx, edx
mov edi, ecx
xor edx, edx
cmp edi, ebx
je 0x100115f7
push esi
movsx ecx, byte [edi]
mov esi, edx
mov eax, edx
shl esi, 6
shr eax, 2
add ecx, 0x9e3779b9
add esi, eax
add ecx, esi
xor edx, ecx
inc edi
cmp edi, ebx
jne 0x100115d8
pop esi
mov eax, edx
mov ecx, 0x7fffffff
xor edx, edx
div ecx
pop edi
or edx, 0x40000000
mov eax, edx
pop ebx
ret
Function at 0x421529
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x38
mov eax, 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.DLL_CommandLineToArgvW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
inc eax
shl eax, 2
push eax
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, 0
mov edx, dword [ebp - 0x38]
cmp eax, edx
jne 0x42159b
push 0
push str.CommandLineToArgvW_failed_
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.00421a4a
jmp 0x421628
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x421615
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax], edx
push 0
push 0
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jg 0x4215a3
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [0x51602c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
xchg edx, eax
mov eax, dword [0x51602c]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
mov eax, dword [0x51602c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [0x516080]
mov dword [eax], edx
leave
ret
Function at 0x426f03
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x14
push dword [0x5385ac]
push dword [0x516004]
call dword [sym.imp.KERNEL32.DLL_GetConsoleScreenBufferInfo]
mov eax, 0
mov dword [ebp - 0xc], 0
mov eax, dword [0x5385ac]
mov eax, dword [eax]
and eax, 0xffff
mov dword [ebp - 0x18], eax
mov eax, dword [0x5385ac]
mov eax, dword [eax]
shr eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x426f92
cmp eax, 1
je 0x426fc9
cmp eax, 2
je 0x426ff2
cmp eax, 4
je 0x42700d
cmp eax, 5
je 0x427041
cmp eax, 3
je 0x427069
call fcn.00426f89
mov eax, dword [0x5385ac]
mov eax, dword [eax + 4]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x18]
imul edx
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0x14], 0
jmp 0x42708b
mov eax, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x1c]
imul edx
pop edx
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0x14], 0
jmp 0x42708b
mov eax, dword [0x5385ac]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [0x5385ac]
mov eax, dword [eax + 4]
and eax, 0xffff
pop edx
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [0x5385ac]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x42708b
mov eax, dword [0x5385ac]
mov eax, dword [eax + 4]
and eax, 0xffff
mov dword [ebp - 0x10], eax
mov eax, dword [0x5385ac]
mov eax, dword [eax + 4]
and eax, 0xffff0000
mov dword [ebp - 0x14], eax
jmp 0x42708b
mov eax, dword [0x5385ac]
mov eax, dword [eax]
and eax, 0xffff
mov dword [ebp - 0x10], eax
mov eax, dword [0x5385ac]
mov eax, dword [eax + 4]
and eax, 0xffff0000
mov dword [ebp - 0x14], eax

Function at 0x42741c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x427453
cmp eax, 2
je 0x427483
cmp eax, 4
je 0x4274b3
call fcn.0042744a
mov eax, dword [ebp + 8]
mov al, byte [eax + 2]
cmp al, 0x5b
je 0x42749a
mov eax, 0
jmp 0x427ded
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
mov eax, 4
mov dword [ebp - 0x10], 4
jmp 0x4274e1
mov eax, dword [ebp + 8]
mov al, byte [eax + 4]
cmp al, 0x5b
je 0x4274ca
mov eax, 0
jmp 0x427ded
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp + 8], eax
mov eax, 8
mov dword [ebp - 0x10], 8
Function at 0x428472
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
mov eax, dword [0x53859c]
cmp eax, 0
je 0x4284c2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x4284ac
and eax, 0xff
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
and eax, 0xff
push eax
call fcn.00427e5a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0
jne 0x428490
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
sub eax, edx
mov dword [ebp - 0x10], eax
jmp 0x4284f5
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.DLL_strlen]
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [0x516004]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
xor eax, eax
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0042bba8
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x428725
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 8
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 1
push eax
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
dec eax
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
leave
ret 4