joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b2c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5e34], 0
lea esi, [edi + 0x5e38]
je 0x1001b342
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001b2fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001d570
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10006640
mov edx, dword [esi]
mov ecx, 0x10056a5c
push dword [edi + 0x5e34]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5e40]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10006640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001b7c0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x10056a60]
test bl, bl
je 0x1001b806
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001b7e7
cmp byte [esi], bl
jne 0x1001b7e7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1004c868]
test bl, bl
jne 0x1001b7d8
mov edi, dword [0x10056a60]
mov ecx, dword [edi + 0x5dd8]
not eax
mov edx, dword [edi + 0x5de0]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1001b82d
cmp dword [edx + 4], eax
je 0x1001b830
add edx, 0x24
cmp edx, ecx
jne 0x1001b821
xor eax, eax
ret
mov eax, edx
ret
Function at 0x1002e070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10056240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10056cec]
push ebx
mov ebx, dword [0x10056ce8]
push esi
push edi
mov edi, dword [0x10056a60]
push 0x40
mov dword [ebp - 0x1c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x10056a60]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x1002e105
movsx eax, word [ecx + 0x5eec]
mov edx, dword [ecx + 0x3f10]
add eax, 0xbde
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1002e0fb
movsx eax, word [ecx + 0x5eec]
inc eax
mov dword [ebp - 0x20], 6
cdq
idiv dword [ebp - 0x20]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5eec], ax
cwde
add eax, 0xbde
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [ecx + 0x5ee4]
test esi, esi
je 0x1002e17a
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x1388
mov dword [esi + 0x3c], 0x2710
jmp 0x1002e17c
xor esi, esi
or dword [edi + 0xc], 8
lea ecx, [ebp - 8]
push ecx
mov dword [edi + 0x78], esi
mov dword [edi + 0x70], str.imgui_impl_dx11
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
push 0x1005125c
push ebx
call dword [eax]
test eax, eax
jne 0x1002e1eb
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push 0x1005126c
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x1002e1eb
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
push edx
push 0x1005127c
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x1002e1eb
mov eax, dword [ebp - 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1002e1f8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1002e205
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10047b01
mov esp, ebp
pop ebp
ret
Function at 0x1002e230
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10056240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10056a60]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1002e3dc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1002e3dc
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x10056a60]
add esp, 4
mov edi, eax
test esi, esi
je 0x1002e2d3
movsx edx, word [esi + 0x5eec]
lea eax, [esi + 0x5ef0]
mov ecx, dword [esi + 0x3f10]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x1002e2c9
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5eec], ax
cwde
add eax, 0xbde
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5ee4]
test edi, edi
je 0x1002e2e6
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1002e2e8
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], 0x1005128c
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x1002e323
mov esi, dword [esi + 0x74]
jmp 0x1002e325
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1002e348
mov dword [esi], eax
mov eax, dword [0x10056a60]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a40]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x28], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1002e3aa
inc esi
cmp esi, 5
jl 0x1002e381
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047b01
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047b01
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10047b01
mov esp, ebp
pop ebp
ret
Function at 0x10046480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100464a7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10046360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10046630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10057480]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10046672
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x10046698
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100466b9
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100466b9
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100466b3
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100466b9
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x10046780
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
mov eax, dword [0x10056240]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1004687f
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10046878
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x10], 0x10
jb 0x1004685d
call ebx
cmp dword [esp + 0x1c], eax
jne 0x1004685d
call ebp
cmp dword [esp + 0x18], eax
je 0x1004685d
mov edx, dword [esi]
test edx, edx
jne 0x10046825
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x100566e4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10046878
jmp 0x10046850
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10046850
shl eax, 3
push eax
push edx
push 0
push dword [0x100566e4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10046878
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100467e5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100468c7
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x100468c7
mov ebp, dword [esp + 0x3c]
nop
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100468c1
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebp
push dword [esp + 0x3c]
push edi
call fcn.10046c40
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10046890
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10047b01
add esp, 0x20
ret

Function at 0x10046dc0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x10046e18
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10046e07
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10046dff
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10046de0
pop ebp
pop ebx
push dword [edi]
push 0
push dword [0x100566e4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret
Function at 0x10046e20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1005747c]
test eax, eax
je 0x10046e3c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10046e8b
mov eax, dword [eax]
test eax, eax
jne 0x10046e30
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10046e99
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10046e65
mov ecx, dword [0x1005747c]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x1005747c], eax
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x10047250
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x10047265
cmp cl, 0x90
je 0x10047265
cmp cl, 0xcc
jne 0x10047283
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x1004727c
cmp byte [eax + edx], cl
jne 0x10047283
inc eax
cmp eax, esi
jb 0x10047272
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5ead3702
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..pdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x665737d4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1002cb57
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.1002d485
lea edi, [esi + 0x80]
mov eax, dword [edi]
test eax, eax
je 0x1002cb80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi], 0
lea edi, [esi + 0x90]
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x18]
call fcn.1002dd8e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x18]
call fcn.1002dd8e
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1002cbbc
cmp esi, dword [esp + 0x18]
je 0x1002cbc1
call fcn.1005e4b0
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x1c]
jae 0x1002cc0c
test esi, esi
jne 0x1002cc04
call fcn.1005e4b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x1002cbe0
call fcn.1005e4b0
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jne 0x1002cc08
call fcn.1005e4b0
cmp ebx, dword [esi + 0x10]
jb 0x1002cbfb
call fcn.1005e4b0
add ebx, 0x1c
mov dword [esp + 0x14], ebx
jmp 0x1002cba2
mov eax, dword [esi]
jmp 0x1002cbd6
mov esi, dword [esi]
jmp 0x1002cbf1
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x18]
call fcn.1002dd8e
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x10]
call fcn.1002dd8e
push dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
push edi
call fcn.1002dcd8
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov ebx, dword [0x1008007c]
xor edi, edi
cmp eax, edi
je 0x1002cc6f
push dword [esi + 0x74]
push eax
call ebx
push dword [esi + 0x60]
call dword [0x10080084]
push dword [esi + 0x70]
call dword [0x100800ac]
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x1002cc94
push dword [esi + 0x6c]
push eax
call ebx
push dword [esi + 0x64]
call dword [0x10080084]
push dword [esi + 0x68]
call dword [0x100800ac]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
push edi
push edi
push edi
push edi
lea eax, [esi + 0x24]
push eax
call dword [0x10080410]
mov dword [esi + 0x8c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi + 0x3c], 0xffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002ccdc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [esi + 0x5c], edi
je 0x1002cd18
mov ecx, esi
call fcn.1002d68d
test eax, eax
je 0x1002cd1d
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x1002d073
push edi
push edi
call fcn.1005e2a3
add esp, 0x18
mov dword [esi + 0x78], eax
cmp eax, edi
je 0x1002cd18
push eax
call dword [0x10080128]
xor eax, eax
pop edi
leave
ret
mov eax, dword [esi + 0x80]
cmp eax, edi
je 0x1002cd18
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x80]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x38]
push dword [esi + 0x34]
push edi
push edi
push dword [esi + 0x60]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x1002cd18
push edi
push edi
push dword [esi + 4]
call dword [0x100803f0]
xor eax, eax
inc eax
jmp 0x1002cd1a

Function at 0x1002f59e
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x100773b0
call fcn.10060d46
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x1002f6aa
cmp byte [esi + 0x41], 0
je 0x1002f6aa
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x1002f5d4
xor al, al
jmp 0x1002f6ac
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.1002f432
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.1002f4aa
mov ecx, eax
call fcn.1002f8ce
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.1002f4aa
mov ecx, eax
call fcn.1002f8ce
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x1002f644
dec eax
je 0x1002f648
dec eax
dec eax
je 0x1002f6a6
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.1002dbde
mov al, bl
jmp 0x1002f6ac
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.1002f4aa
mov ecx, eax
call fcn.1002f8ce
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x1002f688
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.1002f4aa
mov ecx, eax
call fcn.1002f8ce
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1005ea42
add esp, 0x10
cmp edi, eax
jne 0x1002f632
cmp byte [esi + 0x41], 0
je 0x1002f6a6
test edi, edi
jne 0x1002f5e2
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.1002f45a
jmp 0x1002f5e2
mov bl, 1
jmp 0x1002f634
mov al, 1
call fcn.10060dc9
ret
Function at 0x10057ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
lea edi, [ebp - 0x400]
xor ebx, ebx
mov edx, 0xedb88320
mov eax, ebx
mov ecx, 8
xor esi, esi
shr eax, 1
cmovb esi, edx
xor eax, esi
dec ecx
jne 0x10057ef0
mov dword [edi], eax
add edi, 4
inc bl
jne 0x10057ee9
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x400]
sub ecx, 4
jl 0x10057f47
xor eax, dword [esi]
add esi, 4
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
sub ecx, 4
jge 0x10057f19
mov edx, dword [ecx*4 + 0x100b9220]
and edx, dword [esi]
xor eax, edx
lea esi, [ecx + esi + 4]
jmp dword [ecx*4 + 0x100b9230]
Function at 0x460e50
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403356
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401bc8
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
mov edx, 0x40af34
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], esi
call edi
mov edx, 0x40d318
lea ecx, [ebp - 0x2c]
call edi
mov edx, 0x40eed4
lea ecx, [ebp - 0x1c]
call edi
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x64], 0x40d78c
mov dword [ebp - 0x6c], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcStringVar]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ecx, dword [ebp - 0x30]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
add esp, 0xc
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x3c]
push eax
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
push eax
push ecx
push edx
call edi
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push eax
push ecx
call edi
push eax
push 0x80000001
call fcn.0040c310
mov ebx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x34]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea eax, [ebp - 0x2c]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x1c]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push eax
push ecx
call edi
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
cmp ebx, esi
jne 0x460fcb
mov edx, dword [ebp - 0x30]
push 1
push edx
push 0x40d78c
push esi
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
sub eax, 1
jo 0x461033
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x46101f
jmp 0x461009
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x30]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
Function at 0x455500
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov al, byte [esi + 4]
push edi
mov edi, ecx
cmp al, 0xa
je 0x455528
cmp al, 2
je 0x455528
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x455532
mov ebx, dword [ebp + 0xc]
lea ecx, [ebx + 0x5c]
mov dword [esp + 0x1c], ecx
cmp byte [edi], 0
mov dword [esp + 0x14], edi
je 0x456f97
nop