joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449125
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44923d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44923d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0045dd3f
mov esi, eax
test esi, esi
je 0x44923d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44923d
mov ecx, esi
call fcn.00449090
cmp edi, eax
jge 0x44923d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4491c3
mov dword [esp + 0x34], 1
jmp 0x44921e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44923d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00448630
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45e6e2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45e71a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045c799
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045c771
jmp 0x45e726
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45fdd7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45fe19
call fcn.00465891
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45fe19
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45fe10
xor eax, eax
jmp 0x45fe21
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045fe27
pop edi
pop esi
pop ebx
ret 4
Function at 0x465dc1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x465def
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465e0d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465d27
jmp 0x465e0d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465e0d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465d27
test edi, edi
mov eax, edi
jne 0x465df7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408e4f
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add eax, 0xb5
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 0xa15]
add ebp, 0xfffff67f
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x24]
xor edx, 0x2e56
push edi
mov edi, dword [esp + 0x14]
lea eax, [ebp + 0x5d0]
add edi, 0x10d2
mov dword [esp + 0x14], ebp
add ecx, 0x189c
cmp edi, eax
jle 0x408ed7
mov eax, ecx
xor eax, 0x1ed1
cmp edx, eax
jg 0x408ed7
cmp dword [esi + 0xa4], 0x5069
jb 0x408ecd
mov eax, dword [0x93537c]
mov eax, dword [eax + 0x68]
sub eax, dword [esi + 0x28]
add eax, dword [0x972e48]
mov dword [esi + 0x18], eax
jmp 0x408ed7
mov dword [esi + 0x90], 0x40c050
lea eax, [ebx + 0x621]
cmp edx, eax
jg 0x408fff
xor ebp, ebp
mov edx, dword [0x93537c]
mov eax, dword [0x972e44]
dec eax
add eax, dword [edx + 0x58]
add dword [edx + 0xb8], eax
mov eax, dword [esi + 0x90]
mov ebx, dword [eax + ebp]
add ebp, 4
imul ebx, dword [esi + 0x64]
mov eax, dword [0x972e14]
add eax, dword [0x972e44]
xor eax, 0xc1796
sub dword [esi + 0xb8], eax
mov eax, dword [esi + 0x68]
mov edx, ebx
mov ecx, dword [0x93537c]
xor eax, 0xf47fe
shr edx, 0x18
or dword [ecx + 0x7c], eax
mov eax, dword [esi + 0xd0]
add eax, 0x98562b8
xor dword [esi + 8], eax
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x94]
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [esi + 0x78]
mov eax, dword [0x972e6c]
add eax, 0xfffe7f10
shr edx, 0x10
add eax, dword [esi + 0x3c]
or dword [esi], eax
mov eax, dword [esi + 0xa8]
inc eax
imul eax, dword [0x972e98]
mov dword [0x972e98], eax
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x94]
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [esi + 0x78]
mov ecx, dword [esi + 0x94]
mov eax, dword [0x972e40]
shr edx, 8
mov byte [eax + ecx], dl
mov ecx, dword [0x972e40]
inc ecx
mov dword [0x972e40], ecx
mov eax, dword [esi + 0x94]
mov byte [ecx + eax], bl
inc dword [0x972e40]
mov ecx, dword [0x93537c]
mov eax, dword [esi + 0x28]
add eax, 0x1dd037e6
xor dword [0x972e80], eax
mov eax, dword [ecx + 0x20]
xor eax, 1
imul eax, dword [ecx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [0x93537c]
mov eax, dword [0x972e28]
add eax, 0xff7a05f0
xor dword [ecx + 0xd0], eax
cmp ebp, 0x50ac
jl 0x408ee7
jmp 0x409064
mov eax, dword [0x972e74]
mov ebp, dword [0x972de8]
imul eax, ebp
cmp ebx, eax
jbe 0x409064
mov edx, dword [0x93537c]
mov eax, dword [edx + 0xcc]
or eax, dword [esp + 0x18]
and eax, dword [esi + 0x6c]
cmp ebp, eax
ja 0x409064
and ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x58]
xor ecx, ebx
sub eax, dword [0x972dc8]
push ecx
mov ecx, dword [esi]
or eax, 0x3537
push eax
lea eax, [edi + 0x345d]
and ecx, 0x2eea
sub ecx, dword [esi + 0xb4]
push eax
mov eax, dword [edx + 0x40]
or eax, dword [esi + 0xa4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
xor edi, 0x719
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x409071
Capabilities:
Create pipe

Disassembly:
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x18]
add eax, 0xba8
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
xor ebp, 0x871
mov dword [esp + 0x18], eax
xor esi, 0x1bd2
mov eax, dword [esp + 0x24]
push edi
mov edi, ebx
lea ecx, [ebp - 0xa56]
add eax, 0x9e9
xor edi, 0x270f
xor ebx, 0x2d9
cmp eax, ecx
je 0x4090eb
mov eax, dword [0x93537c]
mov eax, dword [eax + 0x4c]
cmp eax, dword [0x972e20]
mov eax, dword [esp + 0x14]
je 0x4090d6
mov dword [eax + 0x64], 0x1c3b55a7
add esi, 0x652
mov dword [eax + 0x90], 0x6d61c0
jmp 0x409176
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x7c]
sub eax, 0x322e
xor eax, dword [esp + 0x1c]
cmp dword [edx + 0xd0], eax
jae 0x409176
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + 0x20]
add eax, 0xffffbe19
push eax
mov eax, edi
and ecx, 0x3537
sub eax, ebp
push eax
mov eax, dword [0x93537c]
or ecx, dword [eax + 0x74]
mov eax, edi
sub eax, dword [edx + 0xb4]
push ecx
push eax
lea eax, [ebx + 0x23dd]
push eax
mov eax, dword [esp + 0x30]
and eax, edi
push eax
mov eax, dword [edx + 0x40]
sub eax, dword [esp + 0x34]
and eax, dword [0x972e14]
push eax
imul eax, dword [0x972df0], 0x1c3e
and eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov eax, dword [0x93537c]
mov ecx, 0x270f
mov eax, dword [eax + 0x20]
and eax, 0x20d0
sub ecx, eax
add dword [0x972e44], ecx
pop edi
lea eax, [esi - 0xe2f]
pop esi
pop ebp
pop ebx
ret
Function at 0x409ad7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, edx
mov ecx, dword [ebp + 8]
xor eax, 0xa5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
lea esi, [ecx - 0x2fa9]
add eax, 0xb27
add edi, 0xffffc90e
cmp dword [ebp + 0x14], eax
jne 0x409c08
xor edx, 0x1ed1
xor ecx, 0x1d87
cmp ecx, edx
jge 0x409be9
mov eax, dword [0x93537c]
xor ebx, ebx
mov esi, dword [ebp + 0x20]
mov dword [eax + 0xd4], 0x972dc8
mov edx, dword [0x93537c]
mov eax, dword [0x972e80]
add eax, 0x7e3c45
mov ecx, dword [edx + 0x4c]
sub ecx, dword [esi + 0x80]
add eax, ecx
mov dword [0x972e80], eax
mov eax, dword [edx + 0x98]
mov ecx, dword [eax + ebx]
mov eax, dword [0x972e60]
xor ecx, dword [0x972e50]
mov dword [ebx + eax], ecx
add ebx, 4
mov eax, dword [0x972e64]
add dword [esi + 0x88], eax
mov ecx, dword [0x93537c]
mov eax, dword [ecx + 0x60]
sub eax, 0x85fa10
add dword [ecx + 0x3c], eax
mov eax, dword [0x972e28]
add eax, 0xff7a05f0
xor dword [0x972e14], eax
cmp ebx, 0x1798dc
jl 0x409b2f
mov ecx, dword [0x93537c]
mov ebx, dword [0x972e60]
mov dword [0x972e54], ebx
mov edx, dword [esi + 0x58]
cmp dword [ecx + 0x60], edx
je 0x409bda
push dword [esi + 0xe4]
mov eax, dword [ecx + 0xd8]
add eax, dword [esi + 0x94]
push eax
push dword [ecx + 0xd4]
call ebx
mov dword [esi + 0xc0], eax
jmp 0x409c08
mov eax, dword [esi + 0x3c]
xor eax, edx
add eax, 0x26933
add dword [esi + 0x60], eax
jmp 0x409c08
mov ecx, dword [ebp + 0x20]
mov eax, dword [0x972e4c]
xor eax, esi
add dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x60]
add dword [ecx + 0x4c], 0xffffd8f1
or eax, 0x2627
imul edi, eax
xor edi, 0x2400
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x409ca0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
mov edx, esi
push edi
mov edi, dword [ebp + 8]
xor edx, 0x195b
add edi, 0xfffffe07
lea eax, [edi + 0x88]
cmp edx, eax
je 0x409d88
lea ecx, [edx - 0xbcc]
lea eax, [esi - 0x89c]
cmp eax, ecx
jle 0x409d53
mov ecx, dword [0x93537c]
mov edx, dword [ebp + 0x10]
mov eax, dword [ecx + 0xd0]
cmp eax, dword [0x972e70]
je 0x409d0f
mov eax, dword [0x972e48]
mov ecx, dword [ecx + 0xa4]
add eax, 0xff7d074c
add eax, ecx
imul eax, dword [edx + 0x20]
mov dword [edx + 0x20], eax
mov ecx, dword [0x93537c]
jmp 0x409d25
mov eax, dword [0x972e28]
sub eax, dword [edx + 0xa4]
add eax, 0x11eeb
or dword [0x972e14], eax
cmp dword [edx + 0x20], 0x17699
jb 0x409d40
mov eax, dword [ecx + 0xdc]
add eax, dword [ecx + 0x28]
imul eax, dword [ecx + 0x7c]
mov dword [ecx + 0x7c], eax
jmp 0x409d88
mov eax, dword [ecx + 0x68]
sub eax, dword [ecx + 0xb8]
sub eax, 0x36f00
mov dword [ecx + 0x38], eax
jmp 0x409d88
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [0x93537c]
and ecx, edi
or ecx, 0x20d0
cmp dword [eax + 0x7c], ecx
je 0x409d88
mov eax, dword [0x972de0]
or edx, 0x36f2
and eax, 0x2e37
imul eax, eax, 0x2400
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov eax, dword [ebp + 0x18]
pop edi
add eax, 0xb44
pop esi
pop ebp
ret
Function at 0x40a87d
Capabilities:
Get hostname

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
lea esi, [eax + 0x240]
add eax, 0xffffd409
push edi
mov edi, dword [esp + 0x34]
lea edx, [ecx - 0x89c]
mov dword [esp + 0x28], esi
lea esi, [ecx - 0x1ab4]
mov ecx, eax
mov dword [esp + 0x20], eax
xor ecx, 0x2bf7
mov dword [esp + 0x10], edx
lea eax, [edi - 0x998]
mov dword [esp + 0x14], esi
lea ebx, [edi + 0xe87]
mov edi, dword [esp + 0x28]
cmp eax, ecx
jg 0x40a9a1
mov ecx, dword [0x93537c]
mov eax, esi
xor eax, 0x2863
cmp ebx, eax
jg 0x40a906
mov eax, dword [0x972e98]
sub edx, 0x1295
add eax, 0x9912f0e
xor dword [0x972e00], eax
jmp 0x40a9a7
mov eax, dword [ecx + 0x44]
or eax, dword [ecx + 0x3c]
or eax, edi
cmp ebx, eax
jb 0x40a9a7
mov eax, dword [ebp + 0xa8]
and eax, 0x20d0
add dword [ecx + 0x4c], eax
mov ecx, dword [0x93537c]
mov edx, dword [0x972e70]
imul edx, dword [esp + 0x10]
mov eax, dword [ecx + 0xdc]
add eax, dword [ebp + 0xc8]
mov esi, dword [ecx + 0x74]
and esi, dword [ecx + 0x58]
mov ecx, dword [ebp + 0x84]
and ecx, dword [esp + 0x20]
imul edi, eax, 0x2e56
mov eax, dword [esp + 0x34]
sub eax, dword [0x972de8]
add eax, 0x621
push eax
mov eax, dword [esp + 0x2c]
add eax, ebx
imul eax, eax, 0x20d0
push eax
push ecx
push edx
push ebp
push esi
push edi
call fcn.0040937e
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov edi, dword [esp + 0x28]
xor ecx, edi
push ecx
mov ecx, dword [ebp]
xor ecx, eax
and ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [0x93537c]
cmp dword [0x972e80], 0x14792
jb 0x40a9c7
mov eax, dword [ebp + 0xb8]
sub eax, 0x1e072
add dword [ecx + 0x38], eax
mov ecx, dword [0x93537c]
cmp dword [ebp + 0x28], 0x17d3d
jb 0x40a9d7
add dword [ecx + 0x38], 0xfffffded
push ebp
push esi
lea eax, [edx + 0x81c]
push eax
mov eax, ebx
xor eax, 0x2af
push eax
lea eax, [ebx - 0x607]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x2a8c
push eax
lea eax, [esi + 0x136a]
push eax
call fcn.0040b865
add esp, 0x1c
lea eax, [edi + 0x8bb]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x40aa15
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
inc dword [0x972ee0]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ebx
push ebp
dec dword [ecx]
mov ebp, dword [ecx + 0x47c0]
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x1c]
imul eax, esi, 0xc
movzx ebx, word [0x972ed8]
xor ebx, 0x167e
push edi
mov eax, dword [eax + edx]
mov dword [esp + 0x10], eax
imul eax, esi, 6
movzx eax, word [eax + ecx]
xor eax, dword [0x972ec0]
mov dword [esp + 0x20], eax
movzx eax, word [ecx + esi*2]
add esi, esi
mov ecx, dword [0x972ef8]
cdq
idiv dword [ecx + esi*8]
mov edx, dword [0x972ef4]
mov cl, byte [ebp + 0x5ed0]
mov edi, eax
xor byte [edx + ebx], cl
mov ebx, dword [esp + 0x10]
mov eax, dword [0x972ee8]
mov ecx, dword [esp + 0x18]
imul esi, dword [0x972eb0], 3
shl ebx, 4
mov ecx, dword [ecx]
mov dl, byte [ebx + 0x185c]
sub dl, byte [eax*4 + 0x378]
mov eax, dword [0x972efc]
movzx eax, byte [eax + ecx*4]
movzx ecx, dl
imul ecx, eax
or cl, byte [0x972ec0]
add byte [esi + edi], cl
mov ecx, dword [0x972ef4]
lea eax, [ecx + 9]
add eax, eax
mov esi, dword [ebp + eax*8]
xor eax, eax
add esi, 0x8ef
inc ecx
mov dword [0x972ef4], ecx
imul ecx, dword [0x972eb0], 0xc
dec byte [eax]
mov al, byte [eax]
movzx eax, al
movzx edx, word [eax*4 + 0x37c]
mov eax, dword [0x972ef8]
mov eax, dword [ecx + eax]
imul eax, dword [0x972ebc]
push eax
push edx
push esi
call fcn.0040bad6
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [ebx + ebp], eax
mov ebx, dword [esp + 0x18]
movzx eax, word [edi]
mov esi, dword [ebx + eax*4]
jmp 0x40ab54
mov eax, dword [esp + 0x1c]
mov edx, 0x818
sub edx, dword [eax + 0x2278]
imul eax, dword [ebx], 0xc
movzx ecx, word [eax + 0x185c]
mov eax, dword [0x972ed4]
or eax, dword [0x972ef4]
push eax
push ecx
push edx
call fcn.0040bad6
mov ecx, dword [ebx]
add esp, 0xc
inc esi
mov word [edi + ecx*2], ax
mov eax, dword [0x972eb0]
dec eax
mov dword [0x972eb0], eax
cmp esi, dword [eax*4 + 0x185c]
je 0x40ab1e
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
mov eax, dword [eax*4 + 0x340]
xor eax, 0x1b74
pop ebx
pop ecx
ret
Function at 0x40b670
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea esi, [eax - 0x322e]
mov edi, ecx
lea edx, [eax - 0x15f0]
xor ebp, 0x1152
mov dword [esp + 0x14], edx
xor edi, 0x1451
lea ebx, [ecx - 0x2465]
mov dword [esp + 0x1c], ebx
cmp esi, ebp
je 0x40b7cd
mov edi, dword [esp + 0x2c]
lea eax, [ebp - 0x309]
push eax
lea eax, [edi + 0x63f]
push eax
mov eax, esi
xor eax, 0x2fa9
push 0x972dc8
push eax
mov eax, esi
xor eax, 0x20d0
push eax
call fcn.00408146
mov dword [esp + 0x28], eax
xor esi, 0x36f2
push 0x972dc8
lea eax, [edi + 0xe1a]
push eax
lea eax, [ebx + 0x36f2]
push eax
push esi
lea eax, [edi + 0xb27]
push eax
lea eax, [edi + 0xd86]
push eax
call fcn.00408cd1
mov ecx, dword [0x972e80]
add esp, 0x2c
mov esi, dword [esp + 0x18]
xor ebx, 0x2627
mov edi, eax
cmp ecx, dword [0x972e6c]
jb 0x40b73d
mov ecx, dword [0x972e20]
xor ecx, dword [0x972dd0]
add ecx, 0x21b7e58b
xor dword [esi + 0x1c], ecx
mov eax, dword [esi]
sub eax, 0x73267
mov dword [esi + 0x50], eax
mov eax, 0xf67a854d
sub eax, dword [esi + 0xd0]
mov ecx, dword [0x93537c]
add dword [ecx + 0x50], eax
mov ecx, 0xffe99cf5
mov eax, dword [0x93537c]
sub ecx, dword [eax + 0xdc]
lea eax, [ebp - 0x18f9]
add dword [esi], ecx
push dword [0x93537c]
push eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x1c]
add eax, 0xe1c
xor eax, 0xba
push eax
lea eax, [ebp - 0x58f]
push eax
lea eax, [ebx + 0x10cb]
xor eax, 0x3cc
push eax
call fcn.00408821
mov ecx, dword [esi + 0x50]
add esp, 0x18
jmp 0x40b7c3
mov eax, ecx
imul eax, ecx
add dword [esi + 0xa0], eax
mov eax, dword [esi + 8]
dec eax
xor dword [0x972e80], eax
inc ecx
cmp ecx, dword [esi + 0x54]
jbe 0x40b7ad
jmp 0x40b85a
mov ebx, dword [esp + 0x18]
mov eax, edx
mov ecx, dword [0x93537c]
sub eax, dword [ebx + 0x74]
cmp esi, eax
jae 0x40b82f
mov eax, edi
or eax, edx
mov edx, dword [ecx + 0x7c]
cmp edx, eax
jne 0x40b82f
lea eax, [edx + 0x2a8c]
imul eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebx + 0xd0]
and eax, edi
and eax, 0x2fa9
push eax
mov eax, dword [0x93537c]
mov eax, dword [eax + 0x70]
xor eax, dword [0x972e28]
add eax, esi
push eax
lea eax, [edi + esi]
imul eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [0x93537c]
mov eax, dword [ecx + 0xa4]
and eax, esi
cmp esi, eax
jne 0x40b85a
mov eax, dword [ebx + 0xdc]
sub esi, edi
or esi, dword [esp + 0x1c]
xor eax, edi
or eax, dword [ebx + 0xac]
xor dword [ecx + 0x20], eax
mov eax, dword [0x93537c]
xor dword [eax + 0x74], esi
lea eax, [edi + 0x13e8]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40b865
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ebp
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [eax - 0x2fa8]
mov dword [esp + 0x1c], ecx
xor ebx, 0x3cc
mov ecx, dword [esp + 0x2c]
add eax, 0xffffff42
xor ecx, 0x1c3e
mov dword [esp + 0x10], ebx
lea edx, [edi - 0x2a8c]
xor edi, 0x524
mov dword [esp + 0xc], edx
cmp ecx, eax
jge 0x40ba54
lea eax, [ebx - 0x707]
push esi
mov esi, dword [esp + 0x34]
cmp edi, eax
jle 0x40b924
mov eax, 0x1a12d3
sub eax, dword [esi + 0xb8]
add dword [0x972e00], eax
mov eax, dword [0x93537c]
add dword [eax + 0x38], 0xffffeb07
mov edx, dword [0x93537c]
mov eax, dword [0x972e30]
add eax, 0xff669428
mov ecx, dword [edx + 0x80]
add ecx, eax
mov eax, dword [edx + 0xa8]
add eax, 0x40
push eax
push ecx
push dword [esi + 0x38]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [esp + 0x10]
lea ecx, [eax + 0x8000]
mov eax, dword [0x93537c]
mov dword [eax + 0x98], ecx
jmp 0x40b949
mov eax, dword [esi + 0x58]
or eax, 0x2a8c
cmp dword [0x972e20], eax
jb 0x40b949
mov eax, dword [0x93537c]
mov eax, dword [eax + 0x68]
and eax, 0x2eec
sub eax, edi
or dword [0x972e4c], eax
mov ecx, dword [esp + 0x20]
lea eax, [ebp - 0x1ab4]
cmp ecx, eax
jge 0x40ba53
lea eax, [edx + 0x2bf7]
cmp edi, eax
jle 0x40ba53
lea eax, [edi - 0x899]
cmp ebp, eax
jle 0x40b986
mov eax, dword [esi + 0xd0]
add eax, 0x98562b8
mov dword [esi + 0x78], eax
jmp 0x40ba53
mov eax, ebp
mov dword [esp + 0x28], edx
and eax, dword [esi + 0x60]
mov edi, edx
cmp edx, eax
jne 0x40ba53
mov ebx, dword [0x972e0c]
mov eax, dword [esi + 0xc8]
add eax, ebx
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x40ba37
mov ebx, ecx
or ebx, ebp
mov eax, dword [esi + 0x28]
imul eax, ecx
push ebp
push eax
mov eax, dword [0x93537c]
mov ecx, dword [eax + 0xa4]
xor ecx, 0x2fa9
sub ecx, dword [eax + 0xbc]
mov eax, dword [0x972e4c]
or eax, 0x2400
xor eax, dword [0x972de0]
push ecx
push eax
mov eax, dword [esi + 0x60]
or eax, ebp
sub eax, dword [0x972e28]
push ebx
push eax
imul eax, dword [0x972e78], 0x25d6
and eax, dword [0x972e14]
push eax
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc8]
inc ecx
add eax, dword [0x972e0c]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x20]
jne 0x40b9b7
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov ebx, dword [0x972e0c]
mov ecx, ebp
add edi, 4
and ecx, dword [esi + 0x60]
cmp edi, ecx
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x20]
je 0x40b99f
mov ebx, dword [esp + 0x14]
pop esi
pop edi
xor ebx, 0x1b09
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret
Function at 0x1ae29b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1e06546
pushal
push 0x684ea206
lea esp, [esp + 0x40]
je fcn.020365e3
btc dx, bp
mov esi, dword [eax + 0x3c]
inc dl
lea edx, [ebp - 0x223463c4]
add esi, eax
bsf dx, ax
mov edx, dword [esi + 0x78]
jmp 0x1e0a421

Function at 0x1e0507c
Capabilities:
Encode data using xor

Disassembly:
add ecx, edx
bt edx, ebp
clc
mov dword [ebp - 0x10], ecx
lea ecx, [ebx - 0x666ffd2d]
mov ecx, dword [ebp + 0xc]
bt eax, 6
call fcn.020df82a
adc al, 0
sbb dword [eax], eax
sbb byte [eax + 7], al
add byte [edx], bl
rcr byte [ebx], 0x80
sbb byte [eax], al
sbb dword [eax + 0x1a], eax
adc byte [edi], 0x40
sbb al, byte [eax]
pop es
add byte [eax], cl
inc eax
sbb al, 0x40
pop es
add byte [edi], dl
rcr byte [edx], 0xc0
sbb al, 0x40
sbb al, byte [eax]
sbb byte [eax], al
pop es
add byte [edx], bl
sbb byte [edx], 0xc0
sbb al, 0
pop es
add byte [edi], dl
sbb byte [eax], 0x40
pop es
add byte [edx], bl
add byte [edx], bl
rcl byte [edi], 0xc0
pop ss
inc eax
sbb al, 0
sbb byte [eax + 0x18], al
add byte [edi], al
add byte [ecx], bl
inc eax
sbb al, byte [eax + 0x1c0007]
sbb dword [eax + 0x1a], eax
add byte [edi], 0
sbb al, 0
sbb dword [eax], eax
sbb byte [eax + 7], al
add byte [eax], bl
add byte [0x17801a40], bl
inc eax
sbb al, byte [eax + 0x19]
inc eax
pop ss
rol byte [edi], 0
sbb al, byte [eax]
sbb dword [eax + 0x1a], eax
sbb byte [ecx], 0xc0
pop es
add byte [edx], bl
add byte [ecx], bl
inc eax
pop ss
sbb byte [ebx], 0x80
pop ss
inc eax
sbb eax, dword [eax + 0x7401d]
or byte [eax + 0x1b], al
sar bh, 0xff
dec eax
das
cld
mov byte [0x354ab552], ah
dec ebx
xor dl, byte [esi - 0x56]
dec edx
dec ebx
xor esi, dword [esi - 0x206a4eb4]
jne 0x1e050df
cmp byte [edi + 0x3c], bl
invalid