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

Disassembly:
push 0x2c
mov eax, 0x434516
call fcn.0041d834
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x402d20
xor eax, eax
call fcn.0041d8b7
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x402d48
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x402d48
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x402d18
cmp dword [esi + 0x54], edi
jne 0x402d52
or eax, 0xffffffff
jmp 0x402d18
mov eax, esi
call fcn.00403b7c
cmp dword [esi + 0x44], edi
jne 0x402d74
push dword [esi + 0x54]
movsx eax, bl
push eax
call dword [sym.imp.MSVCR100.dll_fputc]
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x402d4d
jmp 0x402d44
push edi
push 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.004152d3
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402e31
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x402e59
cmp eax, 1
jg 0x402e39
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402de0
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x402e07
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402df3
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x402e59
lea eax, [ebp - 0x2d]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x402e55
test edi, edi
jne 0x402d93
cmp dword [ebp - 0x1c], 0x20
jae 0x402e59
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004152d3
jmp 0x402d93
mov ecx, dword [ebp - 0x2c]
jmp 0x402da5
cmp eax, 3
jne 0x402e59
movsx eax, byte [ebp - 0x2d]
push dword [esi + 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_fputc]
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x402e5c
mov esi, ebx
jmp 0x402e5c
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004152d3
mov eax, esi
jmp 0x402d18
Function at 0x403a82
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x434700
call fcn.0041d834
xor edi, edi
cmp dword [esi + 0x44], edi
je 0x403b74
cmp byte [esi + 0x49], 0
je 0x403b74
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x403ab8
xor al, al
jmp 0x403b76
push edi
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.004152d3
mov dword [ebp - 4], edi
lea ebx, [esi + 0x4c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x403b16
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x403b1b
dec eax
je 0x403b1f
dec eax
dec eax
je 0x403b70
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004152d3
mov al, bl
jmp 0x403b76
mov ecx, dword [ebp - 0x2c]
jmp 0x403ae5
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x403b2b
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x403b52
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x403b3e
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x403b04
cmp byte [esi + 0x49], 0
je 0x403b70
test edi, edi
jne 0x403ad7
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004152d3
jmp 0x403ad7
mov bl, 1
jmp 0x403b06
mov al, 1
call fcn.0041d8b7
ret
Function at 0x408295
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x434516
call fcn.0041d834
mov ebx, 0xffff
mov esi, ecx
cmp bx, word [ebp + 8]
jne 0x4082b5
xor eax, eax
jmp 0x408439
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x4082e6
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x4082e6
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov word [eax], cx
mov ax, cx
jmp 0x408439
cmp dword [esi + 0x54], edi
je 0x408437
mov eax, esi
call fcn.00408f51
cmp dword [esi + 0x44], edi
jne 0x40831b
push dword [esi + 0x54]
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_fputwc]
pop ecx
cmp ax, bx
movzx eax, word [ebp + 8]
pop ecx
jne 0x408439
jmp 0x408437
movzx eax, word [ebp + 8]
push edi
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.004152d3
mov dword [ebp - 4], edi
jmp 0x408342
xor edi, edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4083e0
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::out_int___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
cmp eax, edi
jl 0x40842c
cmp eax, 1
jg 0x4083e8
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40838f
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x4083b6
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4083a2
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x408416
lea eax, [ebp - 0x30]
mov byte [esi + 0x4a], 1
cmp dword [ebp - 0x38], eax
jne 0x40841a
test edi, edi
jne 0x408340
cmp dword [ebp - 0x1c], 0x20
push edi
lea ecx, [ebp - 0x2c]
jae 0x408430
push 8
call fcn.004152d3
jmp 0x408340
mov ecx, dword [ebp - 0x2c]
jmp 0x408354
cmp eax, 3
jne 0x40842c
push dword [esi + 0x54]
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR100.dll_fputwc]
movzx esi, word [ebp + 8]
pop ecx
pop ecx
cmp ax, bx
jne 0x408406
mov esi, ebx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004152d3
mov ax, si
jmp 0x408439
push 0
jmp 0x40842d
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004152d3
mov ax, word [ebp + 8]
jmp 0x408439
push edi
lea ecx, [ebp - 0x2c]
push 1
call fcn.004152d3
mov eax, ebx
call fcn.0041d8b7
ret 4
Function at 0x408e53
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x434700
call fcn.0041d834
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x408f49
cmp byte [esi + 0x4a], bl
je 0x408f49
mov eax, dword [esi]
mov edi, 0xffff
push edi
mov ecx, esi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x408e8f
xor al, al
jmp 0x408f4b
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004152d3
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x408eeb
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
sub eax, ebx
je 0x408ef0
dec eax
je 0x408ef4
dec eax
dec eax
je 0x408f45
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004152d3
mov al, bl
jmp 0x408f4b
mov ecx, dword [ebp - 0x2c]
jmp 0x408eb8
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x408f00
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x408f27
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x408f13
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x408ed9
cmp byte [esi + 0x4a], 0
je 0x408f45
cmp edi, ebx
jne 0x408eaa
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004152d3
jmp 0x408eaa
mov bl, 1
jmp 0x408edb
mov al, 1
call fcn.0041d8b7
ret
Function at 0x40a136
Capabilities:
Create http request
Parse url

Disassembly:
push 0x78
mov eax, 0x43580f
call fcn.0041d834
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x3c
mov dword [ebp - 0x84], eax
lea eax, [edi + 0xc]
push ebx
push eax
mov esi, ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.MSVCR100.dll_memset]
or ecx, 0xffffffff
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x44], ecx
mov ecx, 0xffff
lea eax, [edi + 0xc]
mov dword [eax], 0x3c
mov word [edi + 0x24], cx
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40a193
mov esi, dword [esi]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
jne 0x40a1a8
xor al, al
jmp 0x40a262
push dword [edi + 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.004152d3
mov dword [ebp - 4], ebx
push dword [edi + 0x20]
lea esi, [ebp - 0x48]
push ebx
push eax
call fcn.004152d3
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 1
call fcn.004152d3
push ebx
push 1
mov ecx, esi
call fcn.004152d3
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004152d3
push dword [edi + 0x38]
lea ecx, [ebp - 0x64]
call fcn.004152d3
mov dword [ebp - 4], 2
push dword [edi + 0x3c]
lea esi, [ebp - 0x80]
push ebx
push eax
call fcn.004152d3
push eax
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 3
call fcn.004152d3
push ebx
push 1
mov ecx, esi
call fcn.004152d3
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.004152d3
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x14], 8
jb 0x40a238
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [edi], eax
cmp eax, ebx
je 0x40a1a1
xor edx, edx
mov ecx, 0x417dbc
cmp edx, ecx
je 0x40a260
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetSetStatusCallbackW]
mov al, 1
call fcn.0041d8b7
ret 4
Function at 0x40a368
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x1c
mov eax, 0x4357d4
call fcn.0041d7fe
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x14], esi
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x40a44a
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.004152d3
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
inc eax
push eax
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebx + 8]
call dword [sym.imp.wininet.dll_InternetReadFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x40a3dc
mov dword [ebp - 0x14], esi
jmp 0x40a3ed
cmp dword [ebp - 0x14], esi
jbe 0x40a3ed
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004152d3
or dword [ebp - 4], 0xffffffff
jmp 0x40a434
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
pop ecx
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x14], esi
ja 0x40a37c
cmp dword [ebp - 0x1c], esi
setne al
call fcn.0041d8a3
ret 8
Function at 0x40bfeb
Capabilities:
Get common file path

Disassembly:
push 0x884
mov eax, 0x4360f5
call fcn.0041d834
xor ebx, ebx
push 0x802
lea eax, [ebp - 0x818]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x890], ebx
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40c126
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x834]
call fcn.004152d3
lea eax, [ebp - 0x850]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00406685
pop ecx
push eax
lea eax, [ebp - 0x888]
push eax
mov byte [ebp - 4], 1
call fcn.004152d3
push 0x43dccc
push eax
lea eax, [ebp - 0x86c]
push eax
mov byte [ebp - 4], 2
call fcn.004152d3
add esp, 0x14
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x834]
mov byte [ebp - 4], 3
call fcn.004152d3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x86c]
call fcn.004152d3
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.004152d3
push ebx
push esi
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], bl
call fcn.004152d3
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x850]
call fcn.00407a3d
call fcn.00407172
push ebx
push esi
lea ecx, [ebp - 0x850]
mov byte [ebp - 0x889], al
call fcn.004152d3
cmp byte [ebp - 0x889], bl
je 0x40c115
lea eax, [ebp - 0x834]
push eax
push edi
call fcn.004065d0
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x834]
call fcn.004152d3
jmp 0x40c132
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x834]
call fcn.004152d3
push 0x43d991
mov ecx, edi
call fcn.004152d3
mov eax, edi
call fcn.0041d8b7
ret

Function at 0x41246d
Capabilities:
Get common file path

Disassembly:
push 0x26c
mov eax, 0x436d28
call fcn.0041d834
xor esi, esi
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x25c], esi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
call fcn.004152d3
test al, al
je 0x412535
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.004152d3
push str.LogSession
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], esi
call fcn.004152d3
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.0040c291
push 0x43d991
lea ecx, [ebp - 0x278]
mov ebx, eax
call fcn.004152d3
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 2
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x40]
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.004152d3
push esi
push 1
lea ecx, [ebp - 0x258]
call fcn.004152d3
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x23c]
call fcn.004152d3
call fcn.004123d2
jmp 0x412561
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x220]
je 0x412559
mov eax, 0x43dad4
push eax
mov ecx, edi
call fcn.004152d3
mov eax, edi
call fcn.0041d8b7
ret
Function at 0x4126c0
Capabilities:
Get session user name

Disassembly:
push 0x260
mov eax, 0x43541e
call fcn.0041d834
xor eax, eax
xor esi, esi
mov dword [ebp - 0x26c], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x26c], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004152d3
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], esi
call fcn.004065d0
pop ecx
pop ecx
push str.AdobeHeadlights
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.004152d3
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.004152d3
push eax
mov ecx, edi
call fcn.004152d3
push esi
push 1
lea ecx, [ebp - 0x268]
call fcn.004152d3
push esi
push 1
lea ecx, [ebp - 0x230]
call fcn.004152d3
push esi
push 1
lea ecx, [ebp - 0x24c]
call fcn.004152d3
mov eax, edi
call fcn.0041d8b7
ret
Function at 0x4127d8
Capabilities:
Hash data with md5

Disassembly:
push 0xb8
mov eax, 0x434a44
call fcn.0041d834
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memset]
mov edi, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], 0x67452301
mov dword [ebp - 0x88], 0xefcdab89
mov dword [ebp - 0x84], 0x98badcfe
mov dword [ebp - 0x80], 0x10325476
mov eax, edi
jae 0x41287b
lea eax, [ebp + 8]
add eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xc4], eax
jae 0x41288d
lea edi, [ebp + 8]
cmp edi, eax
je 0x4128be
mov al, byte [edi]
mov byte [ebp - 0x95], al
lea eax, [ebp - 0x95]
push 1
push eax
lea esi, [ebp - 0x94]
call fcn.004152d3
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0xc4]
jne 0x412891
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041299b
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xa8]
lea edi, [ebp - 0x9c]
push dword [ebp - 0xac]
call fcn.004152d3
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
push dword [ebp - 0x9c]
mov dword [esi + 0x14], 0xf
push eax
push ecx
mov dword [esi + 0x10], ebx
push esi
mov byte [esi], bl
call fcn.00412c56
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0xbc], ebx
je 0x412948
push dword [ebp - 0xbc]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
call fcn.004152d3
cmp dword [ebp - 0xac], ebx
je 0x412976
push dword [ebp - 0xac]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call fcn.004152d3
mov eax, esi
call fcn.0041d8b7
ret
Function at 0x4130df
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x435d8a
call fcn.0041d834
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi], 0
mov ebx, edx
mov dword [ebp - 0x68], ebx
je 0x4131a6
cmp dword [ebx + 0x10], 0
je 0x4131a6
cmp dword [edi + 0x14], 8
jb 0x413112
mov eax, dword [edi]
jmp 0x413114
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp dword [edi + 0x14], 8
lea edx, [eax + eax + 2]
jb 0x413129
mov ecx, dword [edi]
jmp 0x41312b
mov ecx, edi
cmp dword [ebx + 0x14], 8
jb 0x413135
mov eax, dword [ebx]
jmp 0x413137
mov eax, ebx
push edx
push ecx
xor ebx, ebx
inc ebx
push ebx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdq
test eax, eax
jne 0x413151
test edx, edx
je 0x4131b0
lea eax, [ebp - 0x64]
push str.Set_registry_value
push eax
call fcn.00410777
and dword [ebp - 4], 0
push str._with_key:
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004152d3
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
push ecx
mov esi, eax
mov byte [ebp - 4], bl
call fcn.004152d3
add esp, 0x1c
xor esi, esi
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004152d3
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.004152d3
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.004152d3
xor al, al
call fcn.0041d8b7
ret 4
mov al, bl
jmp 0x4131a8

Function at 0x4190d0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x419126
cmp dword [esi + 4], 0
jne 0x41912f
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x41912a
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x419126
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret
Function at 0x41d3a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a1ac]
jne 0x41d3ae
repz ret
jmp fcn.0041d8d5

Function at 0x41d77c
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x440f90
call fcn.0041dab0
xor ebx, ebx
cmp dword [0x44be54], ebx
jne 0x41d55a
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x44be50
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x41d594
cmp eax, esi
jne 0x41d587
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x41d597
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x41d56e
xor esi, esi
inc esi
mov eax, dword [0x44be4c]
cmp eax, esi
jne 0x41d5aa
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x41d5e5
mov eax, dword [0x44be4c]
test eax, eax
jne 0x41d5df
mov dword [0x44be4c], esi
push 0x43853c
push 0x43852c
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41d5e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41d6bc
mov dword [0x44b9a8], esi
mov eax, dword [0x44be4c]
cmp eax, esi
jne 0x41d609
push 0x438528
push 0x4384d4
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x44be4c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x41d616
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x44be58], ebx
je 0x41d637
push 0x44be58
call fcn.004152d3
pop ecx
test eax, eax
je 0x41d637
push ebx
push 2
push ebx
call dword [0x44be58]
mov eax, dword [0x44b990]
mov ecx, dword [sym.imp.MSVCR100.dll___initenv]
mov dword [ecx], eax
push dword [0x44b990]
push dword [0x44b994]
push dword [0x44b98c]
call fcn.0040f1ce
add esp, 0xc
mov dword [0x44b9a4], eax
cmp dword [0x44b998], ebx
jne 0x41d6a2
push eax
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR100.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x44b9a8], ebx
jne 0x41d6b0
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x44b9a4]
call fcn.0041daf5
ret
call fcn.004152d3
jmp 0x41d539

Function at 0x41fce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x41fd0f
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x41fcf0
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended
Resume thread
Use process replacement

Disassembly:
push 0x4032d8
call sub.kernel32.dll_GetStartupInfoA
push 0x40331c
push 0x4032d8
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push str.skin.dat
call sub.kernel32.dll_CreateProcessA
cmp eax, 0
je 0x40107b
mov eax, dword [0x403256]
push 0
push 0x218
push section..data
push eax
push dword [0x40331c]
call sub.kernel32.dll_WriteProcessMemory
cmp eax, 0
je 0x401095
push dword [0x403320]
call sub.kernel32.dll_ResumeThread
push dword [0x40331c]
call sub.kernel32.dll_CloseHandle
push dword [0x403320]
call sub.kernel32.dll_CloseHandle
push 0
call sub.kernel32.dll_ExitProcess
push 0
push 0x403297
push 0x4032a0
push 0
call sub.user32.dll_MessageBoxA
push 0
call sub.kernel32.dll_ExitProcess
push 0
push 0x4032bd
push 0x4032a0
push 0
call sub.user32.dll_MessageBoxA
push 0
call sub.kernel32.dll_ExitProcess
int3