joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422800
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426548
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490c48]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x490fac]
cmp eax, 0xffffffff
jne 0x42283b
xor ebx, ebx
jmp 0x422844
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x422885
cmp dword [ebx + 0x30], 0
jne 0x4228cb
cmp dword [ebx + 0xc], 0
jne 0x4228d1
push 0x4218c0
push 0x498574
call fcn.00421b50
mov eax, dword [0x490fac]
add esp, 8
cmp eax, 0xffffffff
je 0x422885
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test ebx, ebx
je 0x4228b7
lea ecx, [ebx + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4228b7
mov eax, dword [ebx]
mov edx, dword [eax]
push 0
mov ecx, ebx
call edx
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x422919
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x422903
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x4228d1
cmp dword [ebx + 0x30], 0
je 0x42285a
lea esi, [ebx + 0x14]
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx]
test esi, esi
jne 0x4229c2
call fcn.00417536
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x422946
call fcn.00417536
cmp dword [edi + 0x10], 0
je 0x4229a2
test esi, esi
jne 0x4229c9
call fcn.00417536
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x422961
call fcn.00417536
cmp dword [edi + 0x18], 0
je 0x4229a2
test esi, esi
jne 0x4229cd
call fcn.00417536
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x42297c
call fcn.00417536
mov ebp, dword [edi + 0x10]
test esi, esi
jne 0x4229d1
call fcn.00417536
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x422994
call fcn.00417536
mov edx, dword [ebp]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
mov ecx, ebp
call edx
push edi
push esi
lea eax, [esp + 0x24]
lea esi, [ebx + 0x14]
push eax
mov ecx, esi
call fcn.0040dd90
cmp dword [ebx + 0x30], 0
jne 0x422926
jmp 0x422854
mov eax, dword [esi]
jmp 0x42293c
mov eax, dword [esi]
jmp 0x422957
mov eax, dword [esi]
jmp 0x422972
mov eax, dword [esi]
jmp 0x42298a
Function at 0x422a70
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x10]
push ecx
push 4
push eax
push 0x4229e0
push 0
push 0
call fcn.00424fdb
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x422a99
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x422ac0
cmp eax, 0xffffffff
je 0x422ac0
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x10042e69
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10056e38]
add eax, 0xfffffd5c
mov dword [0x10056e38], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10056e34], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10056e38], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10042eec
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x10056e34], eax
mov dword [ebp - 0x14], ecx
jmp 0x10042eb8
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10042fe7
jmp 0x10042ec0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x10042f19
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x10042eec
mov eax, dword [ebp - 0x24]
mov ecx, 0x35f0
mov dword [0x10056e34], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jne 0x10042ec0
mov eax, 0x199d
mov dword [0x10056e34], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x10042ec0
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x10042ec0
mov eax, 0xfffff9e7
mov dword [0x10056e34], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x10042ec0
mov eax, 0x29da
mov dword [0x10056e34], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x10042ec0
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x10042ecf
jmp 0x10042ec0
mov eax, 1
mov dword [0x10056e38], 0xfa2
mov dword [ebp - 0x14], eax
jmp 0x10042eb8
Function at 0x100430f4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10056e40], 0
mov byte [0x10056e44], 0
mov dword [0x10056e38], 0xdd8
mov dword [0x10056e34], 0x1867
mov dword [0x10056e3c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1004315a
mov eax, dword [ebp - 0x20]
add eax, 0xffffef7b
mov dword [0x10056e34], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10056e3c]
add eax, 1
mov dword [0x10056e3c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1004315a
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x10056e34], 0x1c52
mov dword [0x10056e3c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
add ecx, 0xfffff22e
mov dword [0x10056e48], 0
mov edi, dword [0x10056e40]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10056e48], esi
mov dword [0x10056e34], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x10056e40], edx
mov esi, dword [ebp - 0x2c]
mov cl, byte [ebx + esi]
mov byte [0x10056e44], cl
mov dword [0x10056e34], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10056e44]
mov edx, dword [0x10056e40]
mov byte [ebx + edx], cl
mov edx, dword [0x10056e38]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x10056e34], ecx
mov esi, dword [0x10056e3c]
add esi, 1
mov dword [0x10056e3c], esi
cmp esi, 0x100
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], esi
jl 0x100431a1
jmp 0x10043145
Function at 0x10043518
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10056e38], 0xbaf
mov dword [0x10056e34], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100445c0]
mov dh, byte [eax + 0x10044591]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x10043543
lea eax, [ebp - 0x20]
mov dword [0x10056e38], 0x8c2
mov dword [0x10056e34], 0x2310
mov dword [ebp - 0x30], eax
call fcn.10043666
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100426a5
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1004365e
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10056e34]
add ecx, 0xffffee8b
mov dword [0x10056e34], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1004326b
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x10056e38], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10056e34], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x5c], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1004365e
mov eax, dword [0x10056e38]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x193b
add eax, 0xfffff237
mov dword [0x10056e34], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1004373c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10043911
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x10056e34], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10056e38], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x100437ff
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1004380a
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10056e34], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x10056e38], 0x114b
mov dword [ebp - 0x24], edx
jmp 0x100437ff
mov al, byte [ebp - 0x31]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x38]
add edx, 1
mov ah, byte [ebp - 0x39]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x10043824
jmp 0x1004384d
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x39], cl
jne 0x100437d4
mov al, byte [ebp - 0x39]
test al, 1
jne 0x100437a3
jmp 0x1004385a
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x30]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
jb 0x1004380a
jmp 0x100437ff
Function at 0x10043a9b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10056e3c], 0
mov dword [0x10056e40], 0
mov dword [0x10056e4c], 0
mov dword [0x10056e34], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10043bf6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10056e3c], edx
mov dword [0x10056e34], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10056e40], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10056e44], cl
mov ebx, dword [0x10056e38]
add ebx, 0xfffff27d
mov dword [0x10056e34], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10056e44]
mov edx, dword [0x10056e40]
mov byte [ebx + edx], cl
mov edx, dword [0x10056e3c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10056e40]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10056e4c], ecx
mov dword [0x10056e34], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x10056e34], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10043bf6
mov eax, dword [0x10056e3c]
mov ecx, dword [0x10056e40]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10043afe
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10043bfe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x10056e34], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10042823
lea ecx, [0x10043095]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], 0x152600
mov dword [0x10056e38], 0x894
mov edx, dword [0x10056e20]
mov dword [esp + 0x40], edx
mov edx, dword [0x10056e24]
mov dword [esp + 0x20], edx
mov edx, dword [0x10056e28]
mov dword [esp + 0x48], edx
mov edx, dword [0x10056e2c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10056e30]
mov dword [esp + 0x58], edx
mov dword [0x10056e34], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10043c9c
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x10043cbf
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10043cd3
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10043c9c
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov dword [0x10056e38], 0xe2d
mov dword [0x10056e34], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
call fcn.10042e69
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x10043c94
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10043518
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10056e38], 0x5b1
mov dword [esp + 0x10], eax
jmp 0x10043c94
Function at 0x417fd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x425044]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.004054f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [esp + 8]
sub edx, 0x41
lea ebx, [esp + 4]
call fcn.00414aa0
mov ebx, dword [esp + 4]
call fcn.00414ba0
cmp eax, 0xffffffff
jne 0x41804f
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00401148
add esp, 0x218
ret
push esi
call fcn.00417da0
mov ecx, dword [esp + 0x218]
add esp, 4
pop ebx
xor ecx, esp
call fcn.00401148
add esp, 0x218
ret

Function at 0x401440
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43601c
push 0x80000002
call dword [0x43882c]
test eax, eax
jne 0x40146c
mov eax, 0xd903
jmp 0x401516
mov dword [0x438824], 0x24e1
mov ecx, dword [0x438824]
sub ecx, 0x24e1
mov dword [0x438824], ecx
mov edx, 1
test edx, edx
je 0x401516
mov eax, dword [0x438824]
cmp eax, dword [ebp + 0xc]
jb 0x4014a1
jmp 0x401516
cmp dword [0x438824], 0
jne 0x4014bf
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4014bf
xor eax, eax
jmp 0x401516
mov ecx, dword [ebp + 8]
add ecx, dword [0x438824]
mov edx, dword [ecx]
add edx, dword [0x438824]
mov eax, dword [ebp + 8]
add eax, dword [0x438824]
mov dword [eax], edx
mov dword [ebp - 8], 0x3c615bf
mov ecx, dword [0x438824]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 2]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [0x438824]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x438824]
add edx, 4
mov dword [0x438824], edx
jmp 0x401488
mov esp, ebp
pop ebp
ret

Function at 0x401a60
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x438810]
push dword [0x438810]
push 0x401a7b
jmp fcn.004015b0
Function at 0x30004c3b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [section..cdata]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
push esi
je 0x30004d71
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x30004d71
push edi
mov edi, dword [ebp + 0x20]
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x400
push eax
mov dword [ebp - 0x40c], 1
mov dword [esi], ebx
call fcn.30005e72
mov dword [ebp - 0x408], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x408], ebx
je 0x30004cb9
push dword [ebp - 0x408]
mov eax, edi
shr eax, 0x17
and eax, 1
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi], eax
cmp dword [esi], ebx
jne 0x30004d30
mov eax, edi
shr eax, 0x1a
not eax
test al, 1
je 0x30004d30
lea eax, [ebp + 0x1c]
push eax
push edi
call fcn.30006033
test eax, eax
je 0x30004d1b
push dword [ebp - 0x408]
mov eax, edi
shr eax, 0x19
and eax, 1
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp + 0x1c]
push eax
push edi
call fcn.30005e1a
cmp ebx, 5
jne 0x30004d1b
cmp dword [ebp + 8], 0
jne 0x30004d1b
mov dword [ebp + 8], 1
xor ebx, ebx
jmp 0x30004c95
cmp dword [esi], 0
je 0x30004d2e
xor eax, eax
cmp ebx, 0xb7
setne al
mov dword [ebp + 0xc], eax
xor ebx, ebx
mov eax, dword [esi]
cmp eax, ebx
pop edi
je 0x30004d3c
cmp eax, 0xffffffff
jne 0x30004d47
mov dword [esi], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x40c], ebx
cmp dword [ebp + 0x10], ebx
je 0x30004d5d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x408]
call fcn.30004b82
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x30004d69
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40c]
jmp 0x30004d73
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.300063f9
leave
ret 0x1c

Function at 0x300063f9
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [section..cdata]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.300063f9
pop edi
add ebp, 0x2a8
leave
ret
cmp ecx, dword [section..cdata]
jne 0x300062d1
ret
Function at 0x30023000
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x16fafe
mov edi, 0x30023016
push 0x6c4
pop esi
xor dword [esi + edi], ebx
sub esi, 3
dec esi
jne 0x30023010
nop
push ss
xchg dword [edi], edx
add dh, bh
cli
push ss
add dh, bh
cli
push ss
xor bh, al
wait
push ss
add byte [esi + 0x2001663], bl
pop edx
push ss
add dh, bh
dec edx
adc al, 0
invalid
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1002aaee
pop dword [ebp - 0x4c]
mov eax, 0x63c5797b
add eax, 0xac3d3173
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x32531d8d
sub dword [ebp - 0x5c], 0xe400d842
mov dword [ebp - 0x58], 0xb3dc94d7
add dword [ebp - 0x58], 0x7e56b76e
mov dword [ebp - 0x54], 0xc026bb2c
add dword [ebp - 0x54], 0x8c258902
mov dword [ebp - 0x50], 0xb45ce7e9
add dword [ebp - 0x50], 0x4ba31817
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xa3de30d1
add eax, 0x6c248f67
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xc7fd36e
sub dword [ebp - 0x5c], 0x980d6a18
mov dword [ebp - 0x58], 0x870a5dce
sub dword [ebp - 0x58], 0x459dfc59
mov dword [ebp - 0x54], 0x93ab6b06
sub dword [ebp - 0x54], 0x303bfe9a
mov dword [ebp - 0x50], 0x36410ec2
add dword [ebp - 0x50], 0xc9bef13e
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x8d677500
sub eax, 0x7d64b4d8
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x37a38
push 0
call eax
mov ecx, 0x4caf
xor ebx, ebx
add ebx, eax
mov esi, 0x10039600
add esi, dword [ebp - 0x4c]
mov edx, 0xa8766f2a
sub edx, 0x22d5ce76
xor dword [ebp - 0x40], 0x19fc053f
mov edi, dword [esi]
sub dword [ebp - 0x10], 0xc7963b65
sub edi, edx
sub dword [ebp - 0x34], edi
mov dword [ebx], edi
add dword [ebp - 0x24], 0x1f72d4ac
add ebx, 0x379c22e
sub ebx, 0x379c22a
add esi, 0x776e481a
add esi, 0x8891b7ea
loop 0x1002ac06
add eax, 0xd776f82
add eax, 0xf289b60d
xor ebx, ebx
add ebx, eax
add eax, 0xc80268e5
add eax, 0x37fd9720
mov ecx, 0xd1b7db9f
sub ecx, 0xc1b7db9f
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret