joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041a640
call fcn.0041a590
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41a590
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x449640
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [0x4604cc], 0
je 0x41a5e7
lea esi, [esp + 0xc]
call fcn.00411b60
mov dword [esp + 0x38], 0
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.00411b90
cmp dword [0x45fef4], 0
je 0x41a61a
lea esi, [esp + 0x1c]
call fcn.004030f0
mov dword [esp + 0x38], 1
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.00411b90
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x420b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a9d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00410cb0
mov byte [esp + 0x30], 1
mov esi, dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], 1
cmp eax, ebx
je 0x420bbf
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
push edx
push esi
call eax
test eax, eax
je 0x420be4
mov byte [esp + 0x3c], 1
cmp dword [esp + 0xc], ebx
jne 0x420be8
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00411b90
cmp byte [esp + 0x3c], bl
je 0x420c27
lea esi, [esp + 0x14]
lea eax, [esp + 0xc]
call fcn.0040c410
mov edx, dword [esp + 0x38]
mov byte [esp + 0x30], 2
mov eax, dword [eax]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00411b90
push edi
call fcn.00421aa0
mov ecx, edi
call fcn.00421c10
mov ebx, edi
call fcn.004225e0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x420c53
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x4255c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x44a3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], ebx
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x3c], 1
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x425648
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.00403830
mov edi, dword [esp + 0x14]
push ebx
push 0x26
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42566d
push 0x4502f8
xor ebx, ebx
lea eax, [esp + 0x18]
call fcn.004038a0
mov edi, dword [esp + 0x14]
jmp 0x425694
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00431b55
add esp, 8
cmp eax, ebx
jl 0x425758
cmp eax, dword [edi - 8]
jg 0x425758
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea esi, [esp + 0x1c]
call fcn.004030f0
mov byte [esp + 0x3c], 2
cmp dword [edi - 4], 1
mov esi, dword [eax]
jle 0x4256bc
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00403780
mov edi, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push edi
push str.OneKeyInstalldefaultsetupdir
push esi
call edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00411b90
cmp dword [edi - 4], 1
jle 0x4256f0
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403780
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
push esi
mov ecx, edi
call fcn.00403410
lea eax, [ebp - 0x10]
mov byte [esp + 0x3c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42571c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425740
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
push 0x80070057
call fcn.004070e0
int3

Function at 0x425920
Capabilities:
Check mutex on windows

Disassembly:
push str.Q360OneKeyInstall
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x45fe74], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425973
push esi
push 0
push str.360OneKeyInstall
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x425965
push 0
push 1
push 0x8008
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
pop esi
ret
xor eax, eax
ret
Function at 0x427da0
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2220
call fcn.00440410
mov eax, dword [0x45b030]
xor eax, esp
mov dword [esp + 0x2218], eax
push edi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x427e03
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x10]
push 0x5c
push edx
call fcn.004326f1
add esp, 8
xor ecx, ecx
push 0x1000
lea edx, [esp + 0x21c]
mov word [eax + 2], cx
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x427eeb
lea edi, [esp + 8]
mov ecx, 0x1000
lea edx, [esp + 0x218]
call fcn.0042a900
test eax, eax
jl 0x427e6d
mov eax, dword [esp + 8]
mov ecx, 0x1000
sub ecx, eax
lea edx, [esp + eax*2 + 0x218]
mov eax, str.SoftMgr_somkernl.dll
call fcn.0042a940
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0042ec50
add esp, 4
test eax, eax
jne 0x427ec1
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427ea6
lea edx, [esp + 0x218]
push edx
call fcn.0042ed00
add esp, 4
test eax, eax
jne 0x427ec1
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x2218]
xor ecx, esp
call fcn.004307df
add esp, 0x2220
ret
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x45feec], eax
test eax, eax
je 0x427eeb
push str.SomPlugin
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45f220], eax
jmp 0x427ef0
mov eax, dword [0x45f220]
test eax, eax
je 0x427ea6
push 0
push 0xffffffffffffffff
call eax
mov ecx, dword [esp + 0x221c]
pop edi
xor ecx, esp
call fcn.004307df
add esp, 0x2220
ret
Function at 0x429370
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x429380
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x429390
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4298a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x45b030]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x429915
xor eax, eax
cmp ecx, edi
je 0x429903
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x429923
cmp ecx, edi
je 0x4299c0
push ecx
jmp 0x4299ba
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x42998e
jmp 0x429950
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.004298a0
mov ebp, eax
cmp ebp, edi
jne 0x4299dd
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x429950
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4299a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4299c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004307df
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4299ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x4299c2
Function at 0x42a480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x449ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x45b030]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x42a4ff
call fcn.00428cb0
mov esi, eax
jmp 0x42a5e1
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x42a51b
call fcn.00428cb0
jmp 0x42a5d8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x42a534
call fcn.00428cb0
jmp 0x42a5d8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x42a568
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x42a556
lea eax, [ebp]
call fcn.004293e0
lea esi, [ebp - 0x1c]
call fcn.004293c0
mov eax, 0x8007000e
jmp 0x42a5f3
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00428c70
mov dword [ebp - 4], 1
jmp 0x42a591
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x42a59f
mov esi, 0x8007000e
jmp 0x42a5da
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x42a5bd
call fcn.00428cb0
jmp 0x42a5d8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.0042a330
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x42a5f1
lea eax, [ebp]
call fcn.004293e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004307df
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e870
Capabilities:
Check if file exists
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2214
call fcn.00440410
mov eax, dword [0x45b030]
xor eax, esp
mov dword [esp + 0x2210], eax
test edi, edi
je 0x42e950
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e950
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42e950
lea eax, [esp + 8]
push 0x5c
push eax
call fcn.004326f1
add esp, 8
xor ecx, ecx
push 0x1000
lea edx, [esp + 0x214]
mov word [eax + 2], cx
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x42e936
push esi
push str.SoftMgrSMCrashReport.exe
lea esi, [esp + 0x218]
call fcn.00427d60
call fcn.0042ecc0
pop esi
test eax, eax
je 0x42e950
push 0
push 0
push edi
lea ecx, [esp + 0x21c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
mov ecx, dword [esp + 0x2210]
xor ecx, esp
call fcn.004307df
add esp, 0x2214
ret
mov ecx, dword [esp + 0x2210]
xor ecx, esp
xor eax, eax
call fcn.004307df
add esp, 0x2214
ret

Function at 0x42ea90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
test esi, esi
jne 0x42ea9d
xor al, al
add esp, 8
ret
test edi, edi
je 0x42ea97
push 5
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x42ea97
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x42eaee
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [esp + 4]
mov dl, byte [edi + 4]
lea eax, [esp + 8]
push eax
push ecx
push 5
push esi
mov byte [esi + 4], dl
mov dword [esp + 0x18], 0
call ebx
test eax, eax
jne 0x42eafb
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop ebx
add esp, 8
ret
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x42ecc0
Capabilities:
Check if file exists

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0042ec50
add esp, 4
test eax, eax
je 0x42ecdb
mov eax, 1
pop ecx
ret
test esi, esi
jne 0x42ece3
xor eax, eax
pop ecx
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ecdf
push esi
call fcn.0042ed00
add esp, 4
neg eax
sbb eax, eax
neg eax
pop ecx
ret

Function at 0x42edd0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x43039b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45e5b8], 0
push esi
jne 0x43030e
call fcn.00430234
test eax, eax
je 0x430351
mov eax, dword [0x45e5b8]
cmp eax, 1
jne 0x43032f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x430351
pop esi
ret
push eax
call dword [0x45e5c0]
test eax, eax
jne 0x430399
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x430355
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x45e5b8]
call dword [0x45e5c0]
mov edi, eax
test edi, edi
je 0x43037a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x430396
mov edi, esi
add esi, 0xff0
push edi
push dword [0x45e5b8]
call dword [0x45e5bc]
add edi, 0x10
cmp edi, esi
jb 0x430382
mov eax, edi
pop edi
pop esi
ret
jmp 0x4302fb

Function at 0x4307df
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b030]
jne 0x4307e9
repz ret
jmp fcn.004332ef

Function at 0x43d05a
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.00433e26
and dword [ebp - 4], 0
cmp dword [0x45f104], 0
mov ebx, eax
jne 0x43d10b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43d1bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43d1bc
push eax
call fcn.00433db4
mov dword [esp], 0x44e598
push edi
mov dword [0x45f104], eax
call esi
push eax
call fcn.00433db4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45f108], eax
call esi
push eax
call fcn.00433db4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45f10c], eax
call esi
push eax
call fcn.00433db4
pop ecx
mov dword [0x45f114], eax
test eax, eax
je 0x43d10b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00433db4
pop ecx
mov dword [0x45f110], eax
mov eax, dword [0x45f110]
cmp eax, ebx
je 0x43d163
cmp dword [0x45f114], ebx
je 0x43d163
push eax
call fcn.00433e2f
push dword [0x45f114]
mov esi, eax
call fcn.00433e2f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43d163
test edi, edi
je 0x43d163
call esi
test eax, eax
je 0x43d15a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d15a
test byte [ebp - 0xc], 1
jne 0x43d163
or dword [ebp + 0x10], 0x200000
jmp 0x43d19c
mov eax, dword [0x45f108]
cmp eax, ebx
je 0x43d19c
push eax
call fcn.00433e2f
pop ecx
test eax, eax
je 0x43d19c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43d19c
mov eax, dword [0x45f10c]
cmp eax, ebx
je 0x43d19c
push eax
call fcn.00433e2f
pop ecx
test eax, eax
je 0x43d19c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f104]
call fcn.00433e2f
pop ecx
test eax, eax
je 0x43d1bc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d1be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441f60
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x441f92
xor ecx, ecx
jmp 0x441f9e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x442051
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esi]
cmp dword [esp + 0x14], eax
jne 0x441fc4
mov dword [esp + 0x10], esi
jmp 0x442024
push eax
push 1
push 0x40
call ebx
test eax, eax
jne 0x44201d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x442010
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x442024
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x442024
push 0x44f3f0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x442024
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x442047
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x441fb6
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
test eax, eax
jne 0x442065
mov ecx, dword [edi]
add ecx, 8
call fcn.00441de0
test eax, eax
je 0x442065
mov edx, dword [esp + 0xc]
mov dword [eax], edx
pop edi
pop esi
add esp, 8
ret
Function at 0x442080
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449340
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x45b030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
jne 0x4420cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4420d9
mov dword [ebp - 0x14], ebx
jmp 0x4420eb
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x442185
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, ebx
je 0x4420b8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4420b8
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00441f60
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x442128
push 0x455e88
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.00432e1b
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x44213e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
jne 0x442174
push 0x455e88
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 4
call fcn.00432e1b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x442168
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
push eax
add ecx, 8
call fcn.00441ec0
mov eax, 0x44216e
ret
mov esi, dword [esi]
mov eax, dword [esi]
test eax, eax
je 0x442183
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4421a0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x44936b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00432b20
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x18], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x44223b
push 0x455e88
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00432e1b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4422b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, 0x45f208
jmp fcn.00442080