joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011b143
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101b6ba4]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov dword [0x101c4218], 0x1712
mov ebx, dword [0x101c4214]
add ebx, 0xffffecd1
mov dword [0x101c4214], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1011a99e
mov dword [0x101c4218], 0xa58
call fcn.1011acbe
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1011a621
xor ecx, ecx
mov dword [0x101c4214], 0x4cc
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x1011b28e
jmp 0x1011b1fd
mov eax, dword [ebp - 0x48]
add eax, 0x22ae
mov dword [0x101c4218], 0x6cd
mov dword [0x101c4214], 0x1dc0
mov dword [ebp - 0x44], eax
jmp 0x1011b28e
mov eax, dword [ebp - 0x40]
mov dword [0x101c4214], 0x1780
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1011af01
xor eax, eax
mov dword [0x101c4214], 0x6a3
mov dword [0x101c4218], 0x1c22
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 4], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
jne 0x1011b1d9
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011b46b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x101c4214]
mov edx, ecx
add edx, 0xfffff6a0
mov dword [0x101c4218], edx
add ecx, 0xffffdda3
mov dword [0x101c4214], ecx
mov dword [ebp - 0x10], eax
call fcn.1011aabe
xor ecx, ecx
mov edx, eax
mov dword [0x101c4218], 0x3d
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1011b4d1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101c4214], 0xffffe1e3
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1011b56a
jmp 0x1011b5cc
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1011b53f
jmp 0x1011b5de
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
je 0x1011b5de
jmp 0x1011b512
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101c4218], 0xffffd675
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
jmp 0x1011b53f
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov dword [0x101c4218], 0x257f
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101c4214], 0x2299
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x34], edx
jmp 0x1011b56a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x1011b575
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x1011b59b
jmp 0x1011b5e7
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
jb 0x1011b575
jmp 0x1011b56a
Function at 0x1011b614
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101c421c], 0
mov dword [0x101c4220], 0
mov dword [0x101c422c], 0
mov dword [0x101c4214], 0xecf
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1011b7a9
jmp 0x1011b68c
mov eax, 0x3c5f
mov ecx, dword [0x101c421c]
mov edx, dword [0x101c4220]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jmp 0x1011b6af
mov eax, dword [0x101c4218]
mov dword [ebp - 0x34], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x2467
mov edx, eax
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov edi, 0x100
mov ebx, esi
add ebx, 1
add eax, 1
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101c421c], edx
mov dword [0x101c4214], 0x2136
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101c4220], edx
mov ecx, dword [ebp - 0x38]
mov dword [0x101c4214], ecx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x101c4224], cl
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x1c]
mov byte [edx + edi], cl
mov ecx, dword [0x101c4214]
mov edx, ecx
add edx, 0xffffedd9
mov dword [0x101c4214], edx
add ecx, 0xfffff568
mov dword [0x101c4218], ecx
mov cl, byte [0x101c4224]
mov edx, dword [0x101c4220]
mov edi, dword [ebp - 0x1c]
mov byte [edi + edx], cl
mov edx, dword [0x101c421c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101c4220]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x101c4214], 0x20d8
and ecx, 0xff
mov dword [0x101c422c], ecx
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov dword [0x101c4218], 0x17f8
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x20], ebx
jne 0x1011b66a
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001199d
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100119bb
push 0x168c
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x10011ad0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10011a3a
mov dword [ebp - 0x10], 1
jmp 0x10011a3e
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x10011a51
mov dword [ebp - 0x18], 1
jmp 0x10011a55
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0x995
jge 0x10011a69
mov dword [ebp - 0x14], 1
jmp 0x10011a6d
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jl 0x10011a86
mov dword [ebp - 0x1c], 1
jmp 0x10011a8a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jne 0x10011a9b
mov dword [ebp - 0x20], 1
jmp 0x10011a9f
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
imul eax, eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10011ac4
mov dword [ebp - 0x28], 1
jmp 0x10011ac8
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1001408a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100140ae
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100140ac
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x100140c5
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x1001dc2f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001dc53
push 0
push 0
push 0x7ac
push 0x8c2
push 0
call dword [sym.imp.USER32.dll_ModifyMenuW]
jmp 0x1001dc67
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001dc67
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x1002a93f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002a954
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1002a96a
push 0
push 0
push 0x2067
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret
Function at 0x10030820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
push 0xedc
lea eax, [ebp - 0x10]
push eax
push 0x4e60
lea eax, [ebp + 8]
push eax
call fcn.1002e92f
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003085a
xor eax, eax
jmp 0x10030982
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10030878
xor eax, eax
jmp 0x10030982
push 0x2a93
push 0x46a4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x15ac
push 1
call fcn.1002e987
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x100308a6
xor eax, eax
jmp 0x10030982
push dword [ebp - 0x10]
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.1002e7d8
add esp, 0x18
push 0x7938
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 1
call fcn.1002611a
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10030904
push 0x73bb
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x3e4a
call fcn.1002ead1
add esp, 0x14
push dword [ebp - 4]
call fcn.1002de78
pop ecx
test eax, eax
jne 0x10030915
xor eax, eax
jmp 0x10030982
push 1
lea eax, [ebp - 4]
push eax
push 0x4ab8
call fcn.1002eb41
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003096a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10030947
xor eax, eax
jmp 0x10030982
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10030960
xor eax, eax
jmp 0x10030982
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1003097b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1003097f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10044323
Capabilities:
Get file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004433a
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1004436b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004436b
push 0x26cc
push 0
push 0x1079
push 0xb8d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x1007c592
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008438c]
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.1006eb1c
mov dword [ebp - 0x14], eax
cmp dword [0x11a9ac74], esi
jne 0x1007c685
push 0x800
push esi
push 0x10007eac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007c612
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007c765
push esi
push esi
push 0x10007eac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007c765
push 0x10007ec4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007c765
push eax
call ebx
push 0x10007ed0
push edi
mov dword [0x11a9ac74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ee0
push edi
mov dword [0x11a9ac78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ef4
push edi
mov dword [0x11a9ac7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11a9ac84], eax
test eax, eax
je 0x1007c682
push 0x10007f10
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11a9ac80], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007c6aa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007c69d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007c6bf
push 4
pop eax
jmp 0x1007c767
cmp dword [ebp - 0x14], esi
je 0x1007c6bf
push dword [0x11a9ac74]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007c6a4
mov eax, dword [0x11a9ac80]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007c71d
cmp dword [0x11a9ac84], edi
je 0x1007c71d
push eax
call ebx
push dword [0x11a9ac84]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007c71d
test eax, eax
je 0x1007c71d
call ecx
test eax, eax
je 0x1007c712
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 0x1007c712
test byte [ebp - 8], 1
jne 0x1007c71d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007c74d
mov eax, dword [0x11a9ac78]
cmp eax, edi
je 0x1007c74a
push eax
call ebx
test eax, eax
je 0x1007c74a
call eax
mov esi, eax
test esi, esi
je 0x1007c74a
mov eax, dword [0x11a9ac7c]
cmp eax, edi
je 0x1007c74a
push eax
call ebx
test eax, eax
je 0x1007c74a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x11a9ac74]
call ebx
test eax, eax
je 0x1007c765
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007c767
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x432b60
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x432b83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x432b8a
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x432ba1
mov edx, dword [ebp - 4]
push edx
call fcn.0043a8c0
add esp, 4
or eax, 0xffffffff
jmp 0x432ba3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4375e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b3d4]
jne 0x4375ea
repz ret
jmp fcn.00448480
Function at 0x457d70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d4
cmp dword [0x887618], 0x37
jne 0x457e72
push 0
push 0x40a050
push 0
push 0x40a0b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
xor eax, eax
mov word [ebp - 0x4cc], ax
xor ecx, ecx
mov word [ebp - 0x4ca], cx
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x4d4]
push ecx
lea edx, [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ScrollConsoleScreenBufferA]
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x40a104
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push 0x40a13c
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0xc4]
push eax
push 0x40a164
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LockFileEx]
push 0
push 0x40a17c
push 0
push 0x40a198
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov eax, dword [0x87f064]
add eax, dword [ebp + 8]
mov ecx, dword [0x88761c]
add ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x12336]
mov byte [eax], dl
mov esp, ebp
pop ebp
ret 4

Function at 0x4580b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
jmp 0x4580e0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x458131
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
cmp dword [0x887618], 0x1c
jne 0x45811c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*4]
push edx
call fcn.00457f00
jmp 0x4580d7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4157a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x4157ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4157c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4157b0
mov eax, 1
add ebx, ebx
jne 0x4157d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4157c8
jne 0x4157e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4157c8
xor ecx, ecx
sub eax, 3
jb 0x4157f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41586a
mov ebp, eax
add ebx, ebx
jne 0x415803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415834
inc ecx
add ebx, ebx
jne 0x415820
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415815
jne 0x415831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415815
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415854
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415845
jmp 0x4157b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415854
add edi, ecx
jmp 0x4157b6
pop esi
mov edi, esi
mov ecx, 0x405
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415872
cmp byte [edi], 4
jne 0x415872
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x415877
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x4158ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x161b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4158a4
mov ecx, edi
jns 0x4158d3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1628c]
or eax, eax
je 0x4158e9
mov dword [ebx], eax
add ebx, 4
jmp 0x4158c1
call dword [esi + 0x16288]
mov ebp, dword [esi + 0x16290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x415923
sub esp, 0xffffff80
jmp 0x40aff0
Function at 0x403f1c
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x40e004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x20c], ax
mov esi, edx
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x403f98
cmp eax, edi
ja 0x403f98
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403fae
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x403fae
xor eax, eax
jmp 0x403fe6
lea eax, [ebp - 0x414]
push eax
push 0
push 0x4016dc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x403faa
lea eax, [ebp - 0x414]
mov edx, edi
push eax
mov ecx, esi
call fcn.00403ae0
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040bf76
mov esp, ebp
pop ebp
ret