joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ac448
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1015e074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1009c4a7
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1009c4a7
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100ac4bf
cmp word [ecx], dx
je 0x100ac4bf
mov eax, dword [0x10137b94]
push edi
dec eax
push eax
push 0x10137a80
call fcn.100ac3e7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100ac532
cmp word [eax], dx
je 0x100ac532
mov eax, dword [edi]
test eax, eax
je 0x100ac4e3
cmp word [eax], dx
je 0x100ac4e3
lea eax, [ebp - 0x10]
push eax
call fcn.100abdca
jmp 0x100ac4ec
lea eax, [ebp - 0x10]
push eax
call fcn.100abe65
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100ac55c
mov eax, dword [0x10137a7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10137770
call fcn.100ac3e7
add esp, 0xc
test al, al
je 0x100ac55c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100ac527
cmp word [eax], di
je 0x100ac527
lea eax, [ebp - 0x10]
push eax
call fcn.100abdca
pop ecx
jmp 0x100ac55e
lea eax, [ebp - 0x10]
push eax
call fcn.100abe65
jmp 0x100ac524
mov eax, dword [edi]
test eax, eax
je 0x100ac549
cmp word [eax], dx
je 0x100ac549
lea eax, [ebp - 0x10]
push eax
call fcn.100abd7f
pop ecx
jmp 0x100ac55c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100ac627
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100ac26c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100ac627
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100ac627
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100ac627
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100ac5b4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100a1974
test ebx, ebx
je 0x100ac622
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100a1974
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100ac627
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100ac627
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100b022e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100ac629
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10089497
leave
ret
Function at 0x100b0891
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100b080d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100b0a00
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100b0a00
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100b09b5
jg 0x100b08ed
test eax, eax
je 0x100b09ab
push 1
push 0x1000
call fcn.100a1244
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100b0910
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100b09a2
push 0x8000
push ebx
call fcn.100b073e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100b0939
jg 0x100b0934
cmp ecx, 0x1000
jb 0x100b0939
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100a0aaa
add esp, 0x10
cmp eax, 0xffffffff
je 0x100b097e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100b0934
jl 0x100b0965
test ecx, ecx
jne 0x100b0926
push dword [ebp - 0xc]
push ebx
call fcn.100b073e
push esi
call fcn.100a0cc6
add esp, 0xc
xor ebx, ebx
jmp 0x100b0a0e
cmp byte [edi + 0x24], 0
je 0x100b0995
cmp dword [edi + 0x20], 5
jne 0x100b0995
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100b09a0
mov ebx, dword [edi + 0x18]
jmp 0x100b09a2
xor ebx, ebx
push esi
call fcn.100a0cc6
pop ecx
jmp 0x100b0a0e
test ecx, ecx
jg 0x100b0977
jl 0x100b09b5
test eax, eax
jae 0x100b0977
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100a2ef9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100b09d5
cmp byte [edi + 0x1c], 0
je 0x100b0977
jmp 0x100b0a06
push ebx
call fcn.100acd4d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100b0977
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100b0a0e
cmp byte [edi + 0x1c], 0
je 0x100b0a0b
mov ebx, dword [edi + 0x18]
jmp 0x100b0a0e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100a2ef9
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100dd8c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101753a0]
jne 0x100dd928
mov dword [ebp - 8], 0
jmp 0x100dd8e6
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x100dd928
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x10183430]
mov byte [ecx + 0x10183330], al
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100dd916
mov byte [ebp - 1], 1
jmp 0x100dd91a
mov byte [ebp - 1], 0
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
mov byte [edx + 0x10183430], al
jmp 0x100dd8dd
cmp dword [0x10183de0], 0
jne 0x100dd943
push 0
push str.Valve001
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10183de0], eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [0x10183de0]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cvtsi2ss xmm0, dword [ebp - 0xc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x18]
call fcn.10123ea0
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x10183b24
call fcn.10123dc0
push eax
mov ecx, 0x10183a68
call fcn.10123e60
cvtsi2ss xmm0, dword [ebp - 0xc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x28]
call fcn.10123ea0
push eax
mov ecx, 0x10183b24
call fcn.10123e60
mov esp, ebp
pop ebp
ret
Function at 0x10106ce0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10188d4c]
mov dword [ebp - 4], eax
jmp 0x10106cf8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10106d0e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10106d0c
mov eax, dword [ebp - 4]
jmp 0x10106d89
jmp 0x10106cf0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10106d86
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10106d48
mov edx, dword [ebp - 4]
mov eax, dword [0x10188d4c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10188d4c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10107e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10188d40]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10107e64
mov eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10107e86
mov eax, 0xa
jmp 0x10107f6d
cmp dword [ebp + 0xc], 0
je 0x10107ed2
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 8]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x10107ed0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xf9
jmp 0x10107f0e
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10107ef9
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1008b360
add esp, 0xc
jmp 0x10107f0e
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1008b360
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10107f80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10107ff4
mov dword [ebp - 4], 0
jmp 0x10107fa0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x10107fe0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10107fde
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10107f97
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1017533c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret

Function at 0x10108000
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.101080b0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1010809d
mov dword [ebp - 4], 0
jmp 0x10108049
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1010809d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1010809b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10108200
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10108040
mov esp, ebp
pop ebp
ret
Function at 0x101080b0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1015e074]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x101081f1
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x101081e7
cmp dword [ebp - 0x20], 0x10
jb 0x101081ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x101081ca
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x101081ca
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1010815a
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x1017533c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10108158
jmp 0x101081e7
jmp 0x101081aa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x101081aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1017533c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10108194
jmp 0x101081e7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x101080f4
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089497
mov esp, ebp
pop ebp
ret
Function at 0x10108560
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x101085a9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x101085a9
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x101085a9
xor eax, eax
jmp 0x101085ea
mov dword [ebp - 4], 1
jmp 0x101085bb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x101085e5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x101085e3
xor eax, eax
jmp 0x101085ea
jmp 0x101085b2
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1011c7f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 0
jne 0x1011c803
xor eax, eax
jmp 0x1011c9dc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1011c823
xor eax, eax
jmp 0x1011c9dc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
je 0x1011c841
xor eax, eax
jmp 0x1011c9dc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x50]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
call fcn.1000ff40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
jmp 0x1011c876
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x1011c9da
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
je 0x1011c952
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x1011c8d0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x1011c8d0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
sub edx, 0x30
mov dword [ebp - 0x1c], edx
jmp 0x1011c8e8
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x1c], eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x1011c927
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x39
jg 0x1011c927
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
sub eax, 0x30
mov dword [ebp - 0x20], eax
jmp 0x1011c93f
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x1c]
shl eax, 4
or eax, dword [ebp - 0x20]
cmp edx, eax
jne 0x1011c9b7
cmp dword [ebp - 8], 0
jne 0x1011c95e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
test ecx, ecx
jne 0x1011c975
mov eax, dword [ebp - 8]
jmp 0x1011c9dc
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x3f3f
je 0x1011c996
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
jne 0x1011c996
mov dword [ebp - 0x24], 2
jmp 0x1011c99d
mov dword [ebp - 0x24], 3
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
test edx, edx
jne 0x1011c9b5
mov eax, dword [ebp - 8]
jmp 0x1011c9dc
jmp 0x1011c9d5
cmp dword [ebp - 8], 0
je 0x1011c9d5
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.1000ff40
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1011c86d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x101223b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [ebp - 4], 0
je 0x101223eb
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x45dda3b7
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, 0x80004005
xor esi, esi
mov eax, dword [ebp + 8]
cmp dword [eax], esi
je 0x45dda4ec
mov al, byte [0x4603ba3d]
test al, al
jne 0x45dda3c9
cmp dword [ebp + 0xc], esi
je 0x45dda527
mov al, byte [0x4603ba3d]
test al, al
jne 0x45dda3dd
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x45dda56e
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x45dda565
lea eax, [ebp - 0xc]
push eax
push ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x45dda565
mov ebx, dword [ebp - 0xc]
cmp ebx, esi
mov dword [ebp - 0x24], ebx
jl 0x45dda563
jg 0x45dda458
cmp eax, esi
jbe 0x45dda563
push esi
push esi
push esi
push 2
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x45dda565
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x45dda4e1
xor edi, edi
cmp ebx, esi
mov dword [ebp - 0x14], esi
jl 0x45dda4d6
jg 0x45dda495
cmp dword [ebp + 0xc], esi
jbe 0x45dda4d6
mov eax, dword [ebp - 0x14]
or ebx, 0xffffffff
mov ecx, edi
add ecx, 0xffffffff
adc eax, esi
cmp eax, dword [ebp - 0x24]
jl 0x45dda4b3
jg 0x45dda4ae
cmp ecx, dword [ebp + 0xc]
jbe 0x45dda4b3
mov ebx, dword [ebp + 0xc]
sub ebx, edi
mov eax, dword [ebp - 8]
add eax, edi
push ebx
push eax
mov eax, dword [ebp + 8]
call fcn.45dda2e4
add edi, ebx
adc dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x45dda495
jg 0x45dda4d6
cmp edi, dword [ebp + 0xc]
jb 0x45dda495
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edi, edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45dda565
lea eax, [ebp - 4]
push eax
push 0x96
push 0x45dbb0f4
push edi
mov dword [ebp - 4], esi
call fcn.45f85675
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0x45dc096c
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], esi
push 0x45ff0f98
lea eax, [ebp - 0x30]
push eax
call fcn.45fb1416
lea eax, [ebp - 8]
push eax
push 0x97
push 0x45dbb0f4
mov edi, 0x80070057
push edi
mov dword [ebp - 8], esi
call fcn.45f85675
mov eax, dword [ebp - 8]
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x45dc096c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
push 0x45ff0f98
lea eax, [ebp - 0x20]
jmp 0x45dda521
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8