joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100484c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x718
push ebx
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push 0x20019
push ebx
xor edi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10049a3
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x6ec]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
mov dword [ebp + 8], 0xc8
push eax
push ebx
push 0x1001b4c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1004999
cmp word [ebp - 0x6ec], bx
je 0x1004999
push 0x28
lea eax, [ebp - 0x714]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x1001b30
push dword [ebp - 4]
call esi
test eax, eax
je 0x10048fd
mov word [ebp - 0x624], 0x4e
mov word [ebp - 0x622], bx
lea eax, [ebp + 8]
mov edi, 0x208
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x1001b14
mov dword [ebp + 8], edi
push dword [ebp - 4]
call esi
test eax, eax
je 0x100492a
mov word [ebp - 0x620], bx
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x1001af0
push dword [ebp - 4]
call esi
test eax, eax
je 0x1004952
mov word [ebp - 0x418], bx
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x1001ad8
push dword [ebp - 4]
call esi
test eax, eax
je 0x100497a
mov word [ebp - 0x210], bx
mov eax, dword [0x1008dcc]
inc dword [0x1008dcc]
mov dword [ebp - 0x718], eax
lea eax, [ebp - 0x718]
push eax
call fcn.010049ab
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x10054fa
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push esi
push 0x104
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100556f
push dword [ebp + 0xc]
lea eax, [ebp - 0x42c]
push eax
push dword [ebp + 8]
call fcn.0100548e
lea eax, [ebp - 0x458]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005544
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
leave
ret 0xc

Function at 0x10057a8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
push esi
push edi
lea eax, [ebp - 0x264]
push 0x104
push eax
push 0x9f
push dword [0x10080e0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, 0x103
lea esi, [eax + eax]
sub ecx, eax
push ecx
lea eax, [ebp + esi - 0x262]
push 0x1001b80
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x12
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], ebx
rep stosd dword es:[edi], eax
push 1
lea eax, [ebp - 8]
pop edi
mov word [ebp + esi - 0x226], bx
push eax
push 0x2001f
push ebx
push 0x1001310
push 0x80000001
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0x208
mov dword [ebp - 4], ebx
mov word [ebp - 0x46c], bx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, 0x1001ce4
je 0x1005868
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1005868
mov word [ebp - 0x46c], bx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], 0x4c
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x28], 0x1000
mov dword [ebp - 0x20], 0x1001cdc
call sub.comdlg32.dll_GetOpenFileNameW
test eax, eax
je 0x10058e9
push dword [ebp - 0x40]
push 0x10091f0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp + 8]
call fcn.01005598
push dword [ebp + 8]
call fcn.010056a4
cmp dword [ebp - 4], ebx
je 0x10058f7
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x40]
push edi
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], ebx
je 0x10058f7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1005fbc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30d8
call fcn.010067c0
lea eax, [ebp - 0x30d8]
push eax
push 0x186c
push 0xd
push 0x3ff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x30d8]
push eax
call fcn.01003ccd
leave
ret 4

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x33fa2392
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x631b4f0e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x24
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.004012e0
push 0x94
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.004012e0
add esp, 0x18
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401076
lea ecx, [ebp - 0xc4]
push ecx
call eax
jmp 0x401083
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x9c], 6
jb 0x40109d
mov al, 1
cmp byte [ebp - 6], al
jne 0x40109d
cmp word [ebp - 0xc4], 9
je 0x40109f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012a6
leave
ret

Function at 0x4010ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
push esi
push edi
lea eax, [esp + 0xc]
push eax
xor esi, esi
push 0x1a
push esi
xor edi, edi
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [esp + 0xc], esi
je 0x401168
cmp eax, esi
jne 0x401168
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x401137
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x8000
push dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x40112d
push dword [esp + 0x1c]
push 0x2000
push dword [ebp + 8]
call fcn.0040135a
add esp, 0xc
test eax, eax
jne 0x40112d
inc edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0xc], esi
je 0x401168
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x401168
mov eax, dword [esp + 0x14]
push dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401170
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6024
call fcn.004066e0
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x6004]
push edi
push eax
call fcn.004010ab
lea eax, [ebp - 0x6004]
push eax
push str._sAdobe
mov edi, 0x2000
lea eax, [ebp - 0x2004]
push edi
push eax
call fcn.004012b5
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
add esp, 0x14
lea eax, [ebp - 0x2004]
push eax
push 0
call esi
lea eax, [ebp - 0x2004]
push eax
push str._sLightroom
lea eax, [ebp - 0x4004]
push edi
push eax
call fcn.004012b5
add esp, 0x10
lea eax, [ebp - 0x4004]
push eax
push 0
call esi
push 0x1e
lea eax, [ebp - 0x6024]
push 0
push eax
call fcn.004012e0
lea eax, [ebp - 0x4004]
mov dword [ebp - 0x6018], eax
mov eax, 0x414
mov word [ebp - 0x6014], ax
add esp, 0xc
lea eax, [ebp - 0x6024]
push eax
mov dword [ebp - 0x6020], 2
mov dword [ebp - 0x601c], str.Adobe_Photoshop_Lightroom_5marketingResearchBreadcrumbs.txt
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004012a6
leave
ret

Function at 0x401248
Capabilities:
Create process on windows
Set environment variable
Terminate process

Disassembly:
push esi
push edi
push 0x40aa84
push str.SEE_MASK_NOZONECHECKS
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
call section..text
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
push 1
push esi
push esi
test al, al
je 0x401283
push str.Adobe_Photoshop_Lightroom_5Adobe_Lightroom_x64.msi
push esi
push esi
call edi
push 1
push esi
push esi
push str.Adobe_Photoshop_Lightroom_5_setup64.exe
jmp 0x401295
push str.Adobe_Photoshop_Lightroom_5Adobe_Lightroom.msi
push esi
push esi
call edi
push 1
push esi
push esi
push str.Adobe_Photoshop_Lightroom_5_setup32.exe
push esi
push esi
call edi
call fcn.00401170
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4012a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c004]
jne 0x4012b0
repz ret
jmp fcn.0040155d
Function at 0x405fbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004029f7
and dword [ebp - 0x14], 0
cmp dword [0x40da10], 0
mov dword [ebp - 0x18], eax
jne 0x40606f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406117
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406117
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40da10], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40da14], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40da18], eax
call edi
push eax
call esi
mov dword [0x40da20], eax
test eax, eax
je 0x40606f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40da1c], eax
mov eax, dword [0x40da1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4060c8
cmp dword [0x40da20], ecx
je 0x4060c8
push eax
call esi
push dword [0x40da20]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4060c8
test ebx, ebx
je 0x4060c8
call edi
test eax, eax
je 0x4060bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4060bf
test byte [ebp - 8], 1
jne 0x4060c8
or dword [ebp + 0x10], 0x200000
jmp 0x4060fb
mov eax, dword [0x40da14]
cmp eax, dword [ebp - 0x18]
je 0x4060fb
push eax
call esi
test eax, eax
je 0x4060fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4060fb
mov eax, dword [0x40da18]
cmp eax, dword [ebp - 0x18]
je 0x4060fb
push eax
call esi
test eax, eax
je 0x4060fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40da10]
call esi
test eax, eax
je 0x406117
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406119
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004012a6
leave
ret
Function at 0x100d58d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
and dl, dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x100d5aa5
jmp 0x100d5911
mov dword [0x1016800c], 0x185d
mov dword [0x10168008], 0x205
mov ecx, dword fs:[0x18]
mov dword [0x10168008], 0x212c
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x1016800c], 0x13d0
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
je 0x100d5a96
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x25], cl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d5975
mov eax, dword [ebp - 0x2c]
mov dword [0x1016800c], 0xaad
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
jne 0x100d59b0
jmp 0x100d59c0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x100d5aa5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx]
mov dword [0x10168008], 0xffffe74d
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
je 0x100d5a79
mov eax, dword [ebp - 0x48]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x38]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x52], si
mov word [ebp - 0x54], bx
jb 0x100d5a2f
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x44]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x48], esi
jne 0x100d59f0
mov dword [0x10168008], 0x1b01
mov al, byte [ebp - 0x55]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], ecx
jne 0x100d5aa5
mov dword [0x10168008], 0x25ac
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov dword [ebp - 0x2c], ecx
jne 0x100d5975
xor eax, eax
mov dword [0x1016800c], 0x23cc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d5db6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10168010], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10168014], 0
mov dword [0x10168020], 0
mov dword [0x10168008], 0x819
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x100d5f36
jmp 0x100d5e3b
mov eax, dword [0x10168010]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10168014]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10168010], edx
mov dword [0x10168008], 0x110a
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10168014], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10168018], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10168018]
mov edx, dword [0x10168014]
mov byte [edi + edx], cl
mov edx, dword [0x10168010]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10168014]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10168008]
mov ecx, edx
add ecx, 0x154a
mov dword [0x10168008], ecx
and ebx, 0xff
mov dword [0x10168020], ebx
mov ecx, dword [0x1016800c]
add ecx, 0x880
mov dword [0x1016800c], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov ch, byte [ebx + esi]
mov byte [0x10168025], ch
mov byte [0x10168026], cl
xor ch, cl
mov byte [0x10168024], ch
add edx, 0xffffd056
mov dword [0x10168008], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x30], esi
jne 0x100d5e1f
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d63be
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1016800c], 0xfffffec1
mov dword [0x10168008], 0x83
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x1014bbd8]
mov dl, byte [eax + 0x1014bba9]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x100d63eb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov dword [0x1016800c], 0xe43
mov dword [0x10168008], 0x1b8b
call fcn.100d6802
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.100d624c
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x100d64f6
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100d6a3e
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
add eax, 0xc0
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], 0x4550
mov edx, dword [ebp - 0x40]
add edx, 0xffc00000
mov dword [0x1016800c], 0xfc2
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x3c], edx
mov edx, dword [ebp - 0x40]
mov dword [esi + 0x50], edx
mov dword [0x10168008], 0x671
add edx, 0x1f22
mov edi, dword [ebp - 0x40]
cmp edi, 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
je 0x100d64ec
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x100d65bd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov dword [0x10168008], 0x1f0
mov dword [ebp - 0x10], eax
call fcn.100d5fbc
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100d6603
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1016800c], 0x1eae
mov esi, dword [edx + eax + 0x24]
mov dword [0x10168008], 0xb82
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
jne 0x100d6654
mov eax, dword [ebp - 0x34]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jmp 0x100d666c
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10168008], 0x2173
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x56], cl
je 0x100d66ed
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], dl
mov al, byte [ebp - 0x56]
mov cl, byte [ebp - 0x5d]
and al, cl
mov edx, dword [ebp - 0x5c]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov dword [ebp - 0x50], edx
jne 0x100d6690
mov al, byte [ebp - 0x56]
test al, 1
jne 0x100d673a
jmp 0x100d66f6
mov eax, dword [ebp - 0x44]
add eax, 1
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x30]
cmp eax, edx
setb bl
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x69], bl
xor eax, eax
mov cl, byte [ebp - 0x69]
test cl, 1
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], esi
jne 0x100d666c
jmp 0x100d6649
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10168008], 0x12d8
mov dword [ebp - 0x34], edi
jmp 0x100d6649