joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b492
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x224]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x228], ebx
call fcn.004074d0
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x228]
push ecx
push 0x20019
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b5b0
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x22c], ebx
call fcn.00470210
add esp, 0xc
mov dword [ebp - 0x230], 1
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x45b52f
mov eax, dword [edi]
jmp 0x45b531
mov eax, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push dword [ebp - 0x228]
call esi
test eax, eax
jne 0x45b5b0
add dword [ebp - 0x22c], 2
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push dword [ebp - 0x228]
call esi
test eax, eax
jne 0x45b5b0
lea eax, [ebp - 0x20c]
push eax
call fcn.00406100
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402920
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x45b5b2
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x224]
call fcn.00403940
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45b729
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x45b735
lea eax, [esi + 0x3c]
jmp 0x45b737
xor eax, eax
push eax
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, eax
call fcn.00439c06
cmp dword [esi + 0x90], 0
je 0x45b75e
cmp dword [esi + 0x8c], 0
jne 0x45b75e
mov ecx, esi
pop esi
jmp fcn.0045b704
pop esi
ret
Function at 0x45bddd
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x20c]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x430]
push 0x104
push eax
call fcn.00473092
add esp, 0xc
lea eax, [ebp - 0x430]
push str..lnk
push eax
call ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45be71
xor al, al
jmp 0x45bf47
xor ebx, ebx
inc ebx
mov ecx, 0x4a7f74
lea eax, [ebp - 0x430]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45bea5
test dx, dx
je 0x45bea1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45bea5
add eax, 4
add ecx, 4
test dx, dx
jne 0x45be7f
xor eax, eax
jmp 0x45bea9
sbb eax, eax
or eax, ebx
test eax, eax
je 0x45bf26
mov ecx, 0x4a7f78
lea eax, [ebp - 0x430]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45bede
test dx, dx
je 0x45beda
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45bede
add eax, 4
add ecx, 4
test dx, dx
jne 0x45beb8
xor eax, eax
jmp 0x45bee2
sbb eax, eax
or eax, ebx
test eax, eax
je 0x45bf26
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esi + 0x14], 8
jb 0x45bf04
mov eax, dword [esi]
jmp 0x45bf06
mov eax, esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0045bb3c
pop ecx
pop ecx
test al, al
jne 0x45bf58
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x45c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45be74
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x430]
push eax
call fcn.00406100
pop ecx
mov ecx, dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00402920
jmp 0x45bf3e

Function at 0x45bf87
Capabilities:
Find taskbar

Disassembly:
push edi
xor edi, edi
push edi
push 0x49be84
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x45bfbe
push edi
push str.ReBarWindow32
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x45bfbe
push str.Quick_Launch
push str.ToolbarWindow32
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
pop edi
ret
Function at 0x45c67a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x244]
mov dword [ebp - 0x248], 0x22c
push 0
push eax
call fcn.00470210
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c6c6
xor bl, bl
jmp 0x45c763
lea eax, [ebp - 0x248]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
mov dword [ebp - 8], 7
setne al
and dword [ebp - 0xc], 0
xor ecx, ecx
xor bl, bl
mov word [ebp - 0x1c], cx
test al, al
je 0x45c750
lea eax, [ebp - 0x224]
push eax
call fcn.00406100
pop ecx
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402920
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
cmp dword [ebp + 0x18], edx
lea eax, [ebp + 8]
cmovb edx, dword [ebp + 0x18]
cmp dword [ebp - 8], 8
push edx
cmovae ecx, dword [ebp - 0x1c]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
call fcn.00472e53
add esp, 0xc
test eax, eax
je 0x45c74e
lea eax, [ebp - 0x248]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45c6ef
jmp 0x45c750
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403940
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00403940
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret

Function at 0x45caf2
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x50
call fcn.0046ebbd
xor ebx, ebx
pop ecx
test eax, eax
je 0x45cb13
mov ecx, eax
call fcn.004396ae
mov esi, eax
jmp 0x45cb15
mov esi, ebx
push 0x6c
call fcn.0046ebbd
pop ecx
test eax, eax
je 0x45cb2f
push dword [ebp + 8]
mov ecx, eax
call fcn.0045c3c1
mov edi, eax
jmp 0x45cb31
mov edi, ebx
mov ecx, edi
call fcn.0045c80b
push ebx
mov ecx, esi
call fcn.004397d0
mov eax, dword [edi + 0x10]
mov ecx, esi
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00439785
push 0x49c660
mov ecx, esi
call fcn.00439a2e
push 1
push edi
mov ecx, esi
call fcn.004399ff
mov ecx, edi
call fcn.0045c531
test al, al
je 0x45cbdd
sub esp, 0x18
mov ecx, esp
push 0x49a02c
call fcn.004074d0
call fcn.0045c67a
add esp, 0x18
test al, al
jne 0x45cbdd
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x45cbdd
push eax
push dword [ebp + 8]
call fcn.0045c89b
pop ecx
pop ecx
test al, al
jne 0x45cbdd
mov ecx, esi
call fcn.004397c9
push ebx
push 0x80
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0045abfd
mov ecx, edi
call fcn.0045caa7
push 1
mov ecx, esi
call fcn.004399a8
jmp 0x45cbe4
mov ecx, esi
call fcn.004399d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461819
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1040], 0
je 0x461835
mov byte [edi + 0x1040], 0
mov esi, dword [edi + 0x1060]
push esi
call fcn.0040b400
pop ecx
test al, al
je 0x46189e
lea eax, [edi + 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
or dword [edi + 0x1080], 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x46189e
cmp eax, 0xe8
je 0x46189e
cmp eax, 0x217
je 0x46188c
cmp eax, 0x3e5
jne 0x46189e
or dword [edi + 0x1080], 4
mov byte [edi + 0x1040], 1
jmp 0x46189a
or dword [edi + 0x1080], 0x10
mov byte [edi + 0x107c], 0
mov al, 1
jmp 0x4618a0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4618a6
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
cmp byte [esi + 0x105c], bl
je 0x46190c
mov byte [esi + 0x105c], bl
cmp dword [ebp + 8], ebx
je 0x4619f4
cmp dword [ebp + 0xc], ebx
je 0x4619f4
cmp dword [esi + 0x1078], ebx
jne 0x4618e6
call fcn.0040c210
lea edi, [esi + 0x1068]
mov ecx, edi
call fcn.00461dda
mov ecx, dword [eax]
dec dword [edi + 0x10]
jne 0x4618ff
mov dword [edi + 0xc], ebx
jmp 0x461902
inc dword [edi + 0xc]
test ecx, ecx
je 0x46190c
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1078], ebx
je 0x461a52
push dword [esi + 0x1060]
call fcn.0040b400
pop ecx
test al, al
je 0x461a47
lea ecx, [esi + 0x1068]
call fcn.00461dda
mov edi, dword [eax]
or dword [esi + 0x1080], 0x20
cmp byte [esi + 0x107f], bl
je 0x46194d
call fcn.0040c210
mov byte [esi + 0x107f], 1
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
lea eax, [esi + 0x1044]
push eax
push ebx
push ecx
mov dword [esi + 0x108c], ecx
mov dword [esi + 0x1084], ebx
push dword [edi + 4]
push dword [esi + 0x1060]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x461a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1084], eax
cmp eax, 0x3e5
je 0x461a4b
mov byte [esi + 0x107f], bl
mov dword [esi + 0x1088], eax
call fcn.00417f80
mov edi, 0x100
cmp eax, 2
jg 0x4619f0
push 2
push 0x204
push str.k:liebao_src_pool_release.branch_85_src_importipcipc_channel_win.cc
lea ecx, [ebp - 0xb4]
mov ebx, edi
call fcn.00417ff0
push dword [esi + 0x1084]
add eax, 8
push str.pipe_error:
push eax
call fcn.00404220
pop ecx
pop ecx
mov ecx, eax
call fcn.00405f30
test edi, ebx
jmp 0x461a3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00417f80
cmp eax, 2
jg 0x461a37
push 8
pop ebx
push 2
push 0x1db
push str.k:liebao_src_pool_release.branch_85_src_importipcipc_channel_win.cc
lea ecx, [ebp - 0xb4]
call fcn.00417ff0
push esi
add eax, ebx
push str.pipe_error:
push eax
call fcn.00404220
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bd00
test bl, 8
je 0x461a47
lea ecx, [ebp - 0xb4]
call fcn.00418040
xor al, al
jmp 0x461a54
mov byte [esi + 0x105c], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x464000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4973a8
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.00472480
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x102c], edi
call fcn.0043c54f
mov byte [edi + 0xc4], 0
xor ecx, ecx
mov dword [edi + 0xdc], 7
mov dword [edi + 0xd8], 0
mov dword [ebp - 4], 0
mov word [edi + 0xc8], cx
mov word [edi + 0xe0], cx
lea ecx, [edi + 0xe4]
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.h_lvse
mov byte [ebp - 4], 1
mov byte [ecx], 0
call fcn.004024d0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
lea ecx, [ebp - 0x1024]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1028], 0
call fcn.0043e65c
test eax, eax
jne 0x464270
mov esi, dword [ebp - 0x1024]
lea eax, [ebp - 0x1014]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1014], 4
push eax
lea eax, [ebp - 0x1018]
push eax
push 0
push str.ProxyEnable
push esi
call ebx
test eax, eax
jne 0x464276
cmp dword [ebp - 0x1018], 4
jne 0x464276
cmp dword [ebp - 0x1028], eax
je 0x464276
test esi, esi
je 0x46414e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1024], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
lea ecx, [ebp - 0x1024]
mov dword [ebp - 0x1020], 0
call fcn.0043e65c
test eax, eax
jne 0x464270
push 0xffe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.00470210
mov esi, dword [ebp - 0x1024]
lea eax, [ebp - 0x1014]
add esp, 0xc
mov dword [ebp - 0x1014], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1018]
push eax
push 0
push str.ProxyServer
push esi
call ebx
test eax, eax
jne 0x464276
mov eax, dword [ebp - 0x1018]
cmp eax, 1
je 0x4641de
cmp eax, 2
jne 0x464276
mov ecx, dword [ebp - 0x1014]
test ecx, ecx
je 0x464202
test cl, 1
jne 0x464276
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x46420b
jmp 0x464276
xor eax, eax
mov word [ebp - 0x1010], ax
shr ecx, 1
add ecx, ecx
cmp ecx, 0x1000
jae 0x46426b
xor eax, eax
mov word [ebp + ecx - 0x1010], ax
cmp word [ebp - 0x1010], ax
jne 0x46422e
xor ecx, ecx
jmp 0x464246
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464237
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [edi + 0xc8]
call fcn.00402920
cmp dword [edi + 0xd8], 0
je 0x464276
mov byte [edi + 0xc4], 1
jmp 0x464276
call fcn.00471d10
mov esi, dword [ebp - 0x1024]
test esi, esi
je 0x464281
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f685
mov esp, ebp
pop ebp
ret
Function at 0x4642a0
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4974a4
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x3c]
mov dword [esi], 0x49d0d0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x4a7589
mov dword [ebp - 0x814], esi
mov byte [ecx], 0
call fcn.004024d0
lea ecx, [esi + 0x54]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push 0x4a7589
mov byte [ecx], 0
call fcn.004024d0
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 0xf
push 6
mov dword [ecx + 0x10], 0
push str.h_lvse
mov byte [ecx], 0
call fcn.004024d0
mov byte [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x98], 0
mov byte [esi + 0x99], 0
mov byte [esi + 0x9a], 0
mov byte [esi + 0x9b], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xc8], 0xf
mov dword [esi + 0xc4], 0
mov byte [esi + 0xb4], 0
mov dword [esi + 0xe0], 0xf
mov dword [esi + 0xdc], 0
mov byte [esi + 0xcc], 0
mov dword [esi + 0xf8], 0xf
mov dword [esi + 0xf4], 0
mov byte [esi + 0xe4], 0
mov dword [esi + 0x110], 0xf
mov dword [esi + 0x10c], 0
mov byte [esi + 0xfc], 0
mov dword [esi + 0x128], 0xf
mov dword [esi + 0x124], 0
mov byte [esi + 0x114], 0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x12c]
call fcn.00464000
lea ecx, [esi + 0x228]
mov byte [ebp - 4], 0xb
call fcn.00464540
lea eax, [esi + 0x324]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x810]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x810], 0
jne 0x4644fd
xor eax, eax
jmp 0x46450f
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464506
sub eax, edx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [esi + 0xb4]
call fcn.004024d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f685
mov esp, ebp
pop ebp
ret
Function at 0x465110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push ebx
xor ebx, ebx
push esi
mov dword [eax], ebx
cmp dword [ebp + 0x14], ebx
jne 0x465122
int3
cmp byte [ebp + 0x10], bl
je 0x465130
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], ebx
ja 0x465130
int3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x46513b
mov eax, dword [eax]
push 0x4a7f80
push eax
call fcn.00476d74
mov esi, eax
add esp, 8
test esi, esi
je 0x4651d9
push edi
push 2
push 0
push esi
call fcn.00476e18
push esi
call fcn.00474d25
push 0
push 0
push esi
mov edi, eax
call fcn.00476e18
add esp, 0x1c
test edi, edi
jle 0x4651cf
mov dl, byte [ebp + 0x10]
test dl, dl
je 0x465188
mov ecx, dword [ebp + 0x1c]
lea eax, [edi + 0x18]
mov dword [ecx], eax
jmp 0x46518f
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
cmp eax, dword [ecx]
jb 0x4651cf
test dl, dl
je 0x4651bb
mov ebx, dword [ebp + 0x14]
push 0x18
push ebx
push edi
push dword [ebp + 0xc]
call fcn.004651e0
push esi
push edi
lea eax, [ebx + 0x18]
push 1
push eax
call fcn.004746c4
add esp, 0x20
jmp 0x4651ca
push esi
push edi
push 1
push dword [ebp + 0x14]
call fcn.004746c4
add esp, 0x10
mov ebx, 1
push esi
call fcn.00474dfd
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x465520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test edi, edi
jne 0x465532
int3
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov edx, esi
mov ecx, dword [eax]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x465552
int3
xor ebx, ebx
cmp ecx, esi
je 0x465562
add ebx, dword [ecx + 0x10]
add ecx, 0x18
cmp ecx, esi
jne 0x465558
test bl, 7
je 0x465571
shr ebx, 3
lea ebx, [ebx*8 + 8]
push ebx
call fcn.00470362
push ebx
mov esi, eax
push 0
push esi
call fcn.00470210
mov ecx, dword [ebp - 4]
add esp, 0x10
push ebx
push esi
push dword [ebp + 8]
call fcn.00465700
push edi
push ebx
push 1
push esi
call fcn.00474913
push edi
call fcn.0047420c
push esi
call fcn.0046edf3
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4655c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4976f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x46565f
cmp dword [ebx + 0x68], 0x10
lea edi, [ebx + 0x54]
jb 0x465604
mov ecx, dword [edi]
jmp 0x465606
mov ecx, edi
push eax
push dword [ebx + 0x64]
push 1
push ecx
call fcn.00474913
push dword [ebp - 0x2c]
mov esi, eax
call fcn.0047420c
add esp, 0x14
cmp esi, 8
je 0x46565f
push 0x4a7589
lea ecx, [ebp - 0x28]
call fcn.00402390
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push edi
lea eax, [ebx + 0x3c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
push 6
call fcn.0046a7e0
cmp dword [ebp - 0x14], 0x10
jb 0x46565f
push dword [ebp - 0x28]
call fcn.0046ec0e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f685
mov esp, ebp
pop ebp
ret 4
Function at 0x4662f0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x288
mov dword [ebp - 0x38], eax
call fcn.00470362
add esp, 4
mov dword [ebp - 0x34], 0x288
mov edi, eax
lea eax, [ebp - 0x34]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x466350
push edi
call fcn.0046edf3
push dword [ebp - 0x34]
call fcn.00470362
add esp, 8
mov edi, eax
lea eax, [ebp - 0x34]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x466404
push 8
lea eax, [edi + 0x194]
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004671c0
mov ebx, eax
cmp esi, ebx
je 0x46639b
cmp dword [esi + 0x14], 0x10
jb 0x466382
push dword [esi]
call fcn.0046ec0e
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00403260
cmp dword [ebp - 0x1c], 0x10
jb 0x4663ac
push dword [ebp - 0x30]
call fcn.0046ec0e
add esp, 4
xor eax, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x18]
push 0xa
push eax
lea eax, [edi + 0x1b0]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call fcn.00476c32
mov edx, eax
add esp, 0xc
cmp byte [edx], 0
jne 0x4663ec
xor ecx, ecx
jmp 0x4663fa
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4663f1
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0x38]
push edx
call fcn.004024d0
test edi, edi
je 0x466411
push edi
call fcn.0046edf3
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret 8