joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4920d0
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5e1876
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [esp + 0xc6]
push ecx
mov word [esp + 0xc8], ax
call fcn.00578cb0
add esp, 0xc
push 0xa
push 0x3ea
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
je 0x4922e3
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
test esi, esi
je 0x4922e3
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4922e3
push esi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4922a0
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edi, eax
test edi, edi
je 0x492299
mov edx, dword [esp + 0x14]
push esi
push edx
push edi
call fcn.0057bfc0
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4921d9
call fcn.0045b940
push eax
lea ecx, [esp + 0xc0]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea edx, [esp + 0xbc]
push edx
push str._spipfactory.mod
lea eax, [ebx + 0xda0]
push 0x104
push eax
call fcn.00579c26
xor eax, eax
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], eax
mov byte [esp + 0xb4], al
push eax
mov dword [esp + 0x2e4], eax
lea eax, [esp + 0xb4]
push eax
lea eax, [ebx + 0xda0]
push eax
call fcn.0045c890
mov eax, dword [esp + 0xc0]
add esp, 0x1c
cmp dword [esp + 0xb8], 0x10
jae 0x492249
lea eax, [esp + 0xa4]
push 1
push 0x40
push 0x20
push eax
lea ecx, [esp + 0x28]
call fcn.004915b0
push esi
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x2d8], 1
call fcn.00436cf0
lea ecx, [esp + 0x18]
call fcn.0045d5e0
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2d0], 0
call fcn.0045ce90
lea ecx, [esp + 0xa0]
call fcn.00436170
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
lea ecx, [ebx + 0xda0]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [ebx + 0xd9c], eax
test eax, eax
je 0x4922e3
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.YYPIP_RunService
push eax
call esi
mov edx, dword [ebx + 0xd9c]
push str.YYPIP_CheckService
push edx
mov dword [ebx + 0xfa8], eax
call esi
mov dword [ebx + 0xfac], eax
mov al, 1
jmp 0x4922e5
xor al, al
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.005792fc
add esp, 0x2c0
ret
Function at 0x49bb40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49bb5f
mov ecx, dword [esi + 0xc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.0049ba10
Function at 0x4a2f70
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebp
push esi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a2f9d
pop esi
xor eax, eax
pop ebp
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, 0xa
jb 0x4a2f96
push edi
push 0
push 2
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x4a3013
cmp edi, 0xffffffff
je 0x4a3013
push ebx
push 2
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, eax
call esi
test ebx, ebx
jne 0x4a2ff0
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret 4
cmp byte [ebx], 0x37
jne 0x4a3000
cmp byte [ebx + 1], 0x7a
jne 0x4a3000
mov ebp, 1
push ebx
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push edi
call esi
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Could_not_create_file_mapping_object___d_._n
call fcn.0057c74b
add esp, 8
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebp
ret 4
Function at 0x4a52f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e311b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CConfigStateInfo.0
xor edi, edi
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov word [ecx + 4], ax
push 4
push 0x5f6180
mov dword [esp + 0x20], edi
call fcn.00439ce0
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x28], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4a7f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e3488
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
fld qword [edi + 0x10]
fstp qword [esi + 0x10]
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 4
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 5
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
mov byte [esp + 0x38], 6
call fcn.004a7210
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
sub eax, 0x10
push eax
mov byte [esp + 0x3c], 7
call fcn.004a7210
add esp, 0x24
add eax, 0x10
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4a9070
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5e3788
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xac]
mov ecx, dword [0x66d460]
mov esi, dword [eax + 4]
call fcn.00454420
push 0x74
call fcn.00506f00
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4a90d8
push edi
push 0xc29
push esi
mov ecx, eax
call fcn.00466b60
mov ebx, eax
jmp 0x4a90da
xor ebx, ebx
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], cx
xor edx, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edi
mov word [esp + 0x58], dx
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x80], 1
call fcn.0045c760
push 0x5f8688
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0043bbd0
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 2
call fcn.00439be0
mov esi, 8
mov byte [esp + 0x7c], 1
cmp dword [esp + 0x34], esi
jb 0x4a915c
mov eax, dword [esp + 0x20]
push eax
call fcn.00506f70
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4a916a
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0045b820
add esp, 8
test eax, eax
jne 0x4a918f
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4a9187
lea eax, [esp + 0x3c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push str.pluglist.xml
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0043bbd0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 3
call fcn.00439be0
mov byte [esp + 0x7c], 1
cmp dword [esp + 0x34], esi
jb 0x4a91d3
mov eax, dword [esp + 0x20]
push eax
call fcn.00506f70
add esp, 4
cmp dword [esp + 0x6c], esi
mov esi, dword [esp + 0x58]
jae 0x4a91e1
lea esi, [esp + 0x58]
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x18], ebp
xor edx, edx
mov eax, esi
mov dword [ecx + 0x14], edi
mov dword [esp + 0x34], esp
mov word [ecx + 4], dx
lea ebp, [eax + 2]
jmp 0x4a9200
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x4a9200
sub eax, ebp
sar eax, 1
push eax
push esi
call fcn.00439ce0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push edi
mov ebp, 7
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], edi
push 0x65b9e4
mov byte [esp + 0xc0], 4
mov word [ecx + 4], ax
call fcn.00439be0
mov ecx, ebx
mov byte [esp + 0xb4], 1
call fcn.00466ca0
mov ecx, ebx
call fcn.00466890
mov esi, 8
cmp dword [esp + 0x6c], esi
jb 0x4a9273
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00506f70
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edi
mov word [esp + 0x58], dx
cmp dword [esp + 0x50], esi
jb 0x4a9295
mov eax, dword [esp + 0x3c]
push eax
call fcn.00506f70
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.005792fc
add esp, 0x6c
ret
Function at 0x4b2450
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5e41a3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.00481b70
xor ebp, ebp
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
lea ecx, [esi + 0x28]
mov byte [esp + 0x4c], 1
call fcn.00481b70
mov eax, dword [0x66dd30]
mov edx, dword [eax + 0xc]
mov ecx, 0x66dd30
mov byte [esp + 0x4c], 2
lea ebx, [esi + 0x40]
call edx
add eax, 0x10
mov dword [ebx], eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x4c], 3
call fcn.00481b70
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x5c]
push edx
mov byte [esp + 0x54], 4
call fcn.004a9680
push 4
mov byte [esp + 0x50], 5
lea edi, [esi + 0x80]
call fcn.00506f00
add esp, 4
cmp eax, ebp
je 0x4b2509
mov dword [eax], edi
jmp 0x4b250b
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [esi + 0xa4], vtable.CGdiPlusBitmap.0
mov dword [esi + 0xa8], ebp
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov dword [esi + 0xac], eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], cx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x50], 8
call fcn.0045c760
mov eax, dword [esp + 0x2c]
mov edi, 8
add esp, 4
cmp dword [esp + 0x3c], edi
jae 0x4b256b
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00455d90
push str.WoWBoxdownimg_
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x58], 9
call fcn.004a82d0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x50], 0xa
call fcn.004a83b0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b25bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b25e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov dword [esi + 0x7c], ebp
mov dword [esi + 0xa0], ebp
cmp dword [esp + 0x3c], edi
jb 0x4b260a
mov edx, dword [esp + 0x28]
push edx
call fcn.00506f70
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005792fc
add esp, 0x3c
ret 4
Function at 0x4b4b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5e440b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
push str.PROTOCOL
push 0x3ec
xor ebx, ebx
push ebx
mov edi, ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x4b4cf0
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebp, eax
cmp ebp, ebx
je 0x4b4cf0
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4b4cf0
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
cmp esi, ebx
je 0x4b4cf0
lea ecx, [esp + 0x18]
call fcn.00481b70
push ebx
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x15c], ebx
call fcn.004b4a70
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
jne 0x4b4bce
call fcn.00579468
mov edx, dword [esp + 0x24]
push ebp
push esi
push edx
call fcn.0057bfc0
mov eax, dword [edi + 0x1f0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push ebx
push 1
push 0xcf
push eax
call esi
mov edx, dword [edi + 0x1f0]
lea ecx, [esp + 0x30]
push ecx
push ebx
push 0x447
push edx
mov dword [esp + 0x44], 0x100
mov dword [esp + 0xe4], 0x12c
mov byte [esp + 0xea], 4
mov dword [esp + 0x40], 0xbc
call esi
mov dword [esp + 0xf0], 0xe0000000
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0xb4
mov dword [esp + 0x100], 0x666666
xor eax, eax
jmp 0x4b4c60
movzx ecx, word [eax + 0x5f8b24]
mov word [esp + eax + 0x106], cx
add eax, 2
cmp cx, bx
jne 0x4b4c60
mov ecx, dword [edi + 0x1f0]
lea eax, [esp + 0xec]
push eax
push ebx
push 0x444
push ecx
mov byte [esp + 0x114], bl
mov byte [esp + 0x115], bl
mov dword [esp + 0xfc], 0x5c
call esi
mov edx, dword [edi + 0x1f0]
push 0xffffff
push ebx
push 0x443
push edx
call esi
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
jne 0x4b4cca
call fcn.00579468
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x1f0]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
lea ecx, [esp + 0x18]
call fcn.004e5a90
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.005792fc
add esp, 0x144
ret
Function at 0x4b51b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e444b
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x444], eax
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
lea ecx, [esp + 0x32]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], al
mov dword [esp + 0x444], eax
mov dword [esp + 0x448], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0x5f8aac
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x4b3af0
mov word [esp + 0x23a], cx
mov word [esp + 0x32], dx
mov dword [esp + 0x458], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0xc]
call fcn.004b39f0
cmp eax, 1
jne 0x4b52ac
lea eax, [esp + 0x23a]
push eax
call fcn.0045bbb0
add esp, 4
push 0x7a
lea ecx, [esi + 0x24]
call fcn.004d3f20
lea ecx, [esp + 0x23a]
push ecx
mov ecx, eax
call fcn.004d8970
mov edx, dword [esp + 0x444]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.005792fc
add esp, 0x454
ret

Function at 0x4b52f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e444b
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x444], eax
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
lea ecx, [esp + 0x32]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], al
mov dword [esp + 0x444], eax
mov dword [esp + 0x448], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0x5f8ac4
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x4b3af0
mov word [esp + 0x23a], cx
mov word [esp + 0x32], dx
mov dword [esp + 0x458], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0xc]
call fcn.004b39f0
cmp eax, 1
jne 0x4b53ec
lea eax, [esp + 0x23a]
push eax
call fcn.0045bbb0
add esp, 4
push 0x7d
lea ecx, [esi + 0x24]
call fcn.004d3f20
lea ecx, [esp + 0x23a]
push ecx
mov ecx, eax
call fcn.004d8970
mov edx, dword [esp + 0x444]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.005792fc
add esp, 0x454
ret
Function at 0x4b6fe0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x54
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4b7168
push edi
push str.Netpas_DLL.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [esi + 0x78], eax
test eax, eax
jne 0x4b7068
mov ecx, dword [0x66d460]
push str.NetPasNetpas_Core.dll
call fcn.00454410
add eax, 0x20
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0043bbd0
mov eax, dword [esp + 0x20]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x28], edi
jae 0x4b704b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esi + 0x78], eax
cmp dword [esp + 0x28], edi
jb 0x4b7068
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00506f70
add esp, 4
mov edx, dword [esi + 0x78]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.Netpas_Init
push edx
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x78]
push str.Netpas_Clear
push eax
call edi
mov ecx, dword [esi + 0x78]
push str.Netpas_Start
push ecx
mov dword [esi + 0x5c], eax
call edi
mov edx, dword [esi + 0x78]
push str.Netpas_Stop
push edx
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x78]
push str.Netpas_Get_QueryData
push eax
call edi
mov ecx, dword [esi + 0x78]
push str.Netpas_Proc_GetCount
push ecx
mov dword [esi + 0x68], eax
call edi
mov edx, dword [esi + 0x78]
push str.Netpas_Proc_GetInfo
push edx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x78]
push str.Netpas_Proc_Kill
push eax
call edi
push 0x34
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esi + 0x74], eax
mov dword [esi], 1
call fcn.00578cb0
mov ecx, dword [esi + 0x18]
mov edi, 0x10
add esp, 0xc
cmp dword [esi + 0x1c], edi
jb 0x4b7107
mov eax, dword [esi + 8]
jmp 0x4b710a
lea eax, [esi + 8]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0057a850
mov ecx, dword [esi + 0x34]
add esp, 0xc
cmp dword [esi + 0x38], edi
pop edi
jb 0x4b7127
mov eax, dword [esi + 0x24]
jmp 0x4b712a
lea eax, [esi + 0x24]
push ecx
push eax
lea eax, [esp + 0x45]
push eax
call fcn.0057a850
mov edx, dword [esi + 0x58]
push ebp
lea ecx, [esp + 0x38]
push ebx
push ecx
mov dword [esp + 0x6c], 0x10710012
mov dword [esp + 0x70], 0x57
call edx
add esp, 0x18
test eax, eax
je 0x4b7168
mov ecx, dword [esi + 0x58]
push ebp
lea eax, [esp + 0x2c]
push ebx
push eax
call ecx
add esp, 0xc
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005792fc
add esp, 0x54
ret 8
Function at 0x4b9e9f
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20c
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x208], eax
cmp dword [esp + 0x210], 0x772
push esi
mov esi, ecx
jne 0x4b9f80
mov eax, dword [esi + 4]
push ebp
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4b9f4e
push ebx
push edi
lea edi, [esi + 0x24]
push 0xf
mov ecx, edi
call fcn.004d3f20
mov ecx, dword [esi + 0x210]
mov ebx, eax
push ecx
mov ecx, ebx
call fcn.004f2370
push 0
push 1
mov ecx, ebx
call fcn.004d5040
mov ebx, dword [esi + 0x210]
test ebx, ebx
jbe 0x4b9f4c
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.00578cb0
push ebx
lea ecx, [esp + 0x20]
push 0x5f9a64
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
push 0x12
mov ecx, edi
call fcn.004d3f20
mov ecx, eax
call fcn.004d7550
mov ecx, edi
call fcn.004d47c0
cmp dword [esi + 0x210], 0x64
jb 0x4b9f4c
mov eax, dword [esi + 4]
push 0
push eax
call ebp
pop edi
pop ebx
cmp byte [esi + 0x20c], 0
je 0x4b9f7f
push 0x5f9a5c
push 0x5f3eec
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4b9f70
push 5
push eax
call ebp
mov ecx, dword [esi + 4]
push 0x772
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
pop ebp
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.005792fc
add esp, 0x20c
ret 4