joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41db30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x9c]
call fcn.00426390
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [esi + 0x9c]
call fcn.0042c440
test eax, eax
jne 0x41dbad
cmp dword [esi + 0xb4], 3
je 0x41dc49
mov ecx, dword [esi + 0x9c]
call fcn.004263b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x9c]
call fcn.004263e0
mov eax, dword [esi + 0xa4]
cmp eax, edi
je 0x41dbd3
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x41dc06
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41dc06
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0xffffffff
jmp 0x41dc21
mov ecx, esi
call fcn.0045091e
cmp dword [esi + 0xc0], edi
je 0x41dc49
lea eax, [esi + 0xc4]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x41dc49
mov dword [esi + 0xc0], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4261e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed8b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4262b8
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00546d60
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
test edi, edi
je 0x4262b8
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00436d20
mov dword [ebp - 4], 0
push 0x208
push 0
push esi
call fcn.00546d60
mov eax, dword [ebp - 0x21c]
add esp, 0x14
test eax, eax
je 0x42628c
add eax, 0xc
jmp 0x426291
mov eax, 0x616ba8
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x426295
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0056bf07
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret 8
Function at 0x4411f0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583630
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
cmp byte [esi + 0x30], bl
jne 0x441271
lea eax, [ebp - 0x48]
push eax
call fcn.00440d70
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406270
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0x10
jb 0x441262
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00443897
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jmp 0x441280
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405b60
mov eax, dword [esi + 0x30d78]
push ebx
push 0x4c80040
push ebx
push 0x616ba8
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x30d7c], eax
cmp eax, ebx
jne 0x4412d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4412d3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00443897
add esp, 4
xor eax, eax
jmp 0x441347
push SysReAllocStringLen
push 0xd
push 0x59c20c
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4412fc
call edi
mov dword [esi + 0x30d80], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x441308
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, dword [esi + 0x30d7c]
push 0x31
push 0x59c4d0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x441329
call edi
jmp 0x4412b4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x441342
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00443897
add esp, 4
mov eax, 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4

Function at 0x447b02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00447866
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0044781b
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x447b44
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
invalid
inc ebp
Function at 0x447be5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00447866
push eax
push esi
push dword [ebp + 8]
call fcn.0044781b
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00447866
push eax
push esi
push dword [ebp + 8]
call fcn.0044781b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x447cf1
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
loop 0x447d01

Function at 0x447cad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
loop 0x447d01
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00447866
push eax
push esi
push dword [ebp + 8]
call fcn.0044781b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00447856
dec edx
pushal
cmp eax, 0x7c9d88cb
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00447856
out dx, al
das
push 0x7c858d16
invalid
invalid
jl 0x447d41

Function at 0x447ecd
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x447f0a
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x447f05
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
rol dword [ecx + 0xf000e2], 1
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
rol dword [ecx + 0xf000e2], 1
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x447ef7
cmp edx, ebx
jne 0x448045
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x447ec6
add eax, dword [eax + 4]
jmp 0x447eb3
mov dword [ebp + 0xc], ebx
jmp 0x447f15
Function at 0x448c4d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and dword [ebp - 0x700], 0
jmp 0x448c63
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x448cac
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
invalid
mov esi, 0xfc6c0584
invalid
insb byte es:[edi], dx
cld
invalid

Function at 0x448cbb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x72a5b], al
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
in eax, 0xf8
invalid
dec dword [ecx - 0x3a]
test esi, esp
clc
invalid
invalid
cmp eax, 0xffeb17e8
inc dword [ebx + 0x41]
sub byte [edi - 0x73], 0x85
aam 0xf8
invalid

Function at 0x448d4a
Capabilities:
Encode data using xor

Disassembly:
call fcn.00447866
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044781b
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.00447856
in al, dx
invalid
invalid
invalid
les ecx, [ecx + ecx*4]
test dword [ecx + edi*8], ebx
invalid
xor esp, eax
jae 0x448d6a
lea eax, [ebp - 0x718]
push eax
push 0x40
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
xchg ebp, eax
sbb al, 0xf9
invalid
jmp [edx + 5]
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x3a8]
call fcn.004477c7
add esp, 0xc
invalid
test eax, ebp
clc

Function at 0x44ebd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44ec20
call fcn.00451ba4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44ec20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44ec3c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044e6d9
mov esi, eax
test edi, edi
je 0x44ec3a
test ebx, ebx
je 0x44ec3a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x452f92
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5840e0
call fcn.0054a85b
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00452ec3
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00444998
push eax
lea ecx, [esi + 0x18]
call fcn.00443ea8
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00444250
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push dword [ebp + 0x10]
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x45300a
push eax
push dword [esi + 8]
call fcn.00452552
push dword [esi + 0xc]
mov ecx, 0x64de48
push eax
call fcn.004521d5
mov eax, esi
call fcn.0054a933
ret 0x1c

Function at 0x4554d6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x45551b
push 0x59ef80
push 4
push eax
call fcn.0054aa4d
push eax
call fcn.004036d0
add esp, 0x10
jmp 0x455531
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4555b1
push edi
call fcn.0054aaf2
mov edi, dword [eax]
call fcn.0054aaf2
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0054a83a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0054aaf2
cmp dword [eax], 0
je 0x455585
call fcn.0054aaf2
push dword [eax]
call fcn.00443e4c
pop ecx
jmp 0x45558c
call fcn.0054aaf2
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4555b1
cmp dword [ebp - 0x234], esi
jae 0x4555b1
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4555b3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00546bde
leave
ret
Function at 0x40d5c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x4e9fc0], esi
jne 0x40d6bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d648
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d79b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d79b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d79b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4e9fc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4e9fc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4e9fc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4e9fd0], eax
test eax, eax
je 0x40d6b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4e9fcc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push 4
pop eax
jmp 0x40d79d
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push dword [0x4e9fc0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6da
mov eax, dword [0x4e9fcc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d753
cmp dword [0x4e9fd0], edi
je 0x40d753
push eax
call ebx
push dword [0x4e9fd0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d753
test eax, eax
je 0x40d753
call ecx
test eax, eax
je 0x40d748
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 0x40d748
test byte [ebp - 8], 1
jne 0x40d753
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d783
mov eax, dword [0x4e9fc4]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
call eax
mov esi, eax
test esi, esi
je 0x40d780
mov eax, dword [0x4e9fc8]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4e9fc0]
call ebx
test eax, eax
je 0x40d79b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d79d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040434c
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x286639a1
nop
nop
test eax, eax
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
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x572483e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401880
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
sub esp, 0x40
push ebx
push edi
lea eax, [esp + 8]
push eax
push 1
xor edi, edi
push edi
push str.SoftwareP4fsV
push reloc.WSOCK32.dll_accept
mov dword [0x47cd90], esi
mov dword [esp + 0x28], closesocket
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4018fe
mov eax, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.WindowPosX
push eax
mov dword [esp + 0x24], 4
call ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
push edi
push str.WindowPosY
push eax
call ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
push edi
push edi
push 0x3c
push 0x15e
push edx
push eax
push 0x12c80000
push str.P4fsV
push str.p4fsv
push 1
call ebx
cmp eax, edi
mov dword [0x47cd94], eax
jne 0x40193d
xor eax, eax
pop edi
pop ebx
add esp, 0x40
ret
mov ecx, dword [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x47cd94]
push edi
push esi
push edi
push edx
push 0x17
push 0x3c
push 7
push 0x113
push 0x50000000
push str.Cancel
push str.BUTTON
push edi
call ebx
push 0x11
mov dword [0x47cd98], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push edi
push eax
mov eax, dword [0x47cd98]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7f00
push edi
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x4010e0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], str.P4fsvProgressBar
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edx, dword [0x47cd94]
push edi
push esi
push edi
push edx
push 0x11
push 0xfa
push 0xa
push 0xa
push 0x50000000
push edi
push str.P4fsvProgressBar
push 0x20000
call ebx
push 0x81
push edi
mov dword [0x47cda0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push 0x28
mov dword [0x47cda4], eax
mov eax, dword [0x47cd94]
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push edi
push edi
push 0x4010b0
push edi
push edi
mov dword [0x47cda8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
mov dword [0x47cdcc], eax
mov eax, 1
pop ebx
add esp, 0x40
ret
Function at 0x4035b0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x20], 0x10
jb 0x4035be
mov eax, dword [esi + 0xc]
jmp 0x4035c1
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
cmp dword [esi + 0x20], 0x10
jb 0x4035d6
mov ecx, dword [esi + 0xc]
jmp 0x4035d9
lea ecx, [esi + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esi + 0x20], 0x10
jb 0x4035f3
mov esi, dword [esi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
add esi, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x403cf2
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c]
test eax, eax
jle 0x403d3a
mov edx, dword [0x47cde8]
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [esi + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403d74
mov ecx, dword [esp + 8]
cmp ecx, dword [esi + 0x3c]
jne 0x403d74
mov eax, dword [0x47cde0]
test eax, eax
je 0x403d33
push 0
push ecx
call eax
add esp, 8
mov dword [esi + 0x3c], 0
mov bl, 1
mov eax, dword [esi + 0x38]
cmp eax, 0xffffffff
mov cl, 1
je 0x403d63
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne cl
mov dword [esi + 0x38], 0xffffffff
pop esi
test bl, bl
pop ebx
je 0x403d78
test cl, cl
je 0x403d78
mov eax, 1
pop ecx
ret
xor bl, bl
jmp 0x403d3c
xor eax, eax
pop ecx
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x43eb88
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x47ac60]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 8]
mov dword [esi], vtable.FileWriter.0
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401c40
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov byte [esi + 0x30], bl
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.FileWriterMT.0
call fcn.00404450
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
lea eax, [esi + 0x48]
push eax
mov byte [esi + 0x44], 1
mov byte [esi + 0x45], bl
mov byte [esi + 0x60], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x10