joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d190
cmp edx, dword [eax]
je 0x40978b
add eax, 8
inc ecx
cmp eax, 0x40d220
jl 0x40977c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d190]
jne 0x4098b9
mov eax, dword [0x40dbb0]
cmp eax, 1
je 0x409893
test eax, eax
jne 0x4097bc
cmp dword [0x40d0e4], 1
je 0x409893
cmp edx, 0xfc
je 0x4098b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4097f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c45c
push edi
call fcn.0040af00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a680
lea eax, [ebp - 0xa0]
push 0x40c43c
push eax
call fcn.0040a680
push dword [esi + 0x40d194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ae75
add esp, 0x2c
pop edi
jmp 0x4098b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40d194]
push 0
push eax
push dword [esi]
call fcn.0040a490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5c813c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov edi, edx
mov esi, eax
lea eax, [ebp - 0x158]
mov edx, dword [0x40850c]
call fcn.00405448
xor eax, eax
push ebp
push 0x5c83c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x15c]
mov ecx, 0x5c83e4
mov edx, esi
call fcn.00404d3c
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, 0x3f
call fcn.00409ea0
test eax, eax
jne 0x5c8398
mov eax, dword [ebp - 0x14c]
mov edx, 0x5c83f4
call fcn.00404e3c
je 0x5c837a
mov eax, dword [ebp - 0x14c]
mov edx, 0x5c8400
call fcn.00404e3c
je 0x5c837a
test byte [ebp - 0x150], 0x10
je 0x5c82f4
push esi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x160]
call fcn.00409cac
test al, al
je 0x5c82f4
push edi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x164]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x164]
call fcn.00409cac
test al, al
jne 0x5c8297
push edi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x168]
call fcn.0040a3c8
test al, al
je 0x5c839a
mov eax, dword [ebp + 8]
push eax
push edi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x16c]
push eax
push esi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x170]
pop edx
call fcn.005c813c
pop ecx
test al, al
je 0x5c839a
jmp 0x5c837a
push esi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x174]
call fcn.00409c9c
test al, al
je 0x5c837a
push 0
push edi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x178]
call fcn.00404ef0
push eax
push esi
push 0x5c840c
push dword [ebp - 0x14c]
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x17c]
call fcn.00404ef0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x5c839a
lea eax, [ebp - 0x158]
call fcn.00409ef0
test eax, eax
je 0x5c81d5
lea eax, [ebp - 0x158]
call fcn.00409f14
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c83d0
lea eax, [ebp - 0x17c]
mov edx, 9
call fcn.00404a54
lea eax, [ebp - 0x158]
mov edx, dword [0x40850c]
call fcn.00405518
ret

Function at 0x5c9804
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
mov esi, eax
mov ebx, 0x101
push ebx
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, esi
call fcn.00404ef0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x160]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406243
pop dword [ebp - 0xc]
mov eax, 0x406243
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xf2b349b9
add dword [ebp - 0x1c], 0x5b9efb92
mov dword [ebp - 0x18], 0xf9f0a4f5
add dword [ebp - 0x18], 0x3842a750
mov dword [ebp - 0x14], 0x3f1fda27
add dword [ebp - 0x14], 0xd2c6a07
mov dword [ebp - 0x10], 0xc3acd817
add dword [ebp - 0x10], 0x3c5327e9
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xf63950d9
sub eax, 0xf5f8cfd5
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc23ec14f
sub dword [ebp - 0x1c], 0x4dcc57f9
mov dword [ebp - 0x18], 0x59afd7a9
add dword [ebp - 0x18], 0xe7bc89cc
mov dword [ebp - 0x14], 0xe53ca525
add dword [ebp - 0x14], 0x7e32c747
mov dword [ebp - 0x10], 0x3149ee04
sub dword [ebp - 0x10], 0x3149ee04
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x1bcceda
add eax, 0xfe83b226
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf0f
push 0
call eax
mov ecx, 0xb22d371
sub ecx, 0xb2277c5
xor ebx, ebx
add ebx, eax
mov edi, 0x573eb260
sub edi, 0x56f7ce60
add edi, dword [ebp - 0xc]
mov edx, 0x1284543d
mov esi, dword [edi]
sub dword [ebp - 4], ebx
xor esi, edx
sub dword [ebp - 8], 0x2e3ab19f
mov dword [ebx], esi
sub dword [ebp - 4], 0x1736f47
add ebx, 0x7497e0dd
sub ebx, 0x7497e0d9
add edi, 4
loop 0x40635c
add eax, 0x16183
xor ebx, ebx
add ebx, eax
add eax, 0x4e606f2f
add eax, 0xb19f90d6
mov ecx, 0x70c3d312
sub ecx, 0x7083d312
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x10009810
Capabilities:
Get geographical location

Disassembly:
push 0xa0
mov eax, 0x100c95ed
call fcn.100c74ca
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
and dword [ebp - 4], 0
push 6
mov dword [ebp - 0xa4], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xac], ebx
call fcn.10054044
push 8
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x64]
call fcn.10053b49
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.100570f0
mov esi, eax
mov dword [ebp - 0xa8], esi
mov eax, dword [ebp - 0xa4]
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10009894
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x44]
mov edi, dword [esi]
add eax, ecx
push edx
lea edx, [ebp - 0x2c]
push edx
mov edi, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call dword [0x100e97d8]
mov ecx, esi
call edi
test al, al
je 0x10009a08
push str.userId
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 4]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x1c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x34]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.email
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x4c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x64]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x7c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x94]
call fcn.1002717d
lea ecx, [ebp - 0xa0]
call fcn.100090b6
test esi, esi
je 0x10009a18
push esi
lea ecx, [ebp - 0xa8]
call fcn.1002717d
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10009a2c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.1002717d
pop ecx
pop ecx
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.100542df
lea ecx, [ebp - 0x2c]
call fcn.100543b8
call fcn.100c7417
ret 4
Function at 0x1000a0cf
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x100c971e
call fcn.100c7428
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1002717d
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push dword [ebp - 0x10]
push 0x1000bd30
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x1000a119
mov eax, esi
call fcn.100c73f1
ret 4
push 6
mov dword [edi], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x10023460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1016a39c]
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 0x10023486
xor eax, eax
jmp 0x10023541
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x100234a8
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x100234a8
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 0x10023541
cmp dword [esi + 0x4c], 0
je 0x1002353f
call fcn.10021ce6
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100234d2
push dword [esi + 0x4c]
push eax
call fcn.1002717d
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x1002353f
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
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]
test eax, eax
js 0x1002353f
cmp eax, 1
jle 0x1002350d
cmp eax, 3
jne 0x1002353f
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x100234c4
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x10023531
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 - 0x34], eax
jne 0x1002353f
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, ebx
jne 0x10023541
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c73e0
leave
ret 4
Function at 0x1002717d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1002718c
pop dword [ebp - 0x10]
mov eax, 0x1002718c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xb9f9f8c0
sub dword [ebp - 0x20], 0x6ba7b375
mov dword [ebp - 0x1c], 0x75c2e356
sub dword [ebp - 0x1c], 0x438f9711
mov dword [ebp - 0x18], 0xd56e98c0
add dword [ebp - 0x18], 0x76ddab6e
mov dword [ebp - 0x14], 0xd92da2b8
sub dword [ebp - 0x14], 0xd92da2b8
lea eax, [ebp - 0x20]
push eax
mov eax, 0x1e4c6261
add eax, 0xf1c22ee7
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xbe761690
add dword [ebp - 0x20], 0xb5fc52c6
mov dword [ebp - 0x1c], 0x9bbb5a0
add dword [ebp - 0x1c], 0x37b0abd5
mov dword [ebp - 0x18], 0x749a3a84
sub dword [ebp - 0x18], 0x112ace18
mov dword [ebp - 0x14], 0x2bacf53a
add dword [ebp - 0x14], 0xd4530ac6
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x85abf
push 0
call eax
mov ecx, 0x4a01
mov ebx, eax
mov esi, 0xe4f7d760
add esi, 0x2b203ca0
add esi, dword [ebp - 0x10]
mov edi, 0x7df49f88
add edi, 0x1e6c784b
mov edx, dword [esi]
sub dword [ebp - 4], 0xae6d3bee
add edx, edi
xor dword [ebp - 0xc], 0xf591c0de
mov dword [ebx], edx
xor dword [ebp - 4], 0x2fc1bc32
add ebx, 0x60724596
add ebx, 0x9f8dba6e
add esi, 0x79766a3f
sub esi, 0x79766a3b
loop 0x1002729e
add eax, 0x3d6960f6
sub eax, 0x3d68461f
mov ebx, eax
add eax, 0x20242019
sub eax, 0x20242014
mov ecx, 0xd17912ba
add ecx, 0x3e86ed46
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x1002c70e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100eda18]
xor byte [esi + ecx], al
inc esi
cmp esi, 0x16
jb 0x1002c712
pop edi
mov byte [ecx + 0x16], 0
mov eax, ecx
pop esi
ret
Function at 0x10041bc7
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x100d28a5
call fcn.100c7428
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test eax, eax
je 0x10041d4e
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x10041c97
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x1016fbd0], 0x10
mov ecx, 0x1016fbbc
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x1016fbbc]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.1002717d
inc edi
cmp edi, 4
jl 0x10041c5f
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10041c01
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x10041d4e
mov eax, edi
cmp edi, esi
jge 0x10041ccd
cmp eax, esi
jae 0x10041d59
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x10041cb5
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10041d39
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x1016fbd0], 0x10
mov ecx, 0x1016fbbc
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x1016fbbc]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.1002717d
inc ebx
cmp ebx, edi
jl 0x10041d0a
mov edi, dword [ebp - 0x1c]
push 3
pop esi
cmp edi, esi
jge 0x10041d4e
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.1002717d
sub esi, 1
jne 0x10041d3f
mov eax, dword [ebp + 8]
call fcn.100c73f1
ret 0xc
call fcn.1002717d
int3
Function at 0x10043da8
Capabilities:
Set http header

Disassembly:
push 0x4c
mov eax, 0x100d2b36
call fcn.100c745c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
jmp 0x10043e69
push 0x100efc48
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.100439f8
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002717d
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.100227b7
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002717d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebx]
call dword [sym.imp.winhttp.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10043e49
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.1002717d
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100227b7
add esi, 0x30
cmp esi, edi
jne 0x10043dc4
mov al, 1
call fcn.100c7406
ret
Function at 0x10059dd2
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x100d5cc9
call fcn.100c7428
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 4], edi
test eax, eax
jne 0x10059e26
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x10059e26
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x10059e26
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], edi
lea ecx, [ebp + 8]
setne bl
call fcn.100227b7
mov al, bl
call fcn.100c73f1
ret 0x18

Function at 0x1005cf19
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f1f60]
xor byte [esi + ecx], al
inc esi
cmp esi, 9
jb 0x1005cf1d
pop edi
mov byte [ecx + 9], 0
mov eax, ecx
pop esi
ret

Function at 0x1005e270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
mov esi, ecx
cmp bx, di
jne 0x1005e299
xor eax, eax
jmp 0x1005e35f
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005e2c1
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x1005e2c1
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_unsigned_short_int____thiscall_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::_Pninc_void_]
mov word [eax], di
mov ax, di
jmp 0x1005e35f
cmp dword [esi + 0x4c], 0
je 0x1005e35c
mov ecx, esi
call fcn.1005e1a5
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1005e2ed
push dword [esi + 0x4c]
push edi
call fcn.1002717d
pop ecx
pop ecx
test al, al
je 0x1005e35c
movzx ebx, di
jmp 0x1005e35c
lea eax, [ebp - 0x2c]
mov word [ebp - 0x28], di
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_unsigned_short_int__char__struct__Mbstatet_::out_struct__Mbstatet___unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int_const____char___char___char___const]
test eax, eax
js 0x1005e35c
cmp eax, 1
jle 0x1005e329
cmp eax, 3
jne 0x1005e35c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1005e2dd
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x1005e34d
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 - 0x34], eax
jne 0x1005e35c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
mov ax, di
jne 0x1005e35f
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c73e0
leave
ret 4
Function at 0x10067abc
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10067c13
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10067c12
cmp eax, 0x29
jne 0x10067af4
cmp dword [esi + 0x10], 0
jne 0x10067c12
test dword [esi + 0x50], edx
je 0x10067c23
cmp eax, 0x2e
jne 0x10067b0f
push 5
lea ecx, [esi + 0x24]
call fcn.1002717d
mov ecx, esi
call fcn.1006972c
jmp 0x10067bfd
cmp eax, 0x5c
jne 0x10067b61
mov ecx, esi
call fcn.1006972c
test byte [esi + 0x50], 0x80
je 0x10067b55
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10067b3e
push 4
lea ecx, [esi + 0x24]
call fcn.1002717d
mov ecx, esi
call fcn.1006972c
jmp 0x10067c04
cmp al, 0x42
jne 0x10067b55
push 4
lea ecx, [esi + 0x24]
call fcn.1002717d
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10067b32
mov ecx, esi
call fcn.10067c2d
jmp 0x10067bfd
cmp eax, 0x5b
jne 0x10067b81
mov ecx, esi
call fcn.1006972c
mov ecx, esi
call fcn.100680eb
push 4
push 0x5d
mov ecx, esi
call fcn.1002717d
jmp 0x10067bfd
cmp eax, 0x28
jne 0x10067ba3
mov ecx, esi
call fcn.1006972c
mov ecx, esi
call fcn.100699f9
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1002717d
jmp 0x10067bf9
cmp eax, 0x5e
jne 0x10067baf
push 2
jmp 0x10067b2a
cmp eax, 0x24
jne 0x10067bbb
push 3
jmp 0x10067b2a
cmp eax, 0x2a
je 0x10067c1f
cmp eax, 0x2b
je 0x10067c1f
cmp eax, 0x3f
je 0x10067c1f
cmp eax, 0x7b
je 0x10067c1f
cmp eax, 0x7d
jne 0x10067bd9
test dword [esi + 0x50], edx
je 0x10067c17
cmp eax, 0x5d
jne 0x10067be3
test dword [esi + 0x50], edx
je 0x10067c1b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1002717d
mov ecx, esi
call fcn.1006972c
mov bl, 1
test bl, bl
je 0x10067c04
mov ecx, esi
call fcn.1002717d
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10067ace
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x10067c25
push 4
jmp 0x10067c25
push 0xa
jmp 0x10067c25
push 5
mov ecx, esi
call fcn.1002717d
int3

Function at 0x1006dc07
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f33a8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0xb
jb 0x1006dc0b
pop edi
mov byte [ecx + 0xb], 0
mov eax, ecx
pop esi
ret

Function at 0x1006dc2e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f33a8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0xa
jb 0x1006dc32
pop edi
mov byte [ecx + 0xa], 0
mov eax, ecx
pop esi
ret