joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e200
Capabilities:
Parse url

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
mov ebx, ecx
je 0x40e421
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x54]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40e421
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebx + 0x210]
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
test eax, eax
je 0x40e2ff
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40e35a
lea edx, [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x40e2e1
mov edx, dword [esp + 0x10]
add edi, 0x108
add edx, 0x108
inc esi
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x210]
cmp esi, dword [edx + 4]
jb 0x40e2a8
jmp 0x40e35a
cmp dword [edi], ebp
je 0x40e421
mov ecx, ebx
mov dword [edi], ebp
call fcn.0040e100
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
push 0x6734
mov dword [ebx + 0x214], 0x6734
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x214]
mov ecx, dword [ecx + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [edx*8 + 0x11c]
cmp eax, ecx
jae 0x40e3c8
add eax, 0x6720
push eax
mov dword [esp + 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0040df90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov eax, dword [ebx + 0x210]
lea esi, [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [eax + edx*8 + 0x14]
mov edx, 0x100
mov dword [eax], ebp
add eax, 8
sub esi, eax
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x40e405
mov cl, byte [esi + eax]
test cl, cl
je 0x40e405
mov byte [eax], cl
inc eax
dec edx
jne 0x40e3ec
jmp 0x40e409
test edx, edx
jne 0x40e40a
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040e100
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x40e480
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
mov esi, 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x158]
cmp eax, edi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x24], esi
je 0x40e58d
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x40e501
mov cl, byte [edx + eax]
test cl, cl
je 0x40e501
mov byte [eax], cl
inc eax
dec esi
jne 0x40e4e8
jmp 0x40e505
cmp esi, edi
jne 0x40e506
dec eax
mov byte [eax], 0
mov al, byte [esp + 0x4c]
push ebx
test al, al
mov dword [esp + 0x10], edi
je 0x40e5db
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x40e5db
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
jbe 0x40e5db
lea esi, [ebx + 8]
cmp esi, 8
je 0x40e564
cmp byte [esi], 0
je 0x40e564
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push esi
call fcn.0040e430
test eax, eax
jne 0x40e5c1
lea ecx, [esp + 0x50]
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x40e5c1
mov edx, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [edx + 4]
jb 0x40e539
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov esi, dword [esp + 0x150]
lea edx, [esp + 0x10]
push edx
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40e509
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x10], 1
sete al
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
Function at 0x40e620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d3f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cf270
xor edi, edi
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.00491cd0
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x1e70], al
mov dword [esi + 0x1e74], edi
mov dword [esi + 0x1e78], edi
mov dword [esi + 0x1e7c], edi
xor ecx, ecx
mov dword [esi], 0x4d8cc4
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], 2
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1e6c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40e780
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x3c]
push edi
push edx
mov dword [esi + 0x1e6c], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x50402c]
cmp eax, 0xffffffff
je 0x40e7b6
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
mov ebx, dword [esi + 0x6c]
test ebx, ebx
mov ecx, 0x4600004c
mov edx, 0x80
mov eax, 0xfffffffd
pop ebx
je 0x40e7da
xor eax, eax
mov ecx, 0x84000000
mov edx, 0x8000080
push 6
push 8
push 0
push eax
mov eax, dword [esp + 0x28]
push edi
push ecx
push eax
push str.Container
push edx
mov ecx, esi
call fcn.004cf380
mov eax, dword [esi + 4]
test eax, eax
je 0x40e82a
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x40e82a
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40e82a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40e82a
push 1
push 0
push 9
mov ecx, esi
call fcn.0040f870
mov eax, dword [esi + 4]
pop edi
pop esi
ret 0x14

Function at 0x40e840
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x40fa80
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x24]
test eax, eax
je 0x40faee
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x4c]
test eax, eax
je 0x40faee
mov eax, dword [ebx + 0x2c]
push ebp
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push esi
push edi
call ebp
test eax, eax
je 0x40fad2
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.0040fba0
pop edi
pop esi
test eax, eax
pop ebp
jne 0x40faee
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x413d80
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.00413600
cmp dword [esi + 0x5698], 2
jne 0x413da5
mov eax, dword [esi + 0x562c]
push 0
push eax
jmp 0x413e2e
mov eax, dword [esi + 0x5634]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x413dfa
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x413dfa
mov ecx, dword [esi + 0x5628]
mov edx, dword [esi + 0x5624]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x50], 2
jbe 0x413df1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413dfe
test bl, bl
je 0x413e34
cmp dword [esi + 0x5698], 1
jne 0x413e21
mov eax, dword [esi + 0x5630]
mov ecx, dword [esi + 0x568c]
push eax
push ecx
call fcn.00485270
mov ecx, eax
call fcn.004856b0
test bl, bl
je 0x413e34
mov edx, dword [esi + 0x562c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004139b0
pop edi
pop esi
pop ebx
ret 8
Function at 0x416950
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x567c]
test eax, eax
je 0x416a62
push ebx
push ebp
push edi
mov edi, dword [esi + 0x5628]
xor ebx, ebx
test edi, edi
jne 0x416983
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x416981
call fcn.00416a70
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x416995
mov ebx, 1
jmp 0x416a1d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4169a7
mov ebx, 2
jmp 0x416a1d
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x416a16
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x416a03
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x5618]
mov edx, dword [esi + 0x5610]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x4169fc
mov edx, dword [esi + 0x561c]
mov ecx, dword [esi + 0x5614]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x4169fc
mov ebx, 3
jmp 0x416a08
mov ebx, 4
jmp 0x416a08
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x416a1d
call ebp
mov dword [esi + 0x44], eax
jmp 0x416a1d
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x416a50
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x416a50
mov eax, dword [esi + 0x563c]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x416a50
mov eax, dword [esi + 0x5624]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x416a62
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x417de0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x56f65c
call fcn.00418120
push 0x40
push 0x4d8d48
push 0x56f65c
push 0x56f65c
call fcn.00418040
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x417e6b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4ea094]
mov ecx, 8
mov esi, eax
mov edi, 0x56f63c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417f80
mov ecx, dword [0x4ea090]
mov edx, dword [0x4ea094]
push 0x20
push ecx
push edx
call fcn.00418090
mov edi, dword [0x4ea090]
add esp, 0x14
mov ecx, 8
mov esi, 0x56f63c
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x417e1f
jmp 0x417ec4
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4ea090]
mov ecx, 8
mov esi, eax
mov edi, 0x56f63c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417f80
mov ecx, dword [0x4ea094]
mov edx, dword [0x4ea090]
push 0x20
push ecx
push edx
call fcn.00418090
mov edi, dword [0x4ea094]
add esp, 0x14
mov ecx, 8
mov esi, 0x56f63c
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x417e7a
push 0x40
push 0x4d8d88
push 0x56f65c
push 0x56f65c
call fcn.00418040
mov eax, dword [esp + 0x24]
push 0x40
push 0x56f65c
push eax
call fcn.00418160
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x417f00
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x56f5fc
call fcn.00418120
push 0x38
push str.91__
push 0x56f5fc
push 0x56f5fc
call fcn.00418040
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4d8e80]
mov edx, dword [0x4ea098]
push ecx
push 0x1c
push edx
call fcn.004180c0
movsx eax, byte [esi + 0x4d8e80]
mov ecx, dword [0x4ea09c]
push eax
push 0x1c
push ecx
call fcn.004180c0
push 0x30
push 0x4d8e50
push 0x56f5fc
push edi
call fcn.00418040
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x417f32
pop edi
pop esi
ret

Function at 0x417f80
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4d8dc8
push esi
push 0x56f5cc
call fcn.00418040
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x56f5cc
call fcn.00418090
push 0x56f5cc
push esi
call fcn.00417fd0
push 0x20
push 0x4d8df8
push esi
push esi
call fcn.00418040
add esp, 0x34
pop esi
ret

Function at 0x418090
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x4180b2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x4180a4
pop ebx
pop esi
ret
Function at 0x419270
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push 0x2008
push 0x44
lea edx, [esp + 0x18]
push edi
push edx
push 0x44000000
push 0x503fd0
push str.XWnd
push 0
mov ecx, esi
call fcn.004cf380
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.0047fee0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x44]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x52c], eax
call fcn.004528b0
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00452da0
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.0047fee0
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x2b8]
push 0
push 0x5aff
mov dword [esi + 0x530], eax
push 0xd0721f
mov ecx, edi
call fcn.004528b0
mov ecx, dword [esi + 4]
push 0xc7
push ecx
mov ecx, edi
call fcn.00452da0
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x419420
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x419440
call fcn.004193a0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x419470
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004d0e10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0x8000027
push 3
push 0
push 1
push SysReAllocString
push ecx
mov dword [ebp - 8], 0
mov dword [eax], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 4], esi
jne 0x4194c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x419548
lea edx, [ebp + 8]
push 0
push edx
lea eax, [ebp - 0x100c]
push 0x1000
push eax
push esi
mov dword [ebp - 0xc], 0x4ea190
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419544
mov eax, dword [ebp + 8]
test eax, eax
je 0x419544
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edi, dword [ebp - 0xc]
lea esi, [ebp - 0x100c]
mov ebx, dword [ebp + 8]
lea edx, [esi + ebx]
xor eax, eax
mov bl, byte [esi]
mov al, cl
inc esi
xor al, bl
shr ecx, 8
mov ebx, dword [edi + eax*4]
xor ecx, ebx
cmp edx, esi
jne 0x419505
pop edi
pop esi
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push 0
push ecx
lea edx, [ebp - 0x100c]
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp - 4]
test eax, eax
jne 0x4194e8
test esi, esi
je 0x41954f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [eax]
not ecx
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x419570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x4195a0
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4ea190]
xor eax, edx
inc ecx
dec esi
jne 0x419581
pop ebx
not eax
pop esi
ret
Function at 0x41a6b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
call fcn.0048e8f0
test eax, eax
jne 0x41a74b
push eax
push str._tp:
mov ecx, 0x503fe0
call fcn.00409450
push eax
call fcn.00442bc0
add esp, 0xc
cmp eax, 2
je 0x41a74b
mov ax, word [0x503fd0]
push edi
mov word [esp + 8], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x214]
lea edx, [esp + 8]
push ecx
push 0x4e962c
push 2
push str._tp:
push str._s_d__s_d
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea eax, [esp + 8]
push 5
push 0
push eax
push 0x504044
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
add esp, 0x20c
ret
push esi
mov esi, dword [esp + 0x214]
test esi, esi
je 0x41a775
push 1
push 0x4ea5e4
push 0x4e9380
mov dword [0x5e4098], 1
call fcn.0040bb40
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041b980
push esi
call fcn.0041a900
push esi
call fcn.0041ad20
push esi
call fcn.0041aa40
push esi
call fcn.0041b0e0
add esp, 0x10
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop esi
add esp, 0x20c
ret

Function at 0x41a900
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x503fd0]
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x210]
test eax, eax
je 0x41a9f2
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x504454
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x504454
push 1
push 0x503fd0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x504454
push str.SOFTWAREClientsStartMenuInternet
push 0x4ea75c
lea ecx, [esp + 0x18]
push 0x103
push ecx
call ebx
push str.KBrowser
call esi
add esp, 0x18
lea edx, [esp + 0xc]
shl eax, 1
push eax
push str.KBrowser
push 1
push 0x503fd0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x504454
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x504044
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x504044
push 1
push 0x503fd0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x41aa1f
push str.IEXPLORE.EXE
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push str.IEXPLORE.EXE
push 1
push 0x503fd0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREClientsStartMenuInternet
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
add esp, 0x208
ret
Function at 0x41aa40
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5de610]
sub esp, 0x22c
test eax, eax
je 0x41ac20
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x41aa6f
mov ebp, str.KBrowserURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x41aa81
mov ebp, str.htmlfile
mov dword [esp + 0x10], str.mhtmlfile
mov edi, str.IE.HTTP
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
call esi
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_ftpUserChoice
push SysReAllocString
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
push SysReAllocString
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], str..htm
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push SysReAllocString
mov dword [esp + 0x3c], 0x4e9ca4
mov dword [esp + 0x40], str..shtm
mov dword [esp + 0x44], str..shtml
mov dword [esp + 0x30], str..mht
mov dword [esp + 0x34], str..mhtml
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edi, [esp + 0x24]
mov dword [esp + 0x14], 4
mov ecx, dword [edi]
lea edx, [esp + 0x34]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebp
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
push ebp
push 1
push str.Progid
push ecx
push SysReAllocString
call ebx
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x41ab52
lea edi, [esp + 0x1c]
mov ebp, 2
mov edx, dword [edi]
lea eax, [esp + 0x34]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push str.Progid
push ecx
push SysReAllocString
call ebx
add edi, 4
dec ebp
jne 0x41abb6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret