joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e635
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
cmp word [eax], di
je 0x46e74f
push edi
push edi
push 3
push edi
push edi
push SysAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46e66c
xor eax, eax
jmp 0x46e77e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x46e68f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46e665
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46e665
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 4]
push eax
push 0x48d9bc
xor edi, edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x46e665
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x24]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp dword [edx], edi
jne 0x46e72b
cmp dword [ecx], edi
jne 0x46e72b
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0x2000
push dword [ecx]
push dword [edx]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x46e754
mov eax, edi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x46e769
push dword [esi + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push edi
mov dword [esi + 0x64], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x46f0ba
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x4c1628
push edi
mov ecx, esi
call fcn.0041bf13
mov ecx, dword [0x4c1688]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x46f111
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x46f175
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x46f18f
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041c067
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46f175
mov ecx, dword [0x4c169c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x46f175
cmp cl, 0xf
je 0x46f175
cmp cl, 0x13
je 0x46f175
cmp cl, 0x10
je 0x46f175
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x46f175
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4c169c]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
mov eax, dword [eax + ecx*4]
push dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 8]
push esi
push dword [eax + 0xc]
jmp 0x46f109
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4010a4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4010fd
push ebx
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0xffffffe6
cmp eax, 0xf85
ja 0x4010ee
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
ret

Function at 0x401102
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
cmp eax, 0x19
jl 0x401169
push esi
push dword [ebp + 8]
call ebx
imul eax, eax, 3
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 8]
mov esi, eax
call ebx
inc eax
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop ebp
ret

Function at 0x4019ad
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push 2
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x401932
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4019d2
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422004]
jne 0x401010
repz ret
jmp fcn.004014f3

Function at 0x407a15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c04
and dword [ebp - 4], 0
cmp dword [0x424c9c], 0
mov ebx, eax
jne 0x407ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b77
push eax
call fcn.00404b92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424c9c], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424ca0], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424ca4], eax
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x424cac], eax
test eax, eax
je 0x407ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x424ca8], eax
mov eax, dword [0x424ca8]
cmp eax, ebx
je 0x407b1e
cmp dword [0x424cac], ebx
je 0x407b1e
push eax
call fcn.00404c0d
push dword [0x424cac]
mov esi, eax
call fcn.00404c0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407b1e
test edi, edi
je 0x407b1e
call esi
test eax, eax
je 0x407b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407b15
test byte [ebp - 0xc], 1
jne 0x407b1e
or dword [ebp + 0x10], 0x200000
jmp 0x407b57
mov eax, dword [0x424ca0]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b57
mov eax, dword [0x424ca4]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424c9c]
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409ba0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x233c3b4], 0x930
jne 0x409bca
push str.Gahaw_tugez_kirapiface_fuya
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x233c3b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x233c1f8], eax
jne 0x409bfd
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
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 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 0x906058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9061a8
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 0x90607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90606a
add dl, dl
jne 0x906089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9060dc
xor eax, eax
add dl, dl
jne 0x906096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90617d
add dl, dl
jne 0x9060a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9060d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x906075
mov eax, 1
add dl, dl
jne 0x9060ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9060e1
sub eax, ebx
mov ebx, 1
jne 0x906128
mov ecx, 1
add dl, dl
jne 0x90610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x906119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x906105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x906075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x90613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x906136
cmp eax, 0x7d00
jae 0x90616d
cmp eax, 0x500
jb 0x906168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x906075
cmp eax, 0x7f
ja 0x906170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x906075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x90619e
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 0x906075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x20e90720
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3751298f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10002cf0
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.10009400
mov eax, dword [0x10010060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x101c], eax
xor eax, eax
mov ebx, ecx
mov ecx, dword [0x10011bfc]
push edi
mov edi, edx
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x1010], ecx
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1008], eax
cmp ebx, eax
jbe 0x10002dd0
mov esi, dword [edi]
xor edx, edx
push 0xffe
push edx
lea eax, [ebp - 0x1002]
push eax
mov word [ebp - 0x1004], dx
call fcn.10004090
push 0x38
lea ecx, [ebp - 0x1054]
push 0
push ecx
call fcn.10004090
add esp, 0x18
lea eax, [ebp - 0x1058]
push eax
push 0
push 0
lea edx, [ebp - 0x1004]
push esi
mov dword [ebp - 0x1058], 0x3c
mov dword [ebp - 0x102c], edx
mov dword [ebp - 0x1028], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10002e1c
mov eax, dword [ebp - 0x104c]
cmp eax, 3
je 0x10002dbb
cmp eax, 4
jne 0x10002e1c
mov eax, dword [ebp - 0x1008]
inc eax
mov dword [ebp - 0x1008], eax
cmp eax, ebx
jb 0x10002d45
mov esi, dword [ebp - 0x1010]
add esi, 4
push 0x104
push esi
call fcn.10003087
add esp, 8
test eax, eax
jne 0x10002df8
call fcn.10002f20
test eax, eax
je 0x10002f0e
push 0x20c
push ebx
call fcn.1000318a
mov esi, eax
add esp, 8
mov dword [ebp - 0x100c], esi
test esi, esi
jne 0x10002e26
mov esi, 0x8007000e
jmp 0x10002eea
mov esi, 0x80070057
jmp 0x10002eea
mov ecx, dword [ebp - 0x1018]
mov edi, ebx
imul edi, edi, 0x20c
push edi
push ecx
push edi
push esi
call fcn.100031ca
add esp, 0x10
mov dword [ebp - 0x1008], 0
test ebx, ebx
je 0x10002ea9
add esi, 4
push 0x104
push esi
call fcn.10003087
add esp, 8
test eax, eax
jne 0x10002e8c
push esi
push eax
mov eax, dword [ebp - 0x1010]
push str.dlapi
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10002f0e
mov dword [ebp - 0x1014], 1
mov eax, dword [ebp - 0x1008]
inc eax
add esi, 0x20c
mov dword [ebp - 0x1008], eax
cmp eax, ebx
jb 0x10002e51
mov esi, dword [ebp - 0x100c]
mov ecx, dword [ebp - 0x1010]
mov eax, ebx
mov ebx, dword [ebp - 0x101c]
push esi
add ecx, 0x20c
call fcn.10001500
mov esi, eax
test esi, esi
js 0x10002eea
cmp dword [ebp - 0x1014], 1
jne 0x10002eea
mov edx, dword [ebp - 0x100c]
mov eax, dword [ebp - 0x1018]
push edi
push edx
push edi
push eax
call fcn.100031ca
add esp, 0x10
mov ecx, dword [ebp - 0x100c]
push ecx
call fcn.1000323f
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000306d
mov esp, ebp
pop ebp
ret 4
mov esi, 0x80004005
jmp 0x10002eea
Function at 0x10002f20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10010060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.10004090
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x10002f75
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000306d
mov esp, ebp
pop ebp
ret
push str.DlApi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10003791
add esp, 0xc
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x1000e300
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.10003791
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.100030a7
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x18
mov eax, 1
call fcn.1000306d
mov esp, ebp
pop ebp
ret

Function at 0x1000306d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10010060]
jne 0x10003077
repz ret
jmp fcn.10003acf

Function at 0x10008d9a
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10008dd5
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10008dbc
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10008dcd
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10008dd7
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10008db2
xor eax, eax
pop edi
pop esi
ret

Function at 0x100091a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x100091f5
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10008d5a
and eax, dword [edi]
push esi
lds ecx, [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x10009400
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000940e
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10009409
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100093f3
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100093fb
cmp edx, ebx
jne 0x10009549
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
or byte [edx], al
or byte [edx], al
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100093ca
add eax, dword [eax + 4]
jmp 0x100093b7
mov dword [ebp + 0xc], ebx
jmp 0x10009419
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10009431
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
add byte [eax], al
add byte [eax - 0x15], ah
push ds
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100094ad
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10009494
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000949d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100094a7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10009489
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10009413
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100094fa
dec eax
je 0x100094f1
sub eax, 3
je 0x100094e8
mov dword [ebp - 4], 0x40
jmp 0x10009517
mov dword [ebp - 4], 4
jmp 0x100094fd
mov dword [ebp - 4], 0x20
jmp 0x100094fd
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10009549
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100094c9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10008d5a
cmp dword [esi - 0x5b], esp
or eax, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x10009555
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001e85
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 8], 0x1015903f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
adc dword [eax], edx
Function at 0x100029e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100029fb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002a32
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x10002a2e
jmp 0x10002a20
cmp esi, eax
jae 0x10002a32
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10002a20
cmp esi, eax
jb 0x10002a39
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402da0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov dword [0x416148], edi
mov dword [0x41614c], ebx
mov dword [0x416144], esi
mov ebp, esp
mov edi, edi
call fcn.00402d60
pop ebp
jmp 0x403897
push 0xf0
push 0x4121c8
call fcn.00406458
push dword [0x4150c0]
call fcn.0040641d
mov dword [0x4150c0], eax
lea eax, [ebp - 0x100]
and dword [ebp - 4], 0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0xb0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40388c
mov edi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
and ecx, 0x7fff
cmp edi, 2
je 0x403733
or ecx, 0x8000
mov esi, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
mov dword [0x41616c], edi
mov eax, edx
shl eax, 8
add eax, esi
mov dword [0x416174], eax
mov dword [0x416178], edx
mov dword [0x41617c], esi
mov dword [0x416170], ecx
call fcn.0040367e
xor ebx, ebx
inc ebx
mov dword [ebp - 0xb8], eax
push ebx
call fcn.0040635f
test eax, eax
pop ecx
jne 0x403784
push 0x1c
call fcn.00403655
pop ecx
call fcn.00406183
test eax, eax
jne 0x403795
push 0x10
call fcn.00403655
pop ecx
mov dword [ebp - 4], ebx
call fcn.00405b6f
test eax, eax
jge 0x4037a9
push 0x1b
call fcn.00404faf
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x417d40], eax
call fcn.00405a38
mov dword [0x416158], eax
call fcn.0040594f
test eax, eax
jge 0x4037cf
push 8
call fcn.00404faf
pop ecx
call fcn.00405615
test eax, eax
jge 0x4037e0
push 9
call fcn.00404faf
pop ecx
push ebx
call fcn.004050b5
test eax, eax
pop ecx
je 0x4037f2
push eax
call fcn.00404faf
pop ecx
call fcn.004055b6
test byte [ebp - 0xd4], bl
je 0x403808
movzx ecx, word [ebp - 0xd0]
jmp 0x40380b
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call fcn.00402de0
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb8], 0
jne 0x40382e
push eax
call fcn.0040520b
call fcn.00405237
jmp 0x40386f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xb4]
jmp 0x403891
mov eax, 0xff
call fcn.004064a0
ret
call fcn.0040663c
jmp 0x4036bf