joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b0e4a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.05acf3e0
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0
mov esi, ecx
lea ecx, [ebp - 0x1008]
push ecx
push 0x400
push edi
push 0
push 0x1300
mov dword [ebp - 0x1010], eax
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
xor edx, edx
push 0xffe
push edx
lea eax, [ebp - 0x1002]
push eax
mov word [ebp - 0x1004], dx
call fcn.05acaa80
mov edx, dword [0x5b9f154]
add esp, 0xc
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
push 0x7a
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
mov ecx, dword [ebp - 0x1008]
push ecx
mov dword [ebp - 0x100c], eax
call ebx
mov ecx, dword [ebp - 0x100c]
add ecx, eax
lea edx, [ecx + ecx + 0x50]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov eax, dword [ebp - 0x1008]
push eax
push edi
push esi
lea ecx, [ebp - 0x1004]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, eax
shr ecx, 1
call fcn.05a058d0
mov eax, ebx
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b0e572
mov ecx, dword [ebp - 0x1010]
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.05a01370
mov edx, dword [ebp - 0x1008]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push edx
call esi
push ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5b0e740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1cdcf
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x30], cx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
call fcn.05a01900
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x5b0e7b8
push 0x20
push 1
lea ecx, [ebp - 0x30]
call fcn.05a06370
push 0
push esi
or eax, 0xffffffff
lea esi, [ebp - 0x30]
call fcn.05a01270
mov ecx, 0x44
lea eax, [ebp - 0x8c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x5b0e7c3
mov dword [ebp - 0x8c], 0x44
mov ecx, 0x10
lea eax, [ebp - 0x40]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x5b0e7e0
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x5b0e7f3
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5b0e84b
mov edx, dword [ebp - 0x40]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x3c]
push ecx
call esi
cmp dword [ebp - 0x1c], 8
jb 0x5b0e847
mov edx, dword [ebp - 0x30]
push edx
call fcn.05ac7ecf
add esp, 4
xor eax, eax
jmp 0x5b0e867
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x1c], 8
mov esi, eax
jb 0x5b0e865
mov eax, dword [ebp - 0x30]
push eax
call fcn.05ac7ecf
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret
Function at 0x5b0e970
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1d111
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ebx, 8
cmp dword [ebp + 0x1c], ebx
jae 0x5b0e9b5
lea eax, [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call edi
test eax, eax
je 0x5b0e9f0
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x5b0e9cf
lea eax, [ebp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
cmp dword [ebp + 0x1c], ebx
jb 0x5b0e9e9
mov eax, dword [ebp + 8]
push eax
call fcn.05ac7ecf
add esp, 4
mov al, 1
jmp 0x5b0eb33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5b0ea29
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x5b0ea08
lea eax, [ebp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
cmp dword [ebp + 0x1c], ebx
jb 0x5b0e9e9
mov ecx, dword [ebp + 8]
push ecx
call fcn.05ac7ecf
add esp, 4
mov al, 1
jmp 0x5b0eb33
cmp eax, 3
jne 0x5b0eb20
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.05acaa80
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
jae 0x5b0ea5b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.05ac8c66
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b0ea80
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x218]
lea esp, [esp]
push eax
lea edx, [ebp - 0x218]
push edx
call esi
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x5b0eb16
cmp word [eax], 0x5c
jne 0x5b0eaa0
xor edx, edx
sub esp, 0x1c
mov word [eax], dx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x21c], esp
push eax
call fcn.05a01460
call fcn.05b0e970
add esp, 0x1c
test al, al
je 0x5b0eb16
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x5b0eaed
lea eax, [ebp + 8]
push 0
push eax
call edi
test eax, eax
je 0x5b0eb16
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x5b0eb01
lea eax, [ebp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
lea ecx, [ebp + 8]
call fcn.05a014b0
mov al, 1
jmp 0x5b0eb33
lea ecx, [ebp + 8]
call fcn.05a014b0
jmp 0x5b0eb31
cmp dword [ebp + 0x1c], ebx
jb 0x5b0eb31
mov ecx, dword [ebp + 8]
push ecx
call fcn.05ac7ecf
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret
Function at 0x5b0f3c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x5b0f3fb
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 0x5b6c8ec
call fcn.05b0e4a0
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x5b0f42d
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, str.LookupPrivilegeValue
call fcn.05b0e4a0
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x5b0f472
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 0x5b6c964
call fcn.05b0e4a0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x5b0f49d
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 0x5b6c990
call fcn.05b0e4a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret
Function at 0x5b11630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5b9f154]
sub esp, 0x1c
push ebx
push esi
push edi
push 0
push 0x5b11510
push 0
push 0x81
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
mov eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call edi
test eax, eax
je 0x5b116bf
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x5b116c8
push esi
call ebx
test eax, eax
je 0x5b1169b
lea edx, [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x5b116af
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x5b11680
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b14a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [edi], eax
test eax, eax
je 0x5b14b56
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x5b14b4d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0xc]
push esi
push ecx
push eax
call fcn.05ac9880
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 8]
push edx
push 1
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 8]
test eax, eax
je 0x5b14b46
lea ecx, [ebp - 4]
push ecx
push 0x5b5a680
push 1
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 4]
test eax, eax
je 0x5b14b3b
mov edx, dword [eax]
lea ebx, [edi + 0x10]
push ebx
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
lea eax, [edi + 0x14]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
imul ecx, dword [ebx]
add ecx, 0x4f6
mov eax, 0x6734d007
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
push 0x58
add ecx, edx
push esi
mov dword [edi + 8], ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
imul ecx, dword [edi + 0x14]
add ecx, 0x4f6
mov eax, 0x6734d007
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
push 0
mov dword [edi + 0xc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6da3c646
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6da4ebbc], 0
push esi
push edi
jne 0x6da3c5bc
call fcn.6da3c528
test eax, eax
je 0x6da3c601
mov eax, dword [0x6da4ebbc]
cmp eax, 1
jne 0x6da3c5dd
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6da3c601
jmp 0x6da3c643
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6da3c643
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6da3c605
xor eax, eax
jmp 0x6da3c643
mov eax, dword [esi]
push dword [0x6da4ebbc]
call edi
mov edi, eax
test edi, edi
je 0x6da3c627
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6da3c643
lea edi, [esi + 0xff0]
push esi
push dword [0x6da4ebbc]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6da3c62d
mov eax, esi
pop edi
pop esi
ret
jmp 0x6da3c5a8

Function at 0x6da3ca24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6da4dc8c]
jne 0x6da3ca2e
repz ret
jmp fcn.6da3ece8

Function at 0x6da428a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x6da428b8
pop dword [ebp - 0x40]
mov eax, 0x6da428b8
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x38014
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x320d9273
sub ecx, 0x320d5013
mov ebx, eax
mov edi, 0x6da54800
add edi, dword [ebp - 0x40]
mov edx, 0x4d3b4bc6
add edx, 0xce16042e
xor dword [ebp - 0x28], ecx
mov esi, dword [edi]
sub dword [ebp - 0xc], esi
xor esi, edx
xor dword [ebp - 0x24], edi
mov dword [ebx], esi
add ebx, 4
add edi, 0x77fbb275
add edi, 0x88044d8f
loop 0x6da42907
add eax, 0xfc53
mov ebx, eax
add eax, 5
mov ecx, 0x91332a9f
sub ecx, 0x23902a9f
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x51dea0
Capabilities:
Terminate process

Disassembly:
test byte [0x5cc2e8], 0x20
jne 0x51debe
vmovq xmm0, xmm0
vcvttpd2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
mov ecx, esp
add esp, 0xfffffff8
and esp, 0xfffffff8
movsd qword [esp], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esp, ecx
btr edx, 0x1f
sbb ecx, ecx
cmp edx, 0x41e00000
jae 0x51df1e
cvttsd2si eax, xmm0
cdq
ret
mov ecx, edx
bts edx, 0x14
shr ecx, 0x14
and edx, 0x1fffff
sub ecx, 0x433
jge 0x51df18
neg ecx
push ebx
xor ebx, ebx
shrd ebx, eax, cl
je 0x51df11
cvttss2si ebx, dword [0x532bec]
pop ebx
shrd eax, edx, cl
shr edx, cl
ret
shld edx, eax, cl
shl eax, cl
ret
cmp edx, 0x43e00000
jae 0x51df37
test ecx, ecx
je 0x51dee8
call 0x51dee8
neg eax
adc edx, 0
neg edx
ret
jecxz 0x51df3f
ja 0x51df3f
test eax, eax
je 0x51df47
cvttss2si ecx, dword [0x532be8]
mov edx, SysReAllocStringLen
xor eax, eax
ret

Function at 0x51e623
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x51e662
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51e662
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51e662
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x51e662
cmp dword [ecx + 0x74], 0xe
jbe 0x51e662
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x52adc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52aded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52aded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x105d2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105d21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105d207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105d206a
add dl, dl
jne 0x105d2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105d20dc
xor eax, eax
add dl, dl
jne 0x105d2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105d217d
add dl, dl
jne 0x105d20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105d20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105d2075
mov eax, 1
add dl, dl
jne 0x105d20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105d20e1
sub eax, ebx
mov ebx, 1
jne 0x105d2128
mov ecx, 1
add dl, dl
jne 0x105d210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105d2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105d2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105d2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105d213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105d214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105d2136
cmp eax, 0x7d00
jae 0x105d216d
cmp eax, 0x500
jb 0x105d2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105d2075
cmp eax, 0x7f
ja 0x105d2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105d2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105d219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105d2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x8a953a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8a9541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8aa89f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x8c7348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x8c7348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x8c6178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8aa8a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x40f9e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x481350]
cmp ax, 0xcb
je 0x40fadf
cmp ax, 0xcc
je 0x40fadf
mov edx, dword [0x4aa6c0]
test edx, edx
je 0x40fa12
mov eax, dword [0x4aa570]
call edx
mov ebx, eax
jmp 0x40fa17
mov ebx, 0x4aa574
cmp word [0x4aa560], 0
jle 0x40fa3a
mov eax, 0x4aa540
call fcn.0040fc90
mov eax, ebx
call fcn.0040f5b0
mov eax, ebx
call fcn.0040f630
mov esi, dword [ebx]
jmp 0x40fa5d
mov edi, dword [esi + 4]
test byte [esi], 1
jne 0x40fa58
mov edx, esi
mov eax, ebx
call fcn.0040ea40
jmp 0x40fa5b
and dword [esi], 0xfffffffe
mov esi, edi
test esi, esi
jne 0x40fa40
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x4aa560], 0
jle 0x40fadf
mov edx, 0x4aa480
mov eax, ebx
call fcn.0040eb90
mov esi, eax
test eax, eax
je 0x40fab2
mov eax, dword [0x4aa514]
mov dword [esi + 0xc], eax
cmp dword [0x4aa514], 0
je 0x40faa7
mov eax, dword [0x4aa514]
mov dword [eax + 8], esi
mov eax, dword [ebx + 0x94]
mov dword [0x4aa514], eax
sub word [0x4aa560], 1
cmp word [0x4aa560], 0
sete bl
mov eax, 0x4aa540
call fcn.0040fcb0
test bl, bl
je 0x40fadf
mov eax, 0x4aa540
call fcn.0040fc80
pop edi
pop esi
pop ebx
ret