joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100382e0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1006b0dc]
xor eax, esp
mov dword [esp + 8], eax
sub esp, 0x14
movaps xmm0, xmmword [0x10058850]
movups xmmword [esp + 4], xmm0
mov dword [esp], 0x100666d0
call dword [sym.imp.WININET.dll_InternetOpenW]
xor esi, esi
test eax, eax
je 0x100383ab
mov ebp, eax
mov eax, dword [esp + 0x20]
sub esp, 0x18
movaps xmm0, xmmword [0x1005b340]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
je 0x100383ab
mov ebx, eax
push 0x201
call fcn.10038f70
add esp, 4
mov esi, eax
cmp byte [esp + 0x24], 0
je 0x1003839f
mov dword [esp], ebp
lea ebp, [esp + 4]
push ebp
push 0x201
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1003839c
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x10038392
push ebp
push 0x201
push esi
push ebx
call edi
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1003839c
test eax, eax
je 0x10038380
mov byte [esi + ecx], 0
jmp 0x10038380
mov ebp, dword [esp]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push ebp
call edi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10038f79
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10038430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [0x1006b0dc]
xor eax, esp
mov dword [esp + 8], eax
cmp esi, 5
jl 0x100384cb
mov edi, dword [esp + 0x1c]
call fcn.10001470
lea eax, [esp + 4]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.100014b0
mov eax, esi
and eax, 7
xor ecx, ecx
cmp esi, 8
jb 0x10038496
mov edx, esi
and edx, 0xfffffff8
xor ecx, ecx
nop
mov dword [edi + ecx], 0x90909090
mov dword [edi + ecx + 4], 0x90909090
add ecx, 8
cmp edx, ecx
jne 0x10038480
mov edx, dword [esp + 0x20]
test eax, eax
je 0x100384a7
add ecx, edi
mov byte [ecx], 0x90
inc ecx
dec eax
jne 0x100384a0
sub edx, edi
add edx, 0xfffffffb
mov byte [edi], 0xe9
mov dword [edi + 1], edx
call fcn.10001470
mov eax, esp
push eax
push dword [esp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.100014b0
cmp esi, 5
setge bl
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10038f79
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
ret

Function at 0x100384f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp edi, 5
jl 0x10038541
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
lea eax, [edi + 5]
push 0x40
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push edi
push ebx
push eax
call fcn.1003be10
add esp, 0xc
mov eax, ebx
sub eax, esi
add eax, 0xfffffffb
mov byte [esi + edi], 0xe9
mov dword [esi + edi + 1], eax
push edi
push ebp
push ebx
call fcn.10038430
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10043f40
Capabilities:
Parse pe header

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

Function at 0x10045ef7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100390f0
mov eax, dword [0x1006b0dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1004b15b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10045f39
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10046095
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10039040
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1006e8b0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1004f656
mov ecx, dword [esi*4 + 0x1006e8b0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1004608e
cmp eax, dword [ecx + edi + 0x24]
jne 0x1004608e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004608e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1004f656
add esp, 0x14
test edx, edx
jl 0x1004608e
jg 0x10046004
test eax, eax
jb 0x1004608e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1004608e
jl 0x1004601e
cmp dword [ebp - 0x1008], eax
ja 0x1004608e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1004603c
test ebx, ebx
je 0x10046075
cmp ecx, edi
jae 0x10046075
mov al, byte [ecx]
cmp al, 0xd
jne 0x10046056
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10046062
cmp byte [ecx + 1], 0xa
jne 0x10046062
inc ecx
jmp 0x10046062
movzx eax, al
movsx eax, byte [eax + 0x1006b7e0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1004603c
cmp edx, ebx
jne 0x1004603c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10046093
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10038f79
leave
ret

Function at 0x10048250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004827d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004827d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10048570
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005c5b4
push 0x1005c5ac
push str.FlsAlloc
push 0x1f
call fcn.100488fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100485a4
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x100485aa
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100485ee
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005c5c4
push 0x1005c5bc
push str.FlsGetValue
push 0x21
call fcn.100488fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10048625
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1004862d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005c5cc
push 0x1005c5c4
push str.FlsSetValue
push 0x22
call fcn.100488fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10048667
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1004c551
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 0x1004c5ee
push ebx
push esi
call fcn.1004c5f1
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.1004c455
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1004c59b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1004c5ed
push edi
push eax
call fcn.1004a223
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1004c5bb
call fcn.10049ac6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1004c5ec
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1004c455
add esp, 0x20
test eax, eax
jne 0x1004c5da
push edi
call fcn.10049ac6
jmp 0x1004c5e2
push ebx
call fcn.10049ac6
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 0x1004f117
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 + 0x1006e8b0]
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 0x1004f157
cmp byte [ebx], 0xa
jne 0x1004f157
or byte [edi + eax + 0x28], 4
jmp 0x1004f15c
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 0x1004f25b
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1004f23e
inc eax
cmp dl, 0xd
je 0x1004f188
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1004f1ae
cmp eax, ecx
jae 0x1004f1bc
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 0x1004f170
jmp 0x1004f25b
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 0x1004f239
cmp dword [ebp - 0x10], 0
je 0x1004f239
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1006e8b0]
test byte [eax + edi + 0x28], 0x48
je 0x1004f213
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1004f1fe
mov byte [esi], dl
jmp 0x1004f20f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1006e8b0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1004f25b
cmp byte [ebp - 1], 0xa
jne 0x1004f222
cmp esi, ebx
jne 0x1004f222
mov byte [esi], 0xa
jmp 0x1004f25a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1004f5f8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1004f25b
mov byte [esi], 0xd
jmp 0x1004f25a
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1006e8b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1004f258
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1004f25b
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1004f264
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 + 0x1006e8b0]
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 0x1004f2aa
cmp word [ebx], dx
jne 0x1004f2aa
or byte [eax + edi + 0x28], 4
jmp 0x1004f2af
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 0x1004f412
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 0x1004f3f2
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1004f2f0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1004f326
cmp eax, edx
jae 0x1004f334
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 0x1004f2cb
jmp 0x1004f412
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 0x1004f3ed
cmp dword [ebp - 0x18], 0
je 0x1004f3ed
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1006e8b0]
test byte [eax + edi + 0x28], 0x48
je 0x1004f3c3
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 0x1004f387
mov word [esi], cx
jmp 0x1004f3be
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1006e8b0]
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 + 0x1006e8b0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1006e8b0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1004f412
pop eax
cmp word [ebp - 4], ax
jne 0x1004f3d3
cmp esi, ebx
jne 0x1004f3d3
mov word [esi], ax
jmp 0x1004f40f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1004f5f8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1004f412
push 0xd
pop eax
jmp 0x1004f3ce
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1006e8b0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1004f40c
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1004f412
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 0x10056604
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.1005679b
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10056773
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10056773
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10056728
jg 0x10056660
test eax, eax
je 0x1005671e
push 1
push 0x1000
call fcn.1004a0db
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10056683
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10056715
push 0x8000
push ebx
call fcn.100564fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100566ac
jg 0x100566a7
cmp ecx, 0x1000
jb 0x100566ac
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1004dee6
add esp, 0x10
cmp eax, 0xffffffff
je 0x100566f1
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 0x100566a7
jl 0x100566d8
test ecx, ecx
jne 0x10056699
push dword [ebp - 0xc]
push ebx
call fcn.100564fe
push esi
call fcn.10049ac6
add esp, 0xc
xor ebx, ebx
jmp 0x10056781
cmp byte [edi + 0x24], 0
je 0x10056708
cmp dword [edi + 0x20], 5
jne 0x10056708
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10056713
mov ebx, dword [edi + 0x18]
jmp 0x10056715
xor ebx, ebx
push esi
call fcn.10049ac6
pop ecx
jmp 0x10056781
test ecx, ecx
jg 0x100566ea
jl 0x10056728
test eax, eax
jae 0x100566ea
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1004f5f8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10056748
cmp byte [edi + 0x1c], 0
je 0x100566ea
jmp 0x10056779
push ebx
call fcn.10051470
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100566ea
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 0x10056781
cmp byte [edi + 0x1c], 0
je 0x1005677e
mov ebx, dword [edi + 0x18]
jmp 0x10056781
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1004f5f8
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a541
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d624]
jne 0x42a54b
repz ret
jmp fcn.0042dbdf

Function at 0x4331c9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d624]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042d287
and dword [ebp - 0x14], 0
cmp dword [0x46f384], 0
mov dword [ebp - 0x18], eax
jne 0x43327c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433324
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433324
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46f384], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46f388], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46f38c], eax
call edi
push eax
call esi
mov dword [0x46f394], eax
test eax, eax
je 0x43327c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46f390], eax
mov eax, dword [0x46f390]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4332d5
cmp dword [0x46f394], ecx
je 0x4332d5
push eax
call esi
push dword [0x46f394]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4332d5
test ebx, ebx
je 0x4332d5
call edi
test eax, eax
je 0x4332cc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4332cc
test byte [ebp - 8], 1
jne 0x4332d5
or dword [ebp + 0x10], 0x200000
jmp 0x433308
mov eax, dword [0x46f388]
cmp eax, dword [ebp - 0x18]
je 0x433308
push eax
call esi
test eax, eax
je 0x433308
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433308
mov eax, dword [0x46f38c]
cmp eax, dword [ebp - 0x18]
je 0x433308
push eax
call esi
test eax, eax
je 0x433308
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46f384]
call esi
test eax, eax
je 0x433324
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433326
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a541
leave
ret

Function at 0x430001
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, reloc.kernel32.dll_LockFile
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
invalid
invalid

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401250
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x840ed8]
shr eax, 3
push esi
mov esi, dword [0x83fe28]
test eax, eax
jbe 0x4012c1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov dword [ebp - 4], eax
jmp 0x401280
cmp dword [0x840ed8], 0x959
jne 0x4012b0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call fcn.00401050
add esi, 8
sub dword [ebp - 4], 1
jne 0x401280
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401640
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
cmp dword [0x840ed8], 0x400
push ebx
push esi
push edi
jne 0x4016a3
xor ecx, ecx
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov eax, dword [esp + 0x10]
push eax
push ecx
push str.savuficukupa
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [esp + 0x1c]
call fcn.00401790
lea esi, [esp + 0x1c]
call fcn.004017b0
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
nop
call edi
cmp esi, 0x2af2a3
jle 0x4016c2
cmp ebx, 0x78abdb45
jne 0x4016cb
inc esi
cmp esi, 0x1c5d
jl 0x4016b0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x4016fd
inc esi
cmp esi, 0x4f6a4
jl 0x4016e0
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40171d
cmp ebx, 0x785074d5
jne 0x401726
inc esi
cmp esi, 0x11915
jl 0x401709
mov edx, dword [0x421e9c]
mov dword [0x840ed8], edx
call fcn.004013c0
mov esi, dword [sym.imp.KERNEL32.dll_SetSystemTime]
mov edi, 0x3078f
cmp dword [0x840ed8], 0x51f
jne 0x40176d
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
mov word [esp + 0x10], ax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
call esi
sub edi, 1
jne 0x401742
mov eax, dword [0x83fe28]
mov dword [0x84046c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402790
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4210c8]
jne 0x40279a
repz ret
jmp fcn.00405f5e