joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4697b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.0041cb50
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x46988f
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x469804
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x469868
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x469868
push ebx
push edi
call fcn.00460f00
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov esi, eax
test esi, esi
jne 0x469854
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x469876
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x469876
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x469885
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4698d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x4b2589
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x238]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
push edi
push 2
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x10], esi
je 0x4699e3
lea ecx, [ebp]
push ecx
push esi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4699dc
jmp 0x469962
xor edi, edi
lea edx, [ebp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4699b0
lea edi, [eax + eax]
mov eax, edi
call fcn.00480be0
mov esi, esp
test esi, esi
je 0x4699ad
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp + 0x24]
push eax
push 0
push 0x3a8
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0x10]
jmp 0x4699b2
mov esi, dword [ebp - 0x10]
xor eax, eax
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call fcn.00482722
add esp, 8
test eax, eax
jne 0x4699ce
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004696a0
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x469960
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x230
mov esp, ebp
pop ebp
ret
Function at 0x469ea0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b26ff
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 0x63c]
mov ecx, dword [eax]
lea edi, [esi + 0x638]
push eax
push edi
push ecx
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov dword [esp + 0x44], 9
call fcn.00469a90
mov eax, dword [edi + 4]
push eax
call fcn.004803bd
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov edi, 0x10
add esp, 4
cmp dword [esi + 0x634], edi
jb 0x469f22
mov eax, dword [esi + 0x620]
push eax
call fcn.004803bd
add esp, 4
mov dword [esi + 0x634], 0xf
mov dword [esi + 0x630], ebx
mov byte [esi + 0x620], bl
cmp dword [esi + 0x608], edi
jb 0x469f4f
mov eax, dword [esi + 0x5f4]
push eax
call fcn.004803bd
add esp, 4
push 0x461770
push 6
push 4
lea ecx, [esi + 0x5d8]
mov dword [esi + 0x608], 0xf
mov dword [esi + 0x604], ebx
push ecx
mov byte [esi + 0x5f4], bl
mov byte [esp + 0x40], 6
call fcn.004815e4
cmp dword [esi + 0x5d4], edi
jb 0x469f96
mov eax, dword [esi + 0x5c0]
push eax
call fcn.004803bd
add esp, 4
mov dword [esi + 0x5d4], 0xf
mov dword [esi + 0x5d0], ebx
mov byte [esi + 0x5c0], bl
mov eax, dword [esi + 0x5ac]
cmp eax, ebx
je 0x469fbf
push eax
call fcn.004803bd
add esp, 4
lea edi, [esi + 0x574]
mov dword [esi + 0x5ac], ebx
mov dword [esi + 0x5b0], ebx
mov dword [esi + 0x5b4], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x469ffa
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.0043a410
mov eax, dword [edi + 4]
push eax
call fcn.004803bd
add esp, 0x14
cmp esi, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [esp + 0x30], 2
je 0x46a014
lea ecx, [esi + 0x54c]
jmp 0x46a016
xor ecx, ecx
call fcn.00469c20
cmp esi, ebx
je 0x46a027
lea edi, [esi + 0x194]
jmp 0x46a029
xor edi, edi
mov dword [edi], vtable.WTLEx::CWtlTrayImp_class_CMainDlg__129_.0
cmp dword [edi + 0x3b0], ebx
je 0x46a043
lea eax, [edi + 8]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [edi + 0x3b4]
cmp eax, ebx
je 0x46a05e
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp eax, ebx
je 0x46a05e
mov dword [edi + 0x3b4], ebx
cmp esi, ebx
mov byte [esp + 0x30], bl
je 0x46a06b
lea ecx, [esi + 0x24]
jmp 0x46a06d
xor ecx, ecx
call fcn.00465560
mov esi, dword [esi + 0x14]
cmp esi, ebx
mov dword [esp + 0x30], 0xffffffff
je 0x46a087
push esi
call fcn.0047e2bb
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x46a0d0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4b27ad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
call fcn.00467260
push 0x3a8
lea ebp, [esi + 0x19c]
push ebx
mov dword [esi + method.WTLEx::CWtlTrayImp_class_CMainDlg__129_.virtual_0], vtable.WTLEx::CWtlTrayImp_class_CMainDlg__129_.0
mov dword [esi + 0x544], ebx
push ebp
mov dword [esi + 0x548], ebx
call fcn.00480820
add esp, 0xc
mov dword [ebp], 0x3a8
mov dword [esi + 0x1a4], 0x81
mov dword [esi + 0x1a8], ebx
lea ebp, [esi + 0x54c]
mov ecx, ebp
mov byte [esp + 0x20], 2
call fcn.00469b60
mov dword [esi], vtable.CMainDlg.3.0
mov dword [esi + 0x20], vtable.CMainDlg.2.0
mov dword [edi], vtable.CMainDlg.1.0
mov dword [esi + method.CMainDlg.virtual_0], vtable.CMainDlg.0
mov dword [ebp], 0x4b8f90
mov dword [esi + 0x578], ebx
mov dword [esi + 0x57c], ebx
mov dword [esi + 0x580], ebx
mov dword [esi + 0x5ac], ebx
mov dword [esi + 0x5b0], ebx
mov dword [esi + 0x5b4], ebx
mov dword [esi + 0x5b8], ebx
mov edi, 0xf
mov dword [esi + 0x5d4], edi
mov dword [esi + 0x5d0], ebx
mov byte [esi + 0x5c0], bl
push 0x461770
push 0x462300
push 6
push 4
lea eax, [esi + 0x5d8]
push eax
mov byte [esp + 0x34], 6
call fcn.00481aa6
mov dword [esi + 0x608], edi
mov dword [esi + 0x604], ebx
mov byte [esi + 0x5f4], bl
mov dword [esi + 0x60c], ebx
mov dword [esi + 0x610], ebx
mov dword [esi + 0x614], ebx
mov dword [esi + 0x618], ebx
mov dword [esi + 0x634], edi
mov dword [esi + 0x630], ebx
mov byte [esi + 0x620], bl
lea edi, [esi + 0x638]
mov ecx, edi
mov byte [esp + 0x20], 9
call fcn.00464640
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
lea ecx, [esi + 0x584]
mov dword [edi + 8], ebx
push ecx
mov dword [esi + 0x644], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4b78e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x5a4], eax
jne 0x46a2a1
push 0x10
push 0x4b8f84
push str._N1Y
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x4d2244]
mov dword [esi + 0x128], edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x46a600
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x46a60a
lea esi, [ecx - 0x24]
jmp 0x46a60c
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop esi
ret
Function at 0x46ee30
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x394
push 0xfffffffffffffffe
push 0x4c8f80
push 0x481910
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d0968]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x3a4]
call fcn.00467e80
test al, al
jne 0x46ee8a
xor eax, eax
jmp 0x46f015
call fcn.00467d20
xor edi, edi
mov word [ebp + 0x190], di
push 0x1fe
push edi
lea eax, [ebp + 0x192]
push eax
call fcn.00480820
add esp, 0xc
push 0x100
lea ecx, [ebp + 0x190]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp + 0x190]
push edx
call fcn.004821d6
add esp, 8
mov word [eax], di
lea eax, [ebp + 0x190]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x46eee0
mov ecx, dword [str.XYDump.dll]
mov dword [eax], ecx
mov edx, dword [0x4b91dc]
mov dword [eax + 4], edx
mov ecx, dword [0x4b91e0]
mov dword [eax + 8], ecx
mov edx, dword [0x4b91e4]
mov dword [eax + 0xc], edx
mov ecx, dword [0x4b91e8]
mov dword [eax + 0x10], ecx
mov edx, dword [0x4b91ec]
mov dword [eax + 0x14], edx
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
je 0x46ef46
push 0x4b91cc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x46ef46
call eax
lea ecx, [ebp]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 4
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x4b91bc
mov eax, dword [ebp + 0x39c]
push eax
push edi
mov ecx, 0x4d24b8
call fcn.00462230
call fcn.0041cb50
cmp esi, edi
je 0x46efeb
push str.RecordExceptionInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x46efeb
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x3a8]
push ecx
push ebx
call fcn.0046e340
add esp, 8
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x46effd
mov eax, dword [ebp + 0x3a8]
push eax
push ebx
call fcn.0046e340
add esp, 8
mov esi, eax
mov ecx, 0x4d24b8
call fcn.004659f0
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x394
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46f700
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x2ac]
mov eax, 0x1234
call fcn.00483910
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp + 0x78]
push eax
push 0x1000
lea ecx, [ebp - 0xf88]
push ecx
push esi
mov dword [ebp + 0x80], esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x46f863
xor eax, eax
xor ebx, ebx
test dword [ebp + 0x78], 0xfffffffc
mov dword [ebp + 0x7c], eax
jbe 0x46f863
mov eax, dword [ebp + eax*4 - 0xf88]
push 0x208
lea edx, [ebp + 0xa0]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x46f846
lea ecx, [ebp + 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x46f7ce
lea edi, [eax + eax]
mov eax, edi
call fcn.00480be0
mov esi, esp
cmp esi, ebx
je 0x46f7ce
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
lea edx, [ebp + 0xa0]
push edx
push ebx
push 0x3a8
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x46f7d0
xor eax, eax
mov ecx, eax
mov dword [ebp + 0x9c], 0xf
mov dword [ebp + 0x98], ebx
mov byte [ebp + 0x88], bl
lea esi, [ecx + 1]
jmp 0x46f7f0
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x46f7f0
sub ecx, esi
push ecx
push eax
lea ecx, [ebp + 0x84]
call fcn.0040bd70
lea eax, [ebp + 0x84]
push eax
call fcn.0046f660
add esp, 4
push 0xa
push ebx
push str.HOOKDISKID
lea ecx, [ebp + 0x84]
call fcn.004075d0
test eax, eax
jge 0x46f88f
cmp dword [ebp + 0x9c], 0x10
jb 0x46f846
mov ecx, dword [ebp + 0x88]
push ecx
call fcn.004803bd
add esp, 4
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
mov esi, dword [ebp + 0x80]
add eax, 1
shr edx, 2
cmp eax, edx
mov dword [ebp + 0x7c], eax
jb 0x46f762
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0xf94]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a8]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x2ac
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x9c], 0x10
jb 0x46f8a7
mov eax, dword [ebp + 0x88]
push eax
call fcn.004803bd
add esp, 4
xor eax, eax
jmp 0x46f86f
Function at 0x46f8b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x3dc]
sub esp, 0x45c
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp + 0x3d8], eax
push ebx
push esi
push edi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x80], esi
jne 0x46f8e8
xor al, al
jmp 0x46fa4d
push 0x228
lea eax, [ebp - 0x74]
push 0
push eax
mov byte [ebp - 0x79], 0
mov dword [ebp - 0x78], 0x22c
call fcn.00480820
add esp, 0xc
lea ecx, [ebp - 0x78]
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46fa43
cmp dword [ebp - 0x70], 0
jne 0x46f928
lea edx, [ebp - 0x78]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x46fa43
mov ecx, 0x82
lea esi, [ebp - 0x54]
lea edi, [ebp + 0x1d0]
rep movsd dword es:[edi], dword [esi]
call dword [0x4d07b0]
mov ebx, eax
lea eax, [ebp + 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x46f992
lea edi, [eax + eax]
mov eax, edi
call fcn.00480be0
mov esi, esp
test esi, esi
je 0x46f992
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea ecx, [ebp + 0x1d0]
push ecx
push 0
push ebx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x46f994
xor eax, eax
mov ecx, eax
mov dword [ebp + 0x1cc], 0xf
mov dword [ebp + 0x1c8], 0
mov byte [ebp + 0x1b8], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x46f9b4
sub ecx, esi
push ecx
push eax
lea ecx, [ebp + 0x1b4]
call fcn.0040bd70
mov eax, dword [ebp + 0x1b8]
mov esi, 0x10
cmp dword [ebp + 0x1cc], esi
jae 0x46f9e5
lea eax, [ebp + 0x1b8]
push str.pbdownforce.exe
push eax
call fcn.00482722
add esp, 8
test eax, eax
je 0x46fa25
cmp dword [ebp + 0x1cc], esi
jb 0x46fa0e
mov edx, dword [ebp + 0x1b8]
push edx
call fcn.004803bd
add esp, 4
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46f930
jmp 0x46fa40
cmp dword [ebp + 0x1cc], esi
mov byte [ebp - 0x79], 1
jb 0x46fa40
mov edx, dword [ebp + 0x1b8]
push edx
call fcn.004803bd
add esp, 4
mov esi, dword [ebp - 0x80]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x79]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3d8]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x3dc
mov esp, ebp
pop ebp
ret
Function at 0x46fa70
Capabilities:
Enumerate process modules
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b2ac6
mov eax, dword fs:[0]
push eax
sub esp, 0xe58
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0xe50], eax
push ebx
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0xe68]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46fc27
push 0x424
lea eax, [esp + 0x3c]
push 0
push eax
mov dword [esp + 0x40], 0x428
call fcn.00480820
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push ebx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x46fc20
cmp dword [esp + 0x3c], 0
jne 0x46fb0a
lea edx, [esp + 0x34]
push edx
push ebx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x46fc20
push 0x1fe
lea eax, [esp + 0x462]
push 0
push eax
call fcn.00480820
mov ecx, 0x3f
lea esi, [esp + 0x60]
lea edi, [esp + 0x468]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x468]
push ecx
movsb byte es:[edi], byte [esi]
call fcn.004ab4d7
lea edx, [esp + 0x46c]
push str.sxin.dll
push edx
call fcn.00483afa
add esp, 0x18
test eax, eax
je 0x46fb7e
lea eax, [esp + 0x45c]
push str.sxin64.dll
push eax
call fcn.00483afa
add esp, 8
test eax, eax
jne 0x46fc0d
xor edi, edi
push 0x7fe
lea ecx, [esp + 0x662]
push edi
push ecx
mov word [esp + 0x668], di
call fcn.00480820
add esp, 0xc
lea edx, [esp + 0x65c]
push edx
push 0x400
push edi
lea eax, [esp + 0x60]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea esi, [esp + 0x65c]
lea ecx, [ecx]
cmp word [esi], 0x33
jne 0x46fbe6
cmp word [esi + 2], 0x36
jne 0x46fbe6
cmp word [esi + 4], 0x30
jne 0x46fbe6
push str.360_
push esi
call fcn.004846a3
add esp, 8
test eax, eax
jne 0x46fc4d
add edi, 1
add esi, 2
cmp edi, 0x3fe
jl 0x46fbc0
lea ecx, [esp + 0x45c]
push str.SbieDll.dll
push ecx
call fcn.00483afa
add esp, 8
test eax, eax
je 0x46fc4d
lea edx, [esp + 0x34]
push edx
push ebx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x46fb12
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0xe68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe50]
xor ecx, esp
call fcn.00480bcf
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x46fc29
Function at 0x470a70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, eax
shr eax, 8
shr ecx, 0x18
mov byte [esp + 0xd], al
mov al, byte [esi + 0x14]
mov byte [esp + 0xf], cl
shr edx, 0x10
mov byte [esp + 0xc], al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0xe], dl
mov edx, eax
mov byte [esp + 0xb], cl
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [esp + 0xa], dl
mov dl, al
shr eax, 3
mov byte [esp + 9], cl
and eax, 0x3f
mov ecx, 0x40
sub ecx, eax
cmp ecx, 9
mov edi, dword [esp + 0x18]
mov byte [esp + 8], dl
jae 0x470ae4
add ecx, 0x40
add ecx, 0xfffffff8
push ecx
push 0x4d0718
push esi
call fcn.004709c0
push 8
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004709c0
add esp, 0x18
test edi, edi
je 0x470b7c
movzx ecx, byte [esi + 3]
mov byte [edi + 3], cl
movzx edx, byte [esi + 2]
mov byte [edi + 2], dl
mov eax, dword [esi]
shr eax, 8
mov byte [edi + 1], al
movzx ecx, byte [esi]
mov byte [edi], cl
movzx edx, byte [esi + 7]
mov byte [edi + 7], dl
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
mov ecx, dword [esi + 4]
shr ecx, 8
mov byte [edi + 5], cl
movzx edx, byte [esi + 4]
mov byte [edi + 4], dl
movzx eax, byte [esi + 0xb]
mov byte [edi + 0xb], al
movzx ecx, byte [esi + 0xa]
mov byte [edi + 0xa], cl
mov edx, dword [esi + 8]
shr edx, 8
mov byte [edi + 9], dl
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
movzx ecx, byte [esi + 0xf]
mov byte [edi + 0xf], cl
movzx edx, byte [esi + 0xe]
mov byte [edi + 0xe], dl
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [edi + 0xd], al
movzx ecx, byte [esi + 0xc]
mov byte [edi + 0xc], cl
push 0x58
push 0
push esi
call fcn.00480820
mov ecx, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.00480bcf
add esp, 0xc
ret

Function at 0x470ba0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004709c0
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00470a70
mov ecx, dword [esp + 0x70]
add esp, 0x14
pop esi
xor ecx, esp
call fcn.00480bcf
add esp, 0x5c
ret

Function at 0x470c20
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x470ca0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
add eax, 1
ret 0xc