joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bab0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00426190
test eax, eax
je 0x42bb9f
mov ecx, edi
call fcn.00426190
mov ecx, eax
call fcn.00423730
test eax, eax
jne 0x42bb9f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42bb9f
mov eax, dword [0x4af1c0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42bb12
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00426190
mov ecx, eax
call fcn.00423960
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42bb9f
cmp ebx, eax
jne 0x42bb9f
cmp dword [esp + 0x10], eax
jne 0x42bb85
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42e800
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47b1b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42e839
inc eax
mov dword [esi + 0x10], eax
jmp 0x42e94c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42e84d
mov eax, 0xffffffc7
jmp 0x42e94e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42e85e
cmp dword [esi + 8], eax
jne 0x42e84d
cmp dword [esi + 8], eax
jne 0x42e877
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42e877
mov eax, 0xffffffc7
jmp 0x42e94e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42e88b
push eax
mov ecx, ebx
call fcn.0042e030
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004021c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42e8bc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004021e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d7a0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42e8ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x481208
call fcn.004023c0
mov eax, dword [esp + 0x38]
jmp 0x42e94e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042e660
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42e933
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042e680
mov esi, eax
test esi, esi
jne 0x42e963
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042e660
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42e905
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x481208
call fcn.004023c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x481208
call fcn.004023c0
mov eax, esi
jmp 0x42e94e

Function at 0x433310
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x433370
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x433370
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x433370
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x433370
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4333b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43eed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47baa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00474928
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e830
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00474856
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00471117
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00471117
push 1
push 0
push 0
mov ecx, esi
call fcn.004710bf
push 1
push 0
push 1
mov ecx, esi
call fcn.004710bf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047499a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f050
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47bac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00474928
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e830
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00474856
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f114
cmp dword [esp + 0x40], 1
jne 0x43f112
cmp ecx, eax
jge 0x43f114
mov eax, ecx
cmp eax, 0xc8
jge 0x43f120
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043eed0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047499a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f920
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47bb73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046f537
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00474bd0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004760ec
test eax, eax
je 0x43fa3c
mov ecx, dword [esp + 0x3c]
call fcn.00474bfd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fa00
push edi
mov ecx, esi
call fcn.00472262
mov ecx, esi
call fcn.0043fbe0
cmp dword [esp + 0x38], 1
jne 0x43fa35
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047239d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441c20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441c53
push esi
call fcn.0044ffd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441c4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441cd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441cc2
mov eax, dword [esi + 8]
test eax, eax
je 0x441c77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441cbe
cmp eax, 2
je 0x441cc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441c6a
cmp eax, 3
je 0x441c9d
cmp eax, 1
jne 0x441c6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441c6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441c6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441d00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441ce8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441d00
add esp, 4
pop esi
ret

Function at 0x442570
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442591
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442591
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442591
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47032d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x470365
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046e3e4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e3bc
jmp 0x470371
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x471a1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x471a61
call fcn.004774d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x471a61
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x471a58
xor eax, eax
jmp 0x471a69
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00471a6f
pop edi
pop esi
pop ebx
ret 4
Function at 0x477a02
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477a30
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477a4e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477968
jmp 0x477a4e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477a4e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477968
test edi, edi
mov eax, edi
jne 0x477a38
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1001fef
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov di, word [ebp + 0x10]
cmp dword [0x1038258], esi
jne 0x1002081
mov ecx, dword [ebp + 0xc]
cmp cx, word [ebp + 0x14]
jne 0x1002214
cmp di, word [ebp + 0x18]
jne 0x1002214
movsx eax, word [esi + 0x44]
movsx ebx, word [esi + 0xa]
movsx edx, di
add eax, edx
cdq
idiv ebx
movsx ecx, cx
movsx eax, dx
imul eax, eax, 0x1c
add eax, dword [esi + 0x3c]
mov edx, dword [eax + 8]
movzx ebx, word [edx + ecx*2]
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push dword [eax + 0x18]
call fcn.010042b9
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + 2]
shl eax, 0x10
movzx ecx, bx
or eax, ecx
movzx ecx, word [ebp + 0xc]
push eax
movzx eax, di
shl eax, 0x10
or eax, ecx
push eax
push dword [0x1038260]
push 0x4003
call dword [sym.imp.USER32.dll_NotifyWinEvent]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 0x44]
movsx ebx, ax
movsx edx, cx
movsx eax, di
add eax, edx
mov dword [ebp + 0x10], edx
cdq
idiv ebx
cmp di, word [ebp + 0x18]
movzx eax, dx
movzx edx, di
mov dword [ebp + 0x14], edx
jg 0x10020d9
mov edx, dword [esi + 0x3c]
movsx ebx, ax
imul ebx, ebx, 0x1c
cmp word [ebx + edx + 0x10], 1
jne 0x1002b29
movzx edx, word [esi + 0xa]
inc eax
cmp ax, dx
je 0x1002b22
inc dword [ebp + 0x14]
mov dx, word [ebp + 0x14]
cmp dx, word [ebp + 0x18]
jle 0x10020a9
mov ebx, dword [esi + 0x68]
test bl, 2
je 0x100dfeb
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
movzx eax, word [ebp + 0x18]
movzx edx, word [ebp + 0x14]
shl eax, 0x10
or eax, edx
push eax
movzx eax, di
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push eax
push dword [0x1038260]
push 0x4002
jmp 0x100207b
xor eax, eax
jmp 0x10020cc
and dword [esi + 0x68], 0xfffffffd
jmp 0x10020e5
test di, di
jne 0x100e002
movzx eax, word [esi + 0xa]
movsx edx, word [ebp + 0x18]
cwde
dec eax
cmp edx, eax
je 0x100e086
and dword [ebp + 0x14], 0
movzx eax, cx
xor ecx, ecx
cmp cx, di
jge 0x100e03a
mov edx, dword [esi + 0x3c]
movsx ecx, ax
imul ecx, ecx, 0x1c
cmp word [ecx + edx + 0x10], 1
jne 0x10020e5
movzx ecx, word [esi + 0xa]
inc eax
cmp ax, cx
jne 0x100e031
xor eax, eax
inc dword [ebp + 0x14]
cmp word [ebp + 0x14], di
jl 0x100e013
movsx eax, word [ebp + 0x18]
movzx edi, word [esi + 0xa]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + ecx + 1]
cdq
movsx ecx, di
idiv ecx
mov eax, dword [ebp + 0x18]
inc eax
movzx eax, ax
cmp ax, di
movzx ecx, dx
jge 0x100e086
mov edi, dword [esi + 0x3c]
movsx edx, cx
imul edx, edx, 0x1c
cmp word [edx + edi + 0x10], 1
jne 0x10020e5
movzx edx, word [esi + 0xa]
inc ecx
cmp cx, dx
jne 0x100e07f
xor ecx, ecx
inc eax
cmp ax, word [esi + 0xa]
jl 0x100e061
or ebx, 2
mov dword [esi + 0x68], ebx
jmp 0x10020e5
Function at 0x10027d4
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, word [esi + 0x44]
movzx ecx, word [esi + 0x12]
movsx ebx, word [esi + 0xa]
mov dword [ebp - 4], eax
cwde
movsx edx, cx
push edi
lea edi, [edx + eax]
movsx eax, word [ebp + 0xc]
add eax, edi
cdq
idiv ebx
mov eax, edi
sub cx, word [esi + 0xe]
or dword [esi + 0x68], 1
mov dword [ebp + 8], edx
cdq
idiv ebx
inc cx
movsx edi, cx
mov ebx, edx
dec edi
js 0x100280f
mov eax, dword [esi + 0x3c]
mov ecx, ebx
imul ecx, ecx, 0x1c
add ecx, eax
push ecx
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x1c
add ecx, eax
push ecx
call fcn.01002750
dec dword [ebp + 8]
js 0x1002b0c
dec ebx
jns 0x10027e0
movsx ebx, word [esi + 0xa]
dec ebx
jmp 0x10027e0
cmp dword [ebp + 0x10], 0
je 0x100282a
movsx ecx, word [ebp + 0xc]
movsx eax, word [ebp - 4]
add eax, ecx
movsx ecx, word [esi + 0xa]
cdq
idiv ecx
mov word [esi + 0x44], dx
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
movsx eax, word [esi + 0xa]
dec eax
mov dword [ebp + 8], eax
jmp 0x1002805
Function at 0x1004e4d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1038008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1038044]
push esi
mov esi, dword [ebp + 8]
cmp dword [0x1038048], eax
je 0x100d8c0
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
test edi, edi
je 0x1004e46
jbe 0x1004e44
cmp word [esi + eax*2], 0x7f
ja 0x100d8d0
inc eax
cmp eax, edi
jb 0x1004e34
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010015a8
leave
ret 0xc
cmp dword [ebp + 0x10], eax
jne 0x1004e28
xor eax, eax
jmp 0x1004e47
push ebx
cmp edi, 0x84
jbe 0x100d902
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [0x1038030]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
jne 0x100d908
mov eax, 0xc0000017
jmp 0x100d9e5
lea ebx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
cmp eax, dword [0x1038048]
jne 0x100d92f
lea eax, [edi + edi]
push eax
push esi
lea eax, [ebp - 0x90]
push eax
push edi
push ebx
call dword [sym.imp.ntdll.dll_RtlUnicodeToOemN]
mov dword [ebp - 0x8c], eax
jmp 0x100d94d
xor ecx, ecx
push ecx
push ecx
push edi
push ebx
push edi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x100d97b
mov dword [ebp - 0x8c], 0xc0000001
cmp dword [ebp - 0x8c], 0
jge 0x100d97b
cmp edi, 0x84
jbe 0x100d973
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x8c]
jmp 0x100d9e5
cmp byte [section..data], 0
push edi
je 0x100d9a9
push esi
push edi
push ebx
push 0
push 0x4e4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x3fffffff
add esi, 0xc0000001
jmp 0x100d9be
push ebx
lea eax, [ebp - 0x90]
push eax
lea eax, [edi + edi]
push eax
push esi
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
mov esi, eax
cmp edi, 0x84
jbe 0x100d9db
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
jge 0x100d9e3
mov eax, esi
jmp 0x100d9e5
xor eax, eax
pop ebx
jmp 0x1004e46
Function at 0x1005cb3
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
lea edi, [ebx + eax + 0x18]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [0x1038030]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x100fdca
lea eax, [ebp - 4]
push eax
push edi
push esi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov dword [ebp + 0x10], eax
test eax, eax
jl 0x1005d59
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.msvcrt.dll_memmove]
cmp ebx, eax
jb 0x1005d78
mov ebx, dword [ebp + 0x14]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
call edi
mov eax, dword [esi + 0x10]
shr eax, 1
add esp, 0xc
xor ecx, ecx
mov word [ebx + eax*2], cx
cmp dword [ebp + 0x10], 0
jl 0x1005d81
mov eax, dword [esi + 0xc]
cmp dword [ebp + 0x18], eax
jb 0x1005d81
mov ebx, dword [ebp + 0x1c]
push eax
mov eax, dword [esi + 8]
add eax, esi
push eax
push ebx
call edi
add esp, 0xc
cmp dword [esi + 4], 1
jne 0x1005d59
mov eax, dword [esi + 0xc]
lea ecx, [eax + 2]
cmp ecx, dword [ebp + 0x18]
ja 0x100fdd4
mov eax, dword [esi + 0xc]
mov byte [ebx + eax], 0
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
mov byte [ebx + eax], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x18
mov dword [ebp + 0x10], 0xc0000023
jmp 0x1005d15
mov dword [ebp + 0x10], 0xc0000023
jmp 0x1005d59
mov eax, 0xc0000017
jmp 0x1005d71
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
jmp 0x1005d48
Function at 0x100732f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x6c]
test esi, esi
jne 0x100dea1
mov ecx, dword [0x1038030]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x58
add ecx, 0x280000
push ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x100deb0
mov eax, dword [ebp + 0xc]
and dword [esi], 0
push dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x50], al
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x4c], eax
push 0x20
lea eax, [esi + 0xc]
push eax
mov dword [esi + 0x54], ebx
call fcn.010058fe
cmp dword [edi + 0x6c], 0
jne 0x10073ad
mov dword [edi + 0x6c], esi
lea eax, [edi + 0x70]
push 0x16
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
and dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x1007397
cmp dword [esi + 0x54], ebx
je 0x100deba
mov dword [ebp + 8], esi
mov esi, dword [esi]
jmp 0x100732f
mov eax, 0xc0000017
jmp 0x10073a6
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x50], al
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x4c], eax
push 0x20
lea eax, [esi + 0xc]
push eax
call fcn.010058fe
jmp 0x1007397
Function at 0x100938f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1038008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f4
push dword [0x1038040]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [0x1038270], eax
test eax, eax
je 0x100937f
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xfff6
push dword [0x1038040]
call esi
test eax, eax
je 0x100937f
lea eax, [ebp - 0x44]
push eax
push dword [0x1038270]
push 0x10
push dword [0x103826c]
call ebx
push 0xf060
call fcn.010093eb
push 0x20
lea eax, [ebp - 0x44]
push eax
mov edi, 0xfff8
push edi
push dword [0x1038040]
call esi
test eax, eax
je 0x10093b0
lea eax, [ebp - 0x44]
push eax
push edi
push 0
push dword [0x103826c]
call ebx
push 0x20
lea eax, [ebp - 0x44]
push eax
mov edi, 0xfff7
push edi
push dword [0x1038040]
call esi
test eax, eax
je 0x10093d7
lea eax, [ebp - 0x44]
push eax
push edi
push 0
push dword [0x103826c]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010015a8
leave
ret