joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401600
Capabilities:
Set registry value

Disassembly:
sub esp, 0x6c
lea eax, [esp + 4]
lea edx, [esp + 8]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push edx
push 0
push str.SoftwareChinaGDSS2000HqSvr
push 0x80000001
call ebx
test eax, eax
jne 0x4016c0
mov eax, dword [esi + 0x60]
mov ecx, dword [0x4042e0]
shl eax, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [eax + ecx + 8]
mov eax, dword [esp + 0x10]
push edx
push 4
push 0
push str.CurrentSel
push eax
call edi
test eax, eax
jne 0x4016c0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0xf003f
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push str.SoftwareS2000HqSvr
push 0x80000001
call ebx
test eax, eax
jne 0x4016c0
mov edx, dword [esi + 0x60]
mov eax, dword [0x4042e0]
shl edx, 4
push 4
lea ecx, [edx + eax + 8]
mov edx, dword [esp + 0x10]
push ecx
push 4
push 0
push str.CurrentSel
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 0x6c
ret

Function at 0x4016d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xd0
lea eax, [esp + 4]
lea edx, [esp + 0x6c]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push edx
push 0
push str.SoftwareChinaGDSS2000JySvr
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4017e9
mov eax, dword [ebx + 0x60]
mov ecx, dword [0x4042e0]
shl eax, 4
lea edx, [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [eax + ecx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push str.BrokerName
push edx
call ebp
test eax, eax
jne 0x4017e9
mov eax, dword [ebx + 0x60]
mov ecx, dword [0x4042e0]
shl eax, 4
lea edx, [esp + 0x18]
push 0x64
mov edi, dword [eax + ecx + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0
push str.BrokerCode
push edx
call ebp
test eax, eax
jne 0x4017e9
mov eax, dword [ebx + 0x60]
mov ecx, dword [0x4042e0]
shl eax, 4
push 4
lea edx, [eax + ecx + 0xc]
mov eax, dword [esp + 0x14]
push edx
push 4
push 0
push str.CurrentSel
push eax
call ebp
test eax, eax
jne 0x4017e9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret
Function at 0x4352b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
jmp 0x4352ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4352d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4352c0
mov eax, 1
add ebx, ebx
jne 0x4352e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4352d8
jne 0x4352f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4352d8
xor ecx, ecx
sub eax, 3
jb 0x435308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43537a
mov ebp, eax
add ebx, ebx
jne 0x435313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x435344
inc ecx
add ebx, ebx
jne 0x435330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x435325
jne 0x435341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x435364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x435355
jmp 0x4352c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x435364
add edi, ecx
jmp 0x4352c6
pop esi
mov edi, esi
mov ecx, 0x5c00
jmp 0x4353b6
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x435397
cmp al, 0x8f
ja 0x435397
cmp byte [edi - 2], 0xf
je 0x43539d
sub al, 0xe8
cmp al, 1
ja 0x4353c0
cmp byte [edi], 1
jne 0x4353c0
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x435397
sub ecx, 1
jg 0x435384
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x435416
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c250]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3c304]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4353cb
mov ecx, edi
jns 0x4353fa
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3c308]
or eax, eax
je 0x435410
mov dword [ebx], eax
add ebx, 4
jmp 0x4353e8
call dword [esi + 0x3c318]
mov ebp, dword [esi + 0x3c30c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43544a
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x100092c3
Capabilities:
Get common file path

Disassembly:
push ebp
push edi
push pe_nt_image_headers32
call sub.glib_lite.dll_Ordinal_406
mov edi, eax
pop ecx
test edi, edi
je 0x1000934d
push edi
xor ebp, ebp
push ebp
push 0x1001d834
push 0x10023880
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x10009352
push ebx
push ebp
mov ebx, 0x4000100
push ebx
push 2
push ebp
push 5
push 0xc0000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileA]
push ebp
push ebx
push 3
push ebp
push 7
push Ordinal_1
push edi
mov dword [edi + 0x108], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x104], eax
pop ebx
je 0x10009352
cmp eax, 0xffffffff
je 0x10009352
mov dword [edi + 0x118], ebp
mov dword [edi + 0x11c], ebp
mov dword [edi + 0x110], ebp
mov dword [edi + 0x114], ebp
mov eax, edi
pop edi
pop ebp
ret
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
jmp 0x1000934f

Function at 0x10010530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax*4 + 0x1001e2c8]
push esi
push edi
push 0xffffffffffffff80
mov dword [esp + 0x18], ecx
lea edi, [ecx + ecx]
pop esi
mov ebx, esi
xor edx, edx
sar ebx, 0x1f
mov eax, ebx
xor eax, esi
sub eax, ebx
cmp eax, edi
cmovl edx, eax
mov al, bl
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
xor dl, cl
sub al, dl
add al, cl
mov ecx, dword [esp + 0x14]
add al, cl
xor al, bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0x80
jle 0x1001054d
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10013a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10013a33
pop dword [ebp - 0x18]
mov eax, 0x4ac90011
sub eax, 0x3ac7c5de
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x6bbc477c
add dword [ebp - 0x28], 0xe295fdcf
mov dword [ebp - 0x24], 0xb7d8d99
sub dword [ebp - 0x24], 0xd94a4154
mov dword [ebp - 0x20], 0x79641cf4
add dword [ebp - 0x20], 0xd2e8273a
mov dword [ebp - 0x1c], 0xf8aebb83
sub dword [ebp - 0x1c], 0xf8aebb83
lea eax, [ebp - 0x28]
push eax
mov eax, 0x9ea73718
sub eax, 0x8ea57698
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xde23e262
sub dword [ebp - 0x28], 0x69b1790c
mov dword [ebp - 0x24], 0xb81e033b
add dword [ebp - 0x24], 0x894e5e3a
mov dword [ebp - 0x20], 0x65cfee6
sub dword [ebp - 0x20], 0xa2ed927a
mov dword [ebp - 0x1c], 0xeb1c6e6
add dword [ebp - 0x1c], 0xf14e391a
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x80a71e62
add eax, 0x8f5aa19e
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x36df9
push 0
call eax
mov ecx, 0xa2989c3d
add ecx, 0x5d67a99c
mov edx, eax
mov ebx, 0x10026800
add ebx, dword [ebp - 0x18]
mov esi, 0xd19ae06
sub dword [ebp - 8], edi
mov edi, dword [ebx]
sub dword [ebp - 4], ecx
xor edi, esi
xor dword [ebp - 8], esi
mov dword [edx], edi
xor dword [ebp - 0x14], 0xbb2c2d06
add edx, 0x8b875f8c
add edx, 0x7478a078
add ebx, 0x9e68913b
add ebx, 0x61976ec9
loop 0x10013b49
add eax, 0x10a37
xor ebx, ebx
add ebx, eax
add eax, 0xc0de4057
sub eax, 0xc0de4052
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x403f9c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405ab4
test esi, esi
jne 0x403fd2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405bf0
jmp 0x403ff0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403e80
mov edi, eax
test esi, esi
je 0x403ff0
cmp dword [ebx], 0
je 0x403ff0
dec esi
jmp 0x403fd9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405834
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43704c], 0
je 0x40589b
cmp word [0x437338], 0xd7b2
jne 0x40585d
cmp dword [0x437340], 0
jbe 0x40585d
mov eax, 0x437334
call dword [0x437350]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x4058c8
call fcn.00405f54
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x432022], 0
jne 0x4058b7
push 0
push 0x43299a
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406ff4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407159
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405ab4
cmp si, word [0x4329d8]
jb 0x40708c
cmp si, word [0x432bd8]
ja 0x40708c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40708c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4329d8]
jae 0x407066
mov edi, ebx
dec edi
jmp 0x407087
cmp si, word [ebx*8 + 0x4329d8]
jbe 0x407076
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407087
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4329dc]
call fcn.00406f14
jmp 0x40708c
cmp edi, dword [ebp - 8]
jae 0x407050
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40713b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40713b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406090
push dword [ebp - 0x160]
push 0x407174
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406090
push dword [ebp - 0x164]
push 0x407184
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406090
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407160
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405b14
ret
Function at 0x40730c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40740f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x439b7c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x439b94]
jne 0x407358
mov eax, esi
mov edx, 0x439b96
mov ecx, 0x55
call fcn.00406090
push 0x439b7c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4073f9
push 0x439b7c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405ab4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4073c7
cmp byte [0x439b78], 0
je 0x40738c
mov edx, esi
mov eax, ebx
call fcn.004071f0
jmp 0x4073c7
mov edx, esi
mov eax, ebx
call fcn.00406ff4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4073c7
cmp dword [esi], 0
je 0x4073b0
mov eax, esi
mov edx, 0x407428
call fcn.00406168
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00406ff4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406168
push 0x439b7c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x439b94], bx
push 0xaa
mov eax, dword [esi]
call fcn.00405ffc
push eax
push 0x439b96
call sub.kernel32.dll_lstrcpynW
push 0x439b7c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407416
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x417830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x417955
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00417638
mov esi, eax
mov eax, dword [0x436410]
cmp byte [eax], 0
je 0x4178fd
mov eax, dword [0x436338]
call fcn.004044b8
call fcn.00403d30
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417800]
call fcn.00406a90
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x417970
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x417939
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x436314]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x439c44]
call fcn.00406b48
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41795c
lea eax, [ebp - 4]
mov edx, dword [0x417800]
call fcn.00406a9c
ret

Function at 0x418a14
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405e68
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408170
mov edi, eax
cmp edi, 0x104
jbe 0x4189bb
mov eax, edi
add eax, eax
call fcn.00403bdc
mov esi, eax
jmp 0x4189bd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408170
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4189f8
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4189e2
mov eax, esp
cmp esi, eax
je 0x418a05
mov eax, esi
call fcn.00403bf8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418a40
cmp bl, 0
je 0x418a3c
cmp bl, 0x41
jl 0x418a37
cmp bl, 0x5a
jg 0x418a37
or bl, 0x20
xor al, bl
inc esi
jmp 0x418a1b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41897c

Function at 0x418c60
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406090
add esp, 0x800
pop ebx
ret
Function at 0x418f4c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00405ab4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00405ffc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x418f91
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00405bf0
jmp 0x418faa
mov edx, ebx
dec edx
mov eax, esi
call fcn.004060e8
push ebx
mov eax, dword [esi]
call fcn.00405ffc
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41c1fc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x43420c
test edx, edx
jne 0x41c21b
xor eax, eax
jmp 0x41c339
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x41c238
push esi
push edx
push eax
call fcn.0041c340
add esp, 0xc
jmp 0x41c339
push esi
push edx
push eax
call fcn.0041c600
add esp, 0xc
jmp 0x41c339
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x42df64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x14], edi
push edi
push esi
call sub.kernel32.dll_LoadResource
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
push eax
push esi
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0042dfb8
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x42e20c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e2a1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x42e2bc
push ebx
push 0x42e2cc
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00406248
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00404528
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ffc
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42e28b
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e2a8
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x42e2d4
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
xor eax, eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42e4bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x338]
call fcn.0042e01c
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 4]
mov ecx, 0x42e4d4
call fcn.004061c0
xor ecx, ecx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2e0]
call fcn.004043d0
call fcn.00403d30
lea eax, [ebp - 0x2e0]
call fcn.00404090
call fcn.00403d30
mov edx, 0x42e4fc
lea eax, [ebp - 0x2e0]
call fcn.00404a84
call fcn.00404b84
call fcn.00403d30
push 0x42e514
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00403f9c
push dword [ebp - 0x340]
push 0x42e52c
lea eax, [ebp - 0x33c]
mov edx, 3
call fcn.00406248
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x2e0]
call fcn.00404a84
call fcn.00404b84
call fcn.00403d30
push 0x42e53c
lea edx, [ebp - 0x348]
xor eax, eax
call fcn.00403f9c
push dword [ebp - 0x348]
push 0x42e52c
push 0x42e560
lea eax, [ebp - 0x344]
mov edx, 4
call fcn.00406248
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x2e0]
call fcn.00404a84
call fcn.00404b84
call fcn.00403d30
mov edx, 0x42e580
lea eax, [ebp - 0x2e0]
call fcn.00404a84
call fcn.00404b84
call fcn.00403d30
lea eax, [ebp - 0x2e0]
call fcn.004044d0
call fcn.00403d30
lea eax, [ebp - 0x334]
xor ecx, ecx
mov edx, 0x44
call fcn.00404528
mov dword [ebp - 0x308], 1
mov word [ebp - 0x304], 0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ffc
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42e495
mov eax, dword [ebp - 0x2ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x2f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e4c2
lea eax, [ebp - 0x348]
mov edx, 5
call fcn.00405b14
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x42e730
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x42e820
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x43bee8]
call fcn.00405ffc
mov edx, eax
lea eax, [ebp - 8]
call fcn.00406054
mov eax, dword [ebp - 8]
mov edx, 0x40
call fcn.00414e48
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x42e7fe
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov eax, ecx
sub eax, 0x13f
xor edx, edx
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00414f5c
mov edx, 0x43bf00
mov ecx, 0x13f
mov eax, dword [ebp - 4]
call fcn.00414f04
cmp byte [0x43c03c], 0
je 0x42e7d7
lea edx, [ebp - 0xc]
mov eax, dword [0x43bee8]
call fcn.004152b8
mov edx, dword [ebp - 0xc]
mov eax, 0x43bef4
mov ecx, 0x42e838
call fcn.004061c0
jmp 0x42e7e7
mov eax, 0x43bef4
mov edx, dword [0x43bee8]
call fcn.00405d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e805
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219