joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4254c5
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.0041e50f
and dword [ebp - 4], 0
cmp dword [0x44f1f0], 0
mov ebx, eax
jne 0x425576
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425627
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425627
push eax
call fcn.0041e49d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f1f0], eax
call esi
push eax
call fcn.0041e49d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f1f4], eax
call esi
push eax
call fcn.0041e49d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f1f8], eax
call esi
push eax
call fcn.0041e49d
pop ecx
mov dword [0x44f200], eax
test eax, eax
je 0x425576
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e49d
pop ecx
mov dword [0x44f1fc], eax
mov eax, dword [0x44f1fc]
cmp eax, ebx
je 0x4255ce
cmp dword [0x44f200], ebx
je 0x4255ce
push eax
call fcn.0041e518
push dword [0x44f200]
mov esi, eax
call fcn.0041e518
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4255ce
test edi, edi
je 0x4255ce
call esi
test eax, eax
je 0x4255c5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4255c5
test byte [ebp - 0xc], 1
jne 0x4255ce
or dword [ebp + 0x10], 0x200000
jmp 0x425607
mov eax, dword [0x44f1f4]
cmp eax, ebx
je 0x425607
push eax
call fcn.0041e518
pop ecx
test eax, eax
je 0x425607
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425607
mov eax, dword [0x44f1f8]
cmp eax, ebx
je 0x425607
push eax
call fcn.0041e518
pop ecx
test eax, eax
je 0x425607
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f1f0]
call fcn.0041e518
pop ecx
test eax, eax
je 0x425627
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425629
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4010c7
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, str.V0.2.1.3
push eax
mov ebx, dword [0x44132f]
test ebx, ebx
je 0x4010e9
push ebx
call fcn.004224cc
add esp, 4
pop eax
mov dword [0x44132f], eax
mov dword [ebp - 4], esp
push str.Chinatelecom_tyxy_HZEX
push 1
push dword [0x441337]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40111e
push 6
call fcn.004224de
add esp, 4
mov dword [0x441333], eax
mov dword [ebp - 4], esp
push 0x64
push dword [0x441333]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40114d
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x102
jne 0x4011a3
push 0
push 0
push 0
push 0x80000004
push 0
push 0x43f2c0
push 0x80000301
push 0
push 0x10030
push 0x80000004
push 0
push 0x43f2c5
push 4
mov ebx, 0x300
call fcn.00422950
add esp, 0x34
mov eax, 0
jmp 0x401328
push 0
mov ebx, 0x104
call fcn.00422b90
add esp, 4
mov dword [ebp - 4], eax
push str._Chinatelecom_tyxy.ini
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4011e0
push ebx
call fcn.004224cc
add esp, 4
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x44133b]
test ebx, ebx
je 0x4011f7
push ebx
call fcn.004224cc
add esp, 4
pop eax
mov dword [0x44133b], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push 0
push 1
push 0
push 1
push 0xfffffc18
push 1
push 0xfffffc18
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0x44133f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x204]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4012b2
push ebx
call fcn.004224cc
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4012c2
push ebx
call fcn.004224cc
add esp, 4
push 0x44133f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x80]
mov dword [ebp - 4], eax
push 1
push 0
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0x40ff40
push 0x3e8
push 1
push dword [ebp - 4]
push 0x441343
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x208]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40131e
push ebx
call fcn.004224cc
add esp, 4
mov eax, 0
jmp 0x401328
mov esp, ebp
pop ebp
ret
Function at 0x40fd5b
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fd99
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fdbb
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40fde8
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fe0a
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fe29
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40fe56
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fe78
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
jmp 0x40fe8c
mov esp, ebp
pop ebp
ret 4
Function at 0x41264b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x412686
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004256e0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4126e9
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00425700
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x41270d
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004256e0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x412770
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00425700
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x412794
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004256e0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4127f7
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00425700
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4127ff
mov esp, ebp
pop ebp
ret
Function at 0x416cd5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x416d1b
push 6
call fcn.004224de
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x43f44d]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401fd7
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00425340
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416d6e
push ebx
call fcn.004224cc
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x416da7
push 6
call fcn.004224de
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x416dc3
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004224c6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x416dc8
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416dd9
push ebx
call fcn.004224cc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x422c30
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.00433f42
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x422c9a
push esi
lea edi, [eax + 0x400]
call fcn.00433f6b
push edi
call fcn.00433f42
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x422c6a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x422cb6
push ecx
push esi
call fcn.00426180
add esp, 8
mov ebx, eax
push esi
call fcn.00433f6b
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x424dc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x424dd3
xor eax, eax
pop esi
add esp, 8
ret
push esi
call fcn.00427100
add esp, 4
test eax, eax
jne 0x424de5
pop esi
add esp, 8
ret
mov eax, dword [esi]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0
jne 0x424e5c
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x424e8e
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x424e48
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x424e18
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 8
ret
cmp eax, 2
jne 0x424e8e
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x424e8e
lea edi, [esp + 0x2c]
lea ebx, [eax - 1]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
mov ecx, esi
call dword [edx + 0x24]
add edi, 0xc
dec ebx
jne 0x424e77
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret

Function at 0x424f00
Capabilities:
Get file size

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x424f0e
or eax, 0xffffffff
pop esi
ret
push esi
call fcn.00427100
add esp, 4
test eax, eax
jne 0x424f20
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esi]
or eax, 0xffffffff
cmp ecx, 1
jne 0x424f3b
mov esi, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop esi
ret
cmp ecx, 2
jne 0x424f48
mov ecx, dword [esi + 4]
call fcn.004270f0
pop esi
ret
Function at 0x424f50
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
test ebx, ebx
push edi
jne 0x424f63
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push ebx
call fcn.00427100
add esp, 4
test eax, eax
jne 0x424f75
pop edi
pop esi
pop ebp
pop ebx
ret
mov edi, dword [esp + 0x24]
test edi, edi
jg 0x424f84
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [ebx]
xor esi, esi
cmp eax, 1
jne 0x424fdb
mov ebx, dword [ebx + 4]
push edi
call fcn.00433f42
add esp, 4
mov ebp, eax
lea eax, [esp + 0x18]
push esi
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x424fbe
push ebp
call fcn.00433f6b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call fcn.00426b90
push ebp
mov esi, eax
call fcn.00433f6b
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x42501d
mov ebx, dword [ebx + 4]
lea edx, [edi + 8]
push edx
call fcn.00422730
mov esi, eax
add esp, 4
lea ecx, [esi + 8]
mov dword [esi], 1
mov dword [esi + 4], edi
mov eax, dword [ebx]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x42501a
push esi
call fcn.004227c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4250f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
jne 0x425109
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.00427100
add esp, 4
test eax, eax
jne 0x42511e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jg 0x425130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esi]
mov dword [esp + 0x20], 0
cmp eax, 1
jne 0x42520e
mov edi, dword [esi + 4]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x425167
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
sub esi, ebp
sub esi, ebx
test esi, esi
jle 0x4251fb
push esi
call fcn.00433f42
add esp, 4
mov ebx, eax
push 1
push 0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4251c2
push ebx
call fcn.00433f6b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4251e6
mov dword [esp + 0x20], eax
push ebx
call fcn.00433f6b
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x425283
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 2
jne 0x425283
mov esi, dword [esi + 4]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
mov ecx, esi
mov ebx, eax
call fcn.004270f0
mov edi, eax
mov dword [esp + 0x20], 1
sub edi, ebp
sub edi, ebx
test edi, edi
jle 0x42527b
mov edx, dword [esi]
push 1
push ebp
mov ecx, esi
call dword [edx + 0x18]
push edi
call fcn.00433f42
add esp, 4
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
push edi
push ebp
call dword [eax + 0x20]
mov edx, dword [esi]
push 0
push ebx
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi]
push edi
push ebp
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
push ebp
mov ebx, eax
call fcn.00433f6b
add esp, 4
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x438505
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x438533
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x438551
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043846b
jmp 0x438551
mov eax, dword [esi + 0x14]
test eax, eax
je 0x438551
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0043846b
test edi, edi
mov eax, edi
jne 0x43853b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x41e7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x41e7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e7c8
mov eax, 1
add ebx, ebx
jne 0x41e7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e7e0
jne 0x41e7fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e7e0
xor ecx, ecx
sub eax, 3
jb 0x41e810
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e882
mov ebp, eax
add ebx, ebx
jne 0x41e81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e84c
inc ecx
add ebx, ebx
jne 0x41e838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e82d
jne 0x41e849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e82d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e86c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e85d
jmp 0x41e7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e86c
add edi, ecx
jmp 0x41e7ce
pop esi
mov edi, esi
mov ecx, 0x10a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e88a
cmp byte [edi], 2
jne 0x41e88a
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 eax, ebx
loop 0x41e88f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e8fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ec1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1eca8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e8bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ecac]
or eax, eax
je 0x41e8f8
mov dword [ebx], eax
add ebx, 4
jmp 0x41e8d9
call dword [esi + 0x1ecb0]
popal
jmp 0x402f2d
Function at 0x402e10
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x421538
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x42c2c0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, 0x102
je 0x402e87
cmp esi, 0x101
je 0x402e87
cmp esi, 0x202
je 0x402e87
cmp esi, 0x201
je 0x402e87
cmp esi, 0x302
je 0x402e87
cmp esi, 0x301
jne 0x402ff2
mov eax, dword [0x42d80c]
mov edx, dword [eax + 0xc]
mov ecx, 0x42d80c
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp byte [ebp + 0x214], bl
je 0x402eb4
push str._UserCheck
mov ebx, 0xa
jmp 0x402f0c
cmp esi, 0x102
je 0x402f02
cmp esi, 0x101
je 0x402f02
cmp esi, 0x202
je 0x402ef3
cmp esi, 0x201
je 0x402ef3
cmp esi, 0x302
je 0x402ee4
cmp esi, 0x301
jne 0x402f16
mov edx, str._ForceUpdate
lea edi, [ebp - 0x14]
call fcn.00403170
jmp 0x402f16
mov edx, str._TipUpdate
lea edi, [ebp - 0x14]
call fcn.00403170
jmp 0x402f16
push str._SlientUpdate
mov ebx, 0xd
lea eax, [ebp - 0x14]
call fcn.00406ee0
xor ebx, ebx
push 0x206
lea ecx, [ebp + 2]
xor eax, eax
push ebx
push ecx
mov word [ebp], ax
call fcn.0040b360
add esp, 0xc
push 0x104
lea edx, [ebp]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push 0x5c
push eax
call fcn.0040a67b
push str.SoHuLiveUpdate.exe
lea edx, [ebp]
xor ecx, ecx
push 0x104
push edx
mov word [eax], cx
call fcn.0040a716
lea eax, [ebp]
push ebx
push eax
call fcn.0040a81c
add esp, 0x1c
test eax, eax
jne 0x402fd0
push 0x3c
lea ecx, [ebp - 0x50]
push ebx
push ecx
call fcn.0040b360
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x50]
lea edx, [ebp]
push ecx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], str.open
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea edx, [ebp]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, ebx
je 0x402fd0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x402fd0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ff2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x403001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0040a038
add ebp, 0x20c
mov esp, ebp
pop ebp
ret