joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a5e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
cmp dword [esi + 0x14], 0
push ebx
mov ebx, eax
jne 0x43a680
shr eax, 8
test byte [esi], 0x10
mov byte [esp + 4], bl
mov byte [esp + 5], al
je 0x43a619
lea edx, [esi + 0x24]
call fcn.0043a570
mov bl, byte [esp + 5]
mov byte [esp + 4], al
call fcn.0043a570
mov byte [esp + 5], al
test byte [esi], 1
je 0x43a647
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 2]
cmp ecx, dword [esi + 0x20]
jb 0x43a635
mov dword [esi + 0x14], 0xb
pop ebx
add esp, 8
ret
mov edx, dword [esi + 4]
mov cx, word [esp + 4]
mov word [eax + edx], cx
add dword [esi + 0x1c], 2
jmp 0x43a671
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43a66a
cmp dword [esp + 8], 2
je 0x43a671
mov dword [esi + 0x14], 3
test dword [esi], 0x40000000
je 0x43a680
mov dword [esi + 0x14], 0x14
pop ebx
add esp, 8
ret

Function at 0x43a690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
mov edi, eax
test ebp, ebp
je 0x43a78b
cmp dword [esi + 0x14], 0
jne 0x43a78b
test byte [esi], 0x10
je 0x43a72a
mov eax, dword [esi + 0x30]
test eax, eax
je 0x43a6c9
cmp dword [esi + 0x34], ebp
jae 0x43a6c9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x30], 0
cmp dword [esi + 0x30], 0
jne 0x43a6f2
lea eax, [ebp + ebp]
push eax
push 0
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x43a6f2
mov dword [esi + 0x14], 2
jmp 0x43a77c
mov eax, dword [esi + 0x30]
push ebp
push edi
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
xor edi, edi
test ebp, ebp
jbe 0x43a727
lea edx, [esi + 0x24]
push ebx
lea ebx, [ebx]
mov ecx, dword [esi + 0x30]
mov bl, byte [ecx + edi]
call fcn.0043a570
mov ecx, dword [esi + 0x30]
mov byte [edi + ecx], al
inc edi
cmp edi, ebp
jb 0x43a710
pop ebx
mov edi, dword [esi + 0x30]
test byte [esi], 1
je 0x43a758
mov eax, dword [esi + 0x1c]
lea edx, [eax + ebp]
cmp edx, dword [esi + 0x20]
jb 0x43a743
mov dword [esi + 0x14], 0xb
jmp 0x43a77c
mov ecx, dword [esi + 4]
push ebp
add ecx, eax
push edi
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], ebp
jmp 0x43a77c
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x10]
push edx
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43a775
cmp dword [esp + 0xc], ebp
je 0x43a77c
mov dword [esi + 0x14], 3
test dword [esi], 0x40000000
je 0x43a78b
mov dword [esi + 0x14], 0x14
pop edi
pop ebp
ret
Function at 0x43a830
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esi]
push edi
test eax, 0x40000000
je 0x43a847
mov dword [esi + 0x14], 0x14
xor eax, eax
pop edi
pop ecx
ret
test al, al
jns 0x43a87a
mov eax, dword [esi + 0x50]
mov edi, dword [esi + 0x4c]
cmp eax, edi
jae 0x43a898
sub edi, eax
mov dword [esp + 4], edi
cmp edi, ecx
jbe 0x43a865
mov edi, ecx
mov dword [esp + 4], edi
mov ecx, dword [esi + 0x48]
push edi
add ecx, eax
push ecx
push ebx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
add dword [esi + 0x50], edi
jmp 0x43a8a1
mov eax, dword [esi + 0x48]
push 0
lea edx, [esp + 8]
push edx
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43a89d
mov dword [esi + 0x14], 7
xor eax, eax
pop edi
pop ecx
ret
mov edi, dword [esp + 4]
mov eax, dword [esi + 0x44]
add dword [esi + 0x40], edi
mov edx, edi
mov ecx, ebx
call fcn.0043a410
mov dword [esi + 0x44], eax
mov eax, edi
pop edi
pop ecx
ret

Function at 0x43cba0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [edi + eax]
push str..
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x43cc71
inc ebx
mov dword [esp + 0x1c], ebx
lea ebp, [esi + 0x2c]
lea ecx, [ecx]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, eax
push ebp
lea eax, [edi + ecx]
push edx
mov byte [eax], 0x5c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [esi], 0x10
je 0x43cc34
cmp byte [ebp], 0x2e
jne 0x43cc15
mov al, byte [esi + 0x2d]
test al, al
je 0x43cc56
cmp al, 0x2e
je 0x43cc56
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
push eax
mov eax, dword [esp + 0x20]
lea edx, [ebx + ecx + 1]
push edx
push edi
push eax
call fcn.0043cba0
add esp, 0x14
jmp 0x43cc4f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
lea edx, [edi + ecx]
push 2
push edx
push eax
xor ecx, ecx
mov edx, edi
call fcn.0043c500
add esp, 0xc
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x43cc79
mov ebx, dword [esp + 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43cbe0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43cdd0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 3
push bind
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43ce0f
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], 0
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 0x18]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, edi
neg eax
sbb eax, eax
pop edi
mov dword [edx], ecx
and eax, ecx
pop esi
ret 0x10

Function at 0x43cef0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x410
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x414]
mov ecx, dword [esp + 0x418]
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push bind
push eax
mov dword [esp + 0x34], ecx
mov esi, 0x195d3b7f
mov ebp, 0x2a6e4c80
mov edi, 0x37bf15d9
mov ebx, 0xc40826ae
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
test eax, eax
ja 0x43cf63
mov edx, dword [esp + 0x18]
mov byte [edx], 0
jmp 0x43d025
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x10], 0
jbe 0x43cfef
push 0x400
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x1c], 0
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43cfef
xor edx, edx
cmp dword [esp + 0x10], edx
jbe 0x43cfef
cmp edx, 0x400
jge 0x43cfe8
movzx eax, byte [esp + edx + 0x1c]
add esi, eax
mov ecx, esi
sub ecx, eax
add ebp, ecx
mov ecx, eax
shl eax, 4
shr ecx, 4
or ecx, eax
lea eax, [ecx + ebp]
add edi, eax
mov eax, edi
sub eax, ecx
inc edx
add ebx, eax
cmp edx, dword [esp + 0x10]
jb 0x43cfb7
cmp dword [esp + 0x10], 0
ja 0x43cf73
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
and edi, 0xffffff
shl ebx, 8
or edi, ebx
push edi
and esi, 0xffffff
shl ebp, 8
or esi, ebp
push esi
push str._08x_08x
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e0148
add esp, 0x410
ret
Function at 0x43ddd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e7fc9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 8]
push eax
push esi
push ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov edx, dword [esp + 0x24]
push 1
push esi
push esi
push edx
call fcn.004e0460
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, edx
xor edx, edx
add esi, eax
mov eax, dword [0x53ed94]
adc ecx, edx
imul eax, eax, 0x3e8
cdq
cmp ecx, edx
jb 0x43deb5
ja 0x43de63
cmp esi, eax
jbe 0x43deb5
mov eax, dword [esp + 0x3c]
cmp dword [eax - 0xc], 0xa
jle 0x43de88
push eax
push str.DeleteFile_6__s_
push 8
call fcn.0043d500
mov eax, dword [esp + 0x48]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret
Function at 0x43e8c0
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x4e8084
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
push 0x5116d8
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
xor ebx, ebx
mov dword [esp + 0x438], ebx
push 0x5116d8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x438], 1
push 0x5116d8
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x438], 2
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
push 2
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call sub.NETAPI32.dll_NetShareEnum
test eax, eax
jne 0x43ea82
mov ecx, 0x5f3f0c
call sub.mfc90.dll_Ordinal_5870
mov ecx, 0x5f3ef0
call sub.mfc90.dll_Ordinal_5870
push 0x3ff
lea eax, [esp + 0x31]
push ebx
push eax
mov byte [esp + 0x38], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edi, edi
cmp dword [esp + 0x24], ebx
jbe 0x43ea78
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.mfc90.dll_Ordinal_2539]
add esi, 8
mov edx, dword [esi - 8]
push ebx
push ebx
push 0x400
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
push edx
push ebx
push ebx
call fcn.004dece0
add esp, 0x20
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0043e5e0
add esp, 8
test eax, eax
je 0x43ea0e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x28]
push 0x508d5c
push edx
call ebp
add esp, 0x10
jmp 0x43ea34
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0043e5e0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x30]
push 0x508d5c
push ecx
call ebp
add esp, 0x18
cmp byte [esp + 0x440], bl
je 0x43ea5b
push ebx
push 0x24
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2480]
cmp eax, 0xffffffff
je 0x43ea5b
lea edx, [esp + 0x14]
push edx
mov ecx, 0x5f3ef0
jmp 0x43ea65
lea eax, [esp + 0x14]
push eax
mov ecx, 0x5f3f0c
call sub.mfc90.dll_Ordinal_1041
inc edi
add esi, 0x20
cmp edi, dword [esp + 0x24]
jb 0x43e9b3
mov ecx, dword [esp + 0x1c]
push ecx
call sub.NETAPI32.dll_NetApiBufferFree
mov byte [esp + 0x438], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x438], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x438], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004e0148
add esp, 0x428
ret
Function at 0x43f020
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e8132
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test byte [0x10430f4], 0x80
je 0x43f1d4
mov ebp, dword [sym.imp.mfc90.dll_Ordinal_2539]
mov edi, 0x41
mov dword [esp + 0x20], 0x1a
xor ebx, ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x38], ebx
push edi
lea eax, [esp + 0x18]
push str._c:_
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x38], 1
push edi
lea ecx, [esp + 0x1c]
push 0x508e8c
push ecx
call ebp
mov edx, dword [esp + 0x24]
push edx
call fcn.00495710
movzx eax, ax
add esp, 0x10
cmp eax, 0x80
jne 0x43f1a8
cmp dword [0x103a97c], 0x4d
jne 0x43f0e9
push str.EjectNet_TYPE_CDROM
push 8
call fcn.0043d500
add esp, 8
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_899]
mov cx, word [0x508e74]
mov dl, byte [0x508e76]
mov byte [0x53e760], al
mov eax, dword [str..X:]
mov word [esp + 0x28], cx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov byte [esp + 0x2e], dl
call dword [sym.imp.mfc90.dll_Ordinal_899]
push ebx
push 0x80
push 3
push ebx
push 3
mov byte [esp + 0x3c], al
push 0xc0000000
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43f1a8
cmp dword [0x103a97c], 0x4d
jne 0x43f161
push str.EjectNet_TYPE_CDROM_CreateFile_OK
push 8
call fcn.0043d500
add esp, 8
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push ebx
push 0x90020
push esi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push 0x56c00c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x5f3d50]
cmp eax, 0x64
jge 0x43f1a8
mov dword [eax*4 + 0x5f3bc0], esi
inc eax
mov dword [0x5f3d50], eax
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
inc edi
sub dword [esp + 0x20], 1
jne 0x43f074
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004e0148
add esp, 0x28
ret
Function at 0x443e90
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e88bf
mov eax, dword fs:[0]
push eax
mov eax, 0x2894
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x2890], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x28a8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28b8]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
push 0x5116d8
cmp eax, ebx
je 0x443f19
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x28b0], ebx
mov dword [esp + 0x14], 1
jmp 0x443f92
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ebp, 1
mov dword [esp + 0x28b0], ebp
mov ecx, dword [esp + 0x28bc]
lea ebx, [ebx]
cmp byte [esi + 0x1b0], bl
je 0x443f70
mov edx, dword [esi + 0x194]
lea eax, [esi + 0x194]
cmp edx, dword [ecx]
jne 0x443f6a
mov dl, byte [ecx + 4]
add eax, 4
cmp dl, byte [eax]
jne 0x443f6a
mov dl, byte [ecx + 5]
cmp dl, byte [eax + 1]
je 0x443fbe
mov esi, dword [esi]
cmp esi, ebx
jne 0x443f40
push 0x5116d8
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x28b0], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
mov ecx, dword [esp + 0x28a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2890]
xor ecx, esp
call fcn.004e0148
add esp, 0x28a0
ret 8
add esi, 0x1b0
push esi
jmp 0x443f75
Function at 0x443fd0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4e88f9
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, dword [esp + 0x238]
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x230], ebx
push 0x1ff
lea eax, [esp + 0x29]
push ebx
push eax
mov dword [esp + 0x20], ebx
xor edi, edi
mov byte [esp + 0x30], bl
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x248]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push ebx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x444074
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x23c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x4440eb
add ebp, 8
mov dword [esp + 0x20], ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x200
call ebp
mov esi, eax
inc edi
cmp esi, ebx
jne 0x4440aa
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
call sub.mfc90.dll_Ordinal_1042
mov byte [esp + 0x24], bl
cmp esi, 0x103
jne 0x444081
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x23c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004e0148
add esp, 0x220
ret 8
Function at 0x4452d0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4e8ce9
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
mov esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x9c], ebx
mov eax, dword [esp + 0xa8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
or ecx, 0xffffffff
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
mov edi, 6
push eax
mov dword [esp + 0x28], edi
call sub.IPHLPAPI.DLL_SendARP
cmp dword [esp + 0x18], edi
je 0x445390
cmp dword [0x103a97c], 0x77
jne 0x44537f
push str.GetMacAddress_err_ulLen___6
push 8
call fcn.0043d500
add esp, 8
push ebp
mov ecx, esi
call fcn.00444ce0
mov dword [esp + 0x14], ebx
jmp 0x44544d
push 0x63
lea eax, [esp + 0x31]
push 0
push eax
mov byte [esp + 0x38], 0
call sub.MSVCR90.dll_memset
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
xor esi, esi
xor edi, edi
movzx ecx, byte [esp + esi + 0x1c]
push ecx
lea edx, [esp + edi + 0x30]
push str._02X_
push edx
call ebx
add edi, eax
mov eax, dword [esp + 0x24]
inc esi
dec eax
add esp, 0xc
cmp esi, eax
jb 0x4453b0
movzx ecx, byte [esp + esi + 0x1c]
push ecx
lea edx, [esp + edi + 0x30]
push str._02X
push edx
call ebx
mov esi, dword [sym.imp.MSVCR90.dll__stricmp]
lea eax, [esp + 0x38]
push str.00_00_00_00_00_00
push eax
call esi
add esp, 0x14
test eax, eax
je 0x44541e
lea ecx, [esp + 0x2c]
push str.ff_ff_ff_ff_ff_ff
push ecx
call esi
add esp, 8
test eax, eax
je 0x44541e
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x445445
cmp dword [0x103a97c], 0x77
jne 0x44543b
lea eax, [esp + 0x2c]
push eax
push str.GetMacAddress_err__s_
push 8
call fcn.0043d500
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ebp
call fcn.00444ce0
mov dword [esp + 0x14], 1
mov byte [esp + 0x9c], 0
lea ecx, [esp + 0xa8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, ebp
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e0148
add esp, 0x8c
ret 8
Function at 0x445490
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4e8d4f
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c0]
xor ebx, ebx
push 0xfe
lea eax, [esp + 0x1b1]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x24], esi
mov byte [esp + 0x1b8], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov edi, 1
mov dword [esp + 0x2b8], edi
lea ecx, [esp + 0x1c]
push ecx
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4455bf
push 0xff
lea edx, [esp + 0x1b0]
push edx
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x4455b9
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, ebx
je 0x4455b9
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x4455d7
cmp dword [eax], ebx
je 0x4455d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push str.0.0.0.0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4455d7
push str.255.255.255.255
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4455d7
push str.127.0.0.1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4455d7
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x4455e4
call dword [sym.imp.WSOCK32.dll_WSACleanup]
cmp dword [0x103a97c], 0x77
jne 0x4455d7
push str.GetLocalAddress_err_EMPTY
push 8
call fcn.0043d500
add esp, 8
push 0x5116d8
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x14], edi
mov byte [esp + 0x2b8], bl
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.004e0148
add esp, 0x2ac
ret 4

Function at 0x445f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e8f73
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x10]
push esi
push ecx
mov dword [esp + 0x14], 0
call fcn.004029d0
mov dword [esp + 0x24], 1
add esi, 8
push esi
mov esi, dword [esp + 0x30]
push eax
push esi
call fcn.004029d0
add esp, 0x18
mov dword [esp + 8], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4