joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d93e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x105b00c]
push ebx
xor ebx, ebx
cmp byte [0x106013c], bl
mov dword [ebp - 4], eax
je 0x101d964
xor eax, eax
inc eax
jmp 0x101da8f
lea eax, [ebp - 0x74]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x8c]
push eax
push 0x20019
lea eax, [ebp - 0x64]
push eax
mov byte [0x106013c], 1
mov dword [ebp - 0x68], 0x1001adc
mov word [ebp - 0x6c], 0x14
mov word [ebp - 0x6a], 0x16
mov dword [ebp - 0x70], 0x1001a80
mov word [ebp - 0x74], 0x5a
mov word [ebp - 0x72], 0x5c
mov dword [ebp - 0x8c], 0x18
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jge 0x101d9d8
xor eax, eax
jmp 0x101da8f
push esi
lea eax, [ebp - 0x98]
push eax
push 0x5c
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
cmp esi, 0x80000005
je 0x101da8c
push dword [ebp - 0x64]
call dword [sym.imp.ntdll.dll_NtClose]
cmp esi, ebx
jl 0x101da8c
cmp dword [ebp - 0x54], ebx
je 0x101da8c
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp + eax - 0x60]
push eax
lea eax, [ebp - 0x94]
push eax
call esi
push 0x1001a60
lea eax, [ebp - 0xa0]
push eax
call esi
push 0x1001a4c
lea eax, [ebp - 0xa8]
push eax
call esi
push 1
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntdll.dll_RtlPrefixUnicodeString]
test al, al
je 0x101da6e
mov dword [0x105c040], 0x40002
jmp 0x101da87
mov eax, dword [0x7ffe02c0]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffeffff
add eax, 0x20001
mov dword [0x105c040], eax
xor eax, eax
inc eax
jmp 0x101da8e
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01059e06
leave
ret
Function at 0x1031b79
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push 1
lea edi, [esi + 0x40]
push edi
push 0
call sub.ntdll.dll_RtlComputeCrc32
push 1
lea ecx, [esi + 0x41]
push ecx
push eax
call sub.ntdll.dll_RtlComputeCrc32
push 4
lea ecx, [ebp + 8]
push ecx
push eax
call sub.ntdll.dll_RtlComputeCrc32
push 8
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
movzx ecx, byte [edi]
shl ecx, 1
push ecx
add esi, 0x42
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
mov edx, dword [ebp + 0x10]
mov ecx, eax
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 0xc

Function at 0x1031bd8
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x18
push esi
push 0
call sub.ntdll.dll_RtlComputeCrc32
cmp byte [0x10601f4], 2
jb 0x1031bff
test byte [esi + 0x31], 4
je 0x1031bff
push 0x18
jmp 0x1031c01
push 0x16
pop ecx
push ecx
add esi, 0x20
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
mov edx, dword [ebp + 0xc]
mov ecx, eax
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 8
Function at 0x1032682
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x6c]
call fcn.01021b2a
xor ebx, ebx
push ebx
push 0x80
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.01028d0b
test al, al
je 0x10327b3
cmp dword [ebp - 0x2c], ebx
je 0x10326c5
push 0x1001e80
jmp 0x10327ad
lea eax, [ebp - 8]
push eax
push 4
pop esi
push esi
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0102052f
cmp al, bl
je 0x10327a8
cmp dword [ebp - 8], esi
jne 0x10327a8
cmp byte [ebp + 8], bl
jne 0x103272c
push ebx
lea eax, [ebp - 8]
push eax
push esi
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0xc], 0x444b4843
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01021e68
cmp al, bl
je 0x10327b3
cmp dword [ebp - 8], esi
je 0x10327a4
jmp 0x10327b3
call fcn.0100e047
mov esi, eax
cmp esi, ebx
je 0x10327b3
push ecx
push ecx
mov eax, esp
lea ecx, [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0101f026
cmp al, bl
jne 0x10327b3
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0x444b4843
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], ebx
xor edi, edi
push ebx
lea eax, [ebp - 8]
push eax
push 0x10
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01021e68
cmp al, bl
je 0x10327b3
cmp dword [ebp - 8], 0x10
jne 0x10327b3
inc dword [ebp + 8]
add edi, esi
cmp dword [ebp + 8], 2
jb 0x1032773
mov bl, 1
jmp 0x10327b3
push 0x1001e58
call sub.ntdll.dll_DbgPrint
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.01021b5a
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0xc
Function at 0x103605e
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x10360bd
mov eax, dword [ecx + 0x60]
and dword [edx + 4], 0
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 4], edx
mov cx, word [eax + 0x18]
mov edx, dword [ebp + 0x18]
mov word [edx], cx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 7]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0100d68c
test al, al
setne al
jmp 0x1036132
push edi
mov edi, dword [ecx + 0x64]
test edi, edi
jne 0x10360c9
xor al, al
jmp 0x1036131
mov cx, word [eax + 4]
test cx, cx
je 0x10360c5
push esi
movzx esi, cx
mov ecx, dword [edx + 4]
add ecx, esi
cmp ecx, edi
jb 0x10360e3
xor al, al
jmp 0x1036130
mov dword [edx + 4], ecx
add eax, esi
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 4], edx
mov cx, word [eax + 0x18]
mov edx, dword [ebp + 0x18]
mov word [edx], cx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 7]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0100d68c
test al, al
setne al
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x1037785
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
push edi
mov edi, ecx
xor edx, edx
mov dx, word [edi + 0xe]
xor eax, eax
mov ax, word [edi + 0x10]
mov dword [ebp - 4], 0x20
movzx ecx, ax
sub dword [ebp - 4], eax
mov esi, edx
and esi, dword [ebp + 8]
shr dword [ebp + 8], cl
xor dword [ebp - 8], esi
cmp word [ebp - 4], 0
jg 0x10377aa
movzx eax, word [ebp - 8]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
cmp dword [esi + 8], 0
jne 0x10377f0
movzx eax, word [edi + 0x12]
shl eax, 2
push eax
call fcn.0101300d
test eax, eax
mov dword [esi + 8], eax
je 0x103780d
and dword [esi], 0
movzx eax, word [edi + 0x12]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp dword [esi], eax
jne 0x103781b
movzx ecx, word [edi + 0x12]
add ecx, eax
shl ecx, 2
push ecx
push dword [esi + 8]
call fcn.0101320d
test eax, eax
jne 0x1037811
xor al, al
jmp 0x1037839
mov dword [esi + 8], eax
movzx eax, word [edi + 0x12]
add dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [esi + 8]
inc dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
leave
ret 0x10
Function at 0x1037844
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov eax, ecx
xor esi, esi
mov si, word [eax + 0xe]
xor edx, edx
mov dx, word [eax + 0x10]
push edi
mov dword [ebp - 4], 0x20
movzx ecx, dx
sub dword [ebp - 4], edx
mov edi, esi
and edi, dword [ebp + 8]
shr dword [ebp + 8], cl
xor dword [ebp - 8], edi
cmp word [ebp - 4], 0
jg 0x1037869
movzx ecx, word [ebp - 8]
mov eax, dword [eax + 8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
cmp ecx, 1
pop edi
pop esi
jb 0x1037897
dec ecx
mov dword [eax], ecx
leave
ret 8

Function at 0x103a319
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 0xb
pop edx
xor eax, eax
push esi
movzx esi, byte [ecx]
shl eax, 2
xor eax, esi
inc ecx
dec edx
jne 0x103a327
mov ecx, dword [ebp + 8]
push 2
pop edx
movzx esi, byte [ecx]
shl eax, 2
xor eax, esi
inc ecx
dec edx
jne 0x103a339
pop esi
pop ebp
ret 4
Function at 0x414c08
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x429930
call fcn.00427400
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.00413828
push 1
mov ecx, esi
call fcn.0041417f
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.004100df
mov eax, dword [eax]
lea edi, [esi + 4]
push eax
push 2
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.004020f6
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 2
push dword [edi]
call ebx
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [edi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.00414d9e
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00414d9e
lea eax, [esi + 0x1e4]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x1ac], ebx
lea ebx, [esi + 0x1b4]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
setne byte [ebp - 0xd]
call fcn.00414dcf
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00414dcf
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
je 0x414d22
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x414d18
push str.7_Zip
lea ecx, [ebp - 0x50]
call fcn.00402876
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x414d4d
cmp byte [ebp - 0xd], 0
jne 0x414d63
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x414d7c
cmp dword [ebp - 0x34], ebx
jne 0x414d46
push str.7_Zip
lea ecx, [ebp - 0x38]
call fcn.00402876
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x414d7c
cmp byte [esi + 0x136], 0
jne 0x414d7c
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.0041516c
jmp 0x414d85
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.004136e1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41578c
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc

Function at 0x419091
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x4190ca
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4190a5
and eax, 0xffff
push eax
jmp 0x4190a9
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00418a59
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x419283
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x41908a
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x41902b
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x416fb0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 8
cmp ecx, 0x7fffffff
mov ebp, eax
mov eax, 0x7fffffff
mov esi, dword [esp + 0x40]
cmovae ecx, eax
cmp esi, 0x7fffffff
lea edi, [esp + 4]
mov ebx, dword [esp + 0x3c]
cmovb eax, esi
mov esi, dword [esp + 0x30]
push edi
push eax
push ebx
push ecx
push edx
push ebp
mov dword [esi], 0
call dword [esp + 0x60]
mov edx, eax
add esp, 0x18
cmp dword [ebp + 0x18], 0
jne 0x417005
cmp dword [ebp + 0x3c], 0
jle 0x41726e
mov dword [esi], 1
mov ecx, dword [ebp + 0x44]
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax*4 + 0x4db6e0]
mov dword [esi + 8], ecx
mov edi, dword [ebp + 0x70]
mov dword [esi + 0x10], edi
mov eax, dword [ebp + 0x74]
mov dword [esi + 0x14], eax
mov edi, dword [ebp + 0x4c]
shl edi, 4
mov eax, dword [ebp + 0x58]
mov eax, dword [edi + eax*4 + 0x48a0d0]
mov dword [esi + 0x18], eax
mov edi, dword [ebp + 0x3c]
test edi, edi
jle 0x417305
shl ecx, 3
add edi, 4
pxor xmm0, xmm0
pxor xmm1, xmm1
imul ecx, edi
cvtsi2sd xmm0, eax
cvtsi2sd xmm1, ecx
mulsd xmm0, qword [0x48a0f8]
divsd xmm1, xmm0
addsd xmm1, qword [0x48a0f0]
xor byte [eax], cl
add byte [edx - 1], dl
adc eax, sym.imp.KERNEL32.dll_HeapAlloc
cmp dword [ebp + 0x30], 0
jle 0x4170a1
jmp 0x417005
mov edi, dword [ebp + 0x30]
test edi, edi
jg 0x417048
mov edi, dword [ebp + 0x4c]
lea ecx, [edi + edi*2]
mov edi, dword [ebp + 0x58]
shl ecx, 6
shl edi, 6
add ecx, edi
mov edi, dword [ebp + 0x60]
mov ecx, dword [ecx + edi*4 + 0x4db520]
mov dword [esi + 0xc], ecx
jmp 0x41707c
Function at 0x417075
Capabilities:
Terminate process

Disassembly:
push esi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov ebp, 0x4f7c68
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebp]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, ebx
call fcn.0041719d
mov ebx, dword [ebp + 0x30]
mov ecx, eax
cmp dword [ebx], 0
je 0x4170f8
mov dword [esp], ecx
call fcn.004171bd
movzx eax, al
mov ecx, dword [esp]
cmp al, byte [ebx]
je 0x4170e5
cmp al, byte [ebx + 1]
jne 0x417194
call fcn.004171d1
cmp eax, dword [ebx + 4]
je 0x4170f8
cmp eax, dword [ebx + 8]
jne 0x417194
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebp]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
xor ecx, ecx
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + ecx]
mov dword [ecx + ebx], edx
add ecx, 4
cmp ecx, 0x40
jl 0x417118
push ebx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x417194
lea ebx, [esp]
push ebx
mov ebx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x40]
push eax
push 0x7000
push ebx
call edi
mov eax, dword [ebp + 0x28]
push 8
pop edx
add esi, eax
mov ecx, dword [esi + 4]
mov eax, dword [edx + esi]
add eax, ecx
mov dword [edx + ebx], eax
add edx, 4
cmp edx, 0x7000
jl 0x417158
mov edx, dword [ebp + 0x10]
lea eax, [esp]
push eax
mov dword [ebx + 8], edx
push dword [esp + 4]
push 0x7000
push ebx
call edi
mov edx, dword [ebx + 0xc]
add edx, ebx
mov eax, dword [ebp + 4]
add edx, eax
mov ebp, dword [ebp + 4]
add ebx, ebp
push ebx
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x41c160
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
sub esp, 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x41c208
mov edx, dword [esp + 0x14]
mov ebx, ecx
shr ebx, 1
movzx eax, word [edx]
je 0x41c20e
mov dword [esp], esi
xor ebp, ebp
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x18]
nop
movzx edi, ax
movzx esi, byte [ecx + ebp*2]
mov eax, edi
xor edi, esi
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48acc0]
mov word [edx], ax
movzx edi, ax
movzx esi, byte [ecx + ebp*2 + 1]
mov eax, edi
xor edi, esi
inc ebp
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x48acc0]
mov word [edx], ax
cmp ebp, ebx
jb 0x41c190
mov ecx, dword [esp + 0x1c]
lea ebx, [ebp + ebp + 1]
mov esi, dword [esp]
mov edi, dword [esp + 4]
lea ebp, [ebx - 1]
cmp ebp, ecx
jae 0x41c208
mov ebp, dword [esp + 0x18]
movzx ecx, ax
mov eax, ecx
movzx ebx, byte [ebp + ebx - 1]
xor ecx, ebx
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x48acc0]
mov word [edx], ax
add esp, 8
pop ebp
pop ebx
ret
mov ebx, 1
jmp 0x41c1e1
Function at 0x42bbd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
sub esp, 0xc
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea ecx, [ebx - 0x3e8]
cmp ecx, 7
ja 0x42bc70
movzx eax, byte [ecx + 0x48e140]
add eax, 0x42bbfa
jmp eax
cmp ebx, 0x19a
je 0x42be1c
cmp ebx, 0x1a4
je 0x42bdfe
cmp ebx, 0x1ae
je 0x42bde0
cmp ebx, 0x1b8
je 0x42bdc2
cmp ebx, 0x1c2
je 0x42bda4
cmp ebx, 0x1cc
je 0x42bd86
cmp ebx, 0x1d6
je 0x42bd68
cmp ebx, 0x1e0
je 0x42bd4a
cmp ebx, 0x1ea
jne 0x42bcf2
mov eax, ebp
mov edx, 1
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
cmp ebx, 0x1f4
jne 0x42bd15
mov eax, ebp
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
lea ecx, [ebx - 8]
cmp ecx, 0x138
jbe 0x42bd32
mov dword [ebp + 0x98], 0
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov dword [ebp + 0x98], ebx
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov edx, ebx
add esp, 0xc
pop ebp
pop ebx
jmp fcn.0042be40
mov eax, ebp
mov edx, 2
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 3
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 4
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 5
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 6
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 7
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 8
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
mov eax, ebp
mov edx, 9
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x98], ebx
call fcn.0042c330
mov eax, ebx
add esp, 0xc
pop ebp
pop ebx
ret
Function at 0x478667
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004784e6

Function at 0x47c026
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b994

Function at 0x47c031
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047bbcf

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