joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100036e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x10031c80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1004304c]
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 0x1000375f
call fcn.10001eb0
mov esi, eax
jmp 0x10003841
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 0x1000377b
call fcn.10001eb0
jmp 0x10003838
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x10003794
call fcn.10001eb0
jmp 0x10003838
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x100037c8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x100037b6
lea eax, [ebp]
call fcn.10001e60
lea esi, [ebp - 0x1c]
call fcn.10003c50
mov eax, 0x8007000e
jmp 0x10003853
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.10001e70
mov dword [ebp - 4], 1
jmp 0x100037f1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x100037ff
mov esi, 0x8007000e
jmp 0x1000383a
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 0x1000381d
call fcn.10001eb0
jmp 0x10003838
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.10003590
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x10003851
lea eax, [ebp]
call fcn.10001e60
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.1002dfc6
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004190
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
sub esp, 0x20
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffff7f
or eax, 0x40000
cmp dword [0x10046ef8], 1
jne 0x100041be
or eax, 8
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
lea ecx, [esp]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esp + 0x24], 0
mov eax, 0x49
je 0x1000420d
mov eax, 0x4b
xor ecx, ecx
cmp dword [0x10046ef8], 1
jne 0x1000421b
or ecx, 0xffffffff
push eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
push eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 1
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x20
ret 4

Function at 0x100042c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
cmp dword [0x10046ef8], 1
jne 0x10004303
or eax, 0xffffffff
push 0x41
push 0
push 0
push 0xfffff830
push 0xfffff830
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
ret
Function at 0x10005dd0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
push ebx
push ecx
mov ecx, esi
call fcn.1001b860
test eax, eax
je 0x10005fb8
cmp ebx, 0x203
ja 0x10005ec8
je 0x10005e93
mov eax, ebx
sub eax, 2
je 0x10005e7c
sub eax, 0xe
je 0x10005e35
sub eax, 0x3a
jne 0x10005eda
push edi
mov ecx, esi
call fcn.100074f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0x104
push 0x100356ec
push 0x100356f4
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x10005fb8
call fcn.10007480
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.10007480
mov eax, esi
call fcn.10006fd0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
xor eax, eax
movzx ecx, di
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
shr edi, 0x10
mov ecx, esi
mov dword [esp + 0x1c], edi
call edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
sub eax, 0x4cc
je 0x10005faf
sub eax, 6
je 0x10005ef3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x2730]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10005f4a
mov eax, dword [esi + 0x2730]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
push 0x100356ec
push 0x10035714
mov ecx, esi
mov dword [esi + 0x2730], 0
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x2730]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2730]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x2730]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
push 0x100356ec
push 0x10035714
mov ecx, esi
mov dword [esi + 0x2730], 0
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
mov ecx, esi
call fcn.10007000
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100062d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push edi
mov ecx, esi
call edx
test eax, eax
jne 0x100062f1
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 4]
push 0x40
mov edx, ecx
sub edx, eax
sub eax, ecx
add eax, dword [esp + 0x20]
push edx
mov edx, edi
sub edx, ebx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
sub eax, edi
add eax, dword [esp + 0x28]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.10006420
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
mov byte [esi + 0x2725], 0
pop esi
mov al, 1
pop ebx
add esp, 0x18
ret

Function at 0x10006390
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
test eax, eax
jne 0x100063ad
xor al, al
pop esi
add esp, 0x18
ret
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
push 0x40
push ecx
push edx
mov edx, dword [eax + 0x8c]
push 0
push 0
push 0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.10006420
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov byte [esi + 0x2725], 1
mov al, 1
pop esi
add esp, 0x18
ret

Function at 0x10006ad0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10006af8
xor eax, eax
add esp, 0xc
ret
mov eax, dword [esp]
push esi
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x100356e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x10006ba0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100318e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1004304c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.10007bc0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x10]
push ecx
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x10006c3e
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006c28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4
mov edx, dword [0x100448a8]
mov eax, dword [edx + 0xc]
mov ecx, 0x100448a8
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
push str._autorun
push ecx
push str.__s___s
lea edi, [esp + 0x20]
mov byte [esp + 0x2c], 1
call fcn.100083b0
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
add esp, 0xc
lea edx, [eax + eax]
mov eax, dword [esp + 0xc]
push edx
push esi
push 1
push 0
push 0x100356e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0xc]
push ecx
test eax, eax
je 0x10006d07
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x20], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006c28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x20], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006d56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4
Function at 0x10006d70
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.10007bc0
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x10006dc9
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006dc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 4]
push 0x100356e0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
mov eax, dword [esp]
je 0x10006df2
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x10006db7
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006e0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
add esp, 8
ret

Function at 0x10006ea0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [0x10044c58]
push 0x8a
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
mov ebx, eax
test ebx, ebx
je 0x10006fc6
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0x400
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_RemoveMenu]
mov ebp, dword [sym.imp.USER32.dll_DestroyMenu]
push ebx
call ebp
test edi, edi
je 0x10006fc6
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push 0
push ecx
push edx
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push edi
mov ebx, eax
call ebp
mov eax, ebx
sub eax, 0x9c4a
je 0x10006f85
sub eax, 1
jne 0x10006fc6
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x104
push 0x100356ec
push 0x100356f4
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x10006fc6
mov eax, esi
call fcn.10006fd0
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x2724], 0
je 0x10006fbc
mov dword [esi + 0x2374], 0
add esi, 0x2368
push esi
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
Function at 0x10007000
Capabilities:
Hide graphical window

Disassembly:
sub eax, 0x202
push esi
mov esi, ecx
je 0x1000701f
sub eax, 1
je 0x1000701f
sub eax, 2
jne 0x10007054
mov eax, esi
call fcn.10006ea0
xor eax, eax
pop esi
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 5
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x2724], 0
je 0x10007054
mov dword [esi + 0x2374], 0
add esi, 0x2368
push esi
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor eax, eax
pop esi
ret

Function at 0x10007060
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x10044c58]
push 0x88
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
call fcn.10006e20
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x100070e0
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [esi + 0x2730], 0
je 0x100070ec
xor eax, eax
ret
push 0
push 0
push esi
push 0x10007120
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x2730], eax
test eax, eax
je 0x100070e9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x10007480
Capabilities:
Hide graphical window
Terminate process

Disassembly:
sub esp, 0xc
mov eax, dword [esi + 0x272c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x272c]
lea ecx, [esp]
push ecx
push 0
push 0x4a
push edx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x2728]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100074dd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esp, 0xc
ret

Function at 0x10008690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100086a7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100086d8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100086d4
cmp esi, eax
jae 0x100086d8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x100086c4
cmp esi, eax
jb 0x100086de
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x1000fe90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
sub esp, 0x20
push ebx
push edi
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80
cmp dword [0x10046ef8], 1
jne 0x1000fec0
or eax, 8
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esp + 0x2c], 0
mov ecx, dword [esi + 0x1740]
push 0
je 0x1000ff4a
push 0x32
push 0x32
push 0xffffffffffffff9c
push 0xffffffffffffff9c
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0x1800]
mov eax, dword [edx + 0x48]
lea ecx, [esi + 0x1800]
push 1
push 0x100361fc
call eax
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x1818], eax
jmp 0x1000ff65
push 0x1a0
push 0x27a
push 0xcb
push 0x185
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esi + 0x1938], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x49
je 0x1000ff80
mov edi, 0x4b
jmp 0x1000ff91
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, esi
call eax
push eax
call ebx
xor ecx, ecx
cmp dword [0x10046ef8], 1
jne 0x1000ff9f
or ecx, 0xffffffff
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x14]
push edi
add eax, dword [esp + 0x28]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
push eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 1
mov ecx, esi
call eax
push eax
call ebx
pop edi
pop ebx
add esp, 0x20
ret 4
Function at 0x10010d90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
test eax, eax
jne 0x10010db1
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 4]
push 0x40
mov edx, ecx
sub edx, eax
sub eax, ecx
add eax, dword [esp + 0x20]
push edx
mov edx, esi
sub edx, ebx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
sub eax, esi
add eax, dword [esp + 0x28]
mov ecx, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
push 0
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.10011080
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, edi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x18
ret
Function at 0x10013cf0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002f9b2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1004304c]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x1004304c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
call fcn.10014c70
push str.iconAnimate.exe
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x58], 0
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 4]
mov byte [esp + 0x48], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10013d76
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013da1
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10013d90
lea eax, [esp + 0x24]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1002dfc6
add esp, 0x48
ret