joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4243d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4477ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x45a014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.CAE_Launcher
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x424542
push str.CAE_Launcher
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x424542
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x424542
push 0
push 0
mov dword [ebp - 0x24], 1
call fcn.0042f735
push 0x4518e4
push 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call fcn.0042f735
push 0x60
call fcn.00427120
mov esi, eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x18], esi
add esp, 0x14
movq qword [esi + 0x28], xmm0
movq qword [esi + 0x40], xmm0
movq qword [esi + 0x58], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
movups xmmword [esi + 0x48], xmm0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401050
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4244fa
mov ecx, esi
call fcn.00424590
push 0x60
push esi
call fcn.00427112
add esp, 8
mov esi, dword [ebp - 0x18]
jmp 0x424525
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x424537
push eax
push 0
call fcn.0042f735
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x424547
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004270e1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426eaa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00426e86
pop esi
leave
ret 8

Function at 0x427f5f
Capabilities:
Parse pe header

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

Function at 0x436235
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44bef4
push 0x44beec
push str.FlsAlloc
push 0x1f
call fcn.00436060
mov esi, eax
add esp, 0x10
test esi, esi
je 0x436269
push dword [ebp + 8]
mov ecx, esi
call dword [0x44821c]
call esi
jmp 0x43626f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4362b3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44bf04
push 0x44befc
push str.FlsGetValue
push 0x21
call fcn.00436060
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4362ea
push dword [ebp + 8]
mov ecx, esi
call dword [0x44821c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4362f2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44bf0c
push 0x44bf04
push str.FlsSetValue
push 0x22
call fcn.00436060
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43632c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44821c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x43bcb8
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 0x43bd55
push ebx
push esi
call fcn.0043bc81
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.00437a18
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x43bd02
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43bd54
push edi
push eax
call fcn.00435326
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43bd22
call fcn.0043504b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43bd53
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00437a18
add esp, 0x20
test eax, eax
jne 0x43bd41
push edi
call fcn.0043504b
jmp 0x43bd49
push ebx
call fcn.0043504b
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 0x43bd58
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x43bd69
pop esi
ret
push ebx
push edi
push esi
call fcn.0043bc81
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00435326
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43bd91
push ebx
push esi
push edi
call fcn.004289c0
add esp, 0xc
push 0
call fcn.0043504b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43c161
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043bda6

Function at 0x43e7ce
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00434d60
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 0x43e83d
cmp esi, dword [ebp - 4]
je 0x43e838
cmp dword [ebp + 0xc], 0
je 0x43e838
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43e815
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043e320
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x43e83f
xor eax, eax
inc eax
jmp 0x43e83f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x43e8a4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45a014]
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.00434d60
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.00434d60
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 0x43e91b
cmp word [ecx], dx
je 0x43e91b
mov eax, dword [0x44c5ec]
push edi
dec eax
push eax
push 0x44c4d8
call fcn.0043e843
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x43e98e
cmp word [eax], dx
je 0x43e98e
mov eax, dword [edi]
test eax, eax
je 0x43e93f
cmp word [eax], dx
je 0x43e93f
lea eax, [ebp - 0x10]
push eax
call fcn.0043e226
jmp 0x43e948
lea eax, [ebp - 0x10]
push eax
call fcn.0043e2c1
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x43e9b8
mov eax, dword [0x44c4d4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x44c1c8
call fcn.0043e843
add esp, 0xc
test al, al
je 0x43e9b8
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x43e983
cmp word [eax], di
je 0x43e983
lea eax, [ebp - 0x10]
push eax
call fcn.0043e226
pop ecx
jmp 0x43e9ba
lea eax, [ebp - 0x10]
push eax
call fcn.0043e2c1
jmp 0x43e980
mov eax, dword [edi]
test eax, eax
je 0x43e9a5
cmp word [eax], dx
je 0x43e9a5
lea eax, [ebp - 0x10]
push eax
call fcn.0043e1db
pop ecx
jmp 0x43e9b8
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 0x43ea83
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0043e6c8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43ea83
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x43ea83
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x43ea83
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43ea10
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004364ce
test ebx, ebx
je 0x43ea7e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004364ce
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43ea83
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 0x43ea83
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00443511
add esp, 0x10
xor eax, eax
inc eax
jmp 0x43ea85
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004270e1
leave
ret
Function at 0x4414cd
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 + 0x45dd58]
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 0x44150d
cmp byte [ebx], 0xa
jne 0x44150d
or byte [edi + eax + 0x28], 4
jmp 0x441512
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 0x441611
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4415f4
inc eax
cmp dl, 0xd
je 0x44153e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x441564
cmp eax, ecx
jae 0x441572
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 0x441526
jmp 0x441611
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 0x4415ef
cmp dword [ebp - 0x10], 0
je 0x4415ef
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x45dd58]
test byte [eax + edi + 0x28], 0x48
je 0x4415c9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4415b4
mov byte [esi], dl
jmp 0x4415c5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45dd58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x441611
cmp byte [ebp - 1], 0xa
jne 0x4415d8
cmp esi, ebx
jne 0x4415d8
mov byte [esi], 0xa
jmp 0x441610
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044143d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x441611
mov byte [esi], 0xd
jmp 0x441610
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x45dd58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44160e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x441611
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44161a
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 + 0x45dd58]
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 0x441660
cmp word [ebx], dx
jne 0x441660
or byte [eax + edi + 0x28], 4
jmp 0x441665
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 0x4417c8
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 0x4417a8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4416a6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4416dc
cmp eax, edx
jae 0x4416ea
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 0x441681
jmp 0x4417c8
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 0x4417a3
cmp dword [ebp - 0x18], 0
je 0x4417a3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x45dd58]
test byte [eax + edi + 0x28], 0x48
je 0x441779
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 0x44173d
mov word [esi], cx
jmp 0x441774
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x45dd58]
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 + 0x45dd58]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x45dd58]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4417c8
pop eax
cmp word [ebp - 4], ax
jne 0x441789
cmp esi, ebx
jne 0x441789
mov word [esi], ax
jmp 0x4417c5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0044143d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4417c8
push 0xd
pop eax
jmp 0x441784
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x45dd58]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4417c2
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4417c8
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 0x443ba5
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.00443b21
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x443d14
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x443d14
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x443cc9
jg 0x443c01
test eax, eax
je 0x443cbf
push 1
push 0x1000
call fcn.00435085
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x443c24
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x443cb6
push 0x8000
push ebx
call fcn.00432a32
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x443c4d
jg 0x443c48
cmp ecx, 0x1000
jb 0x443c4d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043836e
add esp, 0x10
cmp eax, 0xffffffff
je 0x443c92
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 0x443c48
jl 0x443c79
test ecx, ecx
jne 0x443c3a
push dword [ebp - 0xc]
push ebx
call fcn.00432a32
push esi
call fcn.0043504b
add esp, 0xc
xor ebx, ebx
jmp 0x443d22
cmp byte [edi + 0x24], 0
je 0x443ca9
cmp dword [edi + 0x20], 5
jne 0x443ca9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x443cb4
mov ebx, dword [edi + 0x18]
jmp 0x443cb6
xor ebx, ebx
push esi
call fcn.0043504b
pop ecx
jmp 0x443d22
test ecx, ecx
jg 0x443c8b
jl 0x443cc9
test eax, eax
jae 0x443c8b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044143d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x443ce9
cmp byte [edi + 0x1c], 0
je 0x443c8b
jmp 0x443d1a
push ebx
call fcn.0043c79f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x443c8b
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 0x443d22
cmp byte [edi + 0x1c], 0
je 0x443d1f
mov ebx, dword [edi + 0x18]
jmp 0x443d22
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0044143d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x444ec0
Capabilities:
Parse pe header

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

Function at 0x408952
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.00408980
or edi, edi
xor dword [edx], ebx
sub edi, edi
add esi, 1
inc edx
sub esi, 0x649ef381
cmp edx, ecx
jne fcn.00408952
sub edi, 0x1875f647
sub esi, 0xc414a450
ret
Function at 0x405024
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431f3c]
jne 0x40502e
repz ret
jmp fcn.00408e12

Function at 0x40b8ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004069f0
and dword [ebp - 4], 0
cmp dword [0x433870], 0
mov ebx, eax
jne 0x40b95d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ba0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ba0e
push eax
call fcn.0040697e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433870], eax
call esi
push eax
call fcn.0040697e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433874], eax
call esi
push eax
call fcn.0040697e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433878], eax
call esi
push eax
call fcn.0040697e
pop ecx
mov dword [0x433880], eax
test eax, eax
je 0x40b95d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040697e
pop ecx
mov dword [0x43387c], eax
mov eax, dword [0x43387c]
cmp eax, ebx
je 0x40b9b5
cmp dword [0x433880], ebx
je 0x40b9b5
push eax
call fcn.004069f9
push dword [0x433880]
mov esi, eax
call fcn.004069f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b9b5
test edi, edi
je 0x40b9b5
call esi
test eax, eax
je 0x40b9ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b9ac
test byte [ebp - 0xc], 1
jne 0x40b9b5
or dword [ebp + 0x10], 0x200000
jmp 0x40b9ee
mov eax, dword [0x433874]
cmp eax, ebx
je 0x40b9ee
push eax
call fcn.004069f9
pop ecx
test eax, eax
je 0x40b9ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b9ee
mov eax, dword [0x433878]
cmp eax, ebx
je 0x40b9ee
push eax
call fcn.004069f9
pop ecx
test eax, eax
je 0x40b9ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433870]
call fcn.004069f9
pop ecx
test eax, eax
je 0x40ba0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ba10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap esi
and esi, 0x46
or eax, 0x5f
neg ebx
imul edi
imul ebx
not ebx
neg edi
inc ebx
neg eax
or eax, 0x65
inc ebx
and eax, 0x42
or edi, 0x85
imul esi
sbb eax, 0x2c
not ebx
bswap esi
inc eax
or esi, 2
dec edx
rol ebx, 0x67
mov edx, 0x4f
sub ebx, 0x68
sub ebx, 0xc7
inc edx
ror ebx, 0xf8
sbb edx, 0xd2
not edx
ror ebx, 0x33
bswap esi
add eax, 0x6c
ror edx, 0x24
rol edx, 9
add esi, 0xac
imul ebx
dec ebx
and edx, 0x3c
not edi
add esi, 0x1d
mov edx, 0xa1
sub eax, 0x83
rcr ebx, 0x28
bswap esi
bswap eax
dec edi
bswap edx
sub edi, 0x3e
neg edi
rol edx, 0x6f
xor ecx, ecx
xor edi, edi
ror edi, 0x9e
ror esi, 0xcb
inc esi
not edi
inc esi
imul edx
inc eax
or edx, 0xb2
sbb esi, 0x6c
neg eax
not esi
or edi, 0x8e
or edi, 0x50
rcl eax, 0x2b
not eax
rcl edx, 0x8e
dec esi
dec edi
mov esi, 0xfc
imul esi
ror eax, 0x39
dec ebx
imul edi
mov edx, 0x66
dec edx
not ebx
dec ebx
add eax, 0xdf
rcr ebx, 0x31
bswap edx
and ebx, 0x5d
rol ebx, 0x26
bswap eax
rcr eax, 0xfb
not edi
imul edi
not ebx
sbb eax, 0x92
bswap eax
imul edi
rcl edi, 0xbc
imul esi
rcr edi, 0x10
ror edx, 0x9c
bswap edi
rol ebx, 0x97
rcr esi, 0xb8
mov eax, 0xe9
not ebx
bswap edx
mov ecx, dword [ebp + 0xc]
not esi
ror ebx, 0xd
mov eax, 0x20
or esi, 0xbf
add esi, 0xb9
add edx, 0xc8
inc edx
ror eax, 0xa9
or edx, 0x97
dec eax
not edx
neg eax
and eax, 0xa2
inc edi
imul edx
not ebx
sub eax, 0x44
bswap edx
and edi, 0xb8
rcl eax, 0xa2
bswap edx
sbb edx, 0xbb
bswap esi
not edi
add eax, 0x30
add edx, 0xb2
rol ebx, 0x1a
imul esi
imul ebx
or ebx, 0x6a
and esi, 0x9a
sbb edx, 0xfe
sub eax, 0x3b
sub eax, 0x74
bswap edi
add esi, 0xbe
and eax, 0xcd
bswap edx
not edi
not ebx
bswap ebx
or eax, 0x6c
rol edx, 0x9d
rcl esi, 0xaf
bswap edx
bswap edi
dec ebx
not edx
mov ebx, 0x8d
dec esi
mov edi, dword [ebp + 8]
mov esi, ebx
mov ebx, ebx
xor ebx, ebx
not byte [edi]
mov ebx, esi
xor esi, esi
mov eax, esi
xor eax, ebx
xor esi, eax
mov ebx, esi
xor esi, esi
mov esi, eax
xor esi, eax
add byte [edi], 0x26
xor esi, eax
mov ebx, ebx
xor esi, eax
xor esi, ebx
xor ebx, ebx
xor ebx, ebx
mov ebx, esi
xor ebx, esi
xor ebx, eax
sub byte [edi], 0x86
mov ebx, eax
mov eax, eax
mov eax, eax
mov ebx, ebx
mov ebx, eax
mov eax, ebx
mov eax, ebx
xor esi, ebx
mov esi, esi
imul byte [edi]
inc edi
loop 0x4103e0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x6ed578f9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..reloc_1
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x44532fec
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219