joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f0a98
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xcc
je 0x6f0b22
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x14], 0xcc
jmp 0x6f0b22
mov eax, dword [ebx + 8]
test eax, eax
je 0x6f0adb
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x60]
mov dword [eax + 8], edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
mov esi, dword [ebx + 0x78]
lea eax, [ebx + 0x78]
push 0
push eax
push 0
push ebx
mov edx, dword [ebx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov ecx, dword [ebx + 0x78]
cmp esi, ecx
jne 0x6f0afe
xor eax, eax
jmp 0x6f0b41
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x60]
cmp edx, ecx
jb 0x6f0ac4
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax + 4]
pop ecx
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov eax, dword [ebx + 0x180]
mov dl, byte [eax + 8]
test dl, dl
jne 0x6f0afe
mov ecx, 0xce
mov al, byte [ebx + 0x41]
test al, al
jne 0x6f0b3c
dec ecx
mov dword [ebx + 0x14], ecx
mov al, 1
pop esi
pop ebx
pop ebp
ret
Function at 0x6fcde0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x6c]
sub eax, edx
mov ecx, dword [ebx + 0x64]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x6fce24
mov edx, dword [ebx + 0x24]
sub edx, 0x106
add edx, esi
mov ecx, dword [ebx + 0x64]
cmp edx, ecx
ja 0x6fceaf
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.006e63b0
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x3c]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x6fce78
mov cx, word [ebp - 4]
sub cx, si
jmp 0x6fce7a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x6fce5f
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x38]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x6fcea4
mov cx, word [ebp - 4]
sub cx, si
jmp 0x6fcea6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x6fce8b
add dword [ebp - 8], esi
mov edi, dword [ebx]
mov eax, dword [edi + 4]
test eax, eax
je 0x6fcf1c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
add ecx, eax
mov edx, dword [ebx + 0x6c]
add ecx, edx
push ecx
push edi
call fcn.006fca9c
add esp, 0xc
add dword [ebx + 0x6c], eax
mov ecx, dword [ebx + 0x6c]
cmp ecx, 3
jb 0x6fcf05
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x4c]
and eax, edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x6c]
cmp eax, 0x106
jae 0x6fcf1c
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x6fcdef
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x736e9c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x73700f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x736fea
push dword fs:[edx]
mov dword fs:[edx], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.0040a550
lea eax, [ebp - 0x21c]
mov edx, 0x737028
call fcn.0040a73c
mov eax, dword [ebp - 0x21c]
call fcn.0040a528
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x736f5b
lea eax, [ebp - 0x216]
call fcn.00409db0
lea edx, [ebp - 0x216]
mov ecx, ebx
xchg ecx, eax
call fcn.00409a48
jmp 0x736f62
mov eax, ebx
call fcn.004098c0
cmp si, 0x61
jae 0x736f84
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.00429d00
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.00409ca0
jmp 0x736f9e
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00429cec
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.00409ca0
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x73703c
call fcn.00423d94
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.00409ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x736ff1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x73a1a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x73a257
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040a528
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x73a1e2
call fcn.0040902c
jmp 0x73a25e
mov eax, ebx
call fcn.00406f20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.0040a528
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x73a20b
call fcn.0040902c
jmp 0x73a25e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x73a26c
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x73a22c
call fcn.0040902c
jmp 0x73a25e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x73a25e
mov eax, dword [ebp - 8]
call fcn.00406f3c
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x740c38
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
test ebx, ebx
je 0x740ccc
mov edx, dword [0x73d0c4]
mov eax, 8
call fcn.0040b7b8
mov esi, eax
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00409ca0
mov byte [esi + 4], 0
mov edx, esi
mov eax, ebx
call fcn.0053b87c
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0053ba2c
mov eax, dword [edi + 0x45c]
cmp eax, dword [ebp + 8]
jne 0x740c9c
mov edx, dword [edi + 0x458]
mov eax, ebx
call fcn.0053bacc
jmp 0x740ccc
push 0x4003
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
call fcn.0040a528
push eax
call sub.shell32.dll_SHGetFileInfoW
mov edx, dword [ebp - 0x2b4]
mov eax, ebx
call fcn.0053bacc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x74afc4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x74aff2
mov eax, ebx
call fcn.0074ba80
cmp dword [ebx + 0x40], 0
je 0x74afeb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x74b063
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x74b055
cmp dword [ebx + 8], 0
je 0x74b014
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x74b026
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x74b055
cmp dword [ebx + 8], 0
je 0x74b007
cmp eax, 3
je 0x74b039
dec eax
jne 0x74b007
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x74b007
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x74b007
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x74b081
cmp dword [ebx + 0x14], 0xcc
je 0x74b081
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0074b08c
pop ebx
ret
Function at 0x775a84
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, eax
xor eax, eax
push ebp
push 0x775bfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edx
test esi, esi
je 0x775ac1
or ebx, 0xffff
mov eax, esi
call fcn.0040a528
mov esi, eax
jmp 0x775ac3
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push esi
push ebx
push edi
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x775af1
mov eax, dword [ebp + 8]
call fcn.004098c0
jmp 0x775bd4
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x775b41
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x1c]
mov edx, dword [0x841e24]
call fcn.004274dc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [0x7ec238]
mov dl, 1
mov eax, dword [0x778270]
call fcn.0042884c
call fcn.00408f38
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404b78]
call fcn.0040c010
add esp, 4
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
push edi
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x775bbd
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x841e24]
call fcn.004274dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [0x7ec238]
mov dl, 1
mov eax, dword [0x778270]
call fcn.0042884c
call fcn.00408f38
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042dd24
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.0042db90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x775c04
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00409920
lea eax, [ebp - 4]
mov edx, dword [0x404b78]
call fcn.0040c134
ret

Function at 0x775dd2
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x775d93
add esp, 0xfffffff0
call fcn.004080f4
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.0077fdc8
mov dl, 1
mov eax, dword [0x774a58]
call fcn.00777d40
mov dword [edi + 0x98], eax
mov dl, 1
mov eax, dword [0x763be8]
call fcn.0076bad0
mov dword [edi + 0x94], eax
mov eax, dword [0x7ebbe4]
call fcn.00777a1c
push 0
push 0
push 0
push 1
push 0x775e1c
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0x90], esi
test esi, esi
jne 0x775e01
mov ecx, dword [0x7ec4fc]
mov dl, 1
mov eax, dword [0x778328]
call fcn.00428810
call fcn.00408f38
mov eax, edi
test bl, bl
je 0x775e16
call fcn.0040814c
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x776858
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x776a13
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 0x10], 0
jle 0x77688d
movzx edi, word [esi + 0x10]
jmp 0x77688f
xor edi, edi
push 0
push edi
mov eax, dword [esi + 0xc]
call fcn.0040a528
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x90]
push eax
call sub.winhttp.dll_WinHttpConnect
mov dword [ebx + 0x88], eax
cmp dword [ebx + 0x88], 0
jne 0x7768e0
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [0x7ebcbc]
mov dl, 1
mov eax, dword [0x7783f0]
call fcn.0042884c
call fcn.00408f38
xor edi, edi
mov eax, dword [esi]
mov edx, 0x776a30
call fcn.0040a92c
jne 0x7768f6
or edi, 0x800000
push edi
push 0
push 0
push 0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00775a44
mov eax, dword [ebp - 0xc]
call fcn.0040a528
push eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00769110
mov eax, dword [ebp - 0x10]
call fcn.0040a528
push eax
mov eax, dword [ebx + 0x88]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov dword [ebx + 0x8c], eax
cmp dword [ebx + 0x8c], 0
jne 0x776984
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x841e24]
call fcn.004274dc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [0x7ec42c]
mov dl, 1
mov eax, dword [0x7783f0]
call fcn.0042884c
call fcn.00408f38
mov esi, dword [ebx + 0x10]
push esi
push esi
mov eax, dword [ebx + 0xc]
push eax
push 0
mov eax, dword [ebx + 0x8c]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7769eb
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x841e24]
call fcn.004274dc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [0x7ec678]
mov dl, 1
mov eax, dword [0x7783f0]
call fcn.0042884c
call fcn.00408f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x776a1a
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00409920
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00409920
ret
Function at 0x78f390
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x78f399
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004099a4
mov eax, dword [ebp - 8]
call fcn.004099a4
mov eax, dword [ebp + 8]
call fcn.004099a4
xor eax, eax
push ebp
push 0x78f512
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x841e80]
push 0x78f530
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a81c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00422bb8
test al, al
je 0x78f4a8
mov eax, dword [ebp - 0xc]
call fcn.0078e450
push 5
lea eax, [ebp - 0x10]
mov ecx, 0x78f530
mov edx, dword [0x841e80]
call fcn.0040a794
mov eax, dword [ebp - 0x10]
call fcn.0040a528
push eax
mov eax, dword [ebp - 8]
call fcn.0040a528
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040a528
push eax
push 0x78f544
push esi
call sub.shell32.dll_ShellExecuteW
mov esi, eax
cmp esi, 0x20
ja 0x78f4df
push 0x78f55c
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00422170
push dword [ebp - 0x18]
push 0x78f5a4
push 0x78f5b4
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00422170
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [0x7ec534]
mov eax, dword [eax]
call fcn.004995a8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040a81c
mov eax, dword [ebp - 0x14]
call fcn.0054fdac
jmp 0x78f4df
cmp byte [ebp + 0xc], 0
jne 0x78f4d7
push dword [ebp - 4]
push 0x78f5c4
push 0x78f5d4
push 0x78f5f4
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x24]
call fcn.0054fdac
jmp 0x78f4df
mov eax, dword [ebp + 8]
call fcn.0054fdac
test bl, bl
je 0x78f4ef
mov eax, dword [0x7ec730]
mov eax, dword [eax]
call fcn.005ba97c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78f519
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00409920
lea eax, [ebp + 8]
call fcn.004098c0
ret
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

Function at 0x419f60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
jmp 0x419f7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419f81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419f70
mov eax, 1
add ebx, ebx
jne 0x419f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419f88
jne 0x419fa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419f88
xor ecx, ecx
sub eax, 3
jb 0x419fb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a02a
mov ebp, eax
add ebx, ebx
jne 0x419fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419fd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419ff4
inc ecx
add ebx, ebx
jne 0x419fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419fd5
jne 0x419ff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419fd5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a014
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a005
jmp 0x419f76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a014
add edi, ecx
jmp 0x419f76
pop esi
mov edi, esi
mov ecx, 0x74
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a032
cmp byte [edi], 1
jne 0x41a032
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41a037
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41a0a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fa88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fb64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a064
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fb6c]
or eax, eax
je 0x41a0a0
mov dword [ebx], eax
add ebx, 4
jmp 0x41a081
call dword [esi + 0x1fb68]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41a0d7
cmp al, 0xef
ja 0x41a0ca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41a0ac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41a0b9
mov ebp, dword [esi + 0x1fb70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41a10b
sub esp, 0xffffff80
jmp 0x401b0d
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

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