joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4689d6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x49b248]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x468a16
cmp byte [ebx], 0xa
jne 0x468a16
or byte [edi + eax + 0x28], 4
jmp 0x468a1b
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x468b1a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x468afd
inc eax
cmp dl, 0xd
je 0x468a47
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x468a6d
cmp eax, ecx
jae 0x468a7b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x468a2f
jmp 0x468b1a
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x468af8
cmp dword [ebp - 0x10], 0
je 0x468af8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x49b248]
test byte [eax + edi + 0x28], 0x48
je 0x468ad2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x468abd
mov byte [esi], dl
jmp 0x468ace
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x49b248]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x468b1a
cmp byte [ebp - 1], 0xa
jne 0x468ae1
cmp esi, ebx
jne 0x468ae1
mov byte [esi], 0xa
jmp 0x468b19
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0046955d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x468b1a
mov byte [esi], 0xd
jmp 0x468b19
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x49b248]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x468b17
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x468b1a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x468b23
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x49b248]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x468b69
cmp word [ebx], dx
jne 0x468b69
or byte [eax + edi + 0x28], 4
jmp 0x468b6e
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x468cd1
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x468cb1
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x468baf
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x468be5
cmp eax, edx
jae 0x468bf3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x468b8a
jmp 0x468cd1
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x468cac
cmp dword [ebp - 0x18], 0
je 0x468cac
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x49b248]
test byte [eax + edi + 0x28], 0x48
je 0x468c82
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x468c46
mov word [esi], cx
jmp 0x468c7d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x49b248]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x49b248]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x49b248]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x468cd1
pop eax
cmp word [ebp - 4], ax
jne 0x468c92
cmp esi, ebx
jne 0x468c92
mov word [esi], ax
jmp 0x468cce
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0046955d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x468cd1
push 0xd
pop eax
jmp 0x468c8d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x49b248]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x468ccb
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x468cd1
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46ac0c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046ab8e
Function at 0x46db04
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x46dba1
push ebx
push esi
call fcn.0046dacd
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0046c902
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x46db4e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x46dba0
push edi
push eax
call fcn.004647af
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x46db6e
call fcn.00464578
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x46db9f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0046c902
add esp, 0x20
test eax, eax
jne 0x46db8d
push edi
call fcn.00464578
jmp 0x46db95
push ebx
call fcn.00464578
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x47042e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00464230
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x47049d
cmp esi, dword [ebp - 4]
je 0x470498
cmp dword [ebp + 0xc], 0
je 0x470498
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x470475
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0046ff80
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x47049f
xor eax, eax
inc eax
jmp 0x47049f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x470504
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x499080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00464230
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00464230
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x47057b
cmp word [ecx], dx
je 0x47057b
mov eax, dword [0x488284]
push edi
dec eax
push eax
push 0x488170
call fcn.004704a3
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4705ee
cmp word [eax], dx
je 0x4705ee
mov eax, dword [edi]
test eax, eax
je 0x47059f
cmp word [eax], dx
je 0x47059f
lea eax, [ebp - 0x10]
push eax
call fcn.0046fe86
jmp 0x4705a8
lea eax, [ebp - 0x10]
push eax
call fcn.0046ff21
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x470618
mov eax, dword [0x48816c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x487e60
call fcn.004704a3
add esp, 0xc
test al, al
je 0x470618
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4705e3
cmp word [eax], di
je 0x4705e3
lea eax, [ebp - 0x10]
push eax
call fcn.0046fe86
pop ecx
jmp 0x47061a
lea eax, [ebp - 0x10]
push eax
call fcn.0046ff21
jmp 0x4705e0
mov eax, dword [edi]
test eax, eax
je 0x470605
cmp word [eax], dx
je 0x470605
lea eax, [ebp - 0x10]
push eax
call fcn.0046fe3b
pop ecx
jmp 0x470618
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4706e3
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00470328
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4706e3
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4706e3
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4706e3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x470670
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00466a5e
test ebx, ebx
je 0x4706de
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00466a5e
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4706e3
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4706e3
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0046a86e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4706e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004504dc
leave
ret
Function at 0x474f25
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00474ea1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x475094
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x475094
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x475049
jg 0x474f81
test eax, eax
je 0x47503f
push 1
push 0x1000
call fcn.0046451b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x474fa4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x475036
push 0x8000
push ebx
call fcn.00461ed5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x474fcd
jg 0x474fc8
cmp ecx, 0x1000
jb 0x474fcd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00467bb7
add esp, 0x10
cmp eax, 0xffffffff
je 0x475012
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x474fc8
jl 0x474ff9
test ecx, ecx
jne 0x474fba
push dword [ebp - 0xc]
push ebx
call fcn.00461ed5
push esi
call fcn.00464578
add esp, 0xc
xor ebx, ebx
jmp 0x4750a2
cmp byte [edi + 0x24], 0
je 0x475029
cmp dword [edi + 0x20], 5
jne 0x475029
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x475034
mov ebx, dword [edi + 0x18]
jmp 0x475036
xor ebx, ebx
push esi
call fcn.00464578
pop ecx
jmp 0x4750a2
test ecx, ecx
jg 0x47500b
jl 0x475049
test eax, eax
jae 0x47500b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046955d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x475069
cmp byte [edi + 0x1c], 0
je 0x47500b
jmp 0x47509a
push ebx
call fcn.0046e4f2
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x47500b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4750a2
cmp byte [edi + 0x1c], 0
je 0x47509f
mov ebx, dword [edi + 0x18]
jmp 0x4750a2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0046955d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4755c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4755ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4755ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x214
mov eax, dword [0x432040]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
xor edx, edx
mov byte [esp + ecx + 0x18], cl
push 0x15
mov eax, ecx
pop esi
div esi
mov al, byte [edx + 0x478cb0]
mov byte [esp + ecx + 0x118], al
inc ecx
cmp ecx, ebp
jl 0x401f65
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x18]
movzx eax, byte [esp + esi + 0x118]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x401fab
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + ebx + 0x18], dl
cmp esi, ebp
jl 0x401f88
mov ebx, edi
mov ebp, edi
inc edi
and edi, 0x800000ff
jns 0x401fd1
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x18]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x401fea
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
sub esp, 0x10
movaps xmm0, xmmword [0x42ed90]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movups xmmword [esp], xmm0
call fcn.0040f7e0
add esp, 0x10
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
call fcn.004023d8
push eax
call fcn.004047a7
movzx eax, byte [esp + edi + 0x1c]
add eax, esi
movzx eax, al
pop ecx
mov al, byte [esp + eax + 0x18]
xor byte [ebp + section..bss], al
inc ebp
cmp ebp, 0x43800
jl 0x401fc0
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409173
add esp, 0x214
ret

Function at 0x40238e
Capabilities:
Create thread

Disassembly:
push ecx
call fcn.00402500
xor eax, eax
push eax
push eax
push eax
push 0x402236
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret
Function at 0x4018d2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401911
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401911
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401911
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401911
cmp dword [ecx + 0x74], 0xe
jbe 0x401911
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x405c0d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40f4d8
push 0x40f4d0
push str.FlsAlloc
push 0x1f
call fcn.00405acc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x405c41
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e114]
call esi
jmp 0x405c47
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x405c8b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40f4e8
push 0x40f4e0
push str.FlsGetValue
push 0x21
call fcn.00405acc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x405cc2
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x405cca
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40f4f0
push 0x40f4e8
push str.FlsSetValue
push 0x22
call fcn.00405acc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x405d04
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e114]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4081f1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40828e
push ebx
push esi
call fcn.004081ba
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040814e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40823b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40828d
push edi
push eax
call fcn.004063bc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40825b
call fcn.0040595f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40828c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040814e
add esp, 0x20
test eax, eax
jne 0x40827a
push edi
call fcn.0040595f
jmp 0x408282
push ebx
call fcn.0040595f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40dbf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40dc1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40dc1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 0x4b3360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92000]
push edi
or ebp, 0xffffffff
jmp 0x4b3382
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3378
mov eax, 1
add ebx, ebx
jne 0x4b339b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b33ac
jne 0x4b33cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b33cb
dec eax
add ebx, ebx
jne 0x4b33b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3390
add ebx, ebx
jne 0x4b33c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b341d
xor ecx, ecx
sub eax, 3
jb 0x4b33e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3452
sar eax, 1
mov ebp, eax
jmp 0x4b33ee
add ebx, ebx
jne 0x4b33ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b33bc
inc ecx
add ebx, ebx
jne 0x4b33fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b33bc
add ebx, ebx
jne 0x4b3409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b33fe
jne 0x4b341a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b33fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b343c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b342e
jmp 0x4b337e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b343c
add edi, ecx
jmp 0x4b337e
pop esi
mov edi, esi
mov ecx, 0x34c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b345a
cmp byte [edi], 5
jne 0x4b345a
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 0x4b345f
lea edi, [esi + 0xb1000]
mov eax, dword [edi]
or eax, eax
je 0x4b34d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb8c78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8cb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b348c
mov ecx, edi
jns 0x4b34bb
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 + 0xb8cb8]
or eax, eax
je 0x4b34d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4b34a9
call dword [esi + 0xb8cc8]
mov ebp, dword [esi + 0xb8cbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x4b350b
sub esp, 0xffffff80
jmp 0x402d24
Function at 0x4067bb
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x433708
call fcn.0042617c
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
push 0x20019
push ebx
push str.SOFTWAREFLEXnetConnectTrace_
push eax
mov dword [ebp - 0x18], ebx
call edi
cmp eax, ebx
jne 0x406809
lea ecx, [ebp - 0x14]
call fcn.004069ad
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
je 0x40686d
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push str.SoftwareMacrovisionFLEXnet_ConnectTrace
push eax
mov dword [ebp - 0x18], ebx
call edi
cmp eax, ebx
jne 0x406837
lea ecx, [ebp - 0x14]
call fcn.004069ad
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
je 0x40686d
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push str.SoftwareInstallShieldUpdate_ServiceTrace
push eax
mov dword [ebp - 0x18], ebx
call edi
cmp eax, ebx
jne 0x40697b
lea ecx, [ebp - 0x14]
call fcn.004069ad
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x40697b
push 0x4446dc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], 0x436448
lea eax, [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x20]
push esi
push eax
push ebx
push str.ClassUM
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 4
call edi
cmp eax, ebx
je 0x4068b9
mov dword [esi], ebx
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x30]
push eax
call fcn.00405245
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ab9d
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.ParamUM
push dword [ebp - 0x14]
call edi
cmp eax, ebx
lea ecx, [ebp - 0x40]
setne byte [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.0040ab62
cmp byte [ebp - 0xd], bl
je 0x406940
lea eax, [ebp - 0x40]
push 0x1a
push eax
call fcn.00406a8f
mov eax, dword [eax + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
push dword [esi + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x40]
mov dword [esi + 0x18], eax
call fcn.0040311b
push str.ISUSTrace.txt
lea ecx, [esi + 0xc]
call fcn.004069c4
jmp 0x40694c
lea eax, [ebp - 0x30]
lea ecx, [esi + 0xc]
push eax
call fcn.00403cf7
lea eax, [ebp - 0x20]
add esi, 8
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
push ebx
push str.OptionsUM
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 4
call edi
test eax, eax
je 0x406973
mov dword [esi], ebx
lea ecx, [ebp - 0x30]
call fcn.004031de
cmp dword [ebp - 0x14], ebx
pop edi
pop esi
pop ebx
je 0x40698c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret