joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446920
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
jne 0x44694b
call fcn.0046c6d0
mov dword [esp + 0xc], eax
mov eax, ebx
call fcn.00443760
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xd0]
push 1
push 0
mov ecx, ebx
mov dword [esp + 0x1c], esi
call edx
mov edx, dword [esi]
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x446a95
mov ecx, 0x522874
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4469c6
test dx, dx
je 0x4469c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4469c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4469a0
xor eax, eax
jmp 0x4469cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x446a72
mov ecx, 0x527e74
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446a06
test dx, dx
je 0x446a02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446a06
add eax, 4
add ecx, 4
test dx, dx
jne 0x4469e0
xor eax, eax
jmp 0x446a0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x446a72
cmp byte [ebp + 8], 0
mov al, byte [esp + 0x18]
jne 0x446a1d
test al, 2
jne 0x446a72
test al, 0x10
je 0x446a72
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov esi, dword [edi]
mov eax, dword [edx + 0x2c]
add esi, 0x30
call eax
mov edx, dword [esi]
add eax, 1
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1d0]
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call edx
call fcn.0041e0e0
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18c]
push edi
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb4]
push esi
call edx
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446990
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
lea ecx, [esi + 4]
call edx
test edi, edi
je 0x446aa9
lea ecx, [edi + 4]
jmp 0x446aab
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x26c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 8
Function at 0x446ad0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
jne 0x446afb
call fcn.0046c6d0
mov dword [esp + 0xc], eax
mov eax, ebx
call fcn.00443760
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xd0]
push 1
push 0
mov ecx, ebx
mov dword [esp + 0x1c], esi
call edx
mov edx, dword [esi]
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x446c45
mov ecx, 0x522874
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446b76
test dx, dx
je 0x446b72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446b76
add eax, 4
add ecx, 4
test dx, dx
jne 0x446b50
xor eax, eax
jmp 0x446b7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x446c22
mov ecx, 0x527e74
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446bb6
test dx, dx
je 0x446bb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446bb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x446b90
xor eax, eax
jmp 0x446bbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x446c22
cmp byte [ebp + 8], 0
mov al, byte [esp + 0x18]
jne 0x446bcd
test al, 2
jne 0x446c22
test al, 0x10
jne 0x446c22
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov esi, dword [edi]
mov eax, dword [edx + 0x2c]
add esi, 0x30
call eax
mov edx, dword [esi]
add eax, 1
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1d0]
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call edx
call fcn.0041e0e0
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18c]
push edi
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb4]
push esi
call edx
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446b40
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
lea ecx, [esi + 4]
call edx
test edi, edi
je 0x446c59
lea ecx, [edi + 4]
jmp 0x446c5b
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x26c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 8
Function at 0x4478c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x248], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x1c], eax
call fcn.00447680
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
xor bl, bl
push 2
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x4479bb
push 0x228
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.004bc9b0
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4479b0
mov edi, edi
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x447985
cmp ebx, dword [esp + 0x18]
je 0x447985
call fcn.00447c40
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov edx, dword [esi]
push 0xffffffffffffffff
push 0
push eax
mov eax, dword [edx + 0xa4]
push 0
mov ecx, esi
call eax
add esi, 4
test al, al
mov ecx, esi
jne 0x447996
mov edx, dword [esi]
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x447940
jmp 0x4479b0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov byte [esp + 0x13], 1
call eax
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [esp + 0x13]
test edi, edi
je 0x4479ca
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [edi + 4]
call eax
mov ecx, dword [esp + 0x254]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret

Function at 0x447d30
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x20c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x51fc90
call fcn.0040b2c0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x218]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x447dac
push 0x208
lea ecx, [esp + 0xc]
push 0x30
push ecx
call fcn.004bc9b0
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov edx, dword [eax + 0x200]
lea ecx, [esp + 8]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x210]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004b8e16
add esp, 0x20c
ret
Function at 0x448860
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5083e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push esi
push edi
mov eax, dword [0x54b708]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x68], 0
je 0x448a1f
mov eax, dword [esi + 0x2c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ebx, [esi + 0xc]
push ebx
lea ecx, [esp + 0x28]
call fcn.004a68e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0
mov edx, dword [esi + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push 1
push eax
push ecx
call fcn.0045cc50
add esp, 8
push eax
call fcn.0045d280
add esp, 8
cmp byte [esi + 0xb4], 0
mov edi, eax
jne 0x44891b
mov eax, dword [esi + 0xb0]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 8]
call fcn.004a6c3f
jmp 0x44892e
test edi, edi
je 0x448924
lea eax, [edi + 8]
jmp 0x448926
xor eax, eax
push eax
mov eax, esi
call fcn.0044a3d0
mov eax, dword [esi + 0x340]
test eax, eax
mov ebx, dword [esi + 0x33c]
je 0x448940
mov ebx, eax
cmp byte [esi + 0x2b9], 0
jne 0x44895a
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x44895a
xor cl, cl
jmp 0x44895c
mov cl, 1
test edi, edi
je 0x448965
lea eax, [edi + 8]
jmp 0x448967
xor eax, eax
movzx edx, byte [esi + 0x346]
push edx
mov edx, dword [esi + 0x338]
push ecx
mov ecx, dword [esi + 0x2b4]
push ecx
mov ecx, dword [esi + 0x334]
push edx
push ecx
lea edx, [esi + 0x15c]
push edx
lea ecx, [esi + 0xc8]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esi + 0x258]
push edx
mov edx, dword [esp + 0x38]
add esi, 0x220
push esi
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
test edi, edi
je 0x4489c8
lea edx, [edi + 8]
jmp 0x4489ca
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
test edx, edx
je 0x4489e1
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x40]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x448a0b
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [edi + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x88], 0xffffffff
call fcn.004a6939
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004b8e16
add esp, 0x7c
ret
Function at 0x448d15
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x448d6a
cmp byte [esi + 0x6c], 0
jne 0x448da5
mov eax, dword [esi + 0x68]
test eax, eax
mov byte [esi + 0x6c], 1
je 0x448d38
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x68], 0
je 0x448da5
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test eax, eax
je 0x448da5
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe4]
call eax
pop esi
ret 8
cmp byte [esi + 0x6c], 0
je 0x448da5
mov eax, dword [esi + 0x68]
test eax, eax
mov byte [esi + 0x6c], 0
je 0x448da5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x448da5
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
push 0x2710
push 0xffffd8f0
mov ecx, esi
call eax
pop esi
ret 8
Function at 0x452f75
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x452ff3
cmp byte [esi + 0xa4], 0
jne 0x45306e
mov eax, dword [esi + 0xa0]
test eax, eax
mov byte [esi + 0xa4], 1
je 0x452fa1
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x452fb6
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
push 1
push 1
call edx
cmp dword [esi + 0xa0], 0
je 0x45306e
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test eax, eax
je 0x45306e
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe4]
call eax
pop esi
ret 8
cmp byte [esi + 0xa4], 0
je 0x45306e
mov eax, dword [esi + 0xa0]
test eax, eax
mov byte [esi + 0xa4], 0
je 0x45303a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xa0]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45303a
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
push 0x2710
push 0xffffd8f0
mov ecx, esi
call eax
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x45304f
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 1
push 0
call eax
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x45306e
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0xa8], 0
pop esi
ret 8
Function at 0x4566d0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x2b4], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 8]
lea ecx, [esi + 4]
call edx
push 0x4101
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x51fc90
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], 0
call fcn.004b8e16
add esp, 0x2b8
ret

Function at 0x457f95
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x458007
cmp byte [esi + 0xa4], 0
jne 0x458003
mov eax, dword [esi + 0xa0]
test eax, eax
mov byte [esi + 0xa4], 1
je 0x457fbd
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x457fd2
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
push 1
push 1
call edx
cmp dword [esi + 0xa0], 0
je 0x458003
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test eax, eax
je 0x458003
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe4]
call eax
pop esi
ret 8
cmp byte [esi + 0xa4], 0
je 0x458003
mov eax, dword [esi + 0xa0]
test eax, eax
mov byte [esi + 0xa4], 0
je 0x45804e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xa0]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45804e
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
push 0x2710
push 0xffffd8f0
mov ecx, esi
call eax
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x458003
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
pop esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0
jmp eax

Function at 0x459205
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x459283
cmp byte [esi + 0x9c], 0
jne 0x4592fe
mov eax, dword [esi + 0x98]
test eax, eax
mov byte [esi + 0x9c], 1
je 0x459231
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x459246
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
push 1
push 1
call edx
cmp dword [esi + 0x98], 0
je 0x4592fe
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test eax, eax
je 0x4592fe
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe4]
call eax
pop esi
ret 8
cmp byte [esi + 0x9c], 0
je 0x4592fe
mov eax, dword [esi + 0x98]
test eax, eax
mov byte [esi + 0x9c], 0
je 0x4592ca
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x98]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4592ca
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
push 0x2710
push 0xffffd8f0
mov ecx, esi
call eax
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4592df
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 1
push 0
call eax
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4592fe
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0xa0], 0
pop esi
ret 8
Function at 0x45ca40
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x118], eax
push edi
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45ca88
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 4], 0
push 0x114
lea edx, [esp + 0xc]
setne cl
push 0
push edx
mov byte [esi + 0x34], cl
call fcn.004bc9b0
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], edx
sete dl
cmp eax, 5
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov byte [esi + 8], dl
pop edi
jg 0x45caeb
jne 0x45cae7
cmp ecx, 1
jge 0x45caeb
xor eax, eax
jmp 0x45caf0
mov eax, 1
mov byte [esi + 9], al
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x200]
lea ecx, [esi + 0xc]
lea edx, [esp + 0x18]
push edx
call eax
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004b8e16
add esp, 0x11c
ret
Function at 0x469e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5046ea
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x54b708]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.s::system::network::win::WsaInitializer.0
mov dword [esi + 4], vtable.s::system::network::win::WsaInitializer.1.0
mov dword [esp + 0x18], 2
cmp byte [esi + 0x30], 0
je 0x469eaf
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [esi + 0x30], 0
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x469ebe
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.00401600
mov dword [esi + 4], vtable.s::thread::IPoolable.0
mov dword [esi], vtable.s::base::IComparable.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x46a150
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x509b3e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x54b708]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, 1
test byte [0x5589d0], al
jne 0x46a1b2
or dword [0x5589d0], eax
push 0x5589c4
mov edi, 0x52ef98
mov dword [esp + 0x1c], 0
call fcn.00430060
push 0x50ca90
call fcn.004b8f73
add esp, 4
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [0x5589cc]
test eax, eax
je 0x46a22b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetTcpEntry
push eax
call esi
mov dword [0x555210], eax
mov eax, dword [0x5589cc]
push str.AllocateAndGetTcpExTableFromStack
push eax
call esi
mov ecx, dword [0x5589cc]
push str.AllocateAndGetUdpExTableFromStack
push ecx
mov dword [0x555214], eax
call esi
mov edx, dword [0x5589cc]
push str.GetExtendedTcpTable
push edx
mov dword [0x555218], eax
call esi
mov dword [0x55521c], eax
mov eax, dword [0x5589cc]
push str.GetExtendedUdpTable
push eax
call esi
mov dword [0x555220], eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push str.Failed_to_Load_iphlpapi.dll___n
call fcn.0040b2c0
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1d0]
add esp, 4
push str.Error_Code__
mov ecx, esi
call eax
mov ebx, eax
mov edi, dword [ebx]
add edi, 0x1a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
mov ecx, esi
call edx
push eax
call fcn.0041a120
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
lea ecx, [esi + 4]
add esp, 4
call edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x46a324
Capabilities:
Delete file
Download url
Read file on windows
Receive data

Disassembly:
sub esp, 0x684
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x680], eax
push esi
mov esi, ecx
cmp byte [esi + 0x31], 0
jne 0x46a45c
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea esp, [esp]
cmp byte [esi + 0x32], 0
jne 0x46a45a
push 0
push 0
push 0x30c
lea eax, [esp + 0x80]
push eax
push str.http:__www.whatismyip.org_
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
je 0x46a3a7
cmp byte [esi + 0x32], 0
jne 0x46a39c
cmp byte [esi + 0x31], 0
mov edi, 0xea60
jne 0x46a45a
test edi, edi
jle 0x46a39c
push 0xc8
call ebp
sub edi, 0xc8
cmp byte [esi + 0x31], 0
je 0x46a380
jmp 0x46a45a
cmp byte [esi + 0x31], 0
je 0x46a340
jmp 0x46a45a
push ebx
push 0
push 0x8000080
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46a459
push 0
lea edx, [esp + 0x14]
push edx
push 0x64
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46a447
cmp dword [esp + 0x10], 0
jbe 0x46a447
lea ebp, [esi + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x200]
push 0x51fc90
call eax
xor edi, edi
cmp dword [esp + 0x10], edi
jbe 0x46a43c
nop
mov ecx, dword [esi + 0x34]
movzx eax, byte [esp + edi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xe4]
push eax
call edx
add edi, 1
cmp edi, dword [esp + 0x10]
jb 0x46a420
push ebp
mov byte [esi + 0x32], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x684]
mov byte [esi + 0x31], 0
mov byte [esi + 0x30], 0
pop esi
xor ecx, esp
call fcn.004b8e16
add esp, 0x684
ret

Function at 0x46c211
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x46c22c
mov eax, dword [esp + 0x14]
mov dword [eax], 0
xor al, al
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46c25d
mov edx, dword [esp + 0x14]
mov dword [edx], eax
xor al, al
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 4]
test eax, eax
je 0x46c21b
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
add dword [esi + 0x10], eax
mov al, 1
adc dword [esi + 0x14], 0
pop esi
pop ecx
ret 0xc
Function at 0x46c4a1
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x46c4b0
xor al, al
pop esi
pop ecx
ret
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46c4e6
push 0
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46c4ab
mov ecx, dword [esp + 4]
cmp ecx, dword [esi + 0x14]
jne 0x46c4ab
mov dword [esi + 0x14], 0
mov al, 1
pop esi
pop ecx
ret

Function at 0x46c5a1
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x46c5bc
mov eax, dword [esp + 0x14]
mov dword [eax], 0
xor al, al
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46c5ed
mov edx, dword [esp + 0x14]
mov dword [edx], eax
xor al, al
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 4]
test eax, eax
je 0x46c5ab
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
add dword [esi + 0x14], eax
mov al, 1
adc dword [esi + 0x18], 0
pop esi
pop ecx
ret 0xc