joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ecx + 0x40]
push ebx
push esi
push edi
push eax
push ecx
mov dword [esp + 0x18], ecx
call fcn.00401280
add esp, 4
mov ecx, eax
call fcn.00401450
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x405dc1
mov dword [edi + 8], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [edi + 4]
lea eax, [esp + 0xc]
push eax
push ecx
shr esi, 2
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x405de1
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x44]
test eax, eax
jne 0x405df0
xor ebx, ebx
jmp 0x405e0b
cmp eax, 1
jne 0x405df9
mov ebx, esi
jmp 0x405e0b
cmp eax, 2
jne 0x405e03
lea ebx, [esi + esi]
jmp 0x405e0b
cmp eax, 3
jne 0x405e0b
lea ebx, [esi + esi*2]
mov al, byte [ecx + 0x18]
cmp al, 0xff
je 0x405f07
fld1
movzx edx, al
fst dword [esp + 0x18]
mov dword [esp + 0x10], edx
fldz
lea eax, [esp + 0x10]
fst dword [esp + 0x1c]
push eax
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
fst dword [esp + 0x34]
fst dword [esp + 0x4c]
fstp dword [esp + 0x7c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], 0
fdiv qword [0x4251a0]
fstp dword [esp + 0x64]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov edx, dword [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edx
mov dword [esp + 0x2c], eax
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x405ec4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [edi + 4]
push 0
push eax
mov eax, dword [esp + 0x18]
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x405ef4
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
push eax
call sub.gdiplus.dll_GdipDisposeImageAttributes
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [edi + 4]
push 0
push 0
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x405f34
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c3c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x429574]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.004058d0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.0040f190
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c6b0
lea ecx, [ebp - 0x438]
call fcn.0040f190
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040bd90
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40c43e
call fcn.0040bda0
mov dword [ebp - 0x444], eax
jmp 0x40c593
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x40c46f
call fcn.0040bda0
mov dword [ebp - 0x444], eax
jmp 0x40c593
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x40c49f
call fcn.0040bda0
mov dword [ebp - 0x444], eax
jmp 0x40c593
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x40c4ef
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.0040f110
lea ecx, [ebp - 0x2c]
call fcn.0040ee00
mov eax, dword [ebp - 0x44c]
jmp 0x40c5c8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.0040f130
lea ecx, [ebp - 0x438]
call fcn.0040fb40
test eax, eax
jne 0x40c51c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x40c593
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040fb40
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.004058d0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x40c55e
call fcn.0040bda0
mov dword [ebp - 0x444], eax
jmp 0x40c593
lea ecx, [ebp - 0x438]
call fcn.0040fb40
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.0040fb40
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c6e0
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x40c5a3
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.0040f110
lea ecx, [ebp - 0x2c]
call fcn.0040ee00
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00411f13
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40dec0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x429574]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0040dc90
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040de60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40df2b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0040dcc0
mov eax, dword [ebp - 0x224]
jmp 0x40dfbc
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40df91
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040dec0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40df88
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0040dcc0
mov eax, dword [ebp - 0x228]
jmp 0x40dfbc
mov dword [ebp - 4], 0x100
jmp 0x40df32
lea ecx, [ebp - 0x14]
call fcn.0040dda0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0040dd40
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0040dcc0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00411f13
mov esp, ebp
pop ebp
ret 4
Function at 0x40e520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x40e529
xor ecx, ecx
jne 0x40e529
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x40e54a
mov eax, 0xd
jmp 0x40e5a5
xor eax, eax
jne 0x40e531
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x40e55b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x40f5d0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x429574]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x210]
push edx
push 0x104
lea eax, [ebp - 0x434]
push eax
call fcn.00413173
add esp, 0xc
push str..lnk
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
jne 0x40f65f
xor al, al
jmp 0x40f729
push 0x4229a8
lea ecx, [ebp - 0x434]
push ecx
call fcn.0041313c
add esp, 8
test eax, eax
je 0x40f68f
push 0x4229ac
lea edx, [ebp - 0x434]
push edx
call fcn.0041313c
add esp, 8
test eax, eax
jne 0x40f691
jmp 0x40f6fe
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp + 8]
call fcn.00406610
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.0040f430
add esp, 8
movzx eax, al
test eax, eax
je 0x40f6f1
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea edx, [ebp - 0x434]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040fbf0
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x40f729
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40f65f
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411f13
mov esp, ebp
pop ebp
ret
Function at 0x40f740
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40f78f
push 0
push str.ReBarWindow32
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40f78f
push str.Quick_Launch
push str.ToolbarWindow32
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x410860
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x429574]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x240], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00411f30
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4108c0
mov byte [ebp - 0x25e], 0
lea ecx, [ebp + 8]
call fcn.00406570
mov al, byte [ebp - 0x25e]
jmp 0x4109c1
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_Process32FirstW
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov byte [ebp - 0x25d], 0
lea ecx, [ebp - 0x25c]
call fcn.00407ab0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x410992
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.0040fbf0
lea ecx, [ebp + 8]
call fcn.004073f0
mov esi, eax
lea ecx, [ebp - 0x25c]
call fcn.004073f0
cmp esi, eax
jae 0x410932
lea ecx, [ebp + 8]
call fcn.004073f0
mov dword [ebp - 0x264], eax
jmp 0x410943
lea ecx, [ebp - 0x25c]
call fcn.004073f0
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
push edx
lea ecx, [ebp - 0x25c]
call fcn.00406610
push eax
lea ecx, [ebp + 8]
call fcn.00406610
push eax
call fcn.0041337a
add esp, 0xc
test eax, eax
jne 0x410974
mov byte [ebp - 0x25d], 1
jmp 0x410992
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
jmp 0x4108eb
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x25d]
mov byte [ebp - 0x25f], al
lea ecx, [ebp - 0x25c]
call fcn.00406570
lea ecx, [ebp + 8]
call fcn.00406570
mov al, byte [ebp - 0x25f]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411f13
mov esp, ebp
pop ebp
ret
Function at 0x411017
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x42a8b0], 0
push esi
jne 0x410f8a
call fcn.00410eb0
test eax, eax
je 0x410fcd
mov eax, dword [0x42a8b0]
cmp eax, 1
jne 0x410fab
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x410fcd
pop esi
ret
push eax
call dword [0x42a8b8]
test eax, eax
jne 0x411015
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 0x410fd1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x42a8b0]
call dword [0x42a8b8]
mov edi, eax
test edi, edi
je 0x410ff6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x411012
mov edi, esi
add esi, 0xff0
push edi
push dword [0x42a8b0]
call dword [0x42a8b4]
add edi, 0x10
cmp edi, esi
jb 0x410ffe
mov eax, edi
pop edi
pop esi
ret
jmp 0x410f77

Function at 0x411f13
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429574]
jne 0x411f1d
repz ret
jmp fcn.0041740c

Function at 0x41e1f5
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.00416df1
and dword [ebp - 4], 0
cmp dword [0x42b5dc], 0
mov ebx, eax
jne 0x41e2a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41e357
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41e357
push eax
call fcn.00416d7f
mov dword [esp], 0x424ea8
push edi
mov dword [0x42b5dc], eax
call esi
push eax
call fcn.00416d7f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b5e0], eax
call esi
push eax
call fcn.00416d7f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42b5e4], eax
call esi
push eax
call fcn.00416d7f
pop ecx
mov dword [0x42b5ec], eax
test eax, eax
je 0x41e2a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00416d7f
pop ecx
mov dword [0x42b5e8], eax
mov eax, dword [0x42b5e8]
cmp eax, ebx
je 0x41e2fe
cmp dword [0x42b5ec], ebx
je 0x41e2fe
push eax
call fcn.00416dfa
push dword [0x42b5ec]
mov esi, eax
call fcn.00416dfa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41e2fe
test edi, edi
je 0x41e2fe
call esi
test eax, eax
je 0x41e2f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41e2f5
test byte [ebp - 0xc], 1
jne 0x41e2fe
or dword [ebp + 0x10], 0x200000
jmp 0x41e337
mov eax, dword [0x42b5e0]
cmp eax, ebx
je 0x41e337
push eax
call fcn.00416dfa
pop ecx
test eax, eax
je 0x41e337
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41e337
mov eax, dword [0x42b5e4]
cmp eax, ebx
je 0x41e337
push eax
call fcn.00416dfa
pop ecx
test eax, eax
je 0x41e337
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b5dc]
call fcn.00416dfa
pop ecx
test eax, eax
je 0x41e357
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e359
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419160
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c399b
mov eax, dword fs:[0]
push eax
mov eax, 0x1654
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1650], eax
push ebx
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x1664]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1674]
cmp byte [esi + 0x8ee5], 0
mov edi, dword [esp + 0x167c]
mov eax, dword [esi + 0x13e0]
je 0x419345
cmp byte [eax + 0x3971], 0
jne 0x419345
cmp byte [esi + 0x8ee0], 0
jne 0x419345
push esi
lea ecx, [esp + 0x14]
call fcn.00469260
mov dword [esp + 0x166c], 0
movzx eax, word [esi + 0x67f0]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.004b1ad0
mov ecx, dword [esi + 0x67f4]
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
mov ecx, esi
call fcn.00434ff0
mov ecx, esi
call fcn.0040fda0
mov ebx, dword [esp + 0x1678]
test bl, bl
je 0x419258
mov eax, dword [0x51b784]
push 0x200
lea edx, [esp + 0x1264]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34b
call fcn.004671c0
push eax
call fcn.0048d1d0
call fcn.0048d8e0
push 0x1238
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.004b14b0
mov eax, dword [esi + 0x67bc]
add esp, 0xc
sub eax, 0x76
je 0x4192bb
sub eax, 3
je 0x4192ad
sub eax, 1
jne 0x4192d0
push 0x4c79c8
lea ecx, [esi + 0x7510]
call fcn.0040b9a0
test al, al
je 0x4192a3
lea edx, [esp + 0x28]
push edx
push ebx
push esi
call fcn.00418980
jmp 0x4192d0
mov byte [esp + 0x125e], 1
jmp 0x4192d0
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call fcn.00418140
jmp 0x4192d0
test byte [esi + 0x67ec], 0x20
je 0x419331
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
call fcn.004185b0
test bl, bl
je 0x4192e6
lea edx, [esp + 0x1260]
push edx
call fcn.0048d1d0
call fcn.0048d8e0
test edi, edi
je 0x4192fd
push 0x1238
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004b1530
add esp, 0xc
cmp byte [esp + 0x125e], 0
je 0x419331
test bl, bl
je 0x419331
push 0x2a9
call fcn.004671c0
push eax
add esi, 0x41e
push esi
call fcn.0049ac10
add esp, 8
push 1
mov ecx, 0x508304
call fcn.0042cc20
mov dword [esp + 0x166c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00469290
mov ecx, dword [esp + 0x1664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1650]
xor ecx, esp
call fcn.004b102c
add esp, 0x1660
ret 0xc
Function at 0x4814c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
ja 0x481544
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
cmp dword [esp + 0x10], 4
je 0x481543
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x481538
lea edx, [esp + 0x24]
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
call esi
sub eax, edi
cmp eax, 0x2710
jbe 0x4814e4
pop ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea edx, [esp + 0x14]
push edx
mov eax, 3
mov word [esp + 0x18], ax
mov eax, dword [ebx + 0xc]
push 2
mov dword [esp + 0x24], 0x96
mov ecx, dword [eax]
push 0x3f
push eax
mov eax, dword [ecx + 0xd8]
call eax
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x481fe0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp dword [ecx + 0x2c], 0
mov eax, dword [esp + 0x1008]
je 0x482182
cmp byte [ecx + 0x28], 0
je 0x482182
cmp dword [eax + 8], 6
jb 0x482182
mov edx, dword [eax]
push esi
mov esi, 0x400c
cmp word [edx + 0x50], si
jne 0x482181
mov edx, dword [edx + 8]
or esi, 0xffffffff
mov word [edx], si
cmp dword [ecx + 0x2c], 2
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov esi, dword [edx + 8]
mov eax, 5
jne 0x482050
call fcn.004815b0
push ebx
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 4
ja case.0x482061.3
jmp dword [eax*4 + 0x48219c]
push 1
push 0x4c79a8
push esi
push str.iexplore.exe
jmp 0x48215e
push esi
lea eax, [esp + 0x10]
push str._new_window__s
push eax
mov edx, 0x400
call fcn.00483770
add esp, 0xc
push 1
push 0x4c79a8
lea ecx, [esp + 0x14]
push ecx
push str.firefox.exe
jmp 0x48215e
push esi
lea edx, [esp + 0x10]
push str.__new_window__s
push edx
mov edx, 0x400
call fcn.00483770
add esp, 0xc
push 1
push esi
lea eax, [esp + 0x14]
push eax
push str.chrome.exe
jmp 0x48215e
push 0x400
push 0x4c79a8
lea ecx, [esp + 0x14]
push ecx
push 0x4c79a8
push str.http_shellopencommand
push 0x80000000
call fcn.004608a0
cmp word [esp + 0xc], 0x22
jne case.0x482061.3
lea edx, [esp + 0xe]
push 0x22
push edx
call fcn.004b1c12
mov ebx, eax
add esp, 8
test ebx, ebx
je case.0x482061.3
push 9
push str.opera.exe
lea eax, [esp + 0x14]
push eax
call fcn.00456820
push eax
call fcn.004783c0
test eax, eax
jne case.0x482061.3
push esi
lea edx, [esp + 0x810]
push str._newwindow__s
xor ecx, ecx
push edx
mov edx, 0x400
mov word [ebx + 2], cx
call fcn.00483770
add esp, 0xc
push 1
push esi
lea eax, [esp + 0x814]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x48217f
push 1
push 0x4c79a8
push 0
push esi
push str.open
push 0
call edi
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004b102c
add esp, 0x1004
ret 4