joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e9d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c2a8
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 0x42ea09
inc eax
mov dword [esi + 0x10], eax
jmp 0x42eb1c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42ea1d
mov eax, 0xffffffc7
jmp 0x42eb1e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42ea2e
cmp dword [esi + 8], eax
jne 0x42ea1d
cmp dword [esi + 8], eax
jne 0x42ea47
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42ea47
mov eax, 0xffffffc7
jmp 0x42eb1e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42ea5b
push eax
mov ecx, ebx
call fcn.0042e200
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.00402930
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42ea8c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402950
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d970
test eax, eax
mov dword [esp + 0x38], eax
je 0x42eabf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xa69648
call fcn.00402b30
mov eax, dword [esp + 0x38]
jmp 0x42eb1e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042e830
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42eb03
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042e850
mov esi, eax
test esi, esi
jne 0x42eb33
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042e830
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42ead5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xa69648
call fcn.00402b30
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], 0xa69648
call fcn.00402b30
mov eax, esi
jmp 0x42eb1e

Function at 0x431bc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x431c20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x431c20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x431c20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x431c20
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 0x431c60
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 0x43e290
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c8d8
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.00475b4e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043dc30
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.00475a7c
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.00472342
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.00472342
push 1
push 0
push 0
mov ecx, esi
call fcn.004722ea
push 1
push 0
push 1
mov ecx, esi
call fcn.004722ea
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00475bc0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e410
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c8f8
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.00475b4e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043dc30
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.00475a7c
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 0x43e4d4
cmp dword [esp + 0x40], 1
jne 0x43e4d2
cmp ecx, eax
jge 0x43e4d4
mov eax, ecx
cmp eax, 0xc8
jge 0x43e4e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e290
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.00475bc0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ec50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c963
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.0047075d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.00475df6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00477312
test eax, eax
je 0x43ed6c
mov ecx, dword [esp + 0x3c]
call fcn.00475e23
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 0x43ed30
push edi
mov ecx, esi
call fcn.0047348d
mov ecx, esi
call fcn.0043eed0
cmp dword [esp + 0x38], 1
jne 0x43ed65
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.004735c8
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 0x441790
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4417c3
push esi
call fcn.0044f9c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4417bc
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 0x441849
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441832
mov eax, dword [esi + 8]
test eax, eax
je 0x4417e7
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 0x44182e
cmp eax, 2
je 0x441832
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4417da
cmp eax, 3
je 0x44180d
cmp eax, 1
jne 0x4417da
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 0x4417da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4417da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441870
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441858
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441870
add esp, 4
pop esi
ret

Function at 0x4420f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442111
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442111
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442111
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 0x471553
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47158b
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.0046f60a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046f5e2
jmp 0x471597
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x472c4a
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 0x472c8c
call fcn.004786fd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x472c8c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x472c83
xor eax, eax
jmp 0x472c94
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00472c9a
pop edi
pop esi
pop ebx
ret 4
Function at 0x478c2d
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 0x478c5b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x478c79
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00478b93
jmp 0x478c79
mov eax, dword [esi + 0x14]
test eax, eax
je 0x478c79
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00478b93
test edi, edi
mov eax, edi
jne 0x478c63
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x13a26b9
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov byte [esp + 1], al
xchg word [esp + 1], ax
push ecx
jmp 0x13a26f7
mov dword [esp], eax
rdtsc
lea esp, [esp + 8]
dec bl
bsr edx, edx
jmp 0x13a270b
js 0x13a26e1
mov ax, word [esp]
mov edx, ecx
jmp 0x13a2ea1
xchg dl, ah
or eax, esp
jmp 0x13a2aad

Function at 0x13a606b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf138fb2c
jmp 0x13a6078
mov dword [esp], ecx
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0x13a6096
mov si, dx
xchg ch, ah
mov bh, 0xec
sub esp, 1
jmp 0x13a60e8
pushfd
jmp 0x13a4751
lea esp, [esp + 1]
mov esi, dword [esp + 0x2c]
setb ch
jmp 0x13a60d2
lea edi, [esp]
neg bl
jb 0x13a60f0
rdtsc
cpuid
jmp 0x13a60fa
xchg ah, dl
jmp 0x13a60a9
jbe 0x13a609c
lea esp, [esp + 1]
jmp 0x13a60a0
rdtsc
jmp 0x13a60f8
cpuid
sub esp, 0xc0
mov ebp, esp
jmp 0x13a612d
mov eax, edx
shl bh, cl
jge 0x13a6543
rdtsc
jmp 0x13a654d
rdtsc
not ecx
jmp 0x13a657d
not ecx
jmp 0x13a657d
not ch
pushal
call fcn.013a65ab
add edx, dword [esi + reloc.iphlpapi.dll_GetAdaptersInfo]
lahf
or ebx, dword [ebx + reloc.iphlpapi.dll_GetAdaptersInfo]
cmp dword [ebx - reloc.iphlpapi.dll_GetAdaptersInfo], ecx
invalid
mov edx, esi
mov eax, 0xb6c6b0b1
mov ch, bl
lea eax, reloc.iphlpapi.dll_GetAdaptersInfo
mov ecx, 0x3ca673c
mov al, 0xb8
jmp 0x13a6567
Function at 0x148a37e
Capabilities:
Execute anti-debugging instructions

Disassembly:
setnp ah
jmp 0x148a387
lea eax, [esp + esi]
pushal
mov ah, byte [esp + 0x23]
not al
pop dword [esp + 0x12]
inc ax
jmp 0x148a3d2
std
mov byte [esp], al
mov edx, 0x9f550075
mov edx, dword [esp]
setp al
jmp 0x148a3ea
mov al, byte [esp + 0xb]
push word [esp + 5]
add esp, 0x1f
mov eax, dword [esp]
shl si, 6
mov esi, dword [esp]
jmp 0x148a3bc
btr esi, eax
lea esp, [esp]
mov dl, ch
cld
push word [esp]
bsr edx, ecx
jmp 0x148a424
mov esi, 0x5c15b7e8
mov dx, ax
mov eax, 0x54b401b9
mov al, cl
jmp 0x148a43b
mov byte [esp + 2], dl
pop esi
lea edx, reloc.iphlpapi.dll_GetAdaptersInfo
mov edx, 0x741a205a
ror esi, cl
rcr edx, 4
jmp 0x148a40e
mov dx, 0xf9de
lea esp, [esp]
lea esp, [esp]
lea eax, [ebx + esi]
add esp, 0
xchg al, ah
jmp 0x148a8c2
cmc
mov eax, edx
xchg edx, eax
bt edx, ecx
pop dx
inc dh
jmp 0x148a4ad
shl esi, cl
std
mov word [esp], si
mov dl, 0x60
mov eax, ebx
mov word [esp], bx
jmp 0x148a46f
clc
xchg si, ax
mov edx, dword [esp]
btr esi, ebx
bt ax, dx
inc al
jmp 0x148a661
mov eax, ecx
mov dl, 0x94
bsf edx, esi
mov si, cx
cld
xchg edx, eax
jmp 0x148a497
pop word [esp]
mov byte [esp + 1], cl
stc
cld
sub esp, 0
mov dl, byte [esp + 1]
jmp 0x148a486
lea esp, [esp]
mov byte [esp], bl
bsf edx, esp
cmc
mov si, word [esp]
jmp 0x148a508
clc
not ax
mov edx, dword [esp]
bswap edx
lea edx, [esi + 0x82]
shl dx, cl
jmp 0x148a4de
add esp, 0
xchg byte [esp], al
xchg si, ax
mov al, 0xfc
xchg byte [esp], al
bsr si, si
jmp 0x148a59f
bsf edx, ebx
mov si, bp
xchg dx, ax
bsf dx, sp
stc
xchg dh, al
jmp 0x148a4f4
setne dl
mov ax, 0x93f8
cld
xchg byte [esp], dh
jmp 0x148a581
rdtsc
rdtsc
mov edx, 0xac6c8913
mov byte [esp], dl
or si, 0xa299
mov al, 0x38
jmp 0x148a536
mov dh, bl
lea eax, [edx*4]
mov dx, 0x68e
bswap eax
lea eax, [edi*4]
not dx
jmp 0x148a54c
lea edx, reloc.iphlpapi.dll_GetAdaptersInfo
mov dh, 0x24
inc edx
setne dl
mov al, 0x9c
std
jmp 0x148a624
neg ax
xor al, ch
xchg byte [esp], al
mov byte [esp], ch
rdtsc
lea edx, [esi + ebp]
jmp 0x148a566
lea esp, [esp]
stc
sub eax, edi
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
xchg si, dx
call fcn.0148a5ce
rdtsc
mov byte [esp], al
mov edx, esp
add esp, 0
mov eax, dword [esp]
pushal
jmp 0x148a697
rol al, 2
xchg dword [esp], esi
bsf eax, edx
xchg word [esp + 3], dx
xchg word [esp + 1], si
jmp 0x148a675
bswap eax
mov dl, byte [esp]
rcl edx, 0x16
cld
mov al, byte [esp]
neg dx
jmp 0x148a525
add esp, 5
sub esp, 0x12
mov byte [esp + 0xb], bh
pop word [esp + 0xb]
mov ah, byte [esp + 2]
neg eax
jmp 0x148a7d3
mov al, byte [esp + 0x14]
mov ah, byte [esp + 0x15]
cld
lea edx, [ebx + ebp]
mov edx, edi
add esp, 0x1b
jmp 0x148a648
mov ah, 0xcc
btr esi, ebp
cmc
neg esi
mov dword [esp + 5], ebp
mov edx, 0x31cd0b6f
call fcn.0148a6c0
dec dh
call fcn.0148a7b9
add byte [edx + eax - 0x69806b9b], cl
sbb dword [ecx - 0x705e418], ecx
invalid
mov al, 0xc5
xchg word [esp + 0xd], ax
std
neg esi
bswap esi
shr si, 0xf
jmp 0x148a762
add esp, 0
mov ah, 0x84
not dx
xchg dx, si
bts edx, esp
push eax
jmp 0x148a4cb
Function at 0x148a5ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0
rcl dx, cl
xchg edx, eax
dec eax
pop esi
rdtsc
jmp 0x148a5f0
mov edx, 0xd3e0258e
jmp 0x148a5b1
setp al
bsf si, dx
setp ah
mov edx, dword [esp]
mov byte [esp], al
clc
jmp 0x148a608
mov edx, dword [esp]
mov edx, 0xe5cc4e21
lea esi, [edx*4]
add esp, 0
rdtsc
mov al, 0x1f
jmp 0x148a5d5
mov dh, 0xc6
mov esi, 0xce1bee98
mov al, dl
neg ax
mov esi, dword [esp]
xchg si, ax
jmp 0x148a638

Function at 0x148b415
Capabilities:
Execute anti-debugging instructions

Disassembly:
setbe al
pop dx
setns ah
lea edx, [esi*4]
jmp fcn.0148b344
dec ax
mov word [esp + 1], dx
shl si, 2
btr esi, edx
pop dword [esp]
lea esp, [esp]
jmp 0x148b302
mov edx, dword [esp]
xchg word [esp + 5], dx
shr eax, 4
sub dx, cx
xchg si, ax
xchg dword [esp + 4], edx
jmp 0x148b318
xchg dl, dh
rdtsc
sub esp, 0xb
mov dl, al
pop dword [esp + 3]
rdtsc
jmp 0x148b367
xchg si, ax
mov esi, esp
add esp, 0xc
mov si, bx
jmp 0x148b3b5

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100012db
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], eax
test edx, edx
je 0x10001307
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push ecx
push 0x40
push edx
push eax
mov dword [esi + 4], edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1000228d
Capabilities:
Get common file path

Disassembly:
push 0x18
mov eax, 0x1004dd7e
call fcn.1004b8d4
mov esi, 0x10066e10
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push str._sLoaderLog.txt
mov esi, 0x10066a90
push esi
call fcn.100012c0
push esi
call fcn.1002efd8
add esp, 0x10
call fcn.10029cbc
xor esi, esi
cmp dword [0x10066ba0], esi
jne 0x100022ed
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov dword [0x10066ba0], eax
push 9
test eax, eax
pop ecx
cmovne ecx, edx
jmp 0x100022f0
xor ecx, ecx
inc ecx
xor eax, eax
mov edx, 0x10066b9c
xchg dword [edx], eax
test ecx, ecx
je 0x10002314
push 0x1d2
push str.E:Visual_Studio_ProjectsMGRRMGRModLoaderMGRModLoaderdllmain.cpp
push str.MH_Initialize____MH_OK
call fcn.10038204
add esp, 0xc
mov edi, 0x10066f70
push 0x100024c2
mov ecx, edi
call fcn.1000170d
call fcn.1002a36e
lea ecx, [ebp - 0x24]
call fcn.1002a51b
mov dword [ebp - 4], esi
cmp dword [eax + 0x14], 0xf
jbe 0x1000233d
mov eax, dword [eax]
mov ecx, eax
call fcn.10029fe9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1002a6d1
call fcn.1002a15e
push dword [0x10064e28]
push str._Mod_Loader___INFO____d_mods_loaded_
call fcn.10001901
cmp dword [0x10064e28], 0
pop ecx
pop ecx
je 0x10002375
call fcn.1002a30e
push 0x100024d5
mov ecx, 0x10066fd4
mov byte [0x10066f15], 1
call fcn.1000170d
push 0x1000250d
mov ecx, edi
call fcn.1000170d
mov esi, dword [0x10066f6c]
mov edx, 0x10001a92
push 0x10066bbc
lea ecx, [esi + 0xa9e170]
call fcn.10029ce9
lea ecx, [esi + 0xa9e170]
call fcn.10029e3a
mov esi, dword [0x10066f6c]
mov edx, fcn.10001a03
push 0x10066ba8
lea ecx, [esi + 0x9eaf60]
call fcn.10029ce9
lea ecx, [esi + 0x9eaf60]
call fcn.10029e3a
mov esi, dword [0x10066f6c]
mov edx, 0x10001d85
push 0x10066bac
lea ecx, [esi + 0x9e9900]
call fcn.10029ce9
lea ecx, [esi + 0x9e9900]
call fcn.10029e3a
mov esi, dword [0x10066f6c]
mov edx, 0x10001f3f
push 0x10066bb8
lea ecx, [esi + 0x9eafb0]
call fcn.10029ce9
lea ecx, [esi + 0x9eafb0]
call fcn.10029e3a
mov esi, dword [0x10066f6c]
mov edx, 0x10002099
push 0x10066bb4
lea ecx, [esi + 0x9f1320]
call fcn.10029ce9
lea ecx, [esi + 0x9f1320]
call fcn.10029e3a
mov esi, dword [0x10066f6c]
mov edx, 0x100019ab
push 0x10066bb0
lea ecx, [esi + 0xe9c0f6]
call fcn.10029ce9
lea ecx, [esi + 0xe9c0f6]
call fcn.10029e3a
mov eax, dword [0x10066f6c]
mov ecx, 0x10066fbc
push 0x10002c83
mov dword [eax + 0x1cae15c], 0x1000226f
call fcn.1000170d
push 0x10002c88
mov ecx, 0x10066fc8
call fcn.1000170d
push 0x10002c8d
mov ecx, 0x10066fa0
call fcn.1000170d
mov eax, 0x10066ba4
call fcn.1004b8b1
ret
Function at 0x10004088
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
push 4
mov esi, ecx
not edx
pop edi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10058bf8]
inc esi
sub edi, 1
jne 0x10004098
pop edi
not edx
pop esi
mov eax, edx
leave
ret

Function at 0x100040b8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x1000411c
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x100040e4
cmp edi, 2
jb 0x100040e4
cmp byte [esi], al
jne 0x100040e4
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10058bf8]
test edi, edi
jne 0x100040cd
jmp 0x10004123
cmp al, 0x23
jne 0x1000410a
cmp byte [esi], al
jne 0x1000410a
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10058bf8]
mov al, byte [esi]
inc esi
test al, al
jne 0x100040fc
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x10004258
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x1000427b
push 0x628
push str.E:Visual_Studio_ProjectsMGRRMGRModLoaderMGRModLoaderimguiimgui.cpp
push str.filename__mode
call fcn.10038204
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10004285
and dword [edi], 0
mov edx, 0x100552dc
mov ecx, esi
call fcn.1000412c
mov esi, eax
test esi, esi
je 0x100042ed
mov ecx, esi
call fcn.100041ff
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100042e6
mov ecx, ebx
call fcn.1000600a
mov dword [ebp + 8], eax
test eax, eax
je 0x100042e6
push esi
push ebx
push 1
push eax
call fcn.10037a10
add esp, 0x10
push esi
cmp eax, ebx
je 0x100042d5
call fcn.1002eda0
pop ecx
mov ecx, dword [ebp + 8]
call fcn.10006021
jmp 0x100042ed
call fcn.1002eda0
pop ecx
test edi, edi
je 0x100042e1
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x100042ef
push esi
call fcn.1002eda0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret