joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415db0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push ecx
pop ebp
push 0
push ebp
mov dword [esp + 0x18], 0
call fcn.00415ff0
add esp, 8
push ebp
pop ecx
push str.read_file
push 1
push 1
call fcn.00415f90
test eax, eax
jne 0x415de6
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [ebx], 0
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
or esi, esi
je 0x415eb3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x415eb3
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jb 0x415e50
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebx], ecx
mov edx, dword [ebp + 0xc]
push edx
mov dword [ebp + 0x10], esi
call fcn.0041b272
add esp, 4
mov dword [ebp + 0xc], esi
nop
nop
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov edi, dword [esp + 0x18]
push eax
pop ecx
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 dword [ebx], eax
mov ebx, dword [ebp + 0x10]
sub ebx, eax
push ebx
call fcn.00414f90
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
push ebx
pop ecx
add esi, edi
mov dword [esp + 0x1c], eax
mov edi, eax
push ecx
pop eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041b272
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], ebx
pop edi
pop esi
pop ebp
pushfd
xor eax, eax
inc eax
popfd
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push 0
push eax
push ecx
push edx
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
jne 0x415f04
mov ecx, ebp
call fcn.00415f80
cmp eax, 0x2733
je 0x415ef2
push eax
push str.Recv_failed___d_
push ebp
mov dword [edi], 1
call fcn.00415ff0
add esp, 0xc
jmp 0x415f21
push 0xa
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x415f34
test eax, eax
jle 0x415f14
mov dword [ebx], eax
mov dword [esp + 0x10], 1
jmp 0x415f34
mov ecx, ebp
mov dword [edi], 1
call fcn.00415f80
cmp dword [edi], 0
jne 0x415f34
push str.No_data_was_received
push ebp
call fcn.00415ff0
add esp, 8
mov al, byte [0x4338b0]
test al, al
je 0x415f57
mov dword [edi], 1
pop edi
mov dword [esp + 0xc], 0
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x415f65
mov dword [edi], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x416870
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push ecx
pop esi
test edi, edi
je 0x4168ba
push edi
call fcn.004168c0
push esi
pop ecx
call fcn.00416970
cmp eax, edi
jb 0x4168af
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
push edi
push eax
add ecx, dword [esi + 0xc]
push ecx
call fcn.0041cef0
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, edi
mov dword [esi + 0xc], eax
pop edi
pop esi
ret 8
push str.Out_of_memory_in_CMemBuffer___Cannot_append_r_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
pop edi
pop esi
ret 8

Function at 0x4168c0
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00416970
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x416937
mov edi, dword [esi + 4]
mov ebp, dword [esi + 8]
add ecx, edi
mov ebx, ecx
lea eax, [ebx + 2]
push eax
call fcn.0041b345
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 8], edi
je 0x416929
mov ecx, ebx
xor eax, eax
push ecx
pop edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
or ebp, ebp
rep stosb byte es:[edi], al
je 0x41691f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ebp
push ecx
call fcn.0041cef0
push ebp
call fcn.0041b272
add esp, 0x10
mov dword [esi + 4], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.Out_of_memory_in_CMemBuffer__r_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x416c45
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
test ebx, ebx
je 0x416ca6
cmp byte [ebx], 0
je 0x416ca6
call fcn.0040fb30
or eax, eax
je 0x416ca6
lea edx, [esi + 0x104c]
push edi
mov ecx, 0x100
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
pop edi
test eax, eax
je 0x416c82
push 0x400
push eax
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
lea eax, [esi + 0xc4c]
lea ecx, [esi + 0x84c]
push eax
push ecx
push ebx
call fcn.00410110
add esp, 0xc
or eax, eax
jne 0x416cad
push 8
push esi
pop ecx
call fcn.00416bf0
pop esi
sub eax, eax
pop ebx
ret 8
push 2
mov ecx, esi
call fcn.00416bf0
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
push 0
push esi
push 0x416d40
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x1568], eax
sub eax, eax
mov ecx, dword [esi + 0x1568]
pop esi
test ecx, ecx
setne al
pop ebx
ret 8
Function at 0x417790
Capabilities:
Get common file path

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
push pe_nt_image_headers32
pop ecx
pushal
popal
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 0x4177e4
lea eax, [esp + 0x34]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x4178c2
lea ecx, [esp + 0x34]
lea ebp, [esp + 0x34]
or ecx, ecx
je 0x4178c2
cmp byte [ebp], 0
je 0x4178c2
mov ebx, dword [esp + 0x140]
or ebx, ebx
je 0x4178c2
cmp byte [ebx], 0
je 0x4178c2
mov edi, dword [esp + 0x144]
test edi, edi
je 0x4178c2
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 0x4178b3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
mov eax, dword [0x4338bc]
cmp esi, eax
jne 0x41785c
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
mov eax, dword [0x4338bc]
cmp esi, eax
je 0x41784b
push ebp
push edi
mov dword [0x4338bc], esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ecx, dword [esp + 0x148]
push ecx
push edi
call fcn.0040ce70
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
pushfd
xor eax, eax
inc eax
popfd
pop ebx
add esp, 0x128
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret 0x10
push esi
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0x10

Function at 0x418510
Capabilities:
Copy file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
sub ebp, ebp
push edi
lea eax, [esp + 0x10]
push ebp
lea edi, [esi + 0x1574]
push eax
push str.AccumFile
push edi
push 0x80000002
mov dword [esp + 0x24], ebp
call fcn.0040adb0
mov ecx, dword [esp + 0x24]
push ebp
push ecx
call fcn.0040ca30
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041b272
add esp, 0x20
lea ebx, [esi + 0x1d74]
mov ecx, esi
push 1
push 0x104
push ebx
push 0x42dc24
call fcn.00418a10
or eax, eax
je 0x4185de
push ebx
push str.AccumFile
push edi
push 0x80000002
call fcn.0040b170
mov eax, dword [esi + 0x1e80]
push eax
push str.UrlSize
push edi
push 0x80000002
call fcn.0040b1f0
lea ecx, [esi + 0x1e88]
push ecx
push str.UrlTime
push edi
push 0x80000002
call fcn.0040b170
mov edi, dword [esp + 0x48]
push edi
call fcn.0040ca00
add esp, 0x34
or eax, eax
je 0x4185c8
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push 0
push esi
pop ecx
call fcn.004185f0
pop edi
pop esi
pop ebp
nop
nop
push 1
pop eax
pop ebx
pop ecx
ret 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x418630
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]
sub eax, eax
or edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
je 0x4187bb
cmp byte [edi], 0
je 0x4187bb
mov esi, dword [esp + 0x124]
or esi, esi
je 0x4187bb
cmp byte [esi], 0
je 0x4187bb
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push edi
call ebp
push eax
pop ebx
cmp ebx, 0xffffffff
je 0x4187aa
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, dword [esp + 0x134]
cmp edi, 0xffffffff
jne 0x4186b1
push eax
pop edi
jmp 0x4186b9
cmp eax, edi
jne 0x41879c
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ecx, [esp + 0x20]
push ecx
call fcn.0040cf00
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0040cbf0
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebp
push eax
pop esi
cmp esi, 0xffffffff
je 0x41879c
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 0x418787
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, ebp
jne 0x418787
push edi
call fcn.0041b345
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x418787
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]
or eax, eax
je 0x41877e
cmp dword [esp + 0x18], edi
jne 0x41877e
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
or eax, eax
je 0x41877e
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, edi
sete dl
mov dword [esp + 0x14], edx
push ebp
call fcn.0041b272
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 + 0x1e7c], ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [esp + 0x128]
push 0
push edi
call fcn.0040ca30
mov eax, dword [esp + 0x1c]
add esp, 8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x114
ret 0x10
Function at 0x418a80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
xor ebx, ebx
pushal
popal
push pe_nt_image_headers32
pop ecx
sub 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 0x418abf
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [esp + 0xc]
cmp eax, ebx
je 0x418b72
cmp byte [eax], bl
je 0x418b72
mov edi, dword [esp + 0x118]
cmp edi, ebx
je 0x418b72
cmp byte [edi], bl
je 0x418b72
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push eax
push 0x4338c0
call esi
push 0x4338c0
call fcn.0040ce90
push ebx
push 0x4338c0
call fcn.0040cbf0
add esp, 0xc
test eax, eax
je 0x418b72
push 0x4338c0
push 0x4339c4
call esi
push 0x104
push 0x4339c4
call fcn.0040ce70
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
push str.accum
push 0x4339c4
call esi
push 0x104
push 0x4339c4
call fcn.0040ce70
add esp, 8
push edi
push 0x4339c4
call esi
push ebx
push 0x4339c4
call fcn.0040cbf0
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 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
or 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
or edi, edi
jne 0x41a070
mov ebp, str.Offers
lea eax, [esp + 0xc]
push 0
push eax
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x20], 0
call fcn.0040adb0
mov eax, dword [esp + 0x20]
add esp, 0x14
or 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 0x80000002
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.QwertyuioQwert
test edi, edi
jne 0x41a126
mov eax, str.QwertyuioOfferCompanion
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
or 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
pushal
popal
push 0x7f
pop ecx
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
or 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
push esi
pop eax
pop edi
pop esi
pop ebp
add esp, 0x310
ret
push str.VALID__file_exists_.
call fcn.0041aac0
add esp, 4
push esi
pop eax
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
sub 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
push eax
pop esi
test esi, esi
je 0x41a775
push esi
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push eax
pop ebp
test ebp, ebp
je 0x41a775
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edi, eax
or 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
or 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
sub 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
push edi
pop eax
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.Qwertyuio
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
pushfd
xor ecx, ecx
inc ecx
popfd
mov eax, str.softwareQwertyuioQwert_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.softwareQwertyuioCMEII
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.softwareQwertyuioDate_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 0x80000002
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
or 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 0x41be59
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x426458
push 0x41fbf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.DLL_GetVersion]
sub edx, edx
mov dl, ah
mov dword [0x434380], edx
push eax
pop ecx
and ecx, 0xff
mov dword [0x43437c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x434378], ecx
shr eax, 0x10
mov dword [0x434374], eax
push 1
call fcn.0041fbb3
pop ecx
test eax, eax
jne 0x41bec4
push 0x1c
call fcn.0041bf86
pop ecx
call fcn.0041e57c
test eax, eax
jne 0x41bed5
push 0x10
call fcn.0041bf86
pop ecx
sub esi, esi
mov dword [ebp - 4], esi
call fcn.0041f9f7
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x435cc0], eax
call fcn.0041f8c5
mov dword [0x434348], eax
call fcn.0041f678
call fcn.0041f5bf
call fcn.0041e7c3
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.0041f567
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x41bf24
movzx eax, word [ebp - 0x2c]
jmp 0x41bf27
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.0041e7f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.0041f3ef
pop ecx
pop ecx
ret
Function at 0x41ca2f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41cc01
mov eax, dword [ebp + 8]
push eax
pop ecx
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
mov eax, dword [ecx*4 + 0x435ba0]
lea edi, [ecx*4 + 0x435ba0]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41cc01
test cl, 0x48
je 0x41ca9a
mov al, byte [eax + 5]
cmp al, 0xa
je 0x41ca9a
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [edi]
push dword [ebp + 0x10]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
or eax, eax
jne 0x41caec
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x41cad4
call fcn.0041d298
mov dword [eax], 9
call fcn.0041d2a1
mov dword [eax], esi
jmp 0x41cae4
cmp eax, 0x6d
je 0x41cc01
push eax
call fcn.0041d225
pop ecx
or eax, 0xffffffff
jmp 0x41cc03
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [eax + esi + 4]
test al, 0x80
je 0x41cbfc
or edx, edx
je 0x41cb11
cmp byte [ebx], 0xa
jne 0x41cb11
or al, 4
jmp 0x41cb13
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], eax
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], ecx
jae 0x41cbf6
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x41cbe6
cmp al, 0xd
je 0x41cb47
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x41cbd8
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x41cb65
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x41cb5c
add dword [ebp + 0x10], 2
jmp 0x41cbba
mov byte [ebx], 0xd
inc ebx
mov dword [ebp + 0x10], eax
jmp 0x41cbd8
lea eax, [ebp - 0xc]
push 0
push eax
inc dword [ebp + 0x10]
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
or eax, eax
jne 0x41cb8d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
or eax, eax
jne 0x41cbd4
cmp dword [ebp - 0xc], 0
je 0x41cbd4
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41cbaf
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x41cbba
mov byte [ebx], 0xd
mov ecx, dword [edi]
inc ebx
mov byte [ecx + esi + 5], al
jmp 0x41cbd8
cmp ebx, dword [ebp + 0xc]
jne 0x41cbbf
cmp byte [ebp - 1], 0xa
jne 0x41cbbf
mov byte [ebx], 0xa
jmp 0x41cbd7
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421a4e
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x41cbd8
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x41cb2b
jmp 0x41cbf6
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x41cbf6
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41cc03
sub eax, eax
pop edi
pop esi
pop ebx
leave
ret