joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d20
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41d49c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x42c080]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x484], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x70], si
mov ecx, 0x81
lea edi, [esp + 0x72]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
add ebx, 0xb4
stosw word es:[edi], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..WHD
mov dword [esp + 0x498], esi
call edi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call edi
sub eax, esi
shl eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov word [esp + eax + 0x70], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, eax
mov eax, dword [ebx]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
xor ebx, ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
je 0x401e70
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT
lea ecx, [esp + 0x280]
push 0x104
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov esi, dword [esp + 0x24]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea edx, [esi + 0xa74]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0x298]
push ecx
push ebx
mov dword [esp + 0x50], 0x44
mov word [esp + 0x80], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401e7e
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x401ece
cmp dword [esi + 0x20], ebx
jne 0x401eb0
mov eax, dword [esi + 0xa70]
mov edx, dword [esi]
push ebx
push 0x64
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x40000000
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [edx + 0x5c]
mov edx, dword [esi + 0x20]
push ebx
push 0x64
push 0xc8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484]
call fcn.0041ceab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x42c080]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x218], eax
push edi
je 0x409c85
mov ax, word [esi + 0x5a]
cmp ax, 0xffff
mov dword [esp + 0x10], ecx
je 0x409c5a
movzx eax, ax
cmp eax, ecx
jge 0x409c48
cmp eax, dword [esi + 0x84]
jl 0x409c48
call sub.MFC71U.DLL_AfxThrowInternetException
mov edx, dword [esi + 0x78]
mov eax, dword [edx + eax*4]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x409d67
mov eax, dword [esi + 0x84]
xor edi, edi
cmp eax, ecx
jle 0x409c85
cmp edi, ecx
jge 0x409c72
cmp edi, dword [esi + 0x84]
jge 0x409c43
mov eax, dword [esi + 0x78]
cmp dword [eax + edi*4], ebx
je 0x409c9c
mov eax, dword [esi + 0x84]
inc edi
cmp edi, eax
jl 0x409c66
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.0041ceab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 2
jne 0x409ce7
mov word [esp + 0x18], cx
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push str.http:__www.77777p.com_Pay_PayIndex.aspx
lea ecx, [esp + 0x1c]
push 0x100
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0xc
push 1
push 0
push 0
lea edx, [esp + 0x24]
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x409d54
cmp dword [ebx + 0x20], ecx
jne 0x409d2a
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
mov dword [esp + 0x14], eax
sub esp, 0x10
lea ecx, [esi + 0x64]
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x24]
push edx
mov ecx, ebx
call fcn.0040ba80
push 5
mov ecx, ebx
mov word [esi + 0x5a], di
call sub.MFC71U.DLL_COleControlSite::ShowWindow
mov ecx, ebx
call sub.MFC71U.DLL_COleControlSite::SetFocus_1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x409d54
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x409d54
push 0
call sub.MFC71U.DLL_COleControlSite::ShowWindow
mov eax, dword [esi + 0x20]
push 0x305
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0x21c]
mov al, 1
call fcn.0041ceab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x42c080]
push edi
mov dword [esp + 0x214], eax
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp + 8]
push eax
push str.http:__www.boboxxl.com_
push str._s_GameDetails.aspx_KID_ld
lea ecx, [esp + 0x14]
push 0x104
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push 1
push 0
push 0
lea edx, [esp + 0x14]
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x214]
call fcn.0041ceab
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x415bb0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x415bc4
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x415c99
mov eax, dword [esi + 0x70]
test eax, eax
je 0x415c1e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415c1e
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x415c00
mov eax, dword [esi + 0x70]
test eax, eax
je 0x415c00
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x5c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415c3d
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x415c37
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415c3d
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
push edi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x415c65
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x415c6f
push eax
call edi
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
cmp byte [esp + 0x10], 1
pop edi
jne 0x415c99
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x415cac
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x42c080]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x264], eax
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, ebp
jne 0x415cd8
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x25c]
call fcn.0041ceab
add esp, 0x260
ret 4
cmp dword [esi + 0x20], ebp
jne 0x415d18
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_AfxGetStringManager
cmp eax, ebp
je 0x415cff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x415d01
xor eax, eax
mov edx, dword [esi]
push ebp
push 0x64
push eax
lea eax, [esp + 0x14]
push eax
push 0x40000000
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x5c]
cmp dword [esi + 0x2ac], ebp
push ebx
push edi
jne 0x415d6e
lea ecx, [esi + 0x74]
call fcn.004150b0
test al, al
je 0x415e3f
mov edi, dword [esi + 0x2ac]
mov edx, dword [esi + 0x54]
mov ebx, dword [edi]
lea ecx, [esi + 0x54]
push 0x6010100
push 0x424d4c
call dword [edx + 4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
test al, al
je 0x415e3f
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x415e3f
mov eax, dword [esi + 0x5c]
cmp eax, ebp
lea ebx, [esi + 0x5c]
je 0x415dbb
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415dbb
mov eax, dword [esi + 0x70]
cmp eax, ebp
je 0x415e55
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415e55
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push 1
call dword [edx + 0x10]
push 0x65
push 2
mov ecx, esi
call fcn.00415610
jmp 0x415e55
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [esp + 0x274]
mov eax, edi
cdq
push edx
push eax
push ecx
push 0x424f60
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
push ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x4000000
push ebp
push ebp
push ebp
lea ecx, [esp + 0x84]
push ecx
push ebp
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415e43
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
xor al, al
jmp 0x415e57
mov eax, dword [esi + 0x20]
push ebp
push 0x1f40
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop ebx
pop esi
pop ebp
call fcn.0041ceab
add esp, 0x260
ret 4
Function at 0x4162b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x41f06c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x424fe4
xor ebx, ebx
mov ecx, 0x11
mov eax, 0xa
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0x424fa8
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0x20], 0x424fbc
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0x424fd0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0x424fa4
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x18], 3
je 0x41635e
push eax
call sub.MFC71U.DLL_operator_new
add esp, 4
mov dword [esi + 8], ebx
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
xor eax, eax
mov dword [esi + 8], edi
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [esi + 0xc], 0xb
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
je 0x416390
push eax
call sub.MFC71U.DLL_operator_new
add esp, 4
mov dword [esi + 0x24], ebx
push 0xd4
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
xor eax, eax
mov dword [esi + 0x24], edi
mov ecx, 0x35
rep stosd dword es:[edi], eax
mov dword [esi + 0x28], 0x35
mov eax, dword [esi + 0x40]
add esp, 4
cmp eax, ebx
je 0x4163c5
push eax
call sub.MFC71U.DLL_operator_new
add esp, 4
mov dword [esi + 0x40], ebx
push 0xfc4
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
xor eax, eax
mov dword [esi + 0x40], edi
mov ecx, 0x3f1
rep stosd dword es:[edi], eax
mov dword [esi + 0x44], 0x3f1
mov eax, dword [0x42d1c0]
add esp, 4
cmp eax, ebx
mov eax, esi
jne 0x4163f8
mov dword [0x42d1c0], esi
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41cc70
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x426078
call fcn.0041d138
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x41ccb0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ccb0
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41ccc8
cmp eax, 0x20b
je 0x41ccb5
mov dword [ebp - 0x1c], edi
jmp 0x41ccdc
cmp dword [ecx + 0x84], 0xe
jbe 0x41ccb0
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x41ccd6
cmp dword [ecx + 0x74], 0xe
jbe 0x41ccb0
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x42d288], 0xffffffff
or dword [0x42d28c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x42d210]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x42d20c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x42d284], eax
call fcn.0041d190
call fcn.0041d230
cmp dword [0x42c0b0], edi
jne 0x41cd3c
push fcn.0041d230
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0041d21e
push 0x42c034
push 0x42c030
call sub.MSVCR71.dll__initterm
push 0x41d1d4
call fcn.0041cff3
mov eax, dword [0x42d208]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x42d204]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x41cd90
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x42c02c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x41cdba
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x41ce74
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x41ce29
cmp ax, di
je 0x41cdd0
cmp dword [ebp - 0x20], edi
jne 0x41ce29
mov ax, word [esi]
cmp ax, di
je 0x41cde5
cmp ax, 0x20
ja 0x41cde5
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x41cdd0
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x41ce01
movzx eax, word [ebp - 0x54]
jmp 0x41ce04
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0041d41a
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x41ce21
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x41ce6e
cmp ax, 0x22
jne 0x41ce3a
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x41cdba
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0041d173
ret
Function at 0x40b8c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 8
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
not esi
mov edx, 0xff
jb 0x40b9a3
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [ecx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
shr esi, 8
xor esi, edi
inc ecx
dec eax
jne 0x40b8ec
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x40b9c3
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, edx
mov eax, dword [eax*4 + 0x68cd1eb8]
shr esi, 8
xor esi, eax
inc ecx
dec dword [ebp + 0x10]
jne 0x40b9a9
mov eax, esi
not eax
pop esi
pop ebp
ret 0xc

Function at 0x40b9cc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x58]
add dword [esi + 0x5c], ecx
test ecx, ecx
not eax
jbe 0x40ba10
push ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov bl, byte [ecx]
mov byte [edi], bl
xor ebx, ebx
mov bl, byte [ecx]
inc edi
xor ebx, eax
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x68cd1eb8]
shr eax, 8
xor eax, ebx
inc ecx
dec edx
jne 0x40b9ed
pop edi
pop ebx
not eax
mov dword [esi + 0x58], eax
pop esi
ret 0x10
Function at 0x40377b
Capabilities:
Identify system language via api

Disassembly:
cmp byte [0x42b000], 0
push ebx
push ebp
push esi
push edi
mov edi, pe_overlay
mov ebx, 0x42b000
je 0x40379a
push ebx
call fcn.004058bd
jmp 0x4037a0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, dword [0x424364]
test esi, esi
je 0x4037ef
mov ecx, dword [0x424328]
mov ecx, dword [ecx + 0x64]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x424360]
add ecx, edx
dec esi
mov bp, word [ecx]
xor bp, ax
and ebp, edi
test bp, bp
je 0x4037d6
test esi, esi
jne 0x4037c0
jmp 0x4037ef
mov edx, dword [ecx + 2]
mov dword [0x423b00], edx
mov edx, dword [ecx + 6]
mov dword [0x4243c8], edx
lea edx, [ecx + 0xa]
test edx, edx
jne 0x403801
cmp di, 0xffff
jne 0x4037fd
mov edi, 0x3ff
jmp 0x4037a0
xor edi, edi
jmp 0x4037a0
mov dword [0x423afc], edx
movzx eax, word [ecx]
push eax
push ebx
call fcn.004058a4
push 0xfffffffffffffffe
push 0x423b20
call fcn.00405958
push eax
push dword [0x420910]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x42434c]
mov esi, dword [0x424348]
test eax, eax
je 0x403854
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x40384b
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00405958
add esi, 0x418
dec edi
jne 0x40383b
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4051f8
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x422938], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x40521c
test al, 0x10
jne 0x40521f
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x422938
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40524a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x405cbf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422ec4], 0
push esi
jne 0x405cf6
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 0x405cd0
mov dword [ecx*4 + 0x422ec0], eax
inc ecx
cmp ecx, 0x100
jl 0x405ccb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d27
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 + 0x422ec0]
xor eax, esi
inc ecx
dec edx
jne 0x405d09
pop edi
not eax
pop esi
ret 0xc

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x409825
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x409834
pop dword [ebp - 0x44]
mov eax, 0x627dea0
sub eax, 0x5e7466c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x240ee57d
sub dword [ebp - 0x54], 0xd5bca032
mov dword [ebp - 0x50], 0x5619ee97
sub dword [ebp - 0x50], 0x23e6a252
mov dword [ebp - 0x4c], 0xf6521d0a
sub dword [ebp - 0x4c], 0xaa05d8dc
mov dword [ebp - 0x48], 0x73c50852
add dword [ebp - 0x48], 0x8c3af7ae
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x73232ee2
add dword [ebp - 0x54], 0x14f3a74
mov dword [ebp - 0x50], 0x55d2234c
add dword [ebp - 0x50], 0xeb9a3e29
mov dword [ebp - 0x4c], 0x98ba9ec4
sub dword [ebp - 0x4c], 0x354b3258
mov dword [ebp - 0x48], 0xbb61f71d
add dword [ebp - 0x48], 0x449e08e3
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3def5
push 0
call eax
mov ecx, 0xa2ba48a2
add ecx, 0x5d460005
mov edx, eax
mov ebx, 0x3b71708d
sub ebx, 0x3b2e2c8d
add ebx, dword [ebp - 0x44]
mov edi, 0xf84e328a
xor dword [ebp - 0x30], edx
mov esi, dword [ebx]
sub dword [ebp - 0x20], edx
sub esi, edi
mov dword [edx], esi
xor dword [ebp - 0x38], 0xc6a71f8f
add edx, 0xfef9c40c
sub edx, 0xfef9c408
add ebx, 4
loop 0x409946
add eax, 0x1156f
mov ebx, eax
add eax, 0x5eb6301a
sub eax, 0x5eb63015
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1004367
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100e65c]
push 0x1001324
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_getenv]
test eax, eax
pop ecx
je 0x100443b
push esi
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
push edi
mov edi, 0x100
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
add esp, 0xc
mov byte [ebp - 8], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10043b6
sub eax, ecx
push ebx
sub edi, eax
push edi
lea eax, [ebp + eax - 0x108]
push 0x1001314
push eax
call esi
lea eax, [ebp - 0x108]
push 0x1001310
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x1004438
mov esi, dword [sym.imp.msvcrt.dll_fgets]
mov edi, 0x101
jmp 0x100441e
lea eax, [ebp - 0x108]
push 0xa
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1004412
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.01003da2
push ebx
lea eax, [ebp - 0x108]
push edi
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x10043fa
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01009d2e
leave
ret
Function at 0x10068ff
Capabilities:
Execute command

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x100e65c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100691b
sub eax, ecx
cmp eax, 0x100
jb 0x1006938
push 0x32
push 2
call fcn.010090fc
pop ecx
pop ecx
jmp 0x100697c
lea eax, [ebp - 0x104]
push eax
push 0x1001f7c
push esi
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x100697c
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push 0x1001f68
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_system]
add esp, 0x10
mov ecx, dword [ebp - 4]
pop esi
call fcn.01009d2e
leave
ret 4