joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e780
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x110]
push esi
push eax
call fcn.0042ef90
mov eax, dword [ebx + 0x194]
add esp, 4
test eax, eax
je 0x41e7af
push eax
call fcn.0043ac96
add esp, 4
mov ecx, dword [ebx + 0x110]
push ecx
mov dword [ebx + 0x194], 0
call fcn.0042efb0
add esp, 4
push 0x104
lea edx, [ebp - 0x104]
push edx
push str.MUP_CACHEDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x41e7ef
lea esi, [ebp - 0x104]
jmp 0x41e819
mov esi, dword [ebp + 8]
test esi, esi
jne 0x41e819
push esi
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.004312e0
add esp, 0xc
test al, al
je 0x41e935
lea esi, [ebp - 0x208]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e820
sub eax, edx
add eax, 0x11
push eax
call fcn.0043acd0
add esp, 4
mov dword [ebx + 0x194], eax
mov ecx, esi
mov edx, eax
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x41e840
push edi
mov edi, dword [ebx + 0x194]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e856
sub eax, edx
je 0x41e882
cmp byte [edi + eax - 1], 0x5c
je 0x41e882
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41e870
mov cx, word [0x45335c]
mov word [edi], cx
mov eax, dword [ebx + 0x194]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41e890
mov edx, dword [str.cache]
mov dword [eax], edx
mov cx, word [0x44fcd4]
push 0x5c
mov word [eax + 4], cx
mov edx, dword [ebx + 0x194]
push 0
push edx
call fcn.0041cdb0
add esp, 0xc
test al, al
jne 0x41e8e4
mov eax, dword [ebx + 0x194]
push eax
call fcn.0043ac96
add esp, 4
pop edi
pop esi
mov dword [ebx + 0x194], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x110]
push ecx
call fcn.0042ef90
mov ecx, dword [ebx + 0x194]
mov eax, ecx
add esp, 4
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41e900
sub eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x41e925
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41e911
mov dx, word [0x45335c]
mov edi, ecx
mov word [edi], dx
mov eax, dword [ebx + 0x110]
push eax
call fcn.0042efb0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f0d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x20
push eax
mov dword [ebp - 8], ecx
call fcn.00419890
mov esi, eax
push 0
mov dword [ebp - 4], esi
call fcn.0043c17a
and eax, 0xffff
push eax
call fcn.0043e12c
call fcn.0043e13e
mov ecx, eax
imul ecx, ecx, 0x3e8
mov eax, 0x80010003
imul ecx
add edx, ecx
sar edx, 0xe
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
push ebx
lea ecx, [ebp - 0x2c]
push str._04i
push ecx
call fcn.0043c2fb
add esp, 0x14
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41f133
mov dx, word [0x44f810]
lea eax, [ebp - 0x2c]
mov word [edi], dx
mov edi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f150
sub eax, edi
mov edx, edi
lea edi, [esi - 1]
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41f160
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebx, 0x2710
jge 0x41f270
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0043bd23
add esp, 8
test eax, eax
je 0x41f1d7
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f1a0
sub eax, edx
cmp eax, dword [ebp + 0xc]
jae 0x41f264
mov edi, dword [ebp + 8]
cmp byte [ebp + 0x10], cl
je 0x41f235
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne al
test al, al
jne 0x41f1fe
inc ebx
push ebx
push edi
push str._s._04i
jmp 0x41f1e2
mov ecx, dword [ebp + 8]
inc ebx
push ebx
push ecx
push str._s._4i
push esi
call fcn.0043c2fb
add esp, 0x10
cmp ebx, 0x2710
jl 0x41f184
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x5c]
push edx
push esi
call fcn.0043bd23
add esp, 8
test eax, eax
jne 0x41f235
mov eax, dword [ebp - 0x56]
test eax, 0x4000
je 0x41f220
push 0x1ff
jmp 0x41f22c
test eax, 0x8000
je 0x41f235
push 0x1b6
push esi
call fcn.0044e26b
add esp, 8
mov ebx, dword [ebp - 8]
push edi
mov ecx, ebx
call fcn.00419310
mov eax, esi
sub edi, esi
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x41f244
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.00419a50
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00419a50
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x194]
sub esp, 0x104
push ebx
push esi
mov eax, edx
push edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f297
sub eax, esi
test edx, edx
je 0x41f334
test eax, eax
je 0x41f334
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
test cl, cl
jne 0x41f2b5
cmp byte [eax + ebx - 1], 0x5c
je 0x41f2e1
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41f2d0
mov ax, word [0x45335c]
mov word [edi], ax
lea eax, [ebx - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41f2e4
mov ecx, dword [str.__temp]
mov dword [eax], ecx
mov dx, word [0x44fd08]
push 0x5c
mov word [eax + 4], dx
mov cl, byte [0x44fd0a]
push 0
push ebx
mov byte [eax + 6], cl
call fcn.0041cdb0
add esp, 0xc
test al, al
je 0x41f476
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41f320
mov dx, word [0x45335c]
mov word [edi], dx
jmp 0x41f359
mov eax, dword [ebp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41f476
cmp eax, 0x104
jae 0x41f476
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f360
mov edi, dword [ebp + 8]
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f373
sub eax, esi
lea ecx, [eax + edx + 1]
cmp ecx, 0x104
jae 0x41f476
push 0x44fc68
push edi
call fcn.0043b2a0
add esp, 8
test eax, eax
je 0x41f3a3
add eax, 3
jmp 0x41f3a5
mov eax, edi
lea edx, [ebp - 0x104]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41f3b0
mov ecx, ebx
lea eax, [ebp - 0x104]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41f3c5
sub ecx, esi
cmp byte [ebp - 0x104], dl
je 0x41f42f
mov bl, 0x5f
jmp 0x41f3e0
mov edx, ecx
inc ecx
cmp edx, 0xfc
ja 0x41f429
movsx edx, byte [eax]
add edx, 0xffffffde
cmp edx, 0x5a
ja case.0x41f3fd.35
movzx edx, byte [edx + 0x41f494]
jmp dword [edx*4 + 0x41f484]
mov byte [eax], 0x5c
jmp case.0x41f3fd.35
mov dl, byte [eax + 1]
test dl, dl
je case.0x41f3fd.34
cmp dl, 0x2e
je 0x41f41c
cmp dl, 0x5c
je case.0x41f3fd.34
jmp case.0x41f3fd.35
mov byte [eax + 1], bl
mov byte [eax], bl
inc eax
cmp byte [eax], 0
jne 0x41f3e0
jmp 0x41f42c
mov byte [eax], 0
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41f437
sub eax, ecx
mov esi, ecx
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41f445
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x5c
mov ecx, eax
and ecx, 3
push 1
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0041cdb0
add esp, 0xc
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f6c0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40
sub esp, 0xc
cmp dword [ebp + 0x10], eax
jbe 0x42f6d3
mov dword [ebp + 0x10], eax
mov eax, dword [0x468f88]
push ebx
push esi
xor ecx, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x42f7c9
cmp eax, ecx
je 0x42f6fe
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push edi
call fcn.0042f1d0
add esp, 0x18
test al, al
mov eax, dword [0x468f88]
je 0x42f7f4
test eax, eax
je 0x42f733
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
cmp dword [esi], ecx
jb 0x42f752
push 0
push edi
call fcn.0042f3c0
mov edx, dword [ebp + 0x10]
add esp, 8
cmp dword [esi], edx
jae 0x42f740
mov eax, dword [ebp - 4]
test eax, eax
je 0x42f762
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push 4
push eax
push ecx
push 0
push 0
call fcn.0043e250
mov edx, dword [esi]
add esp, 0x18
mov dword [ebx + edx*4], eax
xor edi, edi
mov eax, dword [esi]
cmp dword [ebx + eax*4], 0xffffffff
jne 0x42f7b4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 4
push ecx
push edx
push 0
push 0
call fcn.0043e250
mov ecx, dword [esi]
inc edi
add esp, 0x18
mov dword [ebx + ecx*4], eax
cmp edi, 5
jl 0x42f781
mov eax, dword [esi]
cmp dword [ebx + eax*4], 0xffffffff
jne 0x42f7db
dec eax
pop edi
mov dword [esi], eax
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x469098
mov dword [ebp - 4], eax
mov ebx, 0x468f90
jmp 0x42f739
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
mov eax, dword [ebx + edx*4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [esi]
mov eax, dword [ebp - 4]
test eax, eax
je 0x42f803
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4312e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0
push 0x23
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x431306
xor al, al
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431310
mov ecx, dword [ebp + 0xc]
sub eax, edx
add ecx, 0xfffffff4
cmp eax, ecx
jae 0x431300
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
mov edx, esi
mov ecx, eax
push edi
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x431334
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x431341
mov dx, word [0x45335c]
mov word [edi], dx
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x431356
cmp byte [ebp + 0x10], 0
mov eax, dword [0x454244]
mov dword [edi], eax
je 0x4313a0
lea edi, [esi - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x431370
mov cx, word [0x45335c]
mov word [edi], cx
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x431385
mov edx, dword [str.cache]
mov dword [eax], edx
mov cx, word [0x44fcd4]
mov word [eax + 4], cx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bc3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459340]
jne 0x43bc44
repz ret
jmp fcn.00440a86

Function at 0x447775
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x459340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043f47b
and dword [ebp - 0x14], 0
cmp dword [0x469d28], 0
mov dword [ebp - 0x18], eax
jne 0x447828
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4478d0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4478d0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x469d28], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x469d2c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x469d30], eax
call edi
push eax
call esi
mov dword [0x469d38], eax
test eax, eax
je 0x447828
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x469d34], eax
mov eax, dword [0x469d34]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x447881
cmp dword [0x469d38], ecx
je 0x447881
push eax
call esi
push dword [0x469d38]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x447881
test ebx, ebx
je 0x447881
call edi
test eax, eax
je 0x447878
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x447878
test byte [ebp - 8], 1
jne 0x447881
or dword [ebp + 0x10], 0x200000
jmp 0x4478b4
mov eax, dword [0x469d2c]
cmp eax, dword [ebp - 0x18]
je 0x4478b4
push eax
call esi
test eax, eax
je 0x4478b4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4478b4
mov eax, dword [0x469d30]
cmp eax, dword [ebp - 0x18]
je 0x4478b4
push eax
call esi
test eax, eax
je 0x4478b4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x469d28]
call esi
test eax, eax
je 0x4478d0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4478d2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bc3a
leave
ret

Function at 0x44d170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44d188
xor al, al
pop ebp
ret 4
and al, 0x10
cmp al, 0x10
sete al
pop ebp
ret 4
Function at 0x44d470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, ebx
mov dword [ebp - 8], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d488
sub eax, edx
cmp eax, 0x104
jbe 0x44d4a2
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x104
lea eax, [ebp - 0x10c]
push eax
push ebx
mov ecx, esi
call fcn.0044d060
push 0
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, esi
call fcn.0044d1a0
test al, al
je 0x44d498
push edi
xor edi, edi
mov byte [ebp + 0xb], 0
jmp 0x44d4d6
mov esi, dword [ebp - 8]
push 0x44fa34
push ebx
call fcn.0043cc0b
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x44d556
push ebx
push str.Unable_to_open__s_for_writing__will_try_again_in_1_sec
call fcn.0043ca92
add esp, 8
lea edx, [ebp - 4]
push edx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0044d3c0
mov esi, dword [ebp - 4]
push esi
push str.__s__n
call fcn.0043ca92
push esi
call fcn.0043ac96
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x19
jb 0x44d4d3
push ebx
push str.ERROR:_Couldnt_open__s_for_writing_n
call fcn.0043cd2e
add eax, 0x40
push eax
call fcn.0043cc22
mov al, byte [ebp + 0xb]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov byte [ebp + 0xb], 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x10], edi
jbe 0x44d605
jmp 0x44d570
mov esi, dword [ebp + 0x10]
sub esi, edi
cmp esi, 0x8000
jbe 0x44d582
mov esi, 0x8000
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
push edx
push esi
push 1
push eax
call fcn.0043d6c5
add esp, 0x10
cmp eax, esi
jne 0x44d5bb
add dword [ebp + 0xc], esi
add edi, esi
cmp edi, dword [ebp + 0x10]
jb 0x44d570
mov eax, dword [ebp - 4]
push eax
call fcn.0043c7b7
mov al, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push esi
push str.ERROR:_Unable_to_write__li_bytes_at_offset__li_to__s_n
call fcn.0043cd2e
add eax, 0x40
push eax
call fcn.0043cc22
add esp, 0x14
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], 0
call fcn.0044d3c0
mov esi, dword [ebp + 0x10]
push esi
push str.__s__n
call fcn.0043ca92
push esi
call fcn.0043ac96
mov eax, dword [ebp - 4]
add esp, 0xc
mov byte [ebp + 0xb], 0
push eax
call fcn.0043c7b7
mov al, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44d620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x3c]
push eax
mov edi, ecx
push esi
mov dword [ebp - 0xc], edi
xor ebx, ebx
mov byte [ebp - 1], 1
call fcn.0043bd23
add esp, 8
test eax, eax
jne 0x44d699
push 0x44f80c
push esi
call fcn.0043cc0b
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x44d6a4
push esi
push str.ERROR:_Unable_to_open__s_for_reading_n
call fcn.0043ca92
add esp, 8
lea ecx, [ebp + 0xc]
push ecx
mov ecx, edi
mov dword [ebp + 0xc], ebx
call fcn.0044d3c0
mov esi, dword [ebp + 0xc]
push esi
push str.__s__n
call fcn.0043ca92
push esi
call fcn.0043ac96
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x44d699
mov dword [eax], ebx
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov dword [edx], ebx
xor edi, edi
jmp 0x44d6b0
mov esi, dword [ebp - 0x28]
push esi
call fcn.0043acd0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x44d705
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
jl 0x44d6b0
mov edx, dword [ebp + 0xc]
cmp dword [edx], ebx
jne 0x44d702
mov eax, dword [ebp + 8]
push eax
push str.Cabby:_Unable_to_allocate_memory_to_read__s_to_mem_n
call fcn.0043cd2e
add eax, 0x40
push eax
call fcn.0043cc22
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
test eax, eax
je 0x44d713
mov dword [eax], esi
test esi, esi
je 0x44d7cf
jmp 0x44d720
sub esi, ebx
cmp esi, 0x8000
jbe 0x44d72f
mov esi, 0x8000
mov edx, dword [ebp - 8]
push edx
push esi
push 1
push edi
call fcn.0043ca75
add esp, 0x10
cmp eax, esi
jne 0x44d766
mov esi, dword [ebp - 0x28]
add ebx, eax
add edi, eax
cmp ebx, esi
jb 0x44d720
mov eax, dword [ebp - 8]
push eax
call fcn.0043c7b7
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
push eax
push ebx
push esi
push str.Cabby:_Unable_to_read__li_bytes_at_offset__li_from_file__s_n
call fcn.0043cd2e
add eax, 0x40
push eax
call fcn.0043cc22
add esp, 0x14
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], 0
call fcn.0044d3c0
mov esi, dword [ebp + 8]
push esi
push str.__s__n
call fcn.0043cd2e
add eax, 0x40
push eax
call fcn.0043cc22
push esi
call fcn.0043ac96
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043ac96
mov eax, dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x44d7cb
mov dword [eax], 0
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
push eax
call fcn.0043c7b7
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44e26b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x44e293
call fcn.0043da38
and dword [eax], 0
call fcn.0043da25
mov dword [eax], 0x16
call fcn.0043f015
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44e2b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043da4b
pop ecx
jmp 0x44e28e
test byte [ebp + 0xc], 0x80
je 0x44e2bb
and eax, 0xfffffffe
jmp 0x44e2be
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x44e2a1
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x1c2c4c74
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x65e3462c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1001a593
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a5d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a5d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a5d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001a5d2
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a5d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret