joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40339c
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x424b5c
call fcn.00417108
push str.api_log.dll
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
jne 0x4033c8
push str.dir_watch.dll
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
je 0x4033dc
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x403473
add esp, 0xfffffff0
mov word [ebp - 0x14], 0x14
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402350
pop ecx
push eax
push str.sniff_hit.exe
lea eax, [esp + 8]
push eax
call fcn.0040ec24
add esp, 0xc
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
dec dword [ebp - 8]
call fcn.00402f64
add esp, 0x10
dec eax
je 0x403456
add esp, 0xfffffff0
mov word [ebp - 0x14], 0x20
lea edx, [ebp - 0x34]
push edx
call fcn.00402350
pop ecx
push eax
push str.sysAnalyzer.exe
lea ecx, [esp + 8]
push ecx
call fcn.0040ec24
add esp, 0xc
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
dec dword [ebp - 8]
call fcn.00402f64
add esp, 0x10
dec eax
jne 0x403467
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x403473
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x403478
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x424b98
call fcn.00417108
push str.pstorec.dll
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
je 0x4034a7
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x403501
add esp, 0xfffffff0
mov word [ebp - 0x14], 0x14
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402350
pop ecx
push eax
push 0x424962
lea eax, [esp + 8]
push eax
call fcn.0040ec24
add esp, 0xc
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
dec dword [ebp - 8]
call fcn.00403108
add esp, 0x10
dec eax
jne 0x4034f5
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x403501
xor edi, dword [edx]
cmp dl, byte [ebp + 0x3a]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x403508
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
push str.SbieDll.dll
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
je 0x403520
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405110
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
mov eax, 0x429044
call fcn.00417108
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.004052ec
add esp, 8
push dword [ebp + 0x14]
mov edx, dword [ebp + 8]
add edx, 8
push edx
call fcn.004052ec
add esp, 8
cmp dword [ebp + 0x10], 1
jae 0x405171
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x28], str.Incorrect_key_length
lea eax, [ebp - 0x28]
push eax
push 0x403e38
call fcn.0042058c
add esp, 0x24
cmp dword [ebp + 0x10], 0x38
jbe 0x40517e
mov dword [ebp + 0x10], 0x38
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0x84]
push edx
call fcn.00416c20
add esp, 0xc
push 0x48
push 0x427ffc
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
call fcn.00416c20
add esp, 0xc
push 0x1000
push 0x428044
mov eax, dword [ebp + 8]
add eax, 0x58
push eax
call fcn.00416c20
add esp, 0xc
lea edx, [ebp - 0x84]
mov dword [ebp - 0x34], edx
xor ecx, ecx
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], 4
jmp 0x405212
shl dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dl, byte [eax]
or dword [ebp - 0x38], edx
inc dword [ebp - 0x34]
inc dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp + 0x10]
jne 0x405212
xor eax, eax
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x84]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x40]
add dword [ebp - 0x40], 0xffffffff
test ecx, ecx
jne 0x4051e8
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
xor dword [edx + eax*4 + 0x10], ecx
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x12
jb 0x4051da
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0040179c
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp + 8]
call fcn.00405324
add esp, 8
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [edx + eax*4 + 0x10], ecx
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [edx + eax*4 + 0x10], ecx
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x12
jb 0x405248
xor eax, eax
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp + 8]
call fcn.00405324
add esp, 8
mov eax, dword [ebp - 0x30]
shl eax, 0xa
mov edx, dword [ebp + 8]
lea ecx, [edx + eax]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov dword [ecx + eax*4 + 0x58], edx
inc dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
shl ecx, 0xa
mov eax, dword [ebp + 8]
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov dword [edx + ecx*4 + 0x58], eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x100
jl 0x405287
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 4
jb 0x405282
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4079f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x407a31
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040c58c
jmp 0x407a3a
mov eax, ebx
mov edx, esi
call fcn.0040c4f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407a44
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x407a65
mov al, byte [esp]
jmp 0x407a67
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bba4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x429270]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40bc3c
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x40bc1c
xor eax, eax
push ebp
push 0x40bc15
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40bc58
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc1c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x429270]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x429270], ax
mov esp, ebp
pop ebp
ret
Function at 0x40d17c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40d338
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x40d1dd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40d354
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x40d24f
xor eax, eax
push ebp
push 0x40d248
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.0040cfd4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x40d231
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40d374
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d24f
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40d330
cmp byte [ebp - 0xd], 0
jne 0x40d291
cmp byte [ebp - 0x12], 0
je 0x40d330
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40d2aa
dec ebx
cmp byte [ebx], 0x2e
je 0x40d2b9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40d2a9
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40d330
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40d2e6
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40d330
cmp byte [ebp - 0xd], 0
je 0x40d330
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40d330
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d688
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x40d770
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x43065c], 1
jae 0x40d762
xor eax, eax
mov dword [0x430268], eax
xor eax, eax
mov dword [0x430270], eax
xor eax, eax
mov dword [0x430274], eax
mov byte [0x43027a], 2
mov byte [0x43027b], 2
mov byte [0x43027c], 3
mov word [0x430624], 0
mov word [0x430634], 1
mov word [0x430644], 0xa
mov dword [0x43064c], 0x80020004
mov dword [0x430618], 0x40cb7c
mov dword [0x43061c], 0x40cb74
mov dword [0x430620], 0x40cb7c
call fcn.0040bb74
test al, al
je 0x40d721
call fcn.0040bba4
call fcn.0040bc68
mov eax, 0x430280
mov edx, 0x40d77c
call fcn.004096d2
mov eax, 0x43044c
mov edx, 0x40d77c
call fcn.004096d2
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x430260], eax
call fcn.0040a5a4
mov dword [0x43025c], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x430254], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d777
ret
Function at 0x41847c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00418b38
test byte [ebp + 0xd], 0xc0
jne 0x4184a0
mov eax, dword [0x42d5cc]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4184ad
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4184da
je 0x4184ec
sub ecx, 0x100
je 0x4184fa
sub ecx, 0x100
je 0x418501
sub ecx, 0x100
je 0x4184f3
jmp 0x418508
sub ecx, 0x600
je 0x418501
sub ecx, 0x100
je 0x4184ec
jmp 0x418508
mov edi, 1
jmp 0x41850d
mov edi, 2
jmp 0x41850d
mov edi, 4
jmp 0x41850d
mov edi, 5
jmp 0x41850d
mov edi, 3
test byte [ebp + 0xd], 1
je 0x418534
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x42d044]
test al, 0x80
je 0x41852d
mov ebx, 0x80
jmp 0x418546
mov ebx, 1
jmp 0x418546
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov ebx, eax
cmp eax, 0xffffffff
jne 0x418546
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x418558
je 0x418561
dec eax
je 0x41856a
jmp 0x418573
mov dword [ebp - 4], 0x80000000
jmp 0x418582
mov dword [ebp - 4], 0x40000000
jmp 0x418582
mov dword [ebp - 4], 0xc0000000
jmp 0x418582
push 1
call fcn.00418f30
pop ecx
mov ebx, eax
jmp 0x41866e
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x41859e
sub eax, 0x10
je 0x4185a5
sub eax, 0x10
je 0x4185ae
sub eax, 0x10
je 0x4185b7
jmp 0x4185b7
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4185be
mov dword [ebp - 8], 1
jmp 0x4185be
mov dword [ebp - 8], 2
jmp 0x4185be
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
cmp eax, 0xffffffff
jne 0x418627
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x41861c
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x41861c
add ebx, 0xffffffb2
push ebx
call fcn.00418f30
pop ecx
mov ebx, eax
jmp 0x41866e
mov edi, esi
push edi
call fcn.0041802c
pop ecx
test eax, eax
je 0x41863b
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x418647
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00418c58
add esp, 8
mov ebx, eax
inc eax
jne 0x41866e
push 4
call fcn.00418f30
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00418b6c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418988
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x4189a4
call fcn.00418f9c
jmp 0x418a13
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
jne 0x4189c0
call fcn.00418f9c
jmp 0x418a13
cmp dword [0x430ff0], 1
je 0x418a11
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.0041e32c
pop ecx
cmp al, 0x41
jl 0x418a11
cmp al, 0x5a
jg 0x418a11
cmp byte [ebp - 0x107], 0x3a
jne 0x418a11
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x418a11
call fcn.00418f9c
jmp 0x418a13
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41b2e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00416d34
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00416e10
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00416e10
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x42e25d
lea ecx, [ebp - 0x200]
push ecx
call fcn.00416d34
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00416e10
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0041c4ec
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x41b3f1
push esi
call fcn.00416e10
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00416e10
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0040dfc0
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x41b3c8
xor eax, eax
jmp 0x41b478
push esi
call fcn.00416e10
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00416e10
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00416c90
add esp, 0xc
jmp 0x41b431
mov edi, dword [ebx + 0x24]
push edi
call fcn.00416e10
pop ecx
push eax
push esi
call fcn.00416e10
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00416e10
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0040dfe0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x41b431
xor eax, eax
jmp 0x41b478
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00416d34
add esp, 8
push 0x42e25f
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00416d34
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00416d34
add esp, 8
push 0x42e261
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00416d34
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e444
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x41e4a6
call fcn.0041e3f4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00416e10
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00416e10
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e524
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x42e86c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x41e5fe
cmp dword [0x42e868], 0
jne 0x41e5fe
cmp dword [0x42ea74], 0
je 0x41e5b8
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0041e2d4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41e59e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0041e2d4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41e59e
lea ebx, [ebp - 0x84]
jmp 0x41e59f
inc ebx
call fcn.0041e4e0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x41e639
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x42e870
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00416e10
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x42e873
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x41e639
cmp dword [0x42e868], 0
je 0x41e618
cmp dword [0x42e868], 0xffffffff
je 0x41e639
push esi
call dword [0x42e868]
pop ecx
mov eax, dword [0x42e86c]
test eax, eax
je 0x41e639
cmp dword [0x42e86c], 0xffffffff
je 0x41e639
cmp byte [eax], 0
je 0x41e639
push esi
push eax
call fcn.0041e444
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ee5c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x431008], 0
jne 0x41eedd
cmp dword [0x431028], 0
jne 0x41ee8c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x431028], eax
test eax, eax
jne 0x41ee8c
push str.GetEnvironmentStrings_failed
call fcn.0041e650
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x431028]
jmp 0x41eea0
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00416e10
pop ecx
mov edi, eax
test eax, eax
jne 0x41ee98
lea edi, [ebp + 1]
push edi
call fcn.0040dfc0
pop ecx
mov ebx, eax
mov dword [0x43100c], ebx
test ebx, ebx
jne 0x41eeca
xor eax, eax
jmp 0x41efa0
push edi
mov edx, dword [0x431028]
push edx
push ebx
call fcn.00416c20
add esp, 0xc
jmp 0x41eefd
xor esi, esi
mov ebx, dword [0x431008]
jmp 0x41eef7
push eax
call fcn.00416e10
pop ecx
test eax, eax
jne 0x41eef3
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41eee7
lea ebx, [esi + 4]
push 4
mov dword [0x431010], ebx
inc ebx
push ebx
call fcn.0040d780
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41ef20
xor eax, eax
jmp 0x41efa0
cmp dword [0x431008], 0
jne 0x41ef51
xor esi, esi
mov ebx, dword [0x43100c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41ef42
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00416e10
pop ecx
mov edi, eax
test eax, eax
jne 0x41ef38
jmp 0x41ef82
xor esi, esi
mov ebx, dword [0x431008]
mov eax, dword [esp]
mov edi, eax
jmp 0x41ef7c
push eax
call fcn.00416e10
pop ecx
test eax, eax
je 0x41ef71
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41ef75
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41ef60
mov eax, dword [0x431008]
test eax, eax
je 0x41ef92
push eax
call fcn.0040dfd0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x431008], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408939
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
or eax, eax
push 0xf9f9ccf
mov edx, dword [esp]
add esp, 4
call fcn.0040895b
xor dword [ebx], ecx
mov eax, edx
inc ebx
dec edx
cmp ebx, edi
jne fcn.00408939
ret
Function at 0x118a260
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x118a435
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa5e000]
push edi
or ebp, 0xffffffff
jmp 0x118a28a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x118a291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118a280
mov eax, 1
add ebx, ebx
jne 0x118a2a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x118a2b4
jne 0x118a2d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118a2d3
dec eax
add ebx, ebx
jne 0x118a2c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x118a298
add ebx, ebx
jne 0x118a2cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x118a325
xor ecx, ecx
sub eax, 3
jb 0x118a2eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x118a35a
sar eax, 1
mov ebp, eax
jmp 0x118a2f6
add ebx, ebx
jne 0x118a2f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118a2c4
inc ecx
add ebx, ebx
jne 0x118a304
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118a2c4
add ebx, ebx
jne 0x118a311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x118a306
jne 0x118a322
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x118a306
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x118a344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x118a336
jmp 0x118a286
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x118a344
add edi, ecx
jmp 0x118a286
pop esi
mov edi, esi
mov ecx, 0x7f7597
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x118a37f
cmp byte [edi], 0x67
jne 0x118a364
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x118a362
lea edi, [esi + 0xd1f000]
mov eax, dword [edi]
or eax, eax
je 0x118a3c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd8c3a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd8c508]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x118a385
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd8c50c]
or eax, eax
je 0x118a3c1
mov dword [ebx], eax
add ebx, 4
jmp 0x118a3a2
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x118a3f8
cmp al, 0xef
ja 0x118a3eb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x118a3cd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x118a3da
mov ebp, dword [esi + 0xd8c510]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x118a42c
sub esp, 0xffffff80
jmp 0xc79420