joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20433600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
push esi
push edi
mov esi, ecx
jne 0x204337b9
cmp dword [ebx + 8], 9
jne 0x20433668
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC80U.DLL_Ordinal_2366
cmp esi, eax
jne 0x20433668
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
test ax, ax
js 0x20433668
push 0x10
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x94]
jne 0x20433701
cmp eax, dword [esi + 0xc4]
jl 0x20433709
cmp dword [ebx + 4], 0x100
jne 0x204337b9
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x20433686
cmp eax, 0x20
jne 0x204337b9
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC80U.DLL_Ordinal_2366
cmp esi, eax
jne 0x204337b9
mov eax, dword [esi + 0x94]
test eax, eax
jl 0x204337b9
cmp eax, dword [esi + 0xc4]
jge 0x204337b9
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC80U.DLL_Ordinal_2366
mov edi, eax
test edi, edi
je 0x204336f3
mov ebx, dword [esi + 0x20]
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_2648
mov ecx, dword [edi + 0x20]
movzx eax, ax
push ebx
or eax, 0x100000
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
jle 0x20433668
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
lea edi, [esp + 0x1c]
call fcn.204316c0
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
mov eax, edi
push eax
push ecx
call ebx
mov eax, dword [esi + 0x20]
push 1
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov edx, dword [esi + 0x20]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
call ebx
xor eax, eax
cmp byte [esp + 0xf], al
lea ecx, [esp + 0x30]
sete al
push ecx
lea edx, [esp + 0x24]
push edx
push esi
lea eax, [eax + eax - 1]
add dword [esi + 0x94], eax
mov eax, dword [esi + 0x94]
call fcn.204316c0
mov ecx, dword [esi + 0x20]
push 1
mov eax, edi
push eax
push ecx
call ebx
mov eax, dword [esi + 0x20]
push 1
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov edx, dword [esi + 0x20]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
call ebx
mov ecx, dword [esi + 0x94]
add ecx, 1
push 0x8005
mov edx, esi
call fcn.20434dc0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x20434320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047ac56
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov edx, vtable.CList_unsigned_long_int__unsigned_long_int__.0
mov ecx, 0xa
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov byte [esp + 0x10], 1
call fcn.20434440
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x204343b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047ac16
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov edx, vtable.CList_struct_tagLOGFONTW__struct_tagLOGFONTW__.0
mov ecx, 0xa
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov byte [esp + 0x10], 1
call fcn.20434440
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x204344a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047abd6
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov edx, vtable.CList_int__int__.0
mov ecx, 0xa
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov byte [esp + 0x10], 1
call fcn.20434440
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x2043a970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
test al, al
je 0x2043aac9
movzx ecx, byte [ebx + 4]
not esi
mov eax, esi
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x204852a8]
mov ecx, dword [ebx + 8]
test ecx, ecx
push ebp
push edi
not eax
jbe 0x2043aa09
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0xc], ecx
mov edi, dword [ebp]
test edi, edi
je 0x2043a9ff
mov ecx, edi
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x2043a9c0
sub ecx, esi
sar ecx, 1
lea esi, [ecx + ecx]
xor ecx, ecx
test esi, esi
not eax
jbe 0x2043a9fd
lea ebx, [ebx]
movzx edx, byte [ecx + edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x204852a8]
add ecx, 1
cmp ecx, esi
jb 0x2043a9e0
not eax
add ebp, 4
sub dword [esp + 0xc], 1
jne 0x2043a9b1
xor ebp, ebp
cmp dword [ebx + 0x10], ebp
jbe 0x2043aa57
mov ecx, dword [ebx + 0x20]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x2043aa4f
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ecx + ebp*4]
xor ecx, ecx
test esi, esi
not eax
jbe 0x2043aa4d
jmp 0x2043aa30
movzx edx, byte [ecx + edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x204852a8]
add ecx, 1
cmp ecx, esi
jb 0x2043aa30
not eax
add ebp, 1
cmp ebp, dword [ebx + 0x10]
jb 0x2043aa10
mov esi, dword [ebx + 0xc]
test esi, esi
pop edi
pop ebp
jbe 0x2043aacb
mov ecx, dword [ebx + 0x18]
movzx edx, byte [ecx]
not eax
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x204852a8]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x204852a8]
movzx edx, byte [ecx + 2]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x204852a8]
movzx edx, byte [ecx + 3]
xor edx, eax
shr eax, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x204852a8]
add ecx, 4
sub esi, 1
not eax
jne 0x2043aa63
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret

Function at 0x2043ac00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push 0x2048cda4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x2043ac1c
pop esi
pop ebp
pop ebx
pop ecx
ret
push esi
push edi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x2043ac51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x2043ac51
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.2043ac60
add esp, 8
mov ebp, eax
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x2043c3a0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, esi
jb 0x2043c3b7
mov word [ebx + esi*2 - 2], 0
test edi, edi
jne 0x2043c3bf
xor eax, eax
pop edi
ret
cmp edi, esi
mov ecx, ebx
jb 0x2043c3d8
push 1
push esi
call fcn.2043bde0
add esp, 8
cmp eax, edi
ja 0x2043c3e3
mov eax, edi
pop edi
ret
push 0
push esi
call fcn.2043bde0
add esp, 8
pop edi
ret

Function at 0x2043c3f0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x810
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebp
mov ebp, dword [esp + 0x818]
push esi
push 3
push ebp
lea eax, [esp + 0x14]
push 4
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
lea ecx, [esp + 0xc]
xor esi, esi
push ecx
mov word [esp + 0x16], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x2043c450
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.20478952
add esp, 0x810
ret
push 0x400
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov word [esp + 0x1c], si
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x2043c437
push 0x19
lea ecx, [esp + 0x18]
push ecx
push str.DeviceLanmanRedirector_
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x2043c437
push 2
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x4e]
push str.__c:
push eax
call dword [sym.imp.MSVCR80.dll_swscanf_s]
add esp, 0x10
cmp eax, 1
jne 0x2043c437
lea ecx, [esp + 0x4c]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
cmp eax, esi
je 0x2043c437
push edi
lea edi, [ebx + 2]
mov edx, eax
mov esi, 0x103
mov word [ebx], 0x5c
call fcn.20404cb0
add ebp, 4
lea edi, [esi + 1]
push ebp
mov esi, ebx
call fcn.20404d00
mov ecx, dword [esp + 0x81c]
add esp, 4
pop edi
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.20478952
add esp, 0x810
ret
Function at 0x2043c910
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x3c
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
test edi, edi
mov esi, ecx
mov dword [esp + 0x14], 0x51
je 0x2043ca71
mov eax, esi
mov word [edi], 0
call fcn.2043c7f0
test al, al
jne 0x2043c96a
mov edx, str._My_profile
mov esi, 0x51
call fcn.20404cb0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.20478952
add esp, 0x3c
ret
mov eax, dword [esi]
cmp eax, 1
je 0x2043ca4f
add eax, 0xfffffffe
cmp eax, 2
ja 0x2043ca71
cmp dword [esi + 4], 0
je 0x2043ca71
mov eax, dword [esi + 8]
test eax, eax
je 0x2043ca71
lea ebp, [esi + 0xc]
push str.NODE
push eax
mov eax, ebp
mov dword [ebp], 0
call fcn.20402090
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x2043ca71
lea ebx, [ebx]
mov edx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.TYPE
push ebx
push edx
mov dword [esp + 0x2c], 0x15
call fcn.20401ec0
add esp, 0x14
cmp eax, 1
je 0x2043ca21
lea eax, [esp + 0x1c]
push str.SUBNODE
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x2043ca21
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x20485800
push ebx
push edx
call fcn.20401ec0
add esp, 0x14
cmp eax, 1
jne 0x2043c955
mov eax, dword [esi + 8]
push str.NODE
push eax
mov eax, ebp
call fcn.20402090
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x2043c9c0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.20478952
add esp, 0x3c
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x2043ca71
push 0x51
push edi
push 0
push eax
mov dword [esi + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x2043c955
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.20478952
add esp, 0x3c
ret

Function at 0x2043d3a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 4]
push eax
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push edi
mov dword [esp + 0x1c], 4
call ebx
test eax, eax
je 0x2043d3cf
xor al, al
pop ebx
add esp, 0xc
ret
cmp dword [esp + 8], 4
jne 0x2043d3c8
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push edi
mov dword [esp + 0x1c], 4
call ebx
test eax, eax
jne 0x2043d3c8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [eax], edx
mov al, 1
pop ebx
add esp, 0xc
ret
Function at 0x2043d430
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
add edi, edi
test esi, esi
mov dword [esp + 0xc], edi
je 0x2043d44c
mov dword [esi], 0
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push ebp
push edx
call ebx
test eax, eax
je 0x2043d475
pop edi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x2043d483
cmp eax, 2
jne 0x2043d46c
test esi, esi
mov eax, dword [esp + 0xc]
je 0x2043d491
mov ecx, eax
shr ecx, 1
mov dword [esi], ecx
cmp eax, edi
ja 0x2043d46c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push ebp
push edx
call ebx
pop edi
test eax, eax
pop ebp
sete al
pop ebx
add esp, 8
ret

Function at 0x2043d4c0
Capabilities:
Set registry value

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2043d4c6
mov ecx, dword [esp + 0xc]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [esp + 0x10]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x2043d4fe
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
ret
mov al, 1
ret

Function at 0x2043d5a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0
mov esi, ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push esi
mov edi, edx
mov dword [esp + 0x24], 0x402
call ebp
test eax, eax
je 0x2043d5f9
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.20478952
add esp, 0x410
ret
cmp dword [esp + 0xc], 0x401
ja 0x2043d5df
cmp dword [esp + 0x10], 3
jne 0x2043d5df
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x2043d5df
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x14]
push esi
push edx
call fcn.20405870
shr esi, 1
mov word [esp + esi*2 + 0x1c], 0
mov esi, dword [esp + 0x428]
add esp, 8
lea edx, [esp + 0x14]
call fcn.20404cb0
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.20478952
add esp, 0x410
ret
Function at 0x2043d670
Capabilities:
Set registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2043d690
sub eax, esi
sar eax, 1
cmp eax, 0x201
jae 0x2043d6bc
push edx
lea eax, [esp + 8]
push 0x201
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
jmp 0x2043d6df
push 0x200
push edx
lea ecx, [esp + 0xc]
push 0x201
push ecx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
mov word [esp + 0x404], 0
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2043d6e6
sub eax, edx
sar eax, 1
lea esi, [eax + eax]
lea edx, [esp + 4]
push esi
push edx
call fcn.20405870
add esp, 8
push esi
lea eax, [esp + 8]
push eax
push 3
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x408]
test eax, eax
sete al
pop esi
xor ecx, esp
call fcn.20478952
add esp, 0x408
ret

Function at 0x2043d920
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov edi, eax
mov ecx, 0x64
push 0x4ff
push ecx
push 0
push 0
push 0
call ebx
test eax, eax
jne 0x2043d966
call fcn.2043d8c0
call esi
sub eax, edi
cmp eax, 0x64
jbe 0x2043d95d
mov eax, 0x64
mov ecx, 0x64
sub ecx, eax
jne 0x2043d938
pop edi
pop esi
pop ebx
ret
Function at 0x204401d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2047bef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x28]
mov al, byte [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
mov byte [esi + 0x18], al
mov dword [esi + 4], ecx
call sub.MFC80U.DLL_Ordinal_2366
push eax
push 0x1c9
lea ecx, [esi - 0x74]
call fcn.2042c140
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x2044024c
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
cmp dword [esp + 0x14], 0
je 0x2044025f
mov edx, dword [esp + 0x10]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc

Function at 0x20440df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2048175d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.20439300
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x30]
push eax
mov dword [esi], vtable.CEpfwUiPlug.0
mov dword [esi + 0x1c], vtable.CEpfwUiPlug.1.0
call fcn.20443f70
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x4e8]
push ecx
call fcn.204443d0
mov byte [esp + 0x14], 2
lea edx, [esi + 0xb10]
push edx
call fcn.2044e500
mov byte [esp + 0x14], 3
lea eax, [esi + 0x3ab4]
push eax
call fcn.204625c0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x3fc8]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3fa4], 1
mov dword [esi + 0x3fa8], edi
mov dword [esi + 0x3fac], edi
mov dword [esi + 0x3fb0], edi
mov dword [esi + 0x3fb4], edi
mov dword [esi + 0x3fb8], edi
mov dword [esi + 0x3fc0], edi
mov dword [esi + 0x3fc4], edi
mov dword [esi + 0x3fbc], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x20440f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x20480bfd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CEpfwUiPlug.0
mov dword [esi + 0x1c], vtable.CEpfwUiPlug.1.0
mov dword [esp + 0x14], 4
lea eax, [esi + 0x3fc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x3ab4]
call fcn.20462850
mov byte [esp + 0x14], 2
lea ecx, [esi + 0xb10]
call fcn.2044e8f0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x4e8]
call fcn.204444a0
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.20444040
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.204393b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x20442d80
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push edi
push 0
push 0
push str.APPDATA
mov dword [esp + 0x14], 1
call ebx
mov edi, eax
test edi, edi
jne 0x20442da8
pop edi
pop ebx
pop ecx
ret 8
push ebp
push esi
lea ebp, [edi + edi + 6]
push ebp
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x20442dc6
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 8
lea eax, [edi + 1]
push eax
lea ecx, [esi + 4]
push ecx
push str.APPDATA
call ebx
test eax, eax
je 0x20442e17
cmp byte [esp + 0x1c], 0
mov dword [esi], 4
je 0x20442dec
mov dword [esi], 5
mov ecx, dword [esp + 0x18]
push 4
lea edx, [esp + 0x14]
push edx
push ebp
push esi
xor ebx, ebx
push 0x3000e
add ecx, 0x1c
xor edx, edx
mov word [esi + edi*2 + 4], bx
call fcn.20439240
test eax, eax
je 0x20442e17
mov dword [esp + 0x10], ebx
push esi
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 8

Function at 0x20444bf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x2047a968
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.204786b7
push eax
lea ecx, [esp + 0x18]
call sub.MFC80U.DLL_Ordinal_314
mov dword [esp + 0x30], 0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x20444c7d
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x20444c53
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
cmp dword [esp + 0x20], 0
je 0x20444c66
mov edx, dword [esp + 0x1c]
push edx
push 0
call sub.MFC80U.DLL_Ordinal_6751
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x20444c3c
mov eax, dword [ebp + 8]
sub eax, 0
je 0x20444d35
sub eax, 2
je 0x20444d2d
sub eax, 1
jne 0x20444cab
mov eax, dword [ecx + 6]
sub eax, 0
je 0x20444ced
sub eax, 1
je 0x20444cbe
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.2042e670
jmp 0x20444c66
lea edi, [ebx + 0xdc]
push 0x1fa
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
add ebx, 0xe0
push 0x1fb
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov dword [esi + 6], 0xc
jmp 0x20444d1a
lea edi, [ebx + 0xdc]
push 0x1fc
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
add ebx, 0xe0
push 0x1fd
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov dword [esi + 6], 1
mov dword [esi + 0x12], 0x64
mov edi, dword [edi]
mov dword [esi + 0xa], edi
mov ebx, dword [ebx]
mov dword [esi + 0xe], ebx
jmp 0x20444d3e
mov ebx, dword [ebx + 0xd8]
jmp 0x20444d3b
mov ebx, dword [ebx + 0xd4]
mov dword [esi + 6], ebx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.2042e670
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x204451f0
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x20445285
cmp word [ebx + 8], 2
push edi
jne 0x20445255
cmp word [ebx + 0xa], 4
jne 0x20445255
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x20445255
jmp 0x20445230
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push eax
push ecx
call fcn.2040bc00
test eax, eax
mov dword [esi], eax
je 0x20445279
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x20445230
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
push 0x400
push edx
push 0x401
push eax
call dword [sym.imp.MSVCR80.dll_strncpy_s]
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x20445295.11001
jmp dword [eax*4 + 0x204452c0]
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
ret 0x10