joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b4b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x22c
mov eax, dword [0x451aa8]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
mov ebx, dword [esp + 0x238]
lea eax, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x238]
lea ecx, [esp + 0xc]
push esi
push edi
push 0
push 0x108
push 2
push eax
mov dword [esp + 0x20], ebp
call fcn.004032f0
mov eax, dword [esp + 0x24]
xor ecx, ecx
push 0x5c
push ebx
mov word [eax], cx
call fcn.0040c110
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x41b521
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41b510
sub esi, edx
sar esi, 1
jmp 0x41b523
xor esi, esi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x1c]
call fcn.00412f40
cmp esi, 4
jbe 0x41b53f
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov word [eax + esi*2 - 8], cx
push ebp
push ebx
call fcn.0041b430
push dword [esp + 0x2c]
push ebp
call fcn.0041ce10
add esp, 0x10
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call ebp
mov edi, 2
lea esp, [esp]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call fcn.00412f40
lea ecx, [esp + 0x14]
call fcn.0040c0e0
dec edi
jne 0x41b593
push 0x2e
push eax
call fcn.00421680
add esp, 8
mov esi, eax
test esi, esi
je 0x41b5d2
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b5a0
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
lea eax, [esi + 2]
push esi
push eax
call fcn.00420d40
add esp, 0xc
mov eax, 0x5f
mov word [esi], ax
push dword [esp + 0x24]
call ebp
test edi, edi
jne 0x41b570
push ebx
lea ecx, [esp + 0x18]
call fcn.004131a0
lea ecx, [esp + 0x14]
call fcn.0040c0e0
push 0x5f
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00406d50
push esi
push dword [esp + 0x14]
call fcn.0041ce10
add esp, 8
lea ecx, [esp + 0x14]
push 1
push 0x441674
call fcn.00412810
push dword [esp + 0x24]
call ebp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call fcn.00412f40
push 1
push str.snap
lea ecx, [esp + 0x1c]
call fcn.00412810
push dword [esp + 0x24]
call ebp
lea ecx, [esp + 0x14]
call fcn.00405c10
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422b84
add esp, 0x22c
ret
Function at 0x41f800
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], vtable.SmartCOMPointer_struct_INetFwMgr_.0
push eax
push 0x444274
push 1
push 0
push 0x443c28
mov ebp, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
mov dword [esp + 0x28], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push edi
push str.Windows_Firewall_Manager
push str.Failed_to_instantiate_COM_object
push eax
call fcn.0041f330
test al, al
je 0x41f8db
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x41f871
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c]
push edi
push str.Windows_Firewall_Local_Policy
push str.COM_error_occurred
push eax
lea ecx, [esp + 0x28]
call fcn.0041f330
test al, al
je 0x41f8db
mov ecx, dword [ebp + 4]
lea esi, [ebp + 4]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x41f8b1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0x1c]
push edi
push str.Windows_Firewall_Profile
push str.COM_error_occurred
push eax
lea ecx, [esp + 0x20]
call fcn.0041f330
test al, al
je 0x41f8db
mov bl, 1
jmp 0x41f8dd
xor bl, bl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
test ecx, ecx
je 0x41f8f3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.SmartCOMPointer_struct_INetFwMgr_.0
test eax, eax
je 0x41f909
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x10
ret 4
Function at 0x41f920
Capabilities:
Get file version info

Disassembly:
sub esp, 0x1c
push esi
push 0
push dword [esp + 0x28]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x41fa3e
push ebx
push 1
lea ecx, [esp + 0x14]
call fcn.004032c0
push 0
push esi
lea ecx, [esp + 0x18]
call fcn.00408c30
test al, al
je 0x41fa2b
push dword [esp + 0x20]
push esi
push 0
push dword [esp + 0x34]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41fa0a
lea eax, [esp + 8]
mov dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
push str.StringFileInfo040904B0FileDescription
push dword [esp + 0x2c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41f9e7
cmp dword [esp + 8], 0
je 0x41f9c4
push dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
call fcn.00413040
lea ecx, [esp + 0x10]
mov bl, al
call fcn.00405c10
mov al, bl
pop ebx
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x30]
push str.Could_not_retrieve_File_Description
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [esp + 0x10]
mov bl, al
call fcn.00405c10
mov al, bl
pop ebx
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x30]
push str.File_Description_could_not_be_found_in_the_Version_resource
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [esp + 0x10]
mov bl, al
call fcn.00405c10
mov al, bl
pop ebx
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x30]
push str.Could_not_retrieve_Version_information_for_the_running_binary
call fcn.0040fc00
lea ecx, [esp + 0x10]
mov bl, al
call fcn.00405c10
mov al, bl
pop ebx
pop esi
add esp, 0x1c
ret
lea ecx, [esp + 0x10]
xor bl, bl
call fcn.00405c10
mov al, bl
pop ebx
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x2c]
push str.Version_resource_is_not_present_in_the_running_binary
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
pop esi
add esp, 0x1c
ret
Function at 0x41fba0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
sub esp, 0x90
mov eax, dword [0x451aa8]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
lea eax, [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0xa8]
push eax
push 0x4442d4
push 1
push 0
push 0x443fb4
mov dword [esp + 0x30], vtable.SmartCOMPointer_struct_INetFwPolicy2_.0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], vtable.SmartCOMPointer_struct_INetFwRules_.0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], vtable.SmartCOMPointer_struct_INetFwRule_.0
mov dword [esp + 0x3c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
push edi
push str.New_Authorized_Application
push str.Failed_to_instantiate_COM_object
push eax
lea ecx, [esp + 0x2c]
call fcn.0041f330
test al, al
je 0x41fd4a
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x41fc3e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x48]
push edi
push str.Get_Firewall_Rules
push str.COM_error_occurred
push eax
lea ecx, [esp + 0x2c]
call fcn.0041f330
test al, al
je 0x41fd4a
mov edi, edi
push edi
lea eax, [esp + 0x28]
push eax
push 0
push 0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041f3c0
mov esi, dword [esp + 0x40]
mov bl, al
add esp, 0x18
test bl, bl
je 0x41fd3e
test esi, esi
je 0x41fd4c
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0
call fcn.00403ae0
push 0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0040e440
add esp, 0x10
test eax, eax
je 0x41fd2b
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
call fcn.00412f10
test al, al
je 0x41fd2b
push dword [esp + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
push edi
push str.Rename_existing_rule
push str.COM_error_occurred
push eax
lea ecx, [esp + 0x34]
call fcn.0041f330
test al, al
je 0x41fd2b
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
push edi
push str.Remove_existing_rule
push str.COM_error_occurred
push eax
lea ecx, [esp + 0x24]
call fcn.0041f330
test al, al
je 0x41fd2b
mov bl, 1
jmp 0x41fd2d
xor bl, bl
lea ecx, [esp + 0x10]
call fcn.00408070
test bl, bl
jne 0x41fc70
test esi, esi
je 0x41fd4c
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x41fd4c
xor bl, bl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.SmartCOMPointer_struct_INetFwRules_.0
test ecx, ecx
je 0x41fd62
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], vtable.SmartCOMPointer_struct_INetFwPolicy2_.0
test ecx, ecx
je 0x41fd78
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x9c]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422b84
add esp, 0x90
ret
Function at 0x430893
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x451aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00425840
mov dword [ebp - 0x14], eax
cmp dword [0x4d78e4], esi
jne 0x430986
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x430913
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x430a66
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x430a66
push 0x4497f8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430a66
push eax
call ebx
push 0x449804
push edi
mov dword [0x4d78e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d78e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d78ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d78f4], eax
test eax, eax
je 0x430983
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d78f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4309ab
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43099e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4309c0
push 4
pop eax
jmp 0x430a68
cmp dword [ebp - 0x14], esi
je 0x4309c0
push dword [0x4d78e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4309a5
mov eax, dword [0x4d78f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x430a1e
cmp dword [0x4d78f4], edi
je 0x430a1e
push eax
call ebx
push dword [0x4d78f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x430a1e
test eax, eax
je 0x430a1e
call ecx
test eax, eax
je 0x430a13
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x430a13
test byte [ebp - 8], 1
jne 0x430a1e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x430a4e
mov eax, dword [0x4d78e8]
cmp eax, edi
je 0x430a4b
push eax
call ebx
test eax, eax
je 0x430a4b
call eax
mov esi, eax
test esi, esi
je 0x430a4b
mov eax, dword [0x4d78ec]
cmp eax, edi
je 0x430a4b
push eax
call ebx
test eax, eax
je 0x430a4b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d78e4]
call ebx
test eax, eax
je 0x430a66
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x430a68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422b84
mov esp, ebp
pop ebp
ret
Function at 0x115814c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x117219a
sub esp, 0x24
mov eax, dword [0x11d2154]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x1172208
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, esi
push eax
call fcn.011588b8
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.0115a9ab
pop ecx
pop ecx
test al, al
jne 0x117221f
lea ecx, [esp + 0x18]
add edi, 4
call fcn.0115a92e
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x11721d3
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.01159d71
add esp, 0x24
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
lea ecx, [esp + 0x18]
call fcn.0115a92e
jmp 0x117220a

Function at 0x115ab63
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1172d32
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x1172e26
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x11d54f8
mov bl, byte [esi + edi]
push 0x11b75e8
push ebp
call fcn.01159a33
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0x1111edd
push 0x11b75f4
mov bh, byte [edx + section..REMO]
push 0x11d55e0
xor bh, bl
call fcn.01159a33
pop ecx
pop ecx
mov ecx, eax
call fcn.0115caa8
mov bl, byte [esi + edi]
push 0x1111edd
push 0x11b7604
push ebp
call fcn.01159a33
pop ecx
pop ecx
mov ecx, eax
call fcn.0115caa8
add byte [esi + edi], bh
push 0x1111edd
push 0x11b7618
push ebp
call fcn.01159a33
pop ecx
pop ecx
mov ecx, eax
call fcn.0115caa8
dec byte [esi + edi]
push 0x11b7638
push ebp
call fcn.01159a33
add byte [esi + edi], 0xfe
push 0x11b7644
push ebp
call fcn.01159a33
sub byte [esi + edi], bl
push 0x11b7658
push ebp
call fcn.01159a33
inc byte [esi + edi]
push 0x11b7668
push ebp
call fcn.01159a33
inc byte [esi + edi]
push 0x11b7674
push ebp
call fcn.01159a33
inc byte [esi + edi]
push 0x11b7680
push ebp
call fcn.01159a33
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0x1172d4b
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x115cba2
Capabilities:
Parse pe header

Disassembly:
jmp 0x1198e00
push 0
call dword [0x11d80ec]
test eax, eax
je 0x1198e3f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1198e3f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1198e3f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1198e3f
cmp dword [ecx + 0x74], 0xe
jbe 0x1198e3f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x115ceb8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x1172265
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x11da00c], eax
pop edi
pop esi
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x4f234f36
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, str.n_rX
mov ebx, 0x42cd70
nop
mov ecx, 0xd2e27c0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x405550
Capabilities:
Copy file

Disassembly:
enter 0x74c, 2
push ebx
push ecx
push edx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x10c]
call fcn.00401940
lea esi, [ebp - 0x10c]
lea edi, [ebp - 0x754]
call fcn.00401b30
mov esi, 0x40c230
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x654]
call fcn.00401b30
mov esi, 0x40c233
call fcn.00401af0
lea edi, [ebp - 0x554]
lea esi, [ebp - 0x654]
call fcn.00401940
lea esi, [ebp - 0x10c]
lea edi, [ebp - 0x654]
call fcn.00401b30
mov esi, 0x40c235
call fcn.00401af0
lea edi, [ebp - 0x10c]
lea esi, [ebp - 0x654]
call fcn.00401940
push 0
lea eax, [ebp - 0x553]
push eax
lea ebx, [ebp - 0x10b]
push ebx
call sub.kernel32.dll_CopyFileA
test al, al
jne 0x4055ed
lea eax, [ebp - 0x336]
push eax
lea ebx, [ebp - 0x554]
push ebx
call fcn.00401e60
lea ecx, [ebp - 0x336]
push ecx
push 1
call fcn.004058b0
lea eax, [ebp - 0x454]
push eax
lea ebx, [ebp - 0x10c]
push ebx
call fcn.00401e60
lea ecx, [ebp - 0x454]
push ecx
push 1
call fcn.00405890
mov eax, 0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x336]
push eax
call fcn.00403640
test al, al
jne 0x4056f5
lea eax, [ebp - 0x336]
push eax
lea ebx, [ebp - 0x18c]
push ebx
push 0x80
push 1
call fcn.004057e0
mov dword [ebp - 0x214], eax
test eax, eax
jle 0x4056c1
mov dword [ebp - 0x558], eax
mov edi, 0
mov dword [ebp - 0x210], edi
inc dword [ebp - 0x210]
mov eax, dword [ebp - 0x210]
cmp byte [ebp + eax - 0x18d], 0
je 0x4056b9
inc dword [ebp - 0x218]
mov eax, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x218]
mov cl, byte [ebp + eax - 0x18d]
mov byte [ebp + ebx - 0x20d], cl
dec dword [ebp - 0x558]
jne 0x405683
cmp dword [ebp - 0x218], 0
jle 0x4056e5
lea eax, [ebp - 0x454]
push eax
lea ebx, [ebp - 0x20c]
push ebx
push dword [ebp - 0x218]
push 0
call fcn.00405720
mov eax, 0
mov dword [ebp - 0x218], eax
jmp 0x40563a
lea eax, [ebp - 0x336]
push eax
call fcn.00401d90
lea ebx, [ebp - 0x454]
push ebx
call fcn.00401d90
pop edx
pop ecx
pop ebx
leave
ret 4

Function at 0x407990
Capabilities:
Delete file

Disassembly:
enter 0x104, 2
push ebx
push ecx
push edx
mov esi, 0x40c090
lea edi, [ebp - 0x10c]
call fcn.00401b30
mov esi, 0x40c75d
call fcn.00401af0
mov eax, dword [ebp - 4]
lea edi, [eax - 0x244]
lea esi, [ebp - 0x10c]
call fcn.00401940
mov eax, edi
push eax
call fcn.004058e0
test al, al
je 0x407a12
mov eax, dword [ebp - 4]
lea esi, [eax - 0x244]
lea edi, [ebp - 0x10c]
call fcn.00401b30
mov esi, 0x40c762
call fcn.00401af0
lea edi, [eax - 0x244]
lea esi, [ebp - 0x10c]
call fcn.00401940
mov ebx, eax
lea ecx, [ebx - 0x243]
push ecx
call sub.kernel32.dll_DeleteFileA
test al, al
je 0x407a12
push 3
call sub.user32.dll_PostQuitMessage
pop edx
pop ecx
pop ebx
leave
ret
Function at 0x406627
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40664b
xor eax, eax
test eax, eax
je 0x40665d
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40665d
xor ecx, ecx
jmp 0x406660
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x42ca1c], 0
push esi
jne 0x406783
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40675d
mov dword [ecx*4 + 0x42ca18], eax
inc ecx
cmp ecx, 0x100
jl 0x406758
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067b4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ca18]
xor eax, esi
inc ecx
dec edx
jne 0x406796
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4dc80d2b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x29c21252
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3d1a087a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3f863aaf
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40345b
pop dword [ebp - 0x14]
mov eax, 0x40345b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x456de6b3
sub dword [ebp - 0x24], 0xf71ba168
mov dword [ebp - 0x20], 0xec043551
add dword [ebp - 0x20], 0x462f16f4
mov dword [ebp - 0x1c], 0x6ac49a13
sub dword [ebp - 0x1c], 0x1e7855e5
mov dword [ebp - 0x18], 0x3cfafb22
sub dword [ebp - 0x18], 0x3cfafb22
lea eax, [ebp - 0x24]
push eax
mov eax, 0x3c895080
add eax, 0xc3b6efd4
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x692170f9
add dword [ebp - 0x24], 0xb50f85d
mov dword [ebp - 0x20], 0x69309d69
add dword [ebp - 0x20], 0xd83bc40c
mov dword [ebp - 0x1c], 0x9a29954a
add dword [ebp - 0x1c], 0xc945d722
mov dword [ebp - 0x18], 0xcd33aac0
add dword [ebp - 0x18], 0x32cc5540
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xea0508b9
sub eax, 0xe9c4c869
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3b777
push 0
call eax
mov ecx, 0x5a68
xor esi, esi
add esi, eax
mov edi, 0x4dc10dc4
sub edi, 0x4d8089c4
add edi, dword [ebp - 0x14]
mov ebx, 0x2b461c2a
add ebx, 0x93e58bd4
sub dword [ebp - 0x10], ebx
mov edx, dword [edi]
add dword [ebp - 0xc], 0xa846666d
xor edx, ebx
xor dword [ebp - 0x10], ebx
mov dword [esi], edx
sub dword [ebp - 0xc], 0x81965a01
add esi, 0xe18b353f
sub esi, 0xe18b353b
add edi, 4
loop 0x403574
add eax, 0x15c73
xor ebx, ebx
add ebx, eax
add eax, 0xaf374aa4
add eax, 0x50c8b561
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret