joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412840
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0041d240
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0041d240
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x43ca48
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x412958
cmp dword [0x4505f8], 0
jne 0x412958
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._XL_SetBugReportRootDir_4
push edi
call esi
push str._XL_SetPeerID_4
push edi
mov dword [0x4505fc], eax
call esi
push str._XL_InitBugHandler_20
push edi
mov dword [0x450600], eax
call esi
push str._XL_SetReportShowMode_4
push edi
mov dword [0x450604], eax
call esi
push str._XL_AddCrashProcess_12
push edi
mov dword [0x450608], eax
call esi
push str._XL_RemoveCrashProcess_4
push edi
mov dword [0x45060c], eax
call esi
push str._XL_SetAlwaysSendReport_4
push edi
mov dword [0x450610], eax
call esi
push str._XL_SetCustomInfo_4
push edi
mov dword [0x450614], eax
call esi
push str._XL_SetExtraInfo_8
push edi
mov dword [0x450618], eax
call esi
mov dword [0x45061c], eax
mov dword [0x4505f8], 1
pop esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041d240
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.Thunder_Networkxlx_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [0x4505fc]
pop edi
test eax, eax
je 0x4129a5
lea ecx, [ebp - 0x20c]
push ecx
call eax
lea eax, [ebp - 0x634]
push 0x800000
push eax
call fcn.004030b0
mov ecx, dword [0x450600]
lea eax, [ebp - 0x634]
add esp, 8
cmp dword [ebp - 0x620], 0x10
cmovae eax, dword [ebp - 0x634]
test ecx, ecx
je 0x4129da
push eax
call ecx
mov eax, dword [0x450604]
test eax, eax
je 0x4129f8
push str.10.0.0.1
push str.thunder9start
push 0
push 0
push 0x43cba0
call eax
mov eax, dword [0x450608]
test eax, eax
je 0x412a05
push 0
call eax
mov edx, dword [ebp - 0x620]
cmp edx, 0x10
jb 0x412a3b
mov ecx, dword [ebp - 0x634]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412a31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a49
push edx
push ecx
call fcn.0041b5ab
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
call fcn.00420285
int3
Function at 0x4130c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x41321b
mov eax, dword [ebp - 0x214]
xor esi, esi
test eax, eax
je 0x41314c
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edi
test esi, esi
jne 0x41321b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x4131e7
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.004130c0
mov esi, eax
test esi, esi
jne 0x41321b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x208], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x4131a0
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4131fe
push eax
call ebx
mov dword [ebp - 0x214], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x210], 0
call fcn.00412700
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x413228
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ba48
mov esp, ebp
pop ebp
ret 4
Function at 0x4133e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x60
push 0
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x408], 0
call ebx
mov edi, eax
test edi, edi
jne 0x413450
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x413450
call fcn.00412500
mov esi, eax
jmp 0x413509
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x413473
call fcn.00412500
jmp 0x4134fc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x413488
call fcn.00412500
jmp 0x4134fc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4134a0
mov esi, 0x8007000e
jmp 0x4134fe
push eax
lea ecx, [ebp - 0x408]
call fcn.00412330
cmp dword [ebp - 0x408], 0
jne 0x4134bc
mov esi, 0x8007000e
jmp 0x4134fe
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4134dc
call fcn.00412500
jmp 0x4134fc
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.00413240
mov esi, eax
test edi, edi
je 0x413509
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x413522
lea ecx, [ebp - 0x408]
call fcn.00412830
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ba48
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416c99
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416c99
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x416c8a
cmp esi, edx
jae 0x416c99
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x416c78
cmp esi, edx
jae 0x416c99
cmp word [esi], 0
je 0x416c99
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x418910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push str.OnDraw
push 0x53
push str.CThunderStartWnd::OnDraw
push str.d:jenkinsworkspaceThunderPCThunderCpp_AP_Build_Pack_Thunder_thunder11_cppsrc_thunderThunderStartThunderStartWnd.cpp
push 4
call fcn.004160e0
add esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.gdiplus.dll_GdipCreateFromHDC
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4506a4]
add eax, 0xc8
push 0x43d718
movzx eax, ax
push eax
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
push 0
mov dword [ebp + 8], ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, eax
test edi, edi
jne 0x4189b3
push 0
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x4189ca
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
push dword [ebp + 8]
push dword [ebp - 8]
push esi
call fcn.0041c740
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x418ace
mov eax, dword [ebp - 0xc]
push 0x10
mov dword [ebp + 8], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x418a1e
lea eax, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push eax
push dword [ebp + 8]
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x418a20
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x418a3a
mov dword [esi + 8], eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x418a54
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
sub esp, 0x10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x43d720]
mov eax, dword [ebp - 8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x43d720]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42a00000
mov dword [esp], 0x43340000
push dword [esi + 4]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipDrawImageRect
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418f50
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push dword [0x44f1e4]
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 1
push 0
call edi
mov ebx, eax
test ebx, ebx
jne 0x418fbb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x418fbb
push dword [0x44f1dc]
push 1
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x418fbb
call esi
cmp eax, 2
jne 0x418fbb
push dword [0x44f1e0]
push 1
push ebx
call edi
mov edi, eax
test edi, edi
jne 0x418fae
call esi
cmp eax, 2
jne 0x418fae
pop edi
pop esi
xor al, al
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x418fd0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push dword [0x44f1e8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x418fee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
setne al
ret

Function at 0x419000
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push dword [0x44f1ec]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x41901e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
setne al
ret
Function at 0x4191b0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x419220
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041d240
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x419262
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
push ebx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
jne 0x419262
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call fcn.00418f50
test al, al
jne 0x419220
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push str.XLShellCommandWindow
push str.XLShellCommandWindow
call esi
test eax, eax
je 0x419250
nop
push str.XLShellCommandWindow
push str.XLShellCommandWindow
call esi
test eax, eax
jne 0x419240
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.00415950
mov ecx, eax
test ecx, ecx
je 0x41933f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x210]
push esi
mov dword [ebp - 0x210], eax
call fcn.00414f80
test al, al
jne 0x4192cc
test esi, esi
jne 0x4192a6
xor ecx, ecx
jmp 0x4192bf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4192b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x210]
call fcn.00416920
mov esi, dword [ebp - 0x210]
push str.Thunder.exe
push esi
call fcn.00423cde
add esp, 8
test eax, eax
jne 0x419315
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
pop edi
je 0x419315
push 0xbb8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x419315
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x419220
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x419220
push 0x80004005
call fcn.00412540
int3
Function at 0x419350
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x23c], edi
mov byte [ebp - 0x231], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x419397
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x419482
push esi
nop word [eax + eax]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.00415950
mov ecx, eax
test ecx, ecx
je 0x41956a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x238]
push esi
mov dword [ebp - 0x238], eax
call fcn.00414f80
test al, al
jne 0x41942c
test esi, esi
jne 0x419404
xor eax, eax
jmp 0x41941f
mov eax, esi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419410
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x238]
call fcn.00416920
mov esi, dword [ebp - 0x238]
push str.Thunder.exe
push esi
call fcn.00423cde
add esp, 8
test eax, eax
jne 0x419452
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x228], eax
jne 0x41949f
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
mov edi, eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x419479
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x4193c0
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x231]
xor ecx, ebp
pop edi
pop ebx
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
push 0
push str.XLUEFrameHostWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x419549
lea ecx, [ebp - 0x240]
push ecx
push 0x3e8
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x4194e9
call fcn.00418fd0
test al, al
jne 0x4194e9
lea ecx, [ebp - 0x238]
call fcn.00419190
jmp 0x419481
push str._StartFrom:XLDownloadClient
push dword [ebp - 0x23c]
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x419549
push 1
push dword [0x4506bc]
push 0x43d8c8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x419549
push dword [ebp - 0x228]
mov byte [ebp - 0x231], 0
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x419549
push eax
call fcn.004191b0
add esp, 4
test eax, eax
je 0x419549
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
or edi, 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x419481
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x419481
push 0x80004005
call fcn.00412540
int3
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x441ccd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45c2c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00433327
and dword [ebp - 0x14], 0
cmp dword [0x45fa00], 0
mov dword [ebp - 0x18], eax
jne 0x441d80
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x441e28
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4529ec
push ebx
call edi
test eax, eax
je 0x441e28
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45fa00], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45fa04], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45fa08], eax
call edi
push eax
call esi
mov dword [0x45fa10], eax
test eax, eax
je 0x441d80
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45fa0c], eax
mov eax, dword [0x45fa0c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x441dd9
cmp dword [0x45fa10], ecx
je 0x441dd9
push eax
call esi
push dword [0x45fa10]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x441dd9
test ebx, ebx
je 0x441dd9
call edi
test eax, eax
je 0x441dd0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x441dd0
test byte [ebp - 8], 1
jne 0x441dd9
or dword [ebp + 0x10], 0x200000
jmp 0x441e0c
mov eax, dword [0x45fa04]
cmp eax, dword [ebp - 0x18]
je 0x441e0c
push eax
call esi
test eax, eax
je 0x441e0c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x441e0c
mov eax, dword [0x45fa08]
cmp eax, dword [ebp - 0x18]
je 0x441e0c
push eax
call esi
test eax, eax
je 0x441e0c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45fa00]
call esi
test eax, eax
je 0x441e28
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x441e2a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bdb8
leave
ret

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

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x100133a5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100133e4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100133e4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100133e4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100133e4
cmp dword [ecx + 0x74], 0xe
jbe 0x100133e4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100160fa
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10016197
push ebx
push esi
call fcn.100160c3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10016057
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10016144
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016196
push edi
push eax
call fcn.100170b5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10016164
call fcn.10014c21
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016195
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10016057
add esp, 0x20
test eax, eax
jne 0x10016183
push edi
call fcn.10014c21
jmp 0x1001618b
push ebx
call fcn.10014c21
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10016404
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e348
push 0x1001e340
push str.FlsAlloc
push 0x1f
call fcn.10016320
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016438
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
jmp 0x1001643e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10016482
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e358
push 0x1001e350
push str.FlsGetValue
push 0x21
call fcn.10016320
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100164b9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100164c1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e360
push 0x1001e358
push str.FlsSetValue
push 0x22
call fcn.10016320
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100164fb
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]