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

Disassembly:
sub esp, 0x32c
mov eax, dword [0x554e0c]
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.00510fb0
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 [0x555b44]
cmp eax, ebp
jne 0x4e4797
push 0x555b44
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x4e479d
mov edx, dword [eax]
push eax
call dword [edx + 4]
cmp esi, ebp
je 0x4e47bb
cmp word [esi], bp
jne 0x4e47bb
mov eax, dword [0x555b44]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4e47d2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x4e47d2
mov eax, dword [0x555b44]
lea ecx, [esp + 0x10]
push ecx
push 0x543354
mov edx, dword [eax]
push ebp
push esi
push eax
call dword [edx + 0x14]
lea ecx, [esp + 0x20]
call fcn.00424b60
mov edx, dword [0x547570]
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.004e4670
add esp, 0x10
cmp eax, 0x80004005
je 0x4e484a
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.00517400
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 0x4e486a
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4e48b0
mov ecx, dword [0x547570]
cmp eax, ebp
mov dword [ebx], ecx
mov esi, eax
je 0x4e4881
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00405660
test eax, eax
je 0x4e48b0
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 [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4e48df
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4e48df
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e48f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x18]
call fcn.00510740
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x32c
ret
Function at 0x4e9070
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 0x4e90c1
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x4e90c1
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.0049c170
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e90b8
mov ecx, dword [esi + 0xf0]
call fcn.0049fe50
mov edx, dword [esi + 4]
push 5
push edx
call edi
pop edi
pop esi
ret 4
Function at 0x4eb930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x55f298]
sub esp, 0x10
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x4eba5e
push 0x60
call fcn.00532695
add esp, 4
cmp eax, ebp
je 0x4eb95d
mov ecx, eax
call fcn.00445320
jmp 0x4eb95f
xor eax, eax
mov ecx, dword [0x55bbe8]
lea esi, [eax + 8]
mov dword [0x55f298], eax
mov dword [esp + 0x14], ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x55f3e4
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x55f418]
push 0x55f3e4
mov dword [esi + 8], edx
mov dword [0x55f418], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x55f3b8]
call fcn.004167b0
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 0x4eb9ee
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 0x4eba4b
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.00416340
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x14]
push 0x1b0
push 0x4141a0
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, ebx
je 0x4eba3c
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 0x4eba5e
test edi, edi
je 0x4eba5e
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 [0x55f298]
call fcn.00445510
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ebac5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4ebac5
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4ed820
Capabilities:
Get common file path
Hide graphical window

Disassembly:
mov eax, dword [0x55f248]
sub esp, 0xc
push esi
push edi
mov esi, ecx
push eax
call fcn.004ed800
mov eax, dword [0x55f248]
test eax, eax
je 0x4ed8f6
mov eax, dword [esi + 0x420]
test eax, eax
je 0x4ed8f6
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.00512d00
mov edx, dword [esp + 8]
mov ecx, edi
push edx
call fcn.005170b0
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004db5c0
test eax, eax
je 0x4ed89c
add eax, 4
jmp 0x4ed89e
xor eax, eax
mov ecx, dword [eax]
push 0
push ecx
mov ecx, esi
call fcn.004ee310
lea ecx, [esp + 0xc]
call fcn.00510740
mov eax, dword [esi + 0x15c]
lea edi, [esi + 0x114]
cmp eax, 0xffffffff
je 0x4ed8d7
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.0042dce0
push 0
mov ecx, esi
call fcn.004e3af0
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 0x4ed91c
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 0x4ed933
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dce0
lea ecx, [esi + 0x2b8]
test ecx, ecx
je 0x4ed94f
lea eax, [esi + 0x2bc]
jmp 0x4ed951
xor eax, eax
cmp dword [eax], 0
je 0x4ed95b
call fcn.00512d00
push 0
mov ecx, esi
call fcn.004e3af0
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4efee0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
push eax
call fcn.004efea0
mov esi, eax
test esi, esi
je 0x4eff0d
mov ecx, esi
call fcn.0049b850
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 0x4f1920
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push esi
push edi
call fcn.004e54b0
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 0x4f199f
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4f199f
cmp esi, eax
jne 0x4f199f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4f196b
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 0x4f1cf0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0xf0]
sub esp, 0x214
test eax, eax
push esi
je 0x4f1e4d
lea ecx, [esp + 8]
push 0x8000
push ecx
lea ecx, [eax + 0x1d0]
call fcn.005111f0
lea edx, [esp + 8]
push edx
call fcn.004f1ba0
mov eax, dword [0x547570]
mov ecx, str.SCAN_SCAN
add esp, 4
mov dword [esp + 4], eax
test ecx, ecx
jne 0x4f1d3d
xor esi, esi
jmp 0x4f1d4a
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 0x4f1daa
cmp eax, ebx
jl 0x4f1daa
test eax, eax
je 0x4f1daa
push eax
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x4f1daa
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 [0x55f3b8]
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 [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop ebp
lea ecx, [eax - 0xc]
pop ebx
cmp ecx, edx
je 0x4f1e22
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4f1e22
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4f1e4d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4f1e4d
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop esi
add esp, 0x214
ret
Function at 0x4f3a80
Capabilities:
Get disk size

Disassembly:
sub esp, 0x21c
mov eax, dword [0x554e0c]
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 0x4f3afd
cmp word [esp + 0x1a], dx
jne 0x4f3afd
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
test cx, cx
mov dword [esp + 4], eax
je 0x4f3af2
cmp cx, dx
je 0x4f3af2
add eax, 2
mov dword [esp + 4], eax
mov cx, word [eax]
test cx, cx
jne 0x4f3ade
cmp word [eax], 0
je 0x4f3b05
add eax, 2
jmp 0x4f3b01
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov cx, word [eax]
test cx, cx
je 0x4f3b21
cmp cx, dx
je 0x4f3b21
add eax, 2
mov dword [esp + 4], eax
mov cx, word [eax]
test cx, cx
jne 0x4f3b0d
cmp word [eax], 0
je 0x4f3b33
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 0x4f3b64
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 0x4f3b90
mov eax, ebx
mov ecx, dword [esp + 0x14]
mul edi
push 0
push ecx
push edx
push eax
call fcn.005333b0
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.005333b0
pop esi
pop ebx
pop edi
add esp, 0x21c
ret
Function at 0x4f3bb0
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 0x4f3d80
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00510710
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00511000
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [edi]
cmp eax, esi
je 0x4f3c5c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4f3c0c
mov ecx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x4f3c13
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x4f3c47
mov ebp, dword [esi - 8]
mov ecx, ebx
push ebp
call fcn.00405660
test eax, eax
je 0x4f3c5c
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 0x4f3c5c
mov ecx, ebx
call fcn.004124c0
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 [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4f3c8b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4f3c8b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4f3d6a
lea ecx, [esp + 0x24]
push ecx
call fcn.004b7e30
mov edi, eax
mov eax, dword [ebx]
add esp, 4
mov esi, dword [edi]
cmp eax, esi
je 0x4f3d3b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x547574]
jge 0x4f3cca
lea ebp, [eax - 0xc]
cmp ebp, edx
jne 0x4f3cd1
mov ebp, dword [esi - 0xc]
test ebp, ebp
jge 0x4f3d05
mov ebp, dword [esi - 8]
mov ecx, ebx
push ebp
call fcn.00405660
test eax, eax
je 0x4f3d3b
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 0x4f3d3b
add eax, 0xfffffff4
cmp eax, edx
je 0x4f3d2d
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4f3d25
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.00532222
add esp, 4
mov ecx, dword [0x547570]
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 [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4f3d6a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4f3d6a
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00510740
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
mov eax, 1
add esp, 0x10
ret
Function at 0x4f7cb0
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 0x5013c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x318
mov eax, dword [0x554e04]
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], 0x542f24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x55f438]
push eax
call fcn.005045c0
mov edx, dword [0x554e04]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x55f604
call fcn.00490110
lea ecx, [esp + 0x3c]
call fcn.00501800
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0x55f3b0
call fcn.0040f710
mov eax, dword [0x55f3b8]
push edi
push 0x4141a0
push edi
push 0x117
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
test eax, eax
jne 0x501582
lea ecx, [esp + 0x314]
mov dword [esp + 0x3c], 0x542f18
mov dword [esp + 0x58], 0x542f14
mov dword [esp + 0x5c], 0x542f10
call fcn.00405700
lea ecx, [esp + 0x310]
call fcn.00405700
lea ecx, [esp + 0x300]
call fcn.00504a40
lea ecx, [esp + 0x2f0]
call fcn.00432fb0
lea ecx, [esp + 0x2e0]
call fcn.00432fb0
lea ecx, [esp + 0x2d0]
call fcn.00432fb0
lea ecx, [esp + 0x2c0]
call fcn.00432fb0
lea ecx, [esp + 0x2b0]
call fcn.00504950
lea ecx, [esp + 0x2a0]
call fcn.004899f0
lea ecx, [esp + 0x290]
call fcn.00504870
lea ecx, [esp + 0x280]
call fcn.00504870
lea ecx, [esp + 0x258]
call fcn.00504780
lea ecx, [esp + 0x248]
call fcn.00504780
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.00505bc0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x60]
neg ecx
sbb ecx, ecx
and ecx, edx
call fcn.00464860
lea ecx, [esp + 0x14]
call fcn.00484870
lea ecx, [esp + 8]
call fcn.00484870
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 0x5015ba
push edi
push edi
push edi
lea eax, [esp + 0x38]
push edi
push eax
call ebp
test eax, eax
jne 0x5015ba
mov edx, dword [esp + 0x10]
mov eax, esi
push eax
lea ecx, [esp + 0x14]
inc esi
call dword [edx + 4]
test eax, eax
jne 0x501596
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 0x501592
cmp eax, edi
je 0x501617
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call dword [edx]
test eax, eax
jne 0x5015fa
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.00501650
add esp, 4
test eax, eax
je 0x501592
mov ebx, 1
xor esi, esi
jmp 0x501592
mov esi, dword [esp + 0x34]
mov ecx, 0x55f3b0
call fcn.00501700
lea ecx, [esp + 0x48]
call fcn.00501ac0
lea ecx, [esp + 0x10]
call fcn.00502200
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x318
ret
Function at 0x507180
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
sub esp, 0x2c
mov edx, dword [0x547570]
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 0x507258
lea ecx, [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0xc]
mov esi, eax
jmp 0x50725a
xor esi, esi
cmp dword [edx - 0xc], 1
jg 0x507265
cmp esi, dword [edx - 4]
jle 0x507280
lea ecx, [esp + 0xc]
call fcn.004124c0
push esi
lea ecx, [esp + 0x10]
call fcn.00405530
cmp eax, ebx
je 0x50729b
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 [0x547570]
mov edx, str.control
test edx, edx
mov dword [esp + 0x10], ecx
je 0x5072fb
push edx
call edi
mov esi, eax
cmp esi, ebx
je 0x5072fb
lea eax, [esi + esi + 0xe]
push eax
call fcn.00532695
add esp, 4
cmp eax, ebx
je 0x5072fb
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 [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x507345
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x507345
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x507370
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x507370
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x10