joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b090
Capabilities:
Get common file path

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x13c]
xor esi, esi
stosw word es:[edi], ax
test ebp, ebp
stosb byte es:[edi], al
jne 0x41b0e4
lea eax, [esp + 0x34]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41b1c2
lea ecx, [esp + 0x34]
lea ebp, [esp + 0x34]
test ecx, ecx
je 0x41b1c2
cmp byte [ebp], 0
je 0x41b1c2
mov ebx, dword [esp + 0x140]
test ebx, ebx
je 0x41b1c2
cmp byte [ebx], 0
je 0x41b1c2
mov edi, dword [esp + 0x144]
test edi, edi
je 0x41b1c2
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
call esi
mov edx, eax
push ebx
mov dword [esp + 0x14], edx
call esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x148]
lea eax, [edx + eax + 0x10]
cmp ecx, eax
jle 0x41b1b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [0x4455d4]
cmp esi, eax
jne 0x41b15c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [0x4455d4]
cmp esi, eax
je 0x41b14b
push ebp
push edi
mov dword [0x4455d4], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x148]
push ecx
push edi
call fcn.0040dd40
add esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call ebx
push esi
lea edx, [esp + 0x18]
push str._08X.tmp
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x128
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0x10

Function at 0x41beb0
Capabilities:
Copy file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea eax, [esp + 0x10]
push ebp
lea edi, [esi + 0x1a90]
push eax
push str.AccumFile
push edi
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x24], ebp
call fcn.0040c980
mov ecx, dword [esp + 0x24]
push ebp
push ecx
call fcn.0040d830
mov edx, dword [esp + 0x2c]
push edx
call fcn.004203d7
add esp, 0x20
lea ebx, [esi + 0x2290]
mov ecx, esi
push 1
push 0x104
push ebx
push 0x43e264
call fcn.0041c430
test eax, eax
je 0x41bf7e
push ebx
push str.AccumFile
push edi
push reloc.WSOCK32.dll_bind
call fcn.0040cdb0
mov eax, dword [esi + 0x239c]
push eax
push str.UrlSize
push edi
push reloc.WSOCK32.dll_bind
call fcn.0040ce30
lea ecx, [esi + 0x23a4]
push ecx
push str.UrlTime
push edi
push reloc.WSOCK32.dll_bind
call fcn.0040cdb0
mov edi, dword [esp + 0x48]
push edi
call fcn.0040d800
add esp, 0x34
test eax, eax
je 0x41bf68
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
mov ecx, esi
call fcn.0041bf90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x41bfb0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x114
push esi
push edi
mov edi, dword [esp + 0x120]
xor eax, eax
test edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
je 0x41c13b
cmp byte [edi], 0
je 0x41c13b
mov esi, dword [esp + 0x124]
test esi, esi
je 0x41c13b
cmp byte [esi], 0
je 0x41c13b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
push 0x80
push 3
push eax
push 1
push closesocket
push edi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c12a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [esp + 0x134]
cmp edi, 0xffffffff
jne 0x41c031
mov edi, eax
jmp 0x41c039
cmp eax, edi
jne 0x41c11c
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x20]
push ecx
call fcn.0040de30
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0040dac0
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x41c11c
push 0
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [esp + 0x130]
cmp eax, ebp
jne 0x41c107
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, ebp
jne 0x41c107
push edi
call fcn.004205ed
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x41c107
lea eax, [esp + 0x18]
push 0
push eax
push edi
push ebp
push ebx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c0fe
cmp dword [esp + 0x18], edi
jne 0x41c0fe
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c0fe
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, edi
sete dl
mov dword [esp + 0x14], edx
push ebp
call fcn.004203d7
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add dword [eax + 0x2398], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x128]
push 0
push edi
call fcn.0040d830
mov eax, dword [esp + 0x1c]
add esp, 8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x114
ret 0x10
Function at 0x41c4b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x114]
cmp eax, 0xfffffffe
jne 0x41c4ef
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0xc]
cmp eax, ebx
je 0x41c5a2
cmp byte [eax], bl
je 0x41c5a2
mov edi, dword [esp + 0x118]
cmp edi, ebx
je 0x41c5a2
cmp byte [edi], bl
je 0x41c5a2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push 0x4455d8
call esi
push 0x4455d8
call fcn.0040dd80
push ebx
push 0x4455d8
call fcn.0040dac0
add esp, 0xc
test eax, eax
je 0x41c5a2
push 0x4455d8
push 0x4456dc
call esi
push 0x104
push 0x4456dc
call fcn.0040dd40
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
push str.accum
push 0x4456dc
call esi
push 0x104
push 0x4456dc
call fcn.0040dd40
add esp, 8
push edi
push 0x4456dc
call esi
push ebx
push 0x4456dc
call fcn.0040dac0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x104
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x41c880
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2014
call fcn.00420990
mov ecx, dword [esp + 0x201c]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x201c]
mov dword [ecx], eax
push ebp
push esi
xor esi, esi
mov dword [ecx + 4], eax
push edi
test ebx, ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
jl 0x41ca2b
push 2
push eax
push ebx
call fcn.004286b9
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x41ca16
cmp edi, 0x14
jle 0x41c9ea
cmp edi, 0x2000
mov ebp, 0x2000
jg 0x41c8e9
mov ebp, edi
mov ebx, edi
sub ebx, ebp
test ebx, ebx
jl 0x41c9df
mov edx, dword [esp + 0x2028]
push 0
push ebx
push edx
call fcn.004286b9
add esp, 0xc
test eax, eax
jl 0x41c9b3
mov ecx, dword [esp + 0x2028]
lea eax, [esp + 0x24]
push ebp
push eax
push ecx
call fcn.00422570
add esp, 0xc
cmp ebp, eax
jne 0x41c9a4
test esi, esi
lea edx, [ebp - 0x14]
jne 0x41c971
lea eax, [esp + edx + 0x24]
test edx, edx
jl 0x41c971
mov ecx, dword [0x43e274]
cmp ecx, dword [eax]
jne 0x41c96b
cmp dword [eax + 8], 0x1000000
jne 0x41c96b
cmp dword [eax + 4], 0x14
jne 0x41c96b
mov edi, dword [esp + 0x202c]
mov ecx, 5
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov esi, 1
dec edx
dec eax
test esi, esi
je 0x41c935
test ebx, ebx
jle 0x41c99f
mov edx, 0x14
mov eax, 0
sub edx, ebp
add ebx, edx
sets al
dec eax
and ebx, eax
mov eax, edi
sub eax, ebx
cmp eax, 0x2000
jle 0x41c99b
mov ebp, 0x2000
jmp 0x41c9ca
mov ebp, eax
jmp 0x41c9ca
or ebx, 0xffffffff
jmp 0x41c9ca
call fcn.00422bbf
mov ecx, dword [eax]
push ecx
push str.ReadFooter:_no_read_footer
jmp 0x41c9c0
call fcn.00422bbf
mov edx, dword [eax]
push edx
push str.ReadFooter:_no_seek_to_footer
call fcn.0041d3c0
add esp, 8
xor ebp, ebp
test esi, esi
je 0x41c8ed
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2014
ret
test esi, esi
jne 0x41ca2b
mov ebx, dword [esp + 0x2028]
mov eax, dword [esp + 0x2030]
test eax, eax
je 0x41ca2b
mov eax, dword [esp + 0x202c]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.0041ca40
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2014
ret
call fcn.00422bbf
mov edx, dword [eax]
push edx
push str.ReadFooter:_no_get_eof
call fcn.0041d3c0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2014
ret
Function at 0x41cc30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d3e0
mov esi, dword [esp + 0x28]
xor eax, eax
mov ecx, esi
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [ecx], eax
test edi, edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
jl 0x41cd62
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push edx
push eax
push edi
call fcn.0041c880
add esp, 0xc
test eax, eax
je 0x41cd4a
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edi
call fcn.004286b9
add esp, 0xc
test eax, eax
jl 0x41cd2c
push 0x10
push esi
push edi
call fcn.00422570
add esp, 0xc
cmp eax, 0x10
jne 0x41cd0e
mov eax, dword [esi]
mov ecx, dword [str.GXBHGXBFGXBCGExeBind_BindData:_target__tag_and_or_data_empty]
cmp ecx, eax
jne 0x41ccf7
mov eax, dword [esi + 8]
cmp eax, 0x1000000
jne 0x41cce0
mov esi, dword [esi + 4]
cmp esi, 0x10
jne 0x41ccc9
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
push esi
push str.ReadHeader:_wrong_size
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push eax
push str.ReadHeader:_wrong_version
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push eax
push str.ReadHeader:_magic_header_unknown
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.00422bbf
mov edx, dword [eax]
push edx
push str.ReadHeader:_no_read_header
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.00422bbf
mov eax, dword [eax]
push eax
push str.ReadHeader:_no_seek_to_header
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push str.ReadHeader:_no_read_footer
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push str.ReadHeader:_no_file_given
call fcn.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x41cd80
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0041d3e0
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 0x41cdb3
push ebp
push edi
call fcn.0041ce70
add esp, 8
cmp dword [ebp], 0
je 0x41ce59
push 0x44
push esi
push edi
call fcn.00422570
add esp, 0xc
cmp eax, 0x44
jne 0x41ce3d
mov eax, dword [esi]
mov ecx, dword [0x43e278]
cmp eax, ecx
jne 0x41ce28
mov eax, dword [esi + 0x34]
mov ebx, 1
test eax, eax
je 0x41ce11
mov ecx, dword [esi + 0x38]
push 0
add ecx, eax
push ecx
push edi
call fcn.004286b9
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41ce11
call fcn.00422bbf
mov edx, dword [eax]
push edx
push str.ReadComponent:_no_seek_past_component
call fcn.0041d3c0
add esp, 8
push 1
push 0
push edi
call fcn.004286b9
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.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.00422bbf
mov eax, dword [eax]
push eax
push str.ReadComponent:_no_read
call fcn.0041d3c0
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.0041d3c0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41d0b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.0041d3e0
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 0x41d1d8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41d1d8
cmp byte [eax], 0
je 0x41d1d8
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
push esi
call fcn.0041cee0
add esp, 0x10
test eax, eax
je 0x41d1e7
mov eax, dword [esp + 0x44]
test eax, eax
je 0x41d1e7
push eax
call fcn.004205ed
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x41d1ba
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.004286b9
add esp, 0xc
cmp eax, 0xffffffff
je 0x41d19b
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
push ecx
push edx
push esi
call fcn.00422570
mov ecx, dword [esp + 0x50]
add esp, 0xc
cmp ecx, eax
jne 0x41d17c
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.00422bbf
mov ecx, dword [eax]
push ecx
push str.GExeBind_GetData:_no_read_data
call fcn.0041d3c0
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call fcn.00422bbf
mov edx, dword [eax]
push edx
push str.GExeBind_GetData:_no_seek_data
call fcn.0041d3c0
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.0041d3c0
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.0041d3c0
add esp, 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x41eccd
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x432c5c
call fcn.004203b8
mov eax, dword [esp + 0x14]
sub esp, 0x18
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push esi
je 0x41ee9b
cmp byte [eax], bl
je 0x41ee9b
push eax
mov ecx, 0x445c18
call fcn.0040f750
push str.Instlog_Semaphore_LogWriter
mov ebp, 0x1f0003
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x41ee9b
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41ee94
push str.Instlog_MemoryMappedFile
push 0x401
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x41ee8a
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x41ee80
mov eax, dword [0x445c20]
push 1
pop esi
cmp eax, esi
jle 0x41edcf
push eax
lea eax, [esp + 0x18]
push str.IL:__d_queued_events_n
push eax
call fcn.0040b030
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x2c], ebx
call fcn.0040b220
push eax
lea ecx, [esp + 0x10]
call fcn.0040af60
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0040b520
lea ecx, [esp + 0xc]
call fcn.0040b220
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0040af80
cmp dword [0x445c20], ebx
push edi
mov dword [esp + 0x3c], esi
je 0x41ee71
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventA]
cmp dword [esp + 0x3c], ebx
je 0x41ee71
push ebx
mov ecx, 0x445c18
mov dword [esp + 0x40], ebx
call fcn.0040f780
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Instlog_Event_LogWritten
push ebx
push ebp
call esi
mov edi, eax
cmp edi, ebx
je 0x41ee65
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Instlog_Event_LogRead
push ebx
push ebp
call esi
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x41ee5e
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41ee54
push ebx
mov ecx, 0x445c18
mov dword [esp + 0x40], 1
call fcn.0040f790
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x445c20], ebx
jne 0x41ede6
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [esp + 0x20]
pop edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41eeb5
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov eax, str.Gator
cmp ebx, edi
mov dword [ebp - 0xc], edi
jne 0x41eed7
mov eax, str.Offers
push eax
push str.FixSwwApp__s_:
call fcn.0041deb8
pop ecx
cmp ebx, edi
pop ecx
mov dword [ebp - 8], str.Gator
jne 0x41eef6
mov dword [ebp - 8], str.Offers
lea eax, [ebp + 8]
push edi
push eax
mov esi, reloc.WSOCK32.dll_bind
push dword [ebp - 8]
mov dword [ebp + 8], edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
call fcn.0040c980
add esp, 0x14
cmp dword [ebp + 8], edi
je 0x41f0ae
push dword [ebp + 8]
push str.Setting__s__
call fcn.0041deb8
push dword [ebp + 8]
call fcn.0040d800
add esp, 0xc
test eax, eax
jne 0x41f0a7
push str.File_does_NOT_exist_
call fcn.0041deb8
lea eax, [ebp - 4]
push edi
push eax
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push esi
mov dword [ebp - 4], edi
call fcn.0040c980
add esp, 0x18
cmp dword [ebp - 4], edi
je 0x41f0a0
push dword [ebp - 4]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, 0x104
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0040dd40
pop ecx
mov eax, str.Gator.comGator
test ebx, ebx
pop ecx
jne 0x41ef9d
mov eax, str.Gator.comOfferCompanion
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
lea eax, [ebp - 0x110]
push eax
call esi
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0040dd40
pop ecx
mov eax, str.Gator
test ebx, ebx
pop ecx
jne 0x41efca
mov eax, str.Offers
push eax
lea eax, [ebp - 0x110]
push eax
call esi
lea eax, [ebp - 0x110]
push str..exe
push eax
call esi
push dword [ebp + 8]
call fcn.0040d6c0
mov esi, eax
pop ecx
test esi, esi
jne 0x41eff6
mov eax, 0x44386c
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00421240
pop ecx
test eax, eax
pop ecx
je 0x41f084
lea eax, [ebp - 0x110]
push eax
push str.Correct_path_is___s__
call fcn.0041deb8
lea eax, [ebp - 0x110]
push eax
call fcn.0040d800
add esp, 0xc
test eax, eax
je 0x41f07d
and byte [ebp - 0x310], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x30f]
push 0x200
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x110]
push 0
push eax
push dword [ebp - 8]
call fcn.0042b4d0
add esp, 0x14
test eax, eax
je 0x41f076
mov dword [ebp - 0xc], 1
push str.Path_FIXED.
jmp 0x41f089
push str.RegistryWriteString___FAILED.
jmp 0x41f089
push str.Correct_exe_not_found.
jmp 0x41f089
push str.VALID__path_is_correct_.
call fcn.0041df5d
pop ecx
push esi
call fcn.004203d7
push dword [ebp - 4]
call fcn.004203d7
pop ecx
jmp 0x41f0b8
push str.Couldnt_locate_PROGFILES_dir.
jmp 0x41f0b3
push str.VALID__file_exists_.
jmp 0x41f0b3
push str.SWW_setting_not_present.
call fcn.0041df5d
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b560
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x432e10
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
xor esi, esi
call fcn.0040b440
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x42b68f
cmp byte [ebx], 0
je 0x42b68f
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x42b68f
push ebp
call fcn.0040d800
add esp, 4
test eax, eax
je 0x42b67e
mov edi, dword [esp + 0x28]
test edi, edi
je 0x42b5c7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
lea ecx, [esp + 0x24]
call fcn.0040af60
lea eax, [esp + 0x20]
push 1
push eax
mov dword [esp + 0x20], 0
call fcn.0040d740
add esp, 8
test edi, edi
je 0x42b609
cmp byte [edi], 0x20
je 0x42b5ff
push 0x439d5c
lea ecx, [esp + 0x24]
call fcn.0040b840
push edi
lea ecx, [esp + 0x24]
call fcn.0040b840
lea ecx, [esp + 0x20]
xor edi, edi
call fcn.0040b220
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WSOCK32.dll_bind
call fcn.0040cdb0
add esp, 0x10
test eax, eax
je 0x42b63c
lea ecx, [esp + 0x20]
mov esi, 1
call fcn.0040b220
mov edi, eax
push edi
push ebx
push 1
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0042b6b0
add esp, 0x14
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x1c], 1
call fcn.0040b680
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.0040af80
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0040af80
jmp 0x42b69b
push ebp
push 0x44207c
push edi
call fcn.0040c040
add esp, 0xc
jmp 0x42b69b
push str.Invalid_arg_s_
mov ecx, edi
call fcn.0040b700
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x42b6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
test esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x442100
jne 0x42b6eb
mov dword [esp + 0xc], str.from
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ebp
call fcn.0040af60
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
test eax, eax
je 0x42b741
test esi, esi
mov edi, str.Successfully
je 0x42b73a
mov eax, dword [esp + 0x34]
mov esi, str.added
test eax, eax
jne 0x42b724
mov eax, 0x44386c
push eax
push ebp
lea eax, [esp + 0x38]
push str._s_s
push eax
call fcn.0040c040
add esp, 0x10
jmp 0x42b754
mov esi, str.removed
jmp 0x42b754
test esi, esi
mov edi, str.Failed_to
mov esi, 0x4420c0
jne 0x42b754
mov esi, str.remove
lea ecx, [esp + 0x2c]
call fcn.0040af50
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x1c], 2
push ecx
lea ecx, [esp + 0x34]
call fcn.0040b220
push eax
push esi
push edi
lea edx, [esp + 0x3c]
push str._s__s___s___s_the_Start_with_Windows_list
push edx
call fcn.0040c040
mov esi, dword [esp + 0x3c]
add esp, 0x18
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0040b2f0
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 1
call fcn.0040af80
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0
call fcn.0040af80
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x42bd80
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.0040c980
mov eax, dword [esp + 0x18]
add esp, 0x14
test eax, eax
je 0x42bdd2
push 0x104
push eax
push 0x446168
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 4]
push ecx
call fcn.004203d7
add esp, 4
mov al, byte [0x446064]
test al, al
jne 0x42be7f
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.0040c980
add esp, 0x14
test eax, eax
je 0x42be72
mov eax, dword [esp]
test eax, eax
je 0x42be66
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.0042ca70
mov edx, dword [esp + 0x10]
push edx
call fcn.0040d7d0
add esp, 0x14
test eax, eax
je 0x42be59
mov eax, dword [esp]
push eax
push 0x446064
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp]
push ecx
call fcn.004203d7
jmp 0x42be7c
push str.ERROR:_Dir_doesnt_exist.
call fcn.0042ca70
add esp, 4
mov ecx, dword [esp]
push ecx
call fcn.004203d7
jmp 0x42be7c
push str.ERROR:_Unable_to_retrieve_dir.
call fcn.0042ca70
add esp, 4
mov cl, byte [0x446064]
xor eax, eax
test cl, cl
setne al
add esp, 0x408
ret