joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a540
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444c00
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x45a0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x45f9d8]
xor edi, edi
cmp ecx, edi
jne 0x41a58b
xor eax, eax
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 eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x41a598
mov dword [ebp - 0x14], edi
jmp 0x41a5b0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x41a646
mov ecx, dword [0x45f9d8]
mov eax, dword [ecx]
cmp eax, edi
je 0x41a577
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41a577
mov ebx, 0x45f9d8
mov dword [ebp - 4], edi
call fcn.0041a660
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x41a5ee
push 0x456c18
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0042f41b
mov ecx, dword [0x45f9d8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x41a608
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x41a632
push 0x456c18
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0042f41b
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x41a629
call fcn.0041a970
mov eax, 0x41a62f
ret
mov eax, dword [0x45f9d8]
mov eax, dword [eax]
test eax, eax
je 0x41a644
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
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 0x41a660
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x41a68d
xor ecx, ecx
jmp 0x41a699
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x41a74d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x41a6c0
mov dword [esp + 0xc], esi
jmp 0x41a720
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x41a719
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a70c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x41a720
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41a720
push 0x453e38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41a720
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x41a743
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x41a6b2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x41a761
mov ecx, dword [ebx]
add ecx, 8
call fcn.0041a8a0
test eax, eax
je 0x41a761
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x41a770
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x444d8b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45a0f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0042f120
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x41a808
push 0x456c18
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0042f41b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x41adb6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45e0cc], 0
push esi
jne 0x41ad29
call fcn.0041ac4f
test eax, eax
je 0x41ad6c
mov eax, dword [0x45e0cc]
cmp eax, 1
jne 0x41ad4a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41ad6c
pop esi
ret
push eax
call dword [0x45e0d4]
test eax, eax
jne 0x41adb4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41ad70
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x45e0cc]
call dword [0x45e0d4]
mov edi, eax
test edi, edi
je 0x41ad95
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41adb1
mov edi, esi
add esi, 0xff0
push edi
push dword [0x45e0cc]
call dword [0x45e0d0]
add edi, 0x10
cmp edi, esi
jb 0x41ad9d
mov eax, edi
pop edi
pop esi
ret
jmp 0x41ad16

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

Disassembly:
push 0xffffffffffffffff
push 0x444af6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a0f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.CNnWindowBase.0
lea ebx, [esi + 8]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea ebp, [esi + 0x20]
lea edi, [esi + 0x40]
mov ecx, edi
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
call fcn.0041c990
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x58]
push edx
mov dword [esp + 0x30], 0
call fcn.0041c6d0
lea ecx, [esi + 0x78]
mov byte [esp + 0x28], 1
call fcn.0041c990
push ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
xor ebx, ebx
push ebp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], 0xff
mov dword [esi + 0x38], ebx
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x41cecd
call fcn.0042ebf6
mov ebp, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp ebp, dword [edi + 0x10]
jbe 0x41cee0
call fcn.0042ebf6
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
push ebx
push ecx
push ebp
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.0041b9d0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x41da50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x444b28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a0f0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x34]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, ebp
je 0x41db05
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebp
je 0x41dafa
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 1
push eax
push ebp
call fcn.0041eb00
add esp, 0xc
test eax, eax
je 0x41dafa
mov ecx, dword [esp + 0x14]
push eax
mov dword [ecx + 4], 1
call fcn.0041cf70
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
jmp 0x41db07
test esi, esi
je 0x41db05
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x41db20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444b58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x45a0f0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x45a0f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
push edi
mov esi, ecx
call fcn.0041ebd0
add esp, 4
test eax, eax
je 0x41dc30
mov eax, dword [0x45bc00]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
call fcn.0041ec50
add esp, 0x10
test eax, eax
jne 0x41dbd7
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
mov dword [esp + 0x28], 0xffffffff
cmp ecx, dword [0x45bbfc]
je 0x41dbd0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dbd0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042da66
add esp, 4
xor eax, eax
jmp 0x41dc5b
mov ecx, esi
call fcn.0041cf50
movzx ecx, word [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041da50
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
mov dword [esp + 0x28], 0xffffffff
cmp ecx, dword [0x45bbfc]
je 0x41dc2c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dc2c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042da66
add esp, 4
mov eax, esi
jmp 0x41dc5b
mov ecx, esi
call fcn.0041cf50
push 1
push edi
xor ebx, ebx
call fcn.0041e9f0
add esp, 8
cmp eax, ebx
je 0x41dc59
push eax
mov ecx, esi
call fcn.0041cf70
mov ebx, eax
mov dword [esi + 4], 1
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0042d98b
add esp, 0x1c
ret 8
Function at 0x41e9f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x45a0f0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push esi
push edi
push 0x446754
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
xor edi, edi
call fcn.00430509
mov esi, eax
add esp, 8
test esi, esi
je 0x41eab3
push esi
push 8
lea eax, [esp + 0x18]
push 1
push eax
call fcn.00430333
push 8
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.00425380
add esp, 0x1c
test eax, eax
jne 0x41eab3
push eax
push method.CNnControlBase.virtual_8
push eax
push str.1.4.0
call fcn.00420280
add esp, 0x10
mov dword [esp + 8], eax
test eax, eax
je 0x41eade
push eax
call fcn.00425ea0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x41eab3
mov edx, dword [esp + 8]
push 0x41e980
push esi
push edx
call fcn.00425f40
mov eax, dword [esp + 0x14]
push 8
push eax
call fcn.00425340
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0041e690
add esp, 0x20
mov edi, eax
cmp dword [esp + 8], 0
je 0x41eade
cmp dword [esp + 0xc], 0
push 0
je 0x41eacf
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
jmp 0x41ead6
push 0
lea eax, [esp + 0x10]
push eax
call fcn.004202b0
add esp, 0xc
test esi, esi
je 0x41eaeb
push esi
call fcn.004303c7
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0042d98b
add esp, 0x14
ret
Function at 0x420cd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x420e7a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x420d28
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x420d3b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x420d4f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x420d96.3
jmp 0x420d60
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x420d6c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x420d71
mov esi, 1
inc eax
cmp eax, edi
jl 0x420d60
cmp si, cx
je case.0x420d96.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x420d96.3
movzx eax, byte [eax + 0x420e94]
jmp dword [eax*4 + 0x420e80]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x420d96.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x420db0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, pe_nt_image_headers32
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x420d96.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x420df0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x420d96.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x420e16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x420d96.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x420e40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x42d98b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45a0f0]
jne 0x42d995
repz ret
jmp fcn.00431744

Function at 0x43c8de
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00431a5d
and dword [ebp - 4], 0
cmp dword [0x45eba8], 0
mov ebx, eax
jne 0x43c98f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ca40
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ca40
push eax
call fcn.004319eb
mov dword [esp], 0x44fe00
push edi
mov dword [0x45eba8], eax
call esi
push eax
call fcn.004319eb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45ebac], eax
call esi
push eax
call fcn.004319eb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45ebb0], eax
call esi
push eax
call fcn.004319eb
pop ecx
mov dword [0x45ebb8], eax
test eax, eax
je 0x43c98f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004319eb
pop ecx
mov dword [0x45ebb4], eax
mov eax, dword [0x45ebb4]
cmp eax, ebx
je 0x43c9e7
cmp dword [0x45ebb8], ebx
je 0x43c9e7
push eax
call fcn.00431a66
push dword [0x45ebb8]
mov esi, eax
call fcn.00431a66
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43c9e7
test edi, edi
je 0x43c9e7
call esi
test eax, eax
je 0x43c9de
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43c9de
test byte [ebp - 0xc], 1
jne 0x43c9e7
or dword [ebp + 0x10], 0x200000
jmp 0x43ca20
mov eax, dword [0x45ebac]
cmp eax, ebx
je 0x43ca20
push eax
call fcn.00431a66
pop ecx
test eax, eax
je 0x43ca20
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43ca20
mov eax, dword [0x45ebb0]
cmp eax, ebx
je 0x43ca20
push eax
call fcn.00431a66
pop ecx
test eax, eax
je 0x43ca20
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45eba8]
call fcn.00431a66
pop ecx
test eax, eax
je 0x43ca40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ca42
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40105b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push edx
mov dword [ebp - 0x228], eax
call esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathW]
sub esp, 0x14
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4012c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.0040105b
test eax, eax
jne 0x401362
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402b7c
sub eax, 0x40211a
mov dword [esp], 0x40211a
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401362
lea ebx, [ebp - 0x88]
mov dword [esp], 0
jmp loc.004607c2
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x43005ffd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x12ec2e87
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4017ae
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push edx
sub edx, 0x11a6c
xor edx, 0x928e
sub edx, 0xc895
pop edx
push ecx
push ebx
add esp, 4
xor ecx, 0x2da0
and ecx, 0x17c10
add ecx, 0x11d13
jmp 0x4015c5
pop ecx
lea edx, [ebp - 0x189c]
mov dword [ebp - 0xd5c], edx
mov eax, dword [ebp - 0x53c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd58], ecx
xor edx, edx
mov word [ebp - 0x228], dx
xor eax, eax
mov word [ebp - 0x118], ax
push eax
push ebx
add esp, 4
and eax, 0x182b0
and eax, 0x8ac9
or eax, 0xef7e
pop eax
push esi
jmp 0x401612
xor esi, 0x16d34
xor esi, 0xee0
and esi, 0x8c81
or dword [eax + eax - 0x7274a200], 0xfffff2a8
mov dx, word [ecx]
mov word [ebp - 0x1136], dx
mov eax, dword [ebp - 0xd58]
add eax, 2
mov dword [ebp - 0xd58], eax
mov cx, word [ebp - 0x1136]
mov word [ebp - 0x228], cx
mov edx, dword [ebp - 0xd5c]
mov ax, word [edx]
mov word [ebp - 0x1138], ax
invalid
dec dword [ebx - 0xd5b73]
inc dword [ebx - 0x7276fd3f]
movsb byte es:[edi], byte [esi]
invalid
invalid
jmp dword [esi - 0x75]
xchg ebp, eax
enter 0xffffffffffffffee, 0xffffffffffffffff
mov word [ebp - 0x118], dx
push esi
push edx
add esp, 4
add esi, 0x12c26
add esi, 0xd485
pop esi
push edi
or edi, 0x25e0
add edi, 0x7320
or edi, 0x29cb
pop edi
push eax
push edi
add esp, 4
or eax, 0x7897
pop eax
movzx eax, word [ebp - 0x118]
test eax, eax
jne 0x4016d4
movzx ecx, word [ebp - 0x228]
movzx edx, word [ebp - 0x118]
sub ecx, edx
mov dword [ebp - 0x16e4], ecx
jmp 0x401737
movzx eax, word [ebp - 0x228]
movzx ecx, word [ebp - 0x118]
cmp eax, ecx
je 0x4015f3
movzx edx, word [ebp - 0x228]
xor edx, 0x20
movzx eax, word [ebp - 0x118]
cmp edx, eax
je 0x4015f3
movzx ecx, word [ebp - 0x228]
movzx edx, word [ebp - 0x118]
cmp ecx, edx
jge 0x401721
mov dword [ebp - 0x16e0], 0xffffffff
jmp 0x40172b
mov dword [ebp - 0x16e0], 1
mov eax, dword [ebp - 0x16e0]
mov dword [ebp - 0x16e4], eax
cmp dword [ebp - 0x16e4], 0
jne 0x401780
push ebx
and ebx, 0x1109c
jmp 0x401750
xor ebx, 0xe58d
pop ebx
push edi
push ecx
add esp, 4
call fcn.00401768
add byte [ebp + 0x40], al
cmp eax, 0x83484442
add esp, 4
invalid
invalid
push ecx
xor ecx, 0x4d7e
pop ecx
push edi
push edx
add esp, 4
add edi, 0xd46d
pop edi
push eax
push edi
add esp, 4
add eax, 0xc109
call fcn.004017ae
add byte [esi], bh
xor eax, 0x45353e35
cmp bh, byte [edi]
inc esp
add esp, 4
pop eax
mov edx, dword [ebp - 0x53c]
mov eax, dword [edx]
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
cmp ecx, dword [ebp - 0xd60]
je 0x4017de
mov edx, dword [ebp - 0x53c]
cmp dword [edx + 0x30], 0
jne 0x401594
mov dword [ebp - 0x340], 0
Function at 0x429730
Capabilities:
Packed with generic packer

Disassembly:
inc edx
mov cl, 8
or byte [edi + 0x5b], ah
pop ebx
mov ecx, esp
or al, 0x89
sti
aas
mov dh, 8
or byte [ecx + 0x93030cb], cl
or byte [ebx + 0x5e], ah
pop ebx
mov ecx, esp
or al, 0x89
dec byte [esi]
lea ecx, [eax]
or byte [esi + 0x6e], ah
xchg ebx, eax
xchg ebp, eax
fdiv st(2)
pop es
pop es
outsb dx, byte [esi]
xchg ecx, eax
xchg ebp, eax
sbb al, 2
pop es
pop es
xchg ebx, eax
pop ebp
cld
xchg ecx, eax
popfd
inc eax
add eax, dword [edi]
pop es
pop ecx
pop edi
mov ecx, esp
or al, 0x89
stc
cmp cl, byte [eax + ecx + 0x1c98908]
push ebx
or byte [eax], cl
push cs
cmp al, 0x48
push esi
dec ecx
dec ebp
cmp al, 0x61
pop eax
push cs
inc eax
inc esi
push esp
inc edx
push esi
push esp
or al, 0x3c
cmp al, 0x3f
dec esp
pushal
pop ecx
or al, 0x41
push edi
pop eax
inc edi
popal
iretd
cmp dword [0x94fd28], 0
jne 0x429782
push fcn.0040b100
push fcn.0040b080
mov dword [0x94fd28], 1
call fcn.00694270
push 0x40abc0
call fcn.006916c0
push 0x417880
push fcn.00417d50
call fcn.00694240
push fcn.0040b950
push fcn.0040b750
call fcn.006941f0
add esp, 0x1c
jmp 0x419370
ret

Function at 0x42a360
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
push esi
lea esi, [ecx - 1]
je 0x42a37b
pop esi
mov dword [esp + 4], eax
jmp fcn.0042a2c0
test ecx, ecx
jne 0x42a383
xor eax, eax
pop esi
ret
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.0042a230
shl esi, 5
add esp, 4
add eax, esi
pop esi
ret