joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4458e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dbc18
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push esi
push 1
push 1
push eax
call ebx
mov ebp, dword [esp + 0x3c]
push esi
push 1
push 4
push ebp
call ebx
mov eax, dword [ebp]
add esp, 0x20
test eax, eax
jle 0x445a4b
push esi
lea edi, [ebp + 4]
push 1
push 4
push edi
call ebx
mov eax, dword [edi]
add esp, 0x10
test eax, eax
jl 0x445a4b
push esi
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call ebx
push esi
push 1
lea edx, [ebp + 0xc]
push 4
push edx
call ebx
push esi
push 1
lea eax, [ebp + 0x10]
push 4
push eax
call ebx
push esi
push 1
lea ecx, [esp + 0x6c]
push 4
push ecx
mov dword [esp + 0x74], 0
call ebx
mov eax, dword [esp + 0x74]
add esp, 0x40
test eax, eax
jle 0x445a4b
cmp eax, 0x1048
jae 0x445a4b
lea edx, [ebp + 0x14]
mov ecx, 0x82
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
push esi
push eax
push 2
push edx
call ebx
push esi
push 1
lea ecx, [esp + 0x4c]
push 4
push ecx
mov dword [esp + 0x54], 0
call ebx
mov eax, dword [esp + 0x54]
add esp, 0x20
test eax, eax
jle 0x445a44
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
je 0x445a44
mov edx, dword [esp + 0x34]
xor eax, eax
push esi
mov esi, dword [esp + 0x34]
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 + 0x38]
push eax
push 1
push esi
call ebx
add esp, 0x10
lea ecx, [esp + 0x10]
push esi
call fcn.0041a520
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push ecx
lea ecx, [ebp + 0x21c]
call fcn.0041a640
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041a500
push esi
call fcn.004d7f79
add esp, 4
mov eax, 1
jmp 0x445a4e
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x445d30
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x445e9c
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x445e9c
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push edi
push 2
push 0
push eax
call ebp
mov eax, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push eax
call edi
add esp, 0x10
cmp eax, 0x7d0
jge 0x445d8a
mov ecx, dword [esi + 0x23c]
push 0
push 0x7d0
push ecx
call ebp
add esp, 0xc
mov edx, dword [esi + 0x23c]
push edx
call edi
mov eax, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push eax
push 1
lea ecx, [esp + 0x24]
push 1
push ecx
mov byte [esp + 0x2c], 0
call edi
mov edx, dword [esi + 0x23c]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [esi + 0x23c]
lea ecx, [ebx + 4]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [esi + 0x23c]
lea eax, [ebx + 8]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [esi + 0x23c]
add esp, 0x44
lea edx, [ebx + 0xc]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [esi + 0x23c]
lea ecx, [ebx + 0x10]
push eax
push 1
push 4
push ecx
call edi
lea ebp, [ebx + 0x14]
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x24
cmp eax, 0x103
mov dword [esp + 0x10], eax
jbe 0x445e25
mov dword [esp + 0x10], 0x103
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x10]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [esi + 0x23c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 2
push ebp
call edi
add ebx, 0x21c
add esp, 0x20
mov ecx, ebx
call fcn.0041a6d0
inc eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x23c]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [esi + 0x23c]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, ebx
push edx
push eax
push 1
call fcn.0041a6f0
push eax
call edi
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4
Function at 0x4477a0
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dbd78
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00447820
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0041a5c0
push edi
mov ecx, esi
call fcn.00447510
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0041a500
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x4482a0
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
push edi
je 0x448399
mov dx, word [0x5117f0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], dx
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
lea edx, [esp + 0x454]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov dword [esp + 0xc], eax
mov eax, 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x250]
push 0
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
call edi
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x448399
mov ecx, dword [esp + 0x34]
push ecx
call edi
add esp, 4
test eax, eax
je 0x44838b
mov edx, dword [esp + 0x34]
push 0x502270
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x448399
pop edi
mov eax, 1
pop esi
add esp, 0x654
ret
pop edi
xor eax, eax
pop esi
add esp, 0x654
ret
Function at 0x44b080
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push 0
push str.history.dat
mov ecx, 0x511800
call fcn.0040af10
test eax, eax
je 0x44b0aa
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44b23c
push esi
call fcn.0043d120
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x44b233
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x44b22d
mov edx, dword [esp + 8]
test edx, edx
je 0x44b22d
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], 0x28
mov eax, dword [edx]
push edx
call dword [eax + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x58]
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x44b222
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x44b21e
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x44b200
mov eax, dword [esp + 0x58]
test eax, eax
je 0x44b200
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x44b1e8
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x44b1e8
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x44b185
xor eax, eax
jmp 0x44b1e8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x22]
mov dword [esp + 0x3c], edx
and ecx, 0xffff
and eax, 0xffff
lea edx, [esp + 0x30]
dec ecx
sub eax, 0x76c
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
call esi
add esp, 4
mov ecx, dword [esp + 0x5c]
push 1
push eax
mov eax, dword [esp + 0x60]
push 0
push eax
push ecx
push 0
mov ecx, ebx
call fcn.00448630
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x44b128
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebx + 0x68]
call fcn.00447b50
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x4518a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x214]
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
lea ecx, [esp + 8]
mov esi, eax
push 0x103
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edx, [esp + 8]
push str.Container
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x451919
mov eax, dword [0x51184c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x451919
mov eax, dword [esp + 0x218]
push esi
push eax
call fcn.0045d370
add esp, 8
pop edi
pop esi
add esp, 0x208
ret
Function at 0x452080
Capabilities:
Allocate thread local storage
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4ae0
push 0x4d8014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
call fcn.004d7169
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004d752d
mov word [ebp - 0x228], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SafeCentralSafeCentral.dll
push str.Extensions
push 0x511a6c
push 0x4f5938
push 0x103
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5e52e4], eax
cmp eax, ebx
je 0x4521ba
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x5e52fc], eax
cmp eax, ebx
je 0x452147
push 0x44fe20
push 0x5e5284
call fcn.004d759c
push str.SafeCentralLoadLibraryW
mov edx, dword [0x5e52e4]
push edx
call esi
mov dword [0x5e5300], eax
cmp eax, ebx
je 0x45216d
push 0x44fe60
push 0x5e5280
call fcn.004d759c
push str.SafeCentralLoadLibraryExA
mov eax, dword [0x5e52e4]
push eax
call esi
mov dword [0x5e5304], eax
cmp eax, ebx
je 0x452192
push 0x44fea0
push 0x5e527c
call fcn.004d759c
push str.SafeCentralLoadLibraryExW
mov ecx, dword [0x5e52e4]
push ecx
call esi
mov dword [0x5e5308], eax
cmp eax, ebx
je 0x4521c0
push 0x44fef0
push 0x5e5278
call fcn.004d759c
jmp 0x4521c0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinInet.dll
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call edi
mov dword [ebp - 0x230], eax
cmp eax, ebx
je 0x4521e6
push 0x450110
push 0x5e52c0
call fcn.004d759c
call fcn.004523a0
cmp dword [0x610770], ebx
je 0x45222f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x5e52ec], eax
push str.kernel32.dll
call edi
mov dword [ebp - 0x234], eax
cmp eax, ebx
je 0x45222f
push str.FindResourceW
push eax
call esi
mov dword [0x5e5310], eax
cmp eax, ebx
je 0x45222f
push 0x4522d0
push 0x5e5310
call fcn.004d759c
mov eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x1c], 1
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str.ExceptionEnable
push str.Software360se
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x1c], ebx
jne 0x45228c
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x452010
push 0x5e52a0
call fcn.004d759c
mov dword [ebp - 4], ebx
call fcn.004522a5
jmp 0x4522b6
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452470
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
mov edx, dword [ebx]
push ecx
lea esi, [eax*4]
push 0x40
add edx, esi
push 4
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 4
add edx, esi
push ecx
push edx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x452507
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x452507
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 4
mov dword [ecx], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
add ecx, esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x452507
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x455300
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x455364
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
push fcn.00455370
push 0
push 0
mov dword [eax], 1
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x455364
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x455f80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
shr eax, 8
test al, al
je 0x456006
mov eax, dword [0x5f28ac]
test eax, eax
je 0x455faf
mov eax, dword [esi + 0xa32c]
test eax, eax
je 0x456006
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x456006
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x455fd1
mov edx, dword [esi]
push 0x64
mov ecx, esi
call dword [edx + 0x9c]
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x5a40]
cmp eax, 0xffffffff
jne 0x455fe1
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x455fee
add eax, 5
jmp 0x455ff1
add eax, 0xfffffffb
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x9c]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x459010
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x4590ae
mov eax, dword [esi + 0x6c]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x9268], 0
test eax, eax
jne 0x459068
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0xbfffffff
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
push 1
push 0
push 6
mov ecx, esi
call fcn.004108e0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 1
test eax, eax
je 0x4590a4
mov eax, dword [0x610768]
test eax, eax
je 0x459095
push 0
mov ecx, esi
call fcn.0045cfb0
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4590a4
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x70]
pop edi
pop esi
ret
Function at 0x45a190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x45a206
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x45a224.21
xor ecx, ecx
mov cl, byte [eax + 0x45a2ac]
jmp dword [ecx*4 + 0x45a29c]
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x45a224.21
mov eax, dword [0x5e8dd0]
test eax, eax
je case.0x45a224.21
push 1
push 1
mov ecx, esi
call fcn.00410c30
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004108e0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x45a224.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x45a224.21
xor ecx, ecx
mov cl, byte [eax + 0x45a330]
jmp dword [ecx*4 + 0x45a320]
mov dx, word [edi + 8]
push 1
push edx
push 0xc
mov ecx, esi
call fcn.004108e0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x45a224.21
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004108e0
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x45a224.21
mov cx, word [edi + 8]
push 1
push ecx
push 0xc
mov ecx, esi
call fcn.004108e0
push 1
push 1
mov ecx, esi
xor ebx, ebx
call fcn.00410c30
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4

Function at 0x45adc0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.004d7fa0
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.0045a3b0
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x45ae82
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x45ae15
mov ecx, esi
call fcn.0045a3b0
push eax
call fcn.00465310
add esp, 4
test eax, eax
je 0x45ae56
jmp 0x45ae51
push eax
push str.mailto:_subjectFrom_Browserbody_s
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x5117f0
push 0x5117f0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x45ae56
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x45ae82
push 0x40
push 0x511e7c
push 0x78
call fcn.00483030
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x45af70
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
mov edi, ecx
push SysReAllocString
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x45afb6
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push SysReAllocString
call esi
test eax, eax
jne 0x45b04f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x5117f0
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x45b04f
cmp word [esp + 0x10], 0x22
jne 0x45afff
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x45b014
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x45b02c
mov word [eax], 0
push 5
lea eax, [edi + 0x39e4]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x45b058
push 2
mov ecx, edi
call fcn.0045b070
pop edi
pop esi
add esp, 0x210
ret
Function at 0x45d0c0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x45d120
mov ecx, dword [edi + 0xa338]
test ecx, ecx
jne 0x45d0d9
xor eax, eax
jmp 0x45d0e4
mov eax, dword [edi + 0xa33c]
sub eax, ecx
sar eax, 2
lea esi, [eax - 1]
test esi, esi
jl 0x45d120
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0xa338]
test ebx, ebx
mov eax, dword [eax + esi*4]
je 0x45d112
push 2
push 1
push 0x3456
push eax
call ebp
jmp 0x45d11b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec esi
jns 0x45d0f7
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x45d6e0
Capabilities:
Parse url
Set thread local storage value

Disassembly:
mov eax, dword [0x5e52ec]
sub esp, 0x23c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
push 1
push eax
call ebx
mov esi, dword [esp + 0x248]
test esi, esi
je 0x45d789
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], 0
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x10]
push edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push 0x10000000
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x45d789
push str..qq.com
lea eax, [esp + 0x48]
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
test eax, eax
je 0x45d789
cmp word [eax + 0xe], 0
jne 0x45d789
mov ecx, dword [0x5e52ec]
push 0xffffffffffffffff
push ecx
call ebx
pop esi
pop ebx
add esp, 0x23c
ret 4
Function at 0x45e380
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
push ebp
mov ebp, dword [esp + 0x870]
push edi
test ebp, ebp
mov ebx, ecx
mov dword [esp + 0xc], 0
je 0x45e4e0
cmp byte [ebp], 0
je 0x45e4e0
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push ebp
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x45e4e0
mov al, byte [esp + 0x4c]
push esi
test al, al
je 0x45e4cf
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp esi, eax
je 0x45e4cf
mov edi, dword [sym.imp.SHLWAPI.dll_StrRStrIA]
push esi
lea edx, [esp + 0x54]
push 0
push edx
call edi
test eax, eax
je 0x45e450
mov ecx, dword [esi + 0x100]
cmp byte [ecx + eax], 0
jne 0x45e450
lea edx, [esp + 0x50]
cmp edx, eax
je 0x45e46e
cmp byte [eax - 1], 0x2e
je 0x45e46e
mov eax, dword [ebx + 0x20]
add esi, 0x114
cmp esi, eax
jne 0x45e428
mov eax, dword [esp + 0x10]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x864
ret 4
mov eax, dword [esi + 0x108]
mov dword [esp + 0x10], 1
test eax, eax
je 0x45e4cf
mov ecx, dword [esi + 0x10c]
sub ecx, eax
sar ecx, 2
je 0x45e4cf
mov edi, eax
mov eax, dword [esi + 0x10c]
cmp edi, eax
je 0x45e4cf
mov ebx, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov eax, dword [edi]
push eax
push ebp
call ebx
test eax, eax
jne 0x45e4c7
mov eax, dword [esi + 0x10c]
add edi, 4
cmp edi, eax
jne 0x45e49f
mov eax, dword [esp + 0x10]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x864
ret 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x864
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x864
ret 4