joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d7e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x44d7fa
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c46a
add esp, 4
lea ecx, [ebp - 0x10]
push eax
call fcn.0048d417
push 0x4d9ec8
lea eax, [ebp - 0x10]
push eax
call fcn.00462ee3
int3

Function at 0x44dcb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x44ddf0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x451a34
Capabilities:
Create process on windows

Disassembly:
push 0x50
mov eax, 0x4ae276
call fcn.0045ed95
mov esi, dword [0x4e7ed0]
mov dword [ebp - 0x14], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.00404507
test al, al
je 0x451a65
push edi
call fcn.00451b4c
test al, al
je 0x451b44
xor ebx, ebx
mov dword [ebp - 0x5c], 0x3c
mov ecx, edi
mov dword [ebp - 0x58], 0x100000
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0x4ca548
call fcn.0040a2c4
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x3c]
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x451b41
push 0x30
call fcn.0045e68b
mov ebx, eax
pop ecx
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [esi + 0x1c]
lea esi, [ebx + 0x20]
mov dword [ebx], eax
mov byte [ebx + 4], al
mov byte [ebx + 0x18], al
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0xd]
push eax
mov dword [ebp - 0x20], esi
call fcn.00405f98
and dword [esi], 0
and dword [esi + 4], 0
pop ecx
call fcn.004339ce
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], esi
mov edi, dword [esi]
mov dword [esi], ebx
test edi, edi
je 0x451b1a
lea ecx, [edi + 0x20]
call fcn.00432d40
push 0x30
push edi
call fcn.0045e3f8
pop ecx
pop ecx
mov esi, dword [esi]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi + 0x28]
push dword [esi + 0x2c]
mov dword [esi], eax
mov byte [esi + 0x18], 1
mov eax, dword [ecx]
push 0x3e8
push 0x7512
call dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
setne al
call fcn.0045ed5e
ret 4
Function at 0x451b4c
Capabilities:
Query environment variable

Disassembly:
push 0x268
mov eax, 0x4ae2b2
call fcn.0045edc9
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x26c], ebx
push 0x101
push str.SoftwareClassesCLSID054AAE20_4BEA_4347_8A35_64A533254A9DLocalServer32
push eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], ebx
call fcn.00419f20
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004628a0
add esp, 0xc
mov dword [ebp - 0x264], 0x104
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x274]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x4c6c68
call fcn.00419e46
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004097aa
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.0040a2c4
push eax
call fcn.00409761
pop ecx
push eax
mov ecx, edi
call fcn.0040ae6d
push ecx
push ecx
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.0041f04c
lea ecx, [ebp - 0x230]
call 0x420ff2
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.004046b8
lea ecx, [ebp - 0x230]
call fcn.0040a301
mov esi, str._commonprogramfiles_
push esi
call fcn.00409761
pop ecx
push eax
push ebx
push esi
mov ecx, edi
call fcn.00404d55
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x451d47
push 0x14
push eax
mov ecx, edi
call fcn.0040928b
lea ecx, [ebp - 0x230]
call fcn.0040a557
push ebx
push ebx
push 0x4cab58
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x451cb4
push esi
lea ecx, [ebp - 0x230]
call fcn.00406d8a
lea ecx, [esi - 1]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040ae6d
push esi
push ebx
lea ecx, [ebp - 0x230]
call fcn.0040aa73
push eax
push 0x4cab58
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x451d28
push 0x4ca75c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x451d28
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x451d28
lea ecx, [ebp - 0x264]
push ecx
push ebx
push ebx
push 0x4be930
call eax
test eax, eax
jns 0x451cf4
lea ecx, [ebp - 0x230]
call fcn.0040a301
jmp 0x451d56
push dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
call fcn.004097aa
push eax
lea ecx, [ebp - 0x230]
call fcn.004046b8
lea ecx, [ebp - 0x260]
call fcn.0040a301
push dword [ebp - 0x264]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
push dword [ebp - 0x268]
call fcn.00406e8a
lea ecx, [ebp - 0x230]
call fcn.0040a301
mov ecx, edi
call fcn.00404507
neg al
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x248]
call fcn.0040a301
cmp dword [ebp - 0x274], 0
je 0x451d76
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.0045ed73
ret 4
Function at 0x452074
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x4d75b0
call fcn.0045f390
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x4520db
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x4520db
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x4520db
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x4520db
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4520e4
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.0045f3d6
ret

Function at 0x4558ba
Capabilities:
Enumerate process modules

Disassembly:
push 0x434
mov eax, 0x4ae3dc
call fcn.0045edc9
mov edi, edx
mov dword [ebp - 0x440], ecx
push 0x2801
mov dword [ebp - 0x43c], 0x2800
call fcn.0045e7d6
pop ecx
mov ecx, dword [ebp - 0x43c]
mov ebx, eax
lea eax, [ebp - 0x43c]
inc ecx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x45598d
xor esi, esi
test dword [ebp - 0x43c], 0xfffffffc
jbe 0x45598d
push 0x208
lea eax, [ebp - 0x420]
push eax
push dword [ebx + esi*4]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
cmp eax, 4
jbe 0x45597f
lea eax, [ebp + eax*2 - 0x428]
push str..tmp
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
jne 0x45597f
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.004097aa
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x438]
and dword [ebp - 4], 0
push eax
call fcn.004042c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040a301
mov eax, dword [ebp - 0x43c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x455915
push 1
push ebx
call fcn.0045e3f8
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0045ed73
ret
Function at 0x457c9a
Capabilities:
Enumerate processes

Disassembly:
push 0x2a0
mov eax, 0x4ae605
call fcn.0045edc9
mov ebx, edx
mov dword [ebp - 0x2ac], ebx
mov edi, ecx
mov dword [ebp - 0x2a8], edi
push 0x228
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a4], 0x22c
push 0
push eax
call fcn.004628a0
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x457e1d
push 0xfde9
push 0xffffffffffffffff
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x60]
call fcn.00417443
mov ebx, eax
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x29c]
push 0x4cb7c8
push edi
call fcn.0040a771
push 0xa
mov edi, eax
lea eax, [ebp - 0x30]
push 0x20
push eax
push esi
call fcn.0046474e
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0040a771
add esp, 0x28
push ebx
push 0x4cb7d0
push eax
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a60a
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x60]
call fcn.00409fcb
cmp dword [ebp - 0x29c], 0
je 0x457df6
push dword [ebp - 0x29c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x457df6
mov edx, esi
lea ecx, [ebp - 0x78]
call fcn.0041a67b
push 0xfde9
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
call fcn.0040a5a3
add esp, 0xc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0040a301
lea ecx, [ebp - 0x48]
call fcn.00404507
test al, al
jne 0x457de3
push 0x4cb7d4
lea eax, [ebp - 0x48]
push eax
push 0x4cb3e4
push dword [ebp - 0x2a8]
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a60a
pop ecx
pop ecx
push eax
call fcn.0040a771
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00409fcb
mov edi, dword [ebp - 0x2a8]
push 0x4c9a18
push edi
call fcn.0040a771
mov ebx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a4]
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x457cec
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.0045ed73
ret
Function at 0x458a99
Capabilities:
Get graphical window text

Disassembly:
push 0x430
mov eax, 0x4ae69b
call fcn.0045edc9
mov esi, ecx
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], esi
mov eax, dword [ebp + 8]
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 0x43c], esi
mov dword [esi], eax
call fcn.00414de3
and dword [ebp - 4], 0
lea ebx, [esi + 0x1c]
mov ecx, ebx
call fcn.00414de3
lea eax, [esi + 0x34]
mov ecx, eax
mov dword [ebp - 0x438], eax
call fcn.0040a557
xor eax, eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov byte [ebp - 4], 3
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
mov byte [esi + 0x54], al
add esi, 0x4c
mov eax, dword [ebp - 0x434]
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x434]
push 0x80
mov dword [ecx + 0x50], eax
lea eax, [ebp - 0x110]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x434]
push dword [eax]
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0xfde9
push 0xffffffffffffffff
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x430]
call fcn.00417443
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.0041cb8a
lea ecx, [ebp - 0x430]
call fcn.00409fcb
push 0xfde9
push 0xffffffffffffffff
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x430]
call fcn.00417443
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.0041cb8a
lea ecx, [ebp - 0x430]
call fcn.00409fcb
push dword [esi]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x458c0a
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x458c03
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.0040d362
pop ecx
test eax, eax
lea esi, [ebp - 0x418]
pop ecx
mov ecx, dword [ebp - 0x438]
lea edx, [eax + 2]
cmovne esi, edx
push esi
call fcn.0040f04a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x434]
call fcn.0045ed73
ret 4
Function at 0x458c18
Capabilities:
Enumerate gui resources

Disassembly:
push 0x22c
mov eax, 0x4ae6e4
call fcn.0045edc9
mov esi, edx
mov dword [ebp - 0x22c], ecx
cmp dword [esi + 0x1c], 0
je 0x458d86
lea ecx, [ebp - 0x238]
call fcn.00403fe0
and dword [ebp - 4], 0
lea eax, [ebp - 0x238]
mov ecx, dword [esi + 0x1c]
push SysReAllocString
push 0x7c
push eax
call fcn.00416d13
and dword [ebp - 0x228], 0
add esp, 0xc
and dword [ebp - 0x224], 0
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
push 0x458df0
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x458d70
lea ecx, [ebp - 0x21c]
call fcn.00408fc1
mov byte [ebp - 4], 2
xor edi, edi
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x228]
sar eax, 2
test eax, eax
je 0x458d37
lea ecx, [ebp - 0x238]
xor ebx, ebx
call fcn.0040425a
test eax, eax
je 0x458d23
mov esi, dword [ebp - 0x228]
lea ecx, [ebp - 0x238]
push ebx
call fcn.0040423d
mov ecx, eax
call fcn.0040a2c4
mov ecx, dword [esi + edi*4]
push eax
add ecx, 0x34
call fcn.0040a2c4
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
je 0x458d0c
lea ecx, [ebp - 0x238]
inc ebx
call fcn.0040425a
cmp ebx, eax
jb 0x458cc9
jmp 0x458d23
mov edx, dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
push 0
mov edx, dword [edx + edi*4]
call fcn.00458e44
pop ecx
mov eax, dword [ebp - 0x224]
inc edi
sub eax, dword [ebp - 0x228]
sar eax, 2
cmp edi, eax
jb 0x458cb8
lea ecx, [ebp - 0x21c]
call fcn.00404485
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.0040a8de
push ecx
mov ecx, dword [ebp - 0x22c]
mov edx, str.wndinfo.txt
push esi
push eax
call fcn.00459d6c
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.00408f9c
lea ecx, [ebp - 0x228]
call fcn.00421017
lea ecx, [ebp - 0x238]
call fcn.00404285
call fcn.0045ed73
ret

Function at 0x475e76
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475b35

Function at 0x475e81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475cb8
Function at 0x47cc32
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047c8cc
Function at 0x49e93e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0236
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4df06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x41c]
call fcn.00408fc1
and dword [ebp - 4], 0
push 0x4bf3d0
call fcn.004431bd
add eax, 0x20
mov ecx, eax
call fcn.0040a2c4
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00408f55
pop ecx
pop ecx
push eax
call fcn.00408f55
pop ecx
pop ecx
lea ecx, [ebp - 0x41c]
call fcn.0040a274
xor dl, dl
mov ecx, eax
call fcn.00414f63
movzx eax, al
test eax, eax
je 0x49e9d0
lea ecx, [ebp - 0x41c]
call fcn.0040a274
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41c]
call fcn.00408f9c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e3e7
mov esp, ebp
pop ebp
ret

Function at 0x49fdd2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x49fdf6
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret
Function at 0x4a2915
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0b46
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4df06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d8], ecx
and dword [ebp - 0x2c0], 0
push 0x24c
push 0
lea eax, [ebp - 0x2bc]
push eax
call fcn.004628a0
add esp, 0xc
push str.Thumbnails
call fcn.004431bd
add eax, 0x20
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004066b2
add esp, 0xc
and dword [ebp - 4], 0
push str..jpg
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004066b2
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a2c4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x4a2b2f
mov eax, dword [ebp - 0x2c0]
and eax, 0x10
je 0x4a29d8
jmp 0x4a2b16
push 0x4c1118
lea eax, [ebp - 0x294]
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
jne 0x4a29f9
jmp 0x4a2b16
push 0x4c111c
lea eax, [ebp - 0x294]
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
jne 0x4a2a1a
jmp 0x4a2b16
push str.backgorund.jpg
lea eax, [ebp - 0x294]
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
jne 0x4a2a3b
jmp 0x4a2b16
push str.background.jpg
lea eax, [ebp - 0x294]
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
jne 0x4a2a5c
jmp 0x4a2b16
push 0x4c1164
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004066b2
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x28]
push eax
call fcn.0040675d
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0040a301
push 0
push 0x80
push 3
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0040a2c4
mov edx, SysReAllocString
mov ecx, eax
call fcn.0044a2e0
mov dword [ebp - 0x2c8], eax
push 0
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0044a386
cmp dword [ebp - 0x2d4], 0
jne 0x4a2b0a
lea ecx, [ebp - 0x28]
call fcn.0040a2c4
mov ecx, eax
call fcn.0044a366
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a301
lea edx, [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2c4]
call fcn.0044a3a6
test eax, eax
jne 0x4a29c3
mov ecx, dword [ebp - 0x2c4]
call fcn.0044a3cb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a301
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040a301
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e3e7
mov esp, ebp
pop ebp
ret

Function at 0x4a350b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push str.Event_UnCompress
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4e7d60], eax
push 0
push 0
push dword [0x4e7d60]
push 0x4a34e4
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret
Function at 0x4a3549
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4df06c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.00403c25
mov ecx, eax
call fcn.004a109d
call fcn.004431bd
movzx eax, byte [eax + 0x6c]
test eax, eax
jne 0x4a363c
call fcn.004431bd
movzx eax, byte [eax + 0x6d]
test eax, eax
je 0x4a363c
call fcn.00443966
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004628a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0x40
and dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], str.runas
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0x4c16c0
and dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 5
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x228]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4a3631
xor al, al
jmp 0x4a363e
mov eax, dword [ebp - 0x210]
mov dword [0x4e7d64], eax
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e3e7
mov esp, ebp
pop ebp
ret
Function at 0x4a5069
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x368
call fcn.0040b2a2
cmp eax, dword [ebp + 8]
jne 0x4a508f
push 1
mov ecx, dword [ebp - 4]
call fcn.004a4cc4
jmp 0x4a50e7
mov ecx, dword [ebp - 4]
add ecx, 0x370
call fcn.0040b2a2
cmp eax, dword [ebp + 8]
jne 0x4a50bc
push 5
push 0
push 0
push str.https:__go.ie.sogou.com_fwlink_linkid0003
push 0x4c3494
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4a50e7
mov ecx, dword [ebp - 4]
add ecx, 0x374
call fcn.0040b2a2
cmp eax, dword [ebp + 8]
jne 0x4a50e7
push 5
push 0
push 0
push str.https:__go.ie.sogou.com_fwlink_linkid0004
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a70c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1275
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4df06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
and dword [ebp - 0x1c], 0
push 0x4c3590
movzx eax, word [ebp + 8]
push eax
call fcn.00412137
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a7117
jmp 0x4a71c7
push dword [ebp - 0x14]
call fcn.00412137
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call fcn.00412137
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4a7146
jmp 0x4a71c7
push dword [ebp - 0x18]
call fcn.0045e7d6
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp - 0x10]
call fcn.00460360
add esp, 0xc
push 0x1c
call fcn.0040e30f
pop ecx
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x4a7198
push dword [ebp - 0x18]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
call fcn.004a4a91
mov dword [ebp - 0x28], eax
jmp 0x4a719c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
call fcn.0045e7df
pop ecx
and dword [ebp - 0x10], 0
xor eax, eax
jne 0x4a70f3
xor eax, eax
jne 0x4a71c7
cmp dword [ebp - 0x1c], 0
je 0x4a71e0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x58
call fcn.00410124
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4