joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3b60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x32c
mov eax, dword [0x553d9c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x134], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x134]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebp, ebp
lea edx, [esp + 0x134]
push ebp
push edx
lea ecx, [esp + 0x20]
call fcn.005106b0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
neg eax
sbb eax, eax
mov dword [esp + 0x10], ebp
and eax, ecx
mov esi, dword [eax]
mov eax, dword [0x554ad4]
cmp eax, ebp
jne 0x4e3bd7
push 0x554ad4
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x4e3bdd
mov edx, dword [eax]
push eax
call dword [edx + 4]
cmp esi, ebp
je 0x4e3bfb
cmp word [esi], bp
jne 0x4e3bfb
mov eax, dword [0x554ad4]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4e3c12
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x4e3c12
mov eax, dword [0x554ad4]
lea ecx, [esp + 0x10]
push ecx
push 0x542354
mov edx, dword [eax]
push ebp
push esi
push eax
call dword [edx + 0x14]
lea ecx, [esp + 0x20]
call fcn.00424c80
mov edx, dword [0x546560]
mov ecx, 0x43
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], edx
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
mov ecx, 0x44
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x344]
lea eax, [esp + 0x24]
push eax
push ecx
push ebp
push edx
call fcn.004e3ab0
add esp, 0x10
cmp eax, 0x80004005
je 0x4e3c8a
lea eax, [esp + 0x14]
push ebp
push eax
mov ecx, 0x42
sub esp, 0x108
lea esi, [esp + 0x13c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0050c1d0
add esp, 0x110
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x340]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, ebp
jl 0x4e3caa
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4e3cf0
mov ecx, dword [0x546560]
cmp eax, ebp
mov dword [ebx], ecx
mov esi, eax
je 0x4e3cc1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00405660
test eax, eax
je 0x4e3cf0
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4e3d1f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4e3d1f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e3d35
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x18]
call fcn.0050fe40
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x32c
ret
Function at 0x4e84b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e8501
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x4e8501
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov ecx, dword [esi + 0xf0]
call fcn.0049b220
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e84f8
mov ecx, dword [esi + 0xf0]
call fcn.0049ef00
mov edx, dword [esi + 4]
push 5
push edx
call edi
pop edi
pop esi
ret 4
Function at 0x4ead70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x55e1e0]
sub esp, 0x10
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x4eae9e
push 0x60
call fcn.00531ba5
add esp, 4
cmp eax, ebp
je 0x4ead9d
mov ecx, eax
call fcn.004451e0
jmp 0x4ead9f
xor eax, eax
mov ecx, dword [0x55ab48]
lea esi, [eax + 8]
mov dword [0x55e1e0], eax
mov dword [esp + 0x14], ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x55e32c
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x55e360]
push 0x55e32c
mov dword [esi + 8], edx
mov dword [0x55e360], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x55e300]
call fcn.00416860
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push 0x1b0
push esi
call edi
push 0xf0
push 0x1b0
push esi
mov ebx, eax
call edi
mov edi, eax
mov dword [esp + 0x10], ebp
test edi, edi
mov dword [esp + 0x1c], edi
je 0x4eae2e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebx, ebx
je 0x4eae8b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push ebx
call fcn.004163f0
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x14]
push 0x1b0
push 0x414350
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, ebx
je 0x4eae7c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x4eae9e
test edi, edi
je 0x4eae9e
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
push ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [eax + 0xc], edx
lea eax, [esp + 0x38]
push eax
call fcn.00405440
mov ecx, dword [0x55e1e0]
call fcn.004453f0
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4eaf05
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4eaf05
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4ecc60
Capabilities:
Get common file path
Hide graphical window

Disassembly:
mov eax, dword [0x55e190]
sub esp, 0xc
push esi
push edi
mov esi, ecx
push eax
call fcn.004ecc40
mov eax, dword [0x55e190]
test eax, eax
je 0x4ecd36
mov eax, dword [esi + 0x420]
test eax, eax
je 0x4ecd36
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edi, [esi + 0x2b8]
mov dword [esi + 0x3bc], 1
mov ecx, edi
call fcn.00512400
mov edx, dword [esp + 8]
mov ecx, edi
push edx
call fcn.00516750
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004daa00
test eax, eax
je 0x4eccdc
add eax, 4
jmp 0x4eccde
xor eax, eax
mov ecx, dword [eax]
push 0
push ecx
mov ecx, esi
call fcn.004ed750
lea ecx, [esp + 0xc]
call fcn.0050fe40
mov eax, dword [esi + 0x15c]
lea edi, [esi + 0x114]
cmp eax, 0xffffffff
je 0x4ecd17
xor edx, edx
push 5
test eax, eax
sete dl
mov eax, dword [edi + edx*4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [edi + 0x48], 0xffffffff
call fcn.0042dc40
push 0
mov ecx, esi
call fcn.004e2f30
pop edi
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esi + 0x118]
lea edi, [esi + 0x114]
push ebx
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4ecd5c
mov edx, dword [edi + 4]
push 5
push edx
call ebx
mov eax, dword [edi]
push 0
push eax
call ebx
mov ecx, dword [edi + 0x20]
mov eax, 1
cmp ecx, eax
pop ebx
je 0x4ecd73
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dc40
lea ecx, [esi + 0x2b8]
test ecx, ecx
je 0x4ecd8f
lea eax, [esi + 0x2bc]
jmp 0x4ecd91
xor eax, eax
cmp dword [eax], 0
je 0x4ecd9b
call fcn.00512400
push 0
mov ecx, esi
call fcn.004e2f30
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4ef320
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
push eax
call fcn.004ef2e0
mov esi, eax
test esi, esi
je 0x4ef34d
mov ecx, esi
call fcn.0049a900
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret 0x10
xor eax, eax
pop esi
ret 0x10
Function at 0x4f0d60
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push esi
push edi
call fcn.004e48f0
push 0
mov edi, eax
push 0
push 0x101f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x4f0ddf
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4f0ddf
cmp esi, eax
jne 0x4f0ddf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4f0dab
push edi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, 1
pop esi
ret 8
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 1
push 0
push 9
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 9
call edi
push 0
push 2
push 0
push 9
call esi
push eax
push 9
call edi
pop edi
mov eax, 1
pop esi
ret 8
pop edi
xor eax, eax
pop esi
ret 8

Function at 0x4f1130
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0xf0]
sub esp, 0x214
test eax, eax
push esi
je 0x4f128d
lea ecx, [esp + 8]
push 0x8000
push ecx
lea ecx, [eax + 0x1d0]
call fcn.005108f0
lea edx, [esp + 8]
push edx
call fcn.004f0fe0
mov eax, dword [0x546560]
mov ecx, str.SCAN_SCAN
add esp, 4
mov dword [esp + 4], eax
test ecx, ecx
jne 0x4f117d
xor esi, esi
jmp 0x4f118a
push str.SCAN_SCAN
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, eax
mov ebx, dword [eax - 8]
lea eax, [esi + ebx]
cmp eax, esi
jl 0x4f11ea
cmp eax, ebx
jl 0x4f11ea
test eax, eax
je 0x4f11ea
push eax
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x4f11ea
lea eax, [esi + esi]
push edi
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
mov esi, str.SCAN_SCAN
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + ebx]
mov esi, ebp
lea edi, [eax + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405440
lea ecx, [esp + 0xc]
call fcn.00405700
mov eax, dword [0x55e300]
lea edx, [esp + 0x18]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x14]
push 5
push 0
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop ebp
lea ecx, [eax - 0xc]
pop ebx
cmp ecx, edx
je 0x4f1262
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4f1262
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4f128d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4f128d
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop esi
add esp, 0x214
ret
Function at 0x4f2ec0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x21c
mov eax, dword [0x553d9c]
push edi
mov dword [esp + 0x18], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x224]
lea ecx, [esp + 4]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edx, 0x5c
cmp word [esp + 0x18], dx
jne 0x4f2f3d
cmp word [esp + 0x1a], dx
jne 0x4f2f3d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
test cx, cx
mov dword [esp + 4], eax
je 0x4f2f32
cmp cx, dx
je 0x4f2f32
add eax, 2
mov dword [esp + 4], eax
mov cx, word [eax]
test cx, cx
jne 0x4f2f1e
cmp word [eax], 0
je 0x4f2f45
add eax, 2
jmp 0x4f2f41
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov cx, word [eax]
test cx, cx
je 0x4f2f61
cmp cx, dx
je 0x4f2f61
add eax, 2
mov dword [esp + 4], eax
mov cx, word [eax]
test cx, cx
jne 0x4f2f4d
cmp word [eax], 0
je 0x4f2f73
add eax, 2
mov dword [esp + 4], eax
mov word [eax], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x4f2fa4
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
add esp, 0x21c
ret
mov edi, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x230]
test esi, esi
je 0x4f2fd0
mov eax, ebx
mov ecx, dword [esp + 0x14]
mul edi
push 0
push ecx
push edx
push eax
call fcn.005328c0
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, ebx
mov ecx, dword [esp + 0x18]
mul edi
push 0
push ecx
push edx
push eax
call fcn.005328c0
pop esi
pop ebx
pop edi
add esp, 0x21c
ret
Function at 0x4f2ff0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4f31c0
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.0050fe10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00510700
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [edi]
cmp eax, esi
je 0x4f309c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4f304c
mov ecx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x4f3053
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x4f3087
mov ebp, dword [esi - 8]
mov ecx, ebx
push ebp
call fcn.00405660
test eax, eax
je 0x4f309c
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
jmp 0x4f309c
mov ecx, ebx
call fcn.00412670
mov edi, dword [edi]
mov dword [ebx], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4f30cb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4f30cb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4f31aa
lea ecx, [esp + 0x24]
push ecx
call fcn.004b6ee0
mov edi, eax
mov eax, dword [ebx]
add esp, 4
mov esi, dword [edi]
cmp eax, esi
je 0x4f317b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x546564]
jge 0x4f310a
lea ebp, [eax - 0xc]
cmp ebp, edx
jne 0x4f3111
mov ebp, dword [esi - 0xc]
test ebp, ebp
jge 0x4f3145
mov ebp, dword [esi - 8]
mov ecx, ebx
push ebp
call fcn.00405660
test eax, eax
je 0x4f317b
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
jmp 0x4f317b
add eax, 0xfffffff4
cmp eax, edx
je 0x4f316d
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4f3165
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.00531732
add esp, 4
mov ecx, dword [0x546560]
mov dword [ebx], ecx
mov eax, dword [edi]
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x24]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4f31aa
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4f31aa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0050fe40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
mov eax, 1
add esp, 0x10
ret
Function at 0x4f70d0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, dword [esi]
push ebx
push 0x419
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x440
push edx
mov ebp, eax
mov dword [esp + 0x30], 0x20
mov dword [esp + 0x34], 8
mov byte [esp + 0x41], 1
call edi
mov edx, dword [esi]
mov ax, word [esp + 0x48]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x20
push ecx
push ebx
push 0x440
push edx
mov dword [esp + 0x34], 0x40
mov word [esp + 0x42], ax
call edi
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x41d
push ecx
call edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x5007e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x318
mov eax, dword [0x553d94]
push edi
add eax, 0x1c
xor edi, edi
push eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 8], 0x541f24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x55e380]
push eax
call fcn.005039e0
mov edx, dword [0x553d94]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x55e54c
call fcn.0048f1c0
lea ecx, [esp + 0x3c]
call fcn.00500c20
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0x55e2f8
call fcn.0040f8b0
mov eax, dword [0x55e300]
push edi
push 0x414350
push edi
push 0x117
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
test eax, eax
jne 0x5009a2
lea ecx, [esp + 0x314]
mov dword [esp + 0x3c], 0x541f18
mov dword [esp + 0x58], 0x541f14
mov dword [esp + 0x5c], 0x541f10
call fcn.00405700
lea ecx, [esp + 0x310]
call fcn.00405700
lea ecx, [esp + 0x300]
call fcn.00503e60
lea ecx, [esp + 0x2f0]
call fcn.00432f00
lea ecx, [esp + 0x2e0]
call fcn.00432f00
lea ecx, [esp + 0x2d0]
call fcn.00432f00
lea ecx, [esp + 0x2c0]
call fcn.00432f00
lea ecx, [esp + 0x2b0]
call fcn.00503d70
lea ecx, [esp + 0x2a0]
call fcn.004890c0
lea ecx, [esp + 0x290]
call fcn.00503c90
lea ecx, [esp + 0x280]
call fcn.00503c90
lea ecx, [esp + 0x258]
call fcn.00503ba0
lea ecx, [esp + 0x248]
call fcn.00503ba0
lea ecx, [esp + 0x23c]
call fcn.00405700
lea ecx, [esp + 0x238]
call fcn.00405700
lea ecx, [esp + 0x160]
call fcn.00401060
lea ecx, [esp + 0x8c]
call fcn.00401060
lea ecx, [esp + 0x78]
call fcn.00505050
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x60]
neg ecx
sbb ecx, ecx
and ecx, edx
call fcn.00463f90
lea ecx, [esp + 0x14]
call fcn.00503f40
lea ecx, [esp + 8]
call fcn.00503f40
xor eax, eax
pop edi
add esp, 0x318
ret
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
push esi
mov ebx, 1
xor esi, esi
cmp ebx, edi
je 0x5009da
push edi
push edi
push edi
lea eax, [esp + 0x38]
push edi
push eax
call ebp
test eax, eax
jne 0x5009da
mov edx, dword [esp + 0x10]
mov eax, esi
push eax
lea ecx, [esp + 0x14]
inc esi
call dword [edx + 4]
test eax, eax
jne 0x5009b6
xor ebx, ebx
push edi
push edi
lea eax, [esp + 0x34]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x5009b2
cmp eax, edi
je 0x500a37
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call dword [edx]
test eax, eax
jne 0x500a1a
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea edx, [esp + 0x2c]
push edx
call fcn.00500a70
add esp, 4
test eax, eax
je 0x5009b2
mov ebx, 1
xor esi, esi
jmp 0x5009b2
mov esi, dword [esp + 0x34]
mov ecx, 0x55e2f8
call fcn.00500b20
lea ecx, [esp + 0x48]
call fcn.00500ee0
lea ecx, [esp + 0x10]
call fcn.00501620
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x318
ret
Function at 0x506610
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
sub esp, 0x2c
mov edx, dword [0x546560]
push ebx
mov al, 0x61
mov bl, 0x73
mov byte [esp + 0xe], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x28], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x17], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x2d], bl
lea eax, [esp + 0xc]
push esi
mov cl, 0x6e
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0xc], edx
test eax, eax
mov byte [esp + 0x14], 0x2f
mov byte [esp + 0x15], cl
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x20
mov byte [esp + 0x1a], 0x4d
mov byte [esp + 0x1b], 0x69
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x72
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], 0x66
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0x2e
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2c], 0x41
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], 0x64
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x31], 0x6d
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x36], bl
je 0x5066e8
lea ecx, [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0xc]
mov esi, eax
jmp 0x5066ea
xor esi, esi
cmp dword [edx - 0xc], 1
jg 0x5066f5
cmp esi, dword [edx - 4]
jle 0x506710
lea ecx, [esp + 0xc]
call fcn.00412670
push esi
lea ecx, [esp + 0x10]
call fcn.00405530
cmp eax, ebx
je 0x50672b
mov edx, dword [esp + 0xc]
inc esi
lea eax, [esp + 0x14]
push esi
push eax
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x546560]
mov edx, str.control
test edx, edx
mov dword [esp + 0x10], ecx
je 0x50678b
push edx
call edi
mov esi, eax
cmp esi, ebx
je 0x50678b
lea eax, [esi + esi + 0xe]
push eax
call fcn.00531ba5
add esp, 4
cmp eax, ebx
je 0x50678b
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], bx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
inc esi
push esi
push str.control
push eax
mov dword [esp + 0x1c], eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 5
push ebx
push ecx
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x5067d5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x5067d5
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x506800
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x506800
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x10