joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e4eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, dword [0x477084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416ef8
and dword [ebp - 0x14], 0
cmp dword [0x479f44], 0
mov dword [ebp - 0x18], eax
jne 0x41e59e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e646
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
or eax, eax
je 0x41e646
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x479f44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x479f48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x479f4c], eax
call edi
push eax
call esi
mov dword [0x479f54], eax
test eax, eax
je 0x41e59e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x479f50], eax
mov eax, dword [0x479f50]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e5f7
cmp dword [0x479f54], ecx
je 0x41e5f7
push eax
call ebx
push dword [0x479f54]
mov edi, eax
call ebx
mov esi, eax
or edi, edi
je 0x41e5f7
or esi, esi
je 0x41e5f7
call edi
test eax, eax
je 0x41e5ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call esi
test eax, eax
je 0x41e5ee
test byte [ebp - 8], 1
jne 0x41e5f7
or dword [ebp + 0x10], 0x200000
jmp 0x41e62a
mov eax, dword [0x479f48]
cmp eax, dword [ebp - 0x18]
je 0x41e62a
push eax
call ebx
or eax, eax
je 0x41e62a
call eax
test eax, eax
mov dword [ebp - 0x14], eax
je 0x41e62a
mov eax, dword [0x479f4c]
cmp eax, dword [ebp - 0x18]
je 0x41e62a
push eax
call ebx
test eax, eax
je 0x41e62a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x479f44]
call ebx
or eax, eax
je 0x41e646
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e648
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410b60
leave
ret
Function at 0x41f1c0
Capabilities:
Read file on windows

Disassembly:
mov esi, esi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
or edi, edi
jne 0x41f1e2
call fcn.00414b17
mov dword [eax], 0x16
call fcn.00414ac5
jmp 0x41f2dc
mov eax, dword [edi + 0xc]
test al, 0x83
je 0x41f2dc
test al, 0x40
jne 0x41f2dc
test al, 2
je 0x41f204
or eax, 0x20
mov dword [edi + 0xc], eax
jmp 0x41f2dc
or eax, 1
mov dword [edi + 0xc], eax
test eax, 0x10c
jne 0x41f21a
push edi
call fcn.0041c912
pop ecx
jmp 0x41f21f
mov eax, dword [edi + 8]
mov dword [edi], eax
push dword [edi + 0x18]
push dword [edi + 8]
push edi
call fcn.0041cb66
pop ecx
push eax
call fcn.00420333
add esp, 0xc
mov dword [edi + 4], eax
or eax, eax
je 0x41f2cb
cmp eax, 0xffffffff
je 0x41f2cb
test byte [edi + 0xc], 0x82
jne 0x41f2a0
push edi
call fcn.0041cb66
pop ecx
cmp eax, 0xffffffff
je 0x41f28b
push edi
call fcn.0041cb66
pop ecx
cmp eax, 0xfffffffe
je 0x41f28b
push esi
push edi
call fcn.0041cb66
sar eax, 5
push edi
lea esi, [eax*4 + 0x47b7a0]
call fcn.0041cb66
and eax, 0x1f
pop ebp
shl eax, 6
add eax, dword [esi]
pop edx
pop esi
jmp 0x41f290
mov eax, 0x477990
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x41f2a0
or dword [edi + 0xc], 0x2000
cmp dword [edi + 0x18], 0x200
jne 0x41f2be
mov eax, dword [edi + 0xc]
test al, 8
je 0x41f2be
test eax, 0x400
jne 0x41f2be
mov dword [edi + 0x18], 0x1000
mov ecx, dword [edi]
dec dword [edi + 4]
movzx eax, byte [ecx]
inc ecx
mov dword [edi], ecx
jmp 0x41f2df
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [edi + 0xc], eax
and dword [edi + 4], 0
or eax, 0xffffffff
pop edi
pop ebp
ret
Function at 0x41fa82
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
or esi, esi
jne 0x41faa4
call fcn.00414b17
mov dword [eax], 0x16
call fcn.00414ac5
jmp 0x41fbaa
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x41fbaa
test al, 0x40
jne 0x41fbaa
test al, 2
je 0x41fac6
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x41fbaa
or eax, 1
mov dword [esi + 0xc], eax
test eax, 0x10c
jne 0x41fadc
push esi
call fcn.0041c912
pop ecx
jmp 0x41fae1
mov eax, dword [esi + 8]
mov dword [esi], eax
push dword [esi + 0x18]
push dword [esi + 8]
push esi
call fcn.0041cb66
pop ecx
push eax
call fcn.00420333
sub esp, 0xfffffff4
mov dword [esi + 4], eax
or eax, eax
je 0x41fb99
cmp eax, 1
je 0x41fb99
cmp eax, 0xffffffff
je 0x41fb99
test byte [esi + 0xc], 0x82
jne 0x41fb6b
push esi
call fcn.0041cb66
cmp eax, 0xffffffff
pop ecx
je 0x41fb56
push esi
call fcn.0041cb66
cmp eax, 0xfffffffe
pop ecx
je 0x41fb56
push edi
push esi
call fcn.0041cb66
push esi
sar eax, 5
lea edi, [eax*4 + 0x47b7a0]
call fcn.0041cb66
pop ebp
and eax, 0x1f
shl eax, 6
pop edx
add eax, dword [edi]
pop edi
jmp 0x41fb5b
mov eax, 0x477990
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x41fb6b
or dword [esi + 0xc], 0x2000
cmp dword [esi + 0x18], 0x200
jne 0x41fb89
mov eax, dword [esi + 0xc]
test al, 8
je 0x41fb89
test eax, 0x400
jne 0x41fb89
mov dword [esi + 0x18], 0x1000
mov edx, dword [esi]
add dword [esi + 4], 0xfffffffe
movzx eax, word [edx]
add edx, 2
mov dword [esi], edx
jmp 0x41fbaf
neg eax
sbb eax, eax
and eax, 0x10
sub eax, 0xfffffff0
or dword [esi + 0xc], eax
and dword [esi + 4], 0
mov eax, 0xffff
pop esi
pop ebp
ret
Function at 0x420a0f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, edx
mov edx, 0xff
not edi
push esi
mov esi, ecx
cmp esi, 8
push ebx
jb 0x420af2
mov ebx, esi
shr ebx, 3
movzx ecx, byte [eax]
fld qword [0x471918]
xor ecx, edi
and ecx, edx
mov dword [ebp - 0x10], ecx
mov ecx, edi
mov edi, dword [ebp - 0x10]
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 1]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 2]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 3]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 4]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 5]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 6]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
movzx edi, byte [eax + 7]
xor edi, ecx
and edi, edx
shr ecx, 8
xor ecx, dword [edi*4 + 0x457c50]
sub eax, 0xfffffff8
fstp qword [ebp - 0x18]
add esi, 0xfffffff8
dec ebx
fld qword [0x471910]
fstp qword [ebp - 0x18]
mov edi, ecx
fld qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x18]
jne 0x420a31
or esi, esi
je 0x420b61
movzx ecx, byte [eax]
xor ecx, edi
and ecx, edx
shr edi, 8
xor edi, dword [ecx*4 + 0x457c50]
inc eax
dec esi
jne 0x420af6
mov dword [ebp - 8], 0x59
mov dword [ebp - 0xc], 0x51
mov dword [ebp - 0x10], 0x22
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 4], 0x18
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp esi, ecx
jg 0x420b61
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
cmp ebx, ecx
jle 0x420b61
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
cmp edx, eax
je 0x420b61
mov eax, dword [ebp - 0x14]
push 0x4b
cdq
pop ebx
idiv ebx
mov dword [ebp - 4], eax
pop ebx
mov eax, edi
pop esi
not eax
pop edi
leave
ret
Function at 0x43c5bf
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
pop ebp
ret 4

Function at 0x43c709
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0x59
mov dword [ebp - 0xc], 0x51
mov dword [ebp - 0x10], 0x22
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 4], 0x18
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, eax
jg 0x43c765
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, ecx
jle 0x43c765
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x43c765
mov eax, dword [ebp - 0x14]
push 0x4b
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret 4

Function at 0x43f6b9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, 0x5a4d
push ecx
cmp word [ecx], dx
je 0x43f6cc
leave
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x43f6c8
mov dword [ebp - 4], 0x24
mov dword [ebp - 8], 0x1c
mov edx, dword [ebp - 4]
push edi
mov edi, dword [ebp - 4]
imul edx, edx, 0x43
sub edx, edi
mov edi, dword [ebp - 4]
sub edx, edi
mov edi, dword [ebp - 8]
sub edx, edi
mov edi, dword [ebp - 8]
sub edx, edi
mov edi, dword [ebp - 4]
lea edx, [edx + edi + 0x96]
mov dword [ebp - 8], edx
add dword [ebp - 4], 0xffffffad
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
imul edx, edi
imul edx, edx, 0x28
mov edi, dword [ebp - 4]
push esi
mov esi, dword [ebp - 4]
mov eax, dword [eax + ecx + 0x98]
imul edi, esi
test eax, eax
pop esi
lea edx, [edx + edi - 0x31]
mov dword [ebp - 4], edx
pop edi
je 0x43f6c8
add eax, ecx
leave
ret
Function at 0x10080330
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push esi
push 8
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
sub esp, 0xfffffffc
test esi, esi
je 0x100803a2
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], ecx
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x100803a2
push 0
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push dword [0x1018050c]
push 0x100800a0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
or eax, eax
mov dword [esi + 4], eax
je 0x100803a2
push 0
push 0x3e8
push 0x22
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
or eax, eax
je 0x100803a2
mov eax, esi
pop esi
pop ebp
ret
pop esi
pop ebp
xor eax, eax
ret

Function at 0x10083c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, esp
push edi
push ebp
mov edi, ecx
mov ebp, edx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
or eax, eax
jne 0x10083c19
pop ebp
pop edi
pop esi
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10083c54
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esi + 8]
lea ebp, [ebx + eax]
and edx, 0xf
jbe 0x10083c50
lea edi, [edi]
cmp ebx, ebp
jae 0x10083c54
movzx esi, word [ebx]
lea ebx, [ebx + esi*2]
add ebx, 2
dec edx
jne 0x10083c40
cmp ebx, ebp
jb 0x10083c5b
xor eax, eax
pop ebx
pop ebp
pop edi
pop esi
ret
xor eax, eax
cmp word [ebx], ax
cmove ebx, eax
mov eax, ebx
pop ebx
pop ebp
pop edi
pop esi
ret

Function at 0x10083d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
mov dword [esi], 0
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push edi
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10083d8b
mov edx, dword [ebp - 8]
cmp edx, 1
je 0x10083d4d
cmp edx, 2
jne 0x10083d69
or edi, edi
mov eax, dword [ebp - 0xc]
je 0x10083d85
test eax, eax
je 0x10083d80
test al, 1
jne 0x10083d69
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10083d85
mov ecx, dword [ebp - 4]
mov eax, 0xd
xor ecx, ebp
pop esi
pop edi
call fcn.1008745c
mov esp, ebp
pop ebp
ret 0xc
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
pop edi
call fcn.1008745c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10085bce
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.10085ba4
mov ebx, eax
test ebx, ebx
je 0x10085c2e
sub ebx, edi
cmp ebx, 0xf0
jbe 0x10085c02
xor eax, eax
jmp 0x10085d3e
push ebx
lea eax, [ebp - 0x108]
push edi
push eax
call sub.MSVCR120.dll_memcpy
sub esp, 0xfffffff4
lea edi, [ebp - 0x108]
add edi, ebx
mov esi, 0x10100d4c
lea ebx, [ebp + ebx - 0x107]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
jmp 0x10085c46
mov esi, str.dependentlibs.list
lea edi, [ebp - 0x108]
lea ebx, [ebp - 0x108]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push str.MOZ_RUN_GTEST
call dword [sym.imp.MSVCR120.dll_getenv]
test eax, eax
pop edi
je 0x10085c6e
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10085c5d
mov esi, str..gtest
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x108]
call fcn.10085b19
mov esi, eax
or esi, esi
je 0x10085bfb
mov edi, dword [sym.imp.MSVCR120.dll_fgets]
mov byte [ebx], 0
jmp 0x10085d02
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085c97
sub ecx, edx
je 0x10085d02
cmp byte [ebp - 0x20c], 0x23
je 0x10085d02
cmp byte [ebp + ecx - 0x20d], 0xa
jne 0x10085ccb
lea eax, [ecx - 1]
cmp eax, 0x104
jae 0x10085d5f
mov byte [ebp + eax - 0x20c], 0
lea eax, [ebp - 0x108]
sub ecx, eax
add ecx, ebx
cmp ecx, 0x104
ja 0x10085d54
lea ecx, [ebp - 0x20c]
mov eax, ecx
mov edx, ebx
sub edx, eax
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x10085ce9
lea ecx, [ebp - 0x108]
call fcn.10085ac7
test al, al
je 0x10085d4f
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call edi
add esp, 0xc
or eax, eax
jne 0x10085c8e
mov eax, dword [0x1018052c]
push str.NS_GetFrozenFunctions
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
or edi, edi
je 0x10085d4f
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
mov eax, edi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1008745c
mov esp, ebp
pop ebp
ret
call fcn.10085b7a
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
xor eax, eax
jmp 0x10085d3d
call fcn.10087af8
int3
Function at 0x10086f5a
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, esp
mov eax, 0x10010
call fcn.100881b0
mov eax, dword [section..data]
xor eax, edi
mov dword [edi - 4], eax
push esi
push 1
lea eax, [edi - 0x10010]
mov esi, ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10086fdc
mov ecx, 0x10000
push ebp
xor ebp, ebp
push 0
lea eax, [edi - 0x10008]
push eax
lea eax, [edi - 0x10004]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10086fc4
mov ecx, 0x10000
cmp dword [edi - 0x10008], ecx
jne 0x10086fc4
add ebp, ecx
cmp ebp, 0xffffffff
jb 0x10086f94
push 0
push 0
push dword [edi - 0x1000c]
push dword [edi - 0x10010]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
pop ebp
mov ecx, dword [edi - 4]
pop esi
xor ecx, edi
call fcn.1008745c
mov esp, edi
pop edi
ret

Function at 0x1008712c
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
call fcn.1008718f
mov eax, 0x10000000
lea ecx, [esi + 0x14]
mov dword [esi], 0x38
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xc00
mov dword [esi + 0x10], 0x10100210
call fcn.100804b0
test eax, eax
jns 0x1008717b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
or eax, eax
je 0x10087174
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x10180650], 1
mov eax, esi
pop esi
ret

Function at 0x10087fd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
cmp word [edx], ax
je 0x10087fe4
xor eax, eax
pop ebp
ret
mov ecx, dword [edx + 0x3c]
add ecx, edx
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10087fff
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x10003356
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002412c]
jne 0x10003360
repz ret
jmp fcn.1000389d
Function at 0x4052b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x40a6c8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x4052cf
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x40a6c4], 1
mov byte [0x40a6c0], bl
jne 0x405329
mov ecx, dword [0x40aa48]
test ecx, ecx
je 0x405317
mov esi, dword [0x40aa44]
sub esi, 4
cmp esi, ecx
jb 0x405317
mov eax, dword [esi]
test eax, eax
je 0x405310
call eax
mov ecx, dword [0x40aa48]
sub esi, 4
cmp esi, ecx
jae 0x405302
push 0x407014
push 0x407010
call fcn.00405360
add esp, 8
push 0x40701c
push 0x407018
call fcn.00405360
add esp, 8
test ebx, ebx
jne 0x405350
push ebp
mov dword [0x40a6c8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x1c84284
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1c8428e
pushal
call 0x1c84294
pop ebp
sub ebp, 0x10
sub ebp, 0x1884284
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1c842b8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1c842c1
mov eax, 0x1884284
add eax, ebp
add eax, 0x63
mov ecx, 0x5b1
mov edx, 0xb3072ca8
xor byte [eax], dl
inc eax
dec ecx
jne 0x1c842d8
jmp 0x1c842eb
and esp, dword [ebp + 0x23]
and dword [eax + ebp*4 + 0x6929a8a8], edx
push eax
test al, 0xa8
test al, 0xab
adc byte gs:[eax + ebp*4 - 0x7fed5758], ah
test al, 0xa8
test al, 0x5f
dec edx
stosd dword es:[edi], eax
pushal
and ebp, dword [ecx]
movsb byte es:[edi], byte [esi]
test al, 0xa8
test al, 0xab
insd dword es:[edi], dx
clc
clc
ror byte [eax + 0xa], 0x95
test al, 0xc0
or al, 0x37
loop 0x1c842c6
test eax, 0x55c08c84
sub dword [ebp + 9], esi
inc eax
lodsd eax, dword [esi]
test al, 0xa8
test al, 0x41
sahf
test al, 0xa8
test al, 0x25
int3
Function at 0x414de4
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edi
inc esi
add ecx, 4
cmp ecx, edx
jne fcn.00414de4
ret
Function at 0x4812b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4c000]
mov dword [edi + 0x6dd08], 0x2340c001
push edi
jmp 0x4812da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4812e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4812d0
mov eax, 1
add ebx, ebx
jne 0x4812f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x481304
jne 0x481323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481323
dec eax
add ebx, ebx
jne 0x481310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4812e8
add ebx, ebx
jne 0x48131f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x481375
xor ecx, ecx
sub eax, 3
jb 0x48133b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4813aa
sar eax, 1
mov ebp, eax
jmp 0x481346
add ebx, ebx
jne 0x481346
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481314
inc ecx
add ebx, ebx
jne 0x481354
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481314
add ebx, ebx
jne 0x481361
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x481356
jne 0x481372
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x481356
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x481394
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x481386
jmp 0x4812d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x481394
add edi, ecx
jmp 0x4812d6
pop esi
mov edi, esi
mov ecx, 0x2fec
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4813b2
cmp byte [edi], 0x12
jne 0x4813b2
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 0x4813b7
lea edi, [esi + 0x7e000]
mov eax, dword [edi]
or eax, eax
je 0x48142f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x85620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x85728]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4813e4
mov ecx, edi
jns 0x481413
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 + 0x85730]
or eax, eax
je 0x481429
mov dword [ebx], eax
add ebx, 4
jmp 0x481401
call dword [esi + 0x8572c]
mov ebp, dword [esi + 0x85734]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x481463
sub esp, 0xffffff80
jmp 0x4327a4
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219