joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410840
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x98
push ebx
push ebp
push esi
lea esi, [eax + 0xaec]
push 0x104
push esi
lea ebp, [eax + 0xbf0]
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x410986
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
mov dword [esp + 0x10], eax
je 0x410986
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp], 0
mov edx, dword [eax + 0xc]
cmp dword [edx], 0
je 0x410950
push edi
mov dword [esp + 0x10], 0
jmp 0x4108a5
mov eax, dword [esp + 0x14]
movsx ecx, word [eax + 0xa]
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x1c]
mov esi, dword [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x2c]
push 0x49b15c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
call ebx
push ebp
mov esi, eax
call ebx
mov ecx, 0x208
sub ecx, eax
cmp esi, ecx
jge 0x410933
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x28]
push edx
push ebp
call esi
push ebp
call ebx
cmp byte [eax + ebp - 1], 0x2e
jne 0x410918
push ebp
call ebx
mov byte [eax + ebp - 1], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edx + 4]
test eax, eax
je 0x410933
push 0x49b158
push ebp
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, 4
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
cmp dword [eax + edx], 0
jne 0x4108a1
pop edi
push ebp
call ebx
cmp byte [eax + ebp - 1], 0xa
jne 0x410962
push ebp
call ebx
mov byte [eax + ebp - 1], 0
push ebp
call ebx
cmp byte [eax + ebp - 1], 0xd
jne 0x410974
push ebp
call ebx
mov byte [eax + ebp - 1], 0
push ebp
call ebx
cmp byte [eax + ebp - 1], 0x2c
jne 0x410986
push ebp
call ebx
mov byte [eax + ebp - 1], 0
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
Function at 0x414a40
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4771f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4b12d8]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [0x4b58a0]
lea eax, [esp + 0xc]
xor ebp, ebp
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x1c], ebp
push edx
push 0x30
push eax
call fcn.0045600d
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [0x4b582c], ebp
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
push eax
call fcn.0045d068
mov edx, dword [0x4b5754]
push eax
push 0xffffffffffffffea
push 0x403
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x17d4]
mov dword [esi + 0x5f00], ebp
cmp eax, ebp
je 0x414ae4
push eax
call fcn.00447a4f
add esp, 4
mov dword [esi + 0x17d4], ebp
mov eax, dword [esi + 0x17d8]
push ebx
lea ebx, [esi + 0x17d8]
cmp eax, ebp
je 0x414afe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], ebp
mov eax, dword [esi + 0x5ee8]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
cmp eax, ebp
je 0x414b15
mov edx, dword [esi + 0x1c]
push eax
push edx
call edi
mov eax, dword [esi + 0x5eec]
cmp eax, ebp
je 0x414b26
push eax
mov eax, dword [esi + 0x1c]
push eax
call edi
push 0x220
call fcn.00447df9
mov edi, eax
mov ecx, 0x88
xor eax, eax
mov dword [esi + 0x17d4], edi
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x17d4]
mov edx, dword [esi + 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [0x4b5754]
mov eax, dword [esi + 0x17d4]
mov edx, dword [ecx + 0x1c]
mov dword [eax], edx
mov eax, dword [esi + 0x17d4]
mov dword [eax + 8], ebp
mov ecx, dword [esi + 0x17d4]
mov dword [ecx + 0x218], esi
mov edx, dword [esi + 0x17d4]
mov eax, dword [esi + 0x17dc]
lea ecx, [esp + 0x18]
mov dword [edx + 0x214], eax
mov edx, dword [esi + 0x17d4]
push ecx
push 4
push edx
push 0x40ba80
push ebp
push ebp
call fcn.00447b63
add esp, 0x1c
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 2
push ebp
push ebp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
push eax
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
pop ebx
jne 0x414bdc
push ebp
push 0x498738
push 0x49871c
mov ecx, esi
call fcn.0045a962
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0045ccac
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4196d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
mov eax, dword [0x4b5848]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov ebx, ecx
je 0x4196ea
push eax
call fcn.00447a4f
add esp, 4
push 0x590
mov dword [0x4b5848], esi
call fcn.00447df9
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [0x4b5848], edi
jne 0x419710
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, 0x164
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b5848]
mov eax, dword [ebx + 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [0x4b5754]
mov ecx, dword [0x4b5848]
mov eax, dword [edx + 0x1c]
mov dword [ecx], eax
mov edx, dword [0x4b5848]
lea ecx, [esp + 0xc]
mov dword [edx + 8], esi
mov eax, dword [0x4b5848]
push ecx
push 4
mov dword [eax + 0x41c], ebx
mov edx, dword [0x4b5848]
push edx
push 0x42d4a0
push esi
push esi
call fcn.00447b63
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x41a800
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x4b5860]
push esi
test eax, eax
push edi
je 0x41a892
mov edi, dword [esp + 0xc]
mov ecx, dword [0x4b5870]
mov eax, dword [edi + 8]
cmp eax, ecx
jne 0x41a892
mov eax, dword [0x4b5864]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, eax
je 0x41a838
push 0x10
call esi
test ah, 0x80
je 0x41a892
mov eax, dword [0x4b5868]
test eax, eax
je 0x41a84a
push 0x11
call esi
test ah, 0x80
je 0x41a892
mov eax, dword [0x4b586c]
test eax, eax
je 0x41a85c
push 0x12
call esi
test ah, 0x80
je 0x41a892
cmp dword [edi + 4], 0x101
jne 0x41a86f
pop edi
mov eax, 1
pop esi
ret 4
mov ecx, dword [0x4b5754]
push 0
push 0
push 0x420
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x41ad20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x124
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x5968]
test eax, eax
je 0x41ae83
mov ecx, dword [esi + 0x594c]
call fcn.00425ae0
cmp eax, 0xffffffff
je 0x41ae83
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x134]
mov eax, dword [ecx + 4]
cmp eax, 0x100
je 0x41ad72
cmp eax, 0x104
jne 0x41ad7a
mov dword [esp + 0x2c], 1
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x20], 0xd84
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [0x4b58a0]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x41ae4d
mov ecx, dword [esi + 0x5628]
test ecx, ecx
je 0x41ae4d
push 0x114
mov dword [esp + 0x10], 0xd86
call fcn.0042ae00
mov ebx, eax
lea ecx, [ebx + 8]
push ecx
call fcn.00447df9
mov edi, eax
add esp, 4
test edi, edi
je 0x41ae83
mov ecx, dword [esi + 0x5628]
push 0x114
lea edx, [esp + 0x20]
push edi
push edx
mov dword [esp + 0x20], 0x114
mov dword [esp + 0x1c], ebx
call fcn.004299b0
mov ecx, dword [esi + 0x594c]
lea eax, [esp + 0xc]
push 0xc
push eax
call fcn.0042cfc0
test eax, eax
je 0x41ae37
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x594c]
push edi
call fcn.0042cfc0
test eax, eax
jne 0x41ae42
mov ecx, dword [esi + 0x594c]
call fcn.0042cc80
push edi
call fcn.00447a4f
add esp, 4
jmp 0x41ae71
mov ecx, dword [esi + 0x594c]
lea edx, [esp + 0x1c]
push 0x114
push edx
call fcn.0042cfc0
test eax, eax
jne 0x41ae71
mov ecx, dword [esi + 0x594c]
call fcn.0042cc80
lea eax, [esp + 0x18]
push eax
call fcn.004561d8
mov ecx, dword [eax]
mov dword [esi + 0x5ef0], ecx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x124
ret 4
Function at 0x41d3c0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x114
push ebx
push edi
mov ebx, ecx
xor edi, edi
call fcn.0041d720
mov ecx, ebx
call fcn.0041d520
mov eax, dword [esp + 0x120]
push edi
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp ax, 0xffff
jne 0x41d404
mov ecx, ebx
call fcn.0041d590
pop edi
xor eax, eax
pop ebx
add esp, 0x114
ret 4
cmp ax, di
push esi
jbe 0x41d4c6
and eax, 0xffff
push ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0x1c]
push 0x106
push ecx
push edx
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
test eax, eax
jbe 0x41d4ad
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.0045c9ed
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x41d4ad
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [ebx + 0x6644]
push 0xc
mov edi, dword [esi + 4]
call fcn.0045c9ed
add esp, 4
mov ecx, esi
test esi, esi
jne 0x41d47f
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x41d487
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x41d49b
mov dword [eax], ebp
mov eax, dword [ebx + 0x6648]
mov edi, 1
inc eax
mov dword [ebx + 0x6648], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x41d41c
pop ebp
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push 0x435840
push 0
push 0
call fcn.00447b63
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41d4e9
xor edi, edi
jmp 0x41d504
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x41d50b
mov ecx, ebx
call fcn.0041d590
mov eax, edi
pop esi
pop edi
pop ebx
add esp, 0x114
ret 4
Function at 0x41d590
Capabilities:
Copy file
Get common file path

Disassembly:
mov eax, dword [0x4b5620]
sub esp, 0x208
test eax, eax
push esi
mov esi, ecx
jne 0x41d714
mov eax, dword [esi + 0x17c8]
mov ecx, dword [eax + 0x420]
test ecx, ecx
jne 0x41d714
mov dword [0x4b5620], 1
mov eax, dword [esi + 0x6388]
test eax, eax
je 0x41d5d5
mov ecx, esi
call fcn.0041d720
mov eax, dword [esi + 0x6388]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
test eax, eax
jne 0x41d659
lea ecx, [esp + 0x110]
push 0x104
push ecx
call fcn.00437860
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea edx, [esp + 0x110]
push 0x4ab438
push edx
call edi
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0xc]
push 0x4ab428
push ecx
call edi
lea edx, [esp + 0xc]
push 0
lea eax, [esp + 0x114]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41d64c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xc]
push ecx
call ebx
mov dword [esi + 0x6388], eax
mov eax, dword [esi + 0x6388]
test eax, eax
jne 0x41d678
push 0x4ab418
call ebx
test eax, eax
mov dword [esi + 0x6388], eax
je 0x41d6ff
push 0
call fcn.00447fb2
push eax
call fcn.00447f83
mov eax, dword [esi + 0x6170]
add esp, 8
test eax, eax
jne 0x41d69d
call fcn.00447f90
mov dword [esi + 0x6170], eax
mov eax, dword [esi + 0x638c]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41d6c1
mov edx, dword [esi + 0x6388]
push 0x4ab40c
push edx
call edi
mov dword [esi + 0x638c], eax
mov eax, dword [esi + 0x6390]
test eax, eax
jne 0x41d6df
mov eax, dword [esi + 0x6388]
push 0x4ab400
push eax
call edi
mov dword [esi + 0x6390], eax
mov eax, dword [esi + 0x638c]
test eax, eax
je 0x41d6ff
mov ecx, dword [esi + 0x6170]
mov edx, dword [esi + 0x1c]
push ecx
push 0xa
lea ecx, [esi + 0x5da8]
push edx
push ecx
call eax
push 1
mov ecx, esi
call fcn.0045bfbe
pop edi
mov dword [0x4b5620], 0
pop ebx
pop esi
add esp, 0x208
ret
Function at 0x4223d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
lea eax, [esp + 0x54]
push esi
push edi
push 0x104
push eax
call fcn.00437860
add esp, 8
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x5b]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x422410
lea edx, [esp + 0x5c]
push 0x4ab1fc
push edx
call esi
lea eax, [esp + 0x5c]
push 0x4ab77c
push eax
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov word [esp + 0x48], ax
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], 0x4ab76c
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
test eax, eax
jne 0x422479
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x158
ret
mov eax, dword [esp]
cmp eax, 0xffffffff
je 0x422489
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x158
ret

Function at 0x4268b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4b12d8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
push edi
call ebx
mov eax, dword [esi + 0x284]
test eax, eax
je 0x426953
push 0x1d
lea ecx, [esp + 0x10]
call fcn.0045d23c
mov edx, dword [esi + 0x280]
mov eax, dword [esi + 0x278]
mov ecx, dword [esp + 0x14]
sub edx, eax
mov eax, dword [esi + 0x27c]
push 1
push edx
mov edx, dword [esi + 0x274]
sub eax, edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 0x4bf
call fcn.0045c11b
mov dword [esi + 0x284], 0
jmp 0x4269b1
push 0x1e
lea ecx, [esp + 0x10]
call fcn.0045d23c
lea ecx, [esp + 0x20]
push ecx
push 0x4c0
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub edx, eax
sub edx, 4
push 1
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 0x4bf
call fcn.0045c11b
mov dword [esi + 0x284], 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045ccac
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x427310
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4785b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x4b12d8]
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
mov edx, dword [0x4b12d8]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0x4b12d8]
lea ebx, [esi + 0xc]
mov dword [ebx], eax
mov edx, dword [0x4b12d8]
lea ebp, [esi + 0x10]
mov dword [ebp], edx
mov eax, dword [0x4b12d8]
mov dword [esi + 0x18], eax
mov edx, dword [0x4b12d8]
mov dword [esi + 0x1c], edx
mov eax, dword [0x4b12d8]
mov dword [esi + 0x20], eax
push 0x4b55a0
mov byte [esp + 0x20], 7
mov dword [esi], 0x482b38
call fcn.0045ce35
push 0x4b55a0
mov ecx, edi
call fcn.0045ce35
push 0x4b55a0
mov ecx, ebx
call fcn.0045ce35
push 0x4b55a0
mov ecx, ebp
call fcn.0045ce35
push 0x4b55a0
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], 1
call fcn.0045ce35
push 0x4abe04
lea ecx, [esi + 0x1c]
call fcn.0045ce35
push 0x4abdfc
lea ecx, [esi + 0x20]
call fcn.0045ce35
xor eax, eax
mov dword [esi + 0x34], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
call fcn.0046ef86
mov eax, dword [eax + 4]
push 1
push 0x4abdec
push 0x4abdd4
mov ecx, eax
call fcn.0046eb31
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4274f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.0046ef86
mov ebx, dword [eax + 4]
push ecx
lea eax, [esi + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0045ca21
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x30], 0
call fcn.0045ca21
push ecx
lea edi, [esi + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
mov byte [esp + 0x34], 1
call fcn.0045ca21
mov dword [esp + 0x30], 0xffffffff
call fcn.00438590
add esp, 0xc
lea eax, [esp + 0xc]
push 0x4abe24
push edi
push eax
call fcn.0045cf41
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0xc]
push ecx
push edx
push 0x4abe0c
mov ecx, ebx
mov dword [esp + 0x30], 2
call fcn.004645e2
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045ccac
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x427810
Capabilities:
Connect network resource

Disassembly:
sub esp, 0x32c
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call edi
mov edx, dword [esi + 8]
lea eax, [esp + 0x12c]
push edx
push eax
call edi
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x230]
push ecx
push edx
call edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
push 0x4ab1fc
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x28]
push 0x4abe3c
push ecx
call edi
lea edx, [esp + 0x28]
push 0x4abe38
push edx
call edi
lea eax, [esp + 0x28]
push 0x4abe34
push eax
call edi
lea ecx, [esp + 0x28]
push 0x4abe30
push ecx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x28]
push 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0
call edi
lea eax, [esp + 0x28]
lea ecx, [esi + 4]
push eax
call fcn.0045ce35
lea ecx, [esp + 0x12c]
push 0
lea edx, [esp + 0x234]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x427914
mov ecx, dword [0x4b5810]
push esi
push ecx
mov ecx, 0x4b5808
call fcn.00457dde
mov eax, dword [esi + 0x14]
test eax, eax
je 0x427905
mov ecx, esi
call fcn.004274f0
push 0
call edi
pop edi
xor eax, eax
pop esi
add esp, 0x32c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x32c
ret
Function at 0x427d20
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4787fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x482b44
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], 0xc
test eax, eax
je 0x427d88
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 4], 0x103
jne 0x427d7e
mov edx, dword [esi + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x17c]
mov dword [esi + 0x10], 0
call fcn.0045ccac
lea ecx, [esi + 0x178]
mov byte [esp + 0x14], 0xb
call fcn.0045ccac
lea ecx, [esi + 0x11c]
mov byte [esp + 0x14], 0xa
call fcn.0045ccac
lea ecx, [esi + 0x114]
mov byte [esp + 0x14], 9
call fcn.0045ccac
lea ecx, [esi + 0x108]
mov byte [esp + 0x14], 8
call fcn.0045ccac
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 7
call fcn.0045ccac
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 6
call fcn.0045ccac
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 5
call fcn.0045ccac
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 4
call fcn.0045ccac
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 3
call fcn.0045ccac
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 2
call fcn.0045ccac
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.0045ccac
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 0
call fcn.0045ccac
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x428ee0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x428eeb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x428fee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x482b64]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x482b64]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x482b64]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x482b64]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x482b64]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x482b64]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x482b64]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x482b64]
xor eax, edx
inc ecx
dec edi
jne 0x428f06
pop edi
test esi, esi
je 0x429010
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x482b64]
xor eax, edx
inc ecx
dec esi
jne 0x428ff2
pop esi
pop ebx
not eax
ret