joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490895
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 0x4909ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4909ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.004b1e7f
mov esi, eax
test esi, esi
je 0x4909ad
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 0x4909ad
mov ecx, esi
call fcn.00490820
cmp edi, eax
jge 0x4909ad
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 0x490933
mov dword [esp + 0x34], 1
jmp 0x49098e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4909ad
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.0048fde0
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 0x49a330
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x49a396
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x49a396
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x49a377
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x49a720
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x49a758
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x49b430
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x49b479
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x49b8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0049b4a0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0049b520
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0049b520
lea ecx, [esi + 0xc]
call fcn.004b03dc
lea ecx, [esi + 0x10]
call fcn.004b03dc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0049cab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0049cab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0049cab0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b0451
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b0451
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b2822
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b285a
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.004b08ac
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b0884
jmp 0x4b2866
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b3f14
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 0x4b3f56
call fcn.004b9c8a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b3f56
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b3f4d
xor eax, eax
jmp 0x4b3f5e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b3f64
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ba1ba
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 0x4ba1e8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ba206
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ba120
jmp 0x4ba206
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ba206
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ba120
test edi, edi
mov eax, edi
jne 0x4ba1f0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
and eax, 0x757035d9
add byte [ecx - 0x47ae8f09], 0x66
mov dl, 0x12
rcr ah, 1
xchg byte [eax - 0x50718c56], bh
sbb byte [esi - 0x2c], 0x96
dec ecx
leave
push eax
xor ah, dh
jo 0x414acc
aam 0x56
xor dl, byte [eax + 0x68]
xchg byte [eax], dl
adc eax, edx
pop esi
and byte [edi + 0xb98492f], ch
das
dec ecx
invalid
Function at 0x402a93
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x4062a4
cmp dword [edi], ebx
je 0x402b38
push str._mozilla.org_observer_service_1
mov edx, 0x4066d4
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.004012b2
mov eax, dword [ebp - 4]
test eax, eax
je 0x402b18
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.0040124a
mov eax, dword [ebp - 4]
test eax, eax
je 0x402b38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x402b6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x402b6f
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00404045
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.00404780
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x402b8b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x402b98
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x402ba4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x402bb4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x581a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x115000]
push edi
or ebp, 0xffffffff
jmp 0x581ab2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x581ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581aa8
mov eax, 1
add ebx, ebx
jne 0x581acb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x581adc
jne 0x581afb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581afb
dec eax
add ebx, ebx
jne 0x581ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x581ac0
add ebx, ebx
jne 0x581af7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x581b4d
xor ecx, ecx
sub eax, 3
jb 0x581b13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x581b82
sar eax, 1
mov ebp, eax
jmp 0x581b1e
add ebx, ebx
jne 0x581b1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581aec
inc ecx
add ebx, ebx
jne 0x581b2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581aec
add ebx, ebx
jne 0x581b39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x581b2e
jne 0x581b4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x581b2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x581b6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x581b5e
jmp 0x581aae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x581b6c
add edi, ecx
jmp 0x581aae
pop esi
mov edi, esi
mov ecx, 0x5839
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x581b8a
cmp byte [edi], 0x15
jne 0x581b8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x581b8f
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x581c07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18c1f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18c314]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x581bbc
mov ecx, edi
jns 0x581beb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18c31c]
or eax, eax
je 0x581c01
mov dword [ebx], eax
add ebx, 4
jmp 0x581bd9
call dword [esi + 0x18c318]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x581c38
cmp al, 0xef
ja 0x581c2b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x581c0d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x581c1a
mov ebp, dword [esi + 0x18c320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x581c6c
sub esp, 0xffffff80
jmp 0x4aecd0
Function at 0x30004115
Capabilities:
Allocate thread local storage

Disassembly:
push 0x21c
mov eax, 0x30042b40
call fcn.30013068
mov esi, ecx
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
push dword [0x30053bc8]
lea ecx, [esi + 4]
push 0x18
push 0x30004160
push 0x50
call fcn.30012eaa
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x30016d4d
mov eax, esi
call fcn.300130d6
ret
push 0x30016d88
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.30023192
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x11c]
lea edi, [ebp - 0x11c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
nop
nop
push esp
insb byte es:[edi], dx
jae 0x30016dcd
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], sp
popaw
imul ebp, dword [ebp + esi*2 + 0x72], 0xd0680065
insd dword es:[edi], dx
add dword [eax], esi
lea eax, [ebp - 0x218]
push 0x3a
push eax
call fcn.30022471
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
nop
nop
nop
arpl word [edi + 0x75], bp
outsb dx, byte [esi]
je 0x30016e3b
pop edi
jo 0x30016e4e
jb 0x30016dfc
arpl word [ecx + 0x6e], sp
outsb dx, byte [esi]
outsd dx, dword [esi]
je 0x30016e03
popal
jo 0x30016e56
insb byte es:[edi], dx
jns 0x30016e09
outsd dx, dword [esi]
jo 0x30016e51
jb 0x30016e4f
je 0x30016e5f
jb 0x30016e12
daa
sub eax, 0x7420273e
outsd dx, dword [esi]
and byte [ecx + 0x6e], ah
and byte [ebp + 0x6d], ah
jo 0x30016e75
jns 0x30016e23
outsd dx, dword [esi]
bound ebp, qword [edx + 0x65]
arpl word [eax + 0x70], si
outsd dx, dword [esi]
and byte [eax + 0x6f], dh
imul ebp, dword [esi + 0x74], 0x56007265
call [ecx - 0x17]
shr byte [ecx - 1], cl
jmp dword [ecx]
add byte [eax], dh
mov ch, 0xf4
invalid
call 0xf7016e58
test eax, edi
invalid
inc dword [eax]
pop eax

Function at 0x300050fd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x30053c20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x3001f510
push 2
pop ecx
cmp dword [ebp - 0x88], ecx
jne 0x3001f523
push 4
pop eax
cmp dword [ebp - 0x94], eax
je 0x3001f518
cmp dword [ebp - 0x94], 5
jne 0x30005185
cmp dword [ebp - 0x90], 0
je 0x30005172
xor eax, eax
cmp dword [ebp - 0x90], 1
setne al
add eax, 5
mov dword [esi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.300123d7
leave
ret 4
mov dword [esi], 6
jmp 0x30005174
push 4
pop eax
jmp 0x30005176
mov dword [esi], 3
jmp 0x30005174
xor eax, eax
inc eax
cmp dword [ebp - 0x88], eax
jne 0x30005174
cmp dword [ebp - 0x90], 0
je 0x3001f55c
cmp dword [ebp - 0x90], 0xa
je 0x30005172
cmp dword [ebp - 0x90], 0x5a
jne 0x30005174
mov dword [esi], ecx
jmp 0x30005174
and dword [esi], 0
jmp 0x30005174
Function at 0x300054d5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
call fcn.30012f0c
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x30016c32
leave
ret 4
mov ecx, dword [ebp + 8]
call fcn.30012f0c
push eax
push 0x30016c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.30023192
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
popaw
imul ebp, dword [ebp + 0x64], 0x206f7420
jae 0x30016ce5
je 0x30016ca2
arpl word [ebp + 0x72], si
jb 0x30016cec
outsb dx, byte [esi]
je 0x30016caa
imul esi, dword fs:[edx + 0x65], 0x726f7463
jns 0x30016cb4
je 0x30016d05
cmp ah, byte [eax]
and eax, 0xd4680053
insb byte es:[edi], dx
add dword [eax], esi
adc al, 0x11
add byte [eax], dh
std
invalid
les ecx, [edx + ebp*2]
inc ebx
push edi
add byte fs:[eax + 0x24], ch
insd dword es:[edi], dx
inc ebx

Function at 0x300056c4
Capabilities:
Accept command line arguments

Disassembly:
push 0x244
mov eax, 0x3004294c
call fcn.30013068
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x30016c9b
xor esi, esi
cmp dword [ebp - 0x10], esi
jle 0x30005726
push dword [edi + esi*4]
lea ecx, [ebp - 0x38]
call fcn.30012c7b
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.30010c6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.30013250
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x300056f9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.300130d6
ret 4
push 0x30016cd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.30023192
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x144]
lea edi, [ebp - 0x144]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
dec esp
imul ebp, dword [esi + 0x65], 0x72416f54
jbe 0x30016d3d
and byte [esi + 0x61], ah
imul ebp, dword [ebp + 0x64], 0x6d246800
add dword [eax], esi
lea eax, [ebp - 0x24c]
push 0x1c
push eax
call fcn.30022471
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x140]
lea edi, [ebp - 0x140]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
nop
nop
dec ebp
outsd dx, dword [esi]
jne 0x30016d95
and byte gs:[esi + 0x69], ah
insb byte es:[edi], dx
and byte gs:[esi + 0x61], ch
insd dword es:[edi], dx
and byte gs:[ecx + 0x73], ch
and byte [edi + ebp*2 + 0x6e], ch
jb 0x30016d5f
jb 0x30016d5f
je 0x30016da9
popal
outsb dx, byte [esi]
and byte [ebp + 0x41], cl
pop eax
pop edi
push eax
inc ecx
push esp
dec eax
add byte [eax - 0x78], ch
insd dword es:[edi], dx
add dword [eax], esi
jne 0x30016e09
add byte gs:[eax - 0x30], ch
mov dh, 0
add byte [ebx + 0x436a0cc4], al
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401533
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401dc7
sub eax, fcn.00401592
push eax
push fcn.00401592
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107a
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401461
mov eax, ebx
lea ecx, [ebx + 0x1b600]
call fcn.004014b3
mov esi, ecx
mov eax, ebx
or si, 1
cdq
idiv esi
lea edx, [eax + ecx]
mov eax, ebx
lea ebx, [ebp - 2]
or eax, 0x402054
call fcn.00401592
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401533
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
enter 0x11c, 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x430006
Capabilities:
Encode data using xor

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

Disassembly:
cmp ecx, dword [0x4261d0]
jne 0x40629b
repz ret
jmp fcn.0040871c

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4261d0]
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.004074b2
and dword [ebp - 0x14], 0
cmp dword [0x427a30], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427a30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427a34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427a38], eax
call edi
push eax
call esi
mov dword [0x427a40], eax
test eax, eax
je 0x40aeaf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427a3c], eax
mov eax, dword [0x427a3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x427a40], ecx
je 0x40af08
push eax
call esi
push dword [0x427a40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x427a34]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x427a38]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427a30]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406291
leave
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0x7d348fd2
mov ebx, 0x5a78b30b
add ah, byte [edx]
push 0x18
push 0xffffffffffffff98
invalid