joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1be8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4cc0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0xc]
push 0x1c
call fcn.00442331
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ebp + 0x1c]
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x4c], 0xf
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 4], esi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp byte [esi], 0
jne 0x433a8d
xor ecx, ecx
jmp 0x433a9b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433a92
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.00409600
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push dword [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00435310
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x433ade
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00409a60
cmp byte [ebp - 0x10], 0
jne 0x433b95
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp byte [esi], 0
jne 0x433b03
xor ecx, ecx
jmp 0x433b11
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433b08
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00409600
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0x2e
push str.more_than_one_flags_defined_with_the_same_name
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00409600
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00433910
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x433b67
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409a60
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x433b8e
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409a60
push 0
call fcn.00488e9b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x435c80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2438
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
call fcn.00435bf0
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 0
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x150], 0
call fcn.00409700
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x13c], 0x10
mov edx, 0x100
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
xor eax, eax
nop word [eax + eax]
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x435d30
xor dl, dl
mov word [ebp - 0x2c], 0
xor ebx, ebx
lea esi, [ebp - 0x12c]
mov edi, 0x100
mov eax, dword [ebp - 0x130]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x134]
mov byte [ebp + ebx - 0x12c], cl
sub edi, 1
jne 0x435d50
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x435dea
movzx edx, byte [ebp - 0x2c]
movzx ebx, byte [ebp - 0x2b]
nop dword [eax + eax]
inc dl
movzx edx, dl
mov cl, byte [ebp + edx - 0x12c]
add bl, cl
movzx ebx, bl
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [ebp + edx - 0x12c], al
mov byte [ebp + ebx - 0x12c], cl
movzx eax, byte [ebp + edx - 0x12c]
add al, cl
mov ecx, dword [ebp - 0x138]
movzx eax, al
movzx eax, byte [ebp + eax - 0x12c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x435da0
mov eax, dword [ebp - 0x13c]
cmp eax, 0x10
jb 0x435e08
inc eax
lea ecx, [ebp - 0x150]
push eax
push dword [ebp - 0x150]
call fcn.00409a60
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x435e1d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409a60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret 8
Function at 0x436880
Capabilities:
Read file on windows
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a24f8
mov eax, dword fs:[0]
push eax
mov eax, 0x2044
call fcn.00443320
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x2034], eax
mov dword [ebp - 0x2038], ecx
mov dword [ebp - 4], 0
test eax, eax
je 0x436989
cmp dword [ebp + 0x24], 0
jle 0x436989
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
nop dword [eax]
push ecx
lea eax, [ebp - 0x2028]
push eax
call fcn.00436b40
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
push 0
cmovae eax, dword [ebp - 0x2028]
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4369c0
call edi
cmp eax, 0xe7
jne 0x43697e
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
push 0x4e20
cmovae eax, dword [ebp - 0x2028]
push eax
call ebx
test eax, eax
je 0x43697e
mov eax, dword [ebp - 0x2014]
cmp eax, 8
jb 0x4368f0
inc eax
lea ecx, [ebp - 0x2028]
push eax
push dword [ebp - 0x2028]
call fcn.00406ec0
jmp 0x4368f0
lea ecx, [ebp - 0x2028]
call fcn.00406da0
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4369a0
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00406ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [ebp - 0x2028]
call fcn.00406da0
test esi, esi
je 0x436989
push 0
push 0
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x4369fe
push str.SetNamedPipeHandleState_failed._n
call fcn.0040c240
add esp, 4
jmp 0x436989
push 0
lea eax, [ebp - 0x2030]
push eax
push 0x2000
lea eax, [ebp - 0x2010]
push eax
push dword [ebp + 0x24]
push dword [ebp - 0x2034]
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x436a65
call edi
cmp eax, 0xea
jne 0x436989
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
nop word [eax + eax]
push 0
lea eax, [ebp - 0x2030]
push eax
push 0x2000
lea eax, [ebp - 0x2010]
push eax
push esi
call ebx
test eax, eax
jne 0x436a65
call edi
cmp eax, 0xea
je 0x436a40
mov eax, dword [ebp - 0x2030]
lea ecx, [ebp - 0x2050]
shr eax, 1
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.0041a620
mov ecx, dword [ebp - 0x2038]
push eax
call fcn.00408ea0
lea ecx, [ebp - 0x2050]
call fcn.00406da0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x43698b
Function at 0x436ab0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
imul edi, dword [ebp + 8], 0x4028
add edi, ecx
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push edi
push dword [edi + 0x14]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x436aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x436af2
cmp eax, 0x3e5
jne 0x436aff
mov esi, 1
jmp 0x436b01
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x436b01
xor esi, esi
xor eax, eax
mov dword [edi + 0x4024], esi
test esi, esi
sete al
mov dword [edi + 0x4020], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x436ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4cc0a0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0
call fcn.004370f0
test al, al
je 0x4370c2
cmp dword [edi + 0x14], 0x10
jb 0x43702e
mov eax, dword [edi]
jmp 0x437030
mov eax, edi
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4370c2
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x43705f
cmp eax, 2
je 0x43705f
cmp eax, 6
jne 0x4370c2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4370c2
inc eax
push eax
call fcn.0044295a
inc dword [esp + 0x18]
add esp, 4
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0xc], eax
jb 0x437081
mov edi, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push 0
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push ecx
mov byte [ecx + eax], 0
lea ecx, [esp + 0x20]
call fcn.00409100
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00409080
lea ecx, [esp + 0x1c]
call fcn.00409040
jmp 0x4370d3
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00442377
mov esp, ebp
pop ebp
ret 8
Function at 0x437620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x68]
push edi
push 0x64
mov edi, ecx
mov dword [ebp - 0x74], 0
push 0
push eax
mov dword [ebp - 0x70], edi
call fcn.004797f0
add esp, 0xc
mov dword [ebp - 0x70], 0x64
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43768d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0x4c2fc4
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x43769b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [ebp - 0x68], 0
jne 0x4376b6
xor ecx, ecx
jmp 0x4376c9
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4376c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00409600
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x437ec0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x28], 0
mov ebx, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x14], 0x10
jb 0x437ee6
mov eax, dword [esi]
jmp 0x437ee8
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
push eax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00409600
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x437f3b
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00409080
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x437f33
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409a60
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 0x14], 0x10
jb 0x437f46
mov eax, dword [eax]
mov dword [ebp + 8], eax
xor bh, bh
xor eax, eax
nop word [eax + eax]
mov byte [ebp + eax - 0x12c], al
inc eax
cmp eax, 0x100
jb 0x437f50
mov esi, dword [ebp + 8]
push edi
mov word [ebp - 0x2c], 0
xor edi, edi
nop dword [eax + eax]
mov eax, edi
mov bl, byte [ebp + edi - 0x12c]
xor edx, edx
div ecx
lea ecx, [ebp - 0x12c]
movzx eax, byte [edx + esi]
add al, bl
add bh, al
movzx eax, bh
add ecx, eax
movzx eax, byte [ecx]
mov byte [ebp + edi - 0x12c], al
inc edi
mov byte [ecx], bl
mov ecx, dword [ebp - 0x20]
cmp edi, 0x100
jb 0x437f70
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
cmovae eax, dword [ebp - 0x1c]
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
jb 0x437fc7
mov esi, dword [esi]
xor edi, edi
test ecx, ecx
je 0x438037
mov bl, byte [ebp - 0x2b]
mov dl, byte [ebp - 0x2c]
inc dl
mov byte [ebp - 0x2c], dl
movzx eax, dl
lea edx, [ebp - 0x12c]
add edx, eax
add bl, byte [edx]
mov byte [ebp - 0x2b], bl
mov cl, byte [edx]
movzx eax, bl
movzx eax, byte [ebp + eax - 0x12c]
mov byte [edx], al
movzx eax, byte [ebp - 0x2b]
mov byte [ebp + eax - 0x12c], cl
mov bl, byte [ebp - 0x2b]
mov dl, byte [ebp - 0x2c]
movzx ecx, bl
movzx eax, dl
movzx ecx, byte [ebp + ecx - 0x12c]
add cl, byte [ebp + eax - 0x12c]
movzx eax, cl
mov ecx, dword [ebp + 8]
movzx eax, byte [ebp + eax - 0x12c]
xor al, byte [esi + edi]
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 4]
jb 0x437fd3
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00409080
mov eax, dword [ebp - 8]
pop edi
cmp eax, 0x10
jb 0x43805b
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409a60
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438f70
Capabilities:
Check for time delay via gettickcount
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
push 0
push eax
mov edi, edx
mov esi, ecx
xor bl, bl
movups xmmword [ebp - 0x20], xmm0
call fcn.004797f0
xor eax, eax
mov dword [ebp - 0x7c], 0x44
add esp, 0xc
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x438fd3
mov eax, dword [esi]
jmp 0x438fd5
mov eax, esi
cmp word [eax], 0x22
je 0x43901d
push 1
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x20
push eax
mov ecx, esi
call fcn.00409330
cmp eax, 0xffffffff
je 0x43901d
push ecx
lea ecx, [ebp - 0x38]
call fcn.00439710
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x38]
call fcn.00407150
push 1
push 0x4c30a0
lea ecx, [ebp - 0x38]
call fcn.00407020
jmp 0x439030
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x439030
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004072e0
push 2
push 0x4c30a4
lea ecx, [ebp - 0x38]
call fcn.00407020
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x38]
call fcn.00407150
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43908c
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
call esi
push dword [ebp - 0x1c]
call esi
jmp 0x4390a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call edi
cmp esi, eax
jne 0x4390a2
call edi
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x4390b7
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.00406ec0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x439640
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044295a
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmovae edx, dword [ebp + 8]
add ecx, ecx
push ecx
push edx
push esi
call fcn.00479270
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x4390d0
push ecx
push ecx
mov dword [ebp - 0x10], ecx
call fcn.004886d0
add esp, 0x28
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x1c]
pop esi
cmp eax, 8
jb 0x4396e9
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00406ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x439e90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2960
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x4ce834]
push edi
mov edi, ecx
test eax, eax
jne 0x43a063
push 0xd
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov dword [ebp - 0x1c], 0x41753040
mov dword [ebp - 0x18], 0x58763866
mov dword [ebp - 0x14], 0x7535646c
mov byte [ebp - 0x10], 0x35
mov dword [ebp - 0x20], 0xf
call fcn.0040b880
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00438890
cmp dword [eax + 0x14], 0x10
jb 0x439f10
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x439f2f
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00409a60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp eax, 0x10
jb 0x439f5d
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00409a60
movaps xmm0, xmmword [0x4c3570]
lea eax, [ebp - 0xa4]
push 0x25
push eax
movups xmmword [ebp - 0xa4], xmm0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x20], 0xf
movaps xmm0, xmmword [0x4c35f0]
push 0
push 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x3d674258
mov byte [ebp - 0x80], 0x3d
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.0040b880
lea edx, [ebp - 0x4c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00438890
cmp dword [eax + 0x14], 0x10
jb 0x439fda
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x68]
mov dword [0x4ce834], eax
pop esi
cmp ecx, 0x10
jb 0x43a004
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x7c]
call fcn.00409a60
mov eax, dword [0x4ce834]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp ecx, 0x10
jb 0x43a039
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
call fcn.00409a60
mov eax, dword [0x4ce834]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
test eax, eax
jne 0x43a063
mov eax, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x1b
push edi
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43b150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp edi, eax
je 0x43b182
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00409700
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x208], 0x200
jb 0x43b194
mov esi, dword [esi]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x43b1e8
cmp byte [ebp - 0x204], al
jne 0x43b1c0
xor ecx, ecx
jmp 0x43b1d9
lea ecx, [ebp - 0x204]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b1d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00409600
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442377
mov esp, ebp
pop ebp
ret

Function at 0x43bd70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2c20
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
push 0x39
xor eax, eax
mov dword [ebp - 4], 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov bl, 1
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406f20
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043aa50
add esp, 0xc
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push ecx
push 0
push 0x20006
push 1
push 0
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43be12
xor bl, bl
jmp 0x43be43
push 4
lea eax, [ebp + 0x24]
push eax
push 4
push 0
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x44]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43be58
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406ec0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x43be81
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406ec0
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x43beaa
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00406ec0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x43bed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2c58
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4cc0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43bf92
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43bf32
mov eax, dword [ecx]
jmp 0x43bf34
mov eax, ecx
push 0xffffffffffffffff
push 0
push 0x4cd5c0
mov byte [eax], 0
call fcn.00409700
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43bf69
mov eax, dword [ecx]
jmp 0x43bf6b
mov eax, ecx
push 0xffffffffffffffff
push 0
push 0x4cd62c
mov byte [eax], 0
call fcn.00409700
mov dword [ebp - 4], 0xffffffff
call fcn.00430dd0
add esp, 0x30
mov byte [0x4ce802], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret