joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f54d8]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0044bbe0
mov ecx, dword [esi + 0x7e8]
test ecx, ecx
je 0x47d529
lea eax, [ebp - 0x14]
push eax
call fcn.0047bcd0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x47d4ff
mov ecx, dword [esi + 0x7e8]
push 0
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482fe3
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x7e8]
push 0
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00482fe3
mov esp, ebp
pop ebp
ret 0x14

Function at 0x47eb70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bed6b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4f54d8]
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, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x7f8], 0
cmp dword [edi + 4], 0
jne 0x47ec1d
lea eax, [ebp - 0xa4]
push eax
call fcn.0047e6c0
mov ecx, dword [edi + 0x10]
movdqu xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.0043d1a0
push eax
mov ecx, edi
call fcn.00439d50
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00446db0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.0043ccd0
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00439520
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00438b80
test bl, bl
je 0x47ec61
mov eax, dword [edi + 0x10]
add eax, 0x7e8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x7e8
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.00482fe3
mov esp, ebp
pop ebp
ret 4
Function at 0x47ecb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f54d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00449790
mov ecx, dword [esi + 0x800]
test ecx, ecx
je 0x47ed41
lea eax, [ebp - 0x14]
push eax
call fcn.0047e6c0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x47ed17
mov ecx, dword [esi + 0x800]
push 0
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482fe3
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x800]
push 0
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00482fe3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47ee50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f54d8]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0044bbe0
mov ecx, dword [esi + 0x800]
test ecx, ecx
je 0x47eee9
lea eax, [ebp - 0x14]
push eax
call fcn.0047e6c0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x47eebf
mov ecx, dword [esi + 0x800]
push 0
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482fe3
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x800]
push 0
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00482fe3
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4829c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.0043d1c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x482a64
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x482a59
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
test eax, eax
je 0x482a59
push eax
mov dword [ebp + 8], edi
call fcn.00437117
add esp, 4
mov edi, eax
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
je 0x482a55
push edi
call fcn.00483bf3
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x482a67
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, ebx
call fcn.00482a90
push edi
mov esi, eax
call fcn.00483bf3
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x486c7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4aec2b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f54d8]
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.0048b8a0
mov dword [ebp - 0x14], eax
cmp dword [0x4fe028], esi
jne 0x4aed1e
push 0x800
push esi
push 0x4d3a6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4aecab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4aedfe
push esi
push esi
push 0x4d3a6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4aedfe
push 0x4d3a84
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4aedfe
push eax
call ebx
push 0x4d3a90
push edi
mov dword [0x4fe028], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4fe02c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4fe030], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4fe038], eax
test eax, eax
je 0x4aed1b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4fe034], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4aed43
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4aed36
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4aed58
push 4
pop eax
jmp 0x4aee00
cmp dword [ebp - 0x14], esi
je 0x4aed58
push dword [0x4fe028]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4aed3d
mov eax, dword [0x4fe034]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4aedb6
cmp dword [0x4fe038], edi
je 0x4aedb6
push eax
call ebx
push dword [0x4fe038]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4aedb6
test eax, eax
je 0x4aedb6
call ecx
test eax, eax
je 0x4aedab
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 0x4aedab
test byte [ebp - 8], 1
jne 0x4aedb6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4aede6
mov eax, dword [0x4fe02c]
cmp eax, edi
je 0x4aede3
push eax
call ebx
test eax, eax
je 0x4aede3
call eax
mov esi, eax
test esi, esi
je 0x4aede3
mov eax, dword [0x4fe030]
cmp eax, edi
je 0x4aede3
push eax
call ebx
test eax, eax
je 0x4aede3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4fe028]
call ebx
test eax, eax
je 0x4aedfe
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4aee00
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00482fe3
mov esp, ebp
pop ebp
ret
Function at 0x100e8bec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101afa90]
jne 0x100e8bf6
repz ret
jmp fcn.100e8e9d

Function at 0x100ea050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.100ea050]
mov dword [0x101afa64], 0x83f
mov dword [ebp - 4], eax
mov dword [0x101afa64], 0x19e4
jmp 0x100ea07d
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x100ea08c
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100ea09a
jmp 0x100ea0ae
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x100ea075
jmp 0x100ea0ae
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov dword [0x101afa68], 0x773
mov al, 1
test al, 1
jne 0x100ea07d
jmp 0x100ea0d0
mov dword [0x101afa64], 0x24f
mov dword [ebp - 8], 0
jmp 0x100ea08c

Function at 0x100ea0f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [0x101afa68], 0x3cb
mov dword [ebp - 8], 0
mov dword [0x101afa68], 0x4f5
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x101afa64], 0x650
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x100ea151
jmp 0x100ea13e
jmp 0x100ea26b
jmp 0x100ea182
mov dword [ebp - 4], 1
jmp 0x100ea282
cmp dword [ebp - 0x10], 0x104
jge 0x100ea182
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x100ea143
mov dword [0x101afa68], 0xab6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x100ea151
mov eax, dword [0x101afa68]
sub eax, 0x21b9
mov dword [0x101afa68], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x100ea26f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x100ea26d
mov eax, dword [0x101afa68]
add eax, 0x20dc
mov dword [0x101afa64], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xffffffea
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x61
jne 0x100ea26b
mov dword [0x101afa64], 0xe50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x100ea13e
mov eax, dword [0x101afa64]
add eax, 0x5c9
mov dword [0x101afa64], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x100ea13c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x100ea266
mov dword [0x101afa68], 0x7a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x100ea145
jmp 0x100ea266
jmp 0x100ea13c
jmp 0x100ea26d
jmp 0x100ea26f
mov dword [0x101afa68], 0x1280
mov dword [ebp - 4], 0
jmp 0x100ea282
mov eax, dword [ebp - 4]
add esp, 0x14
pop ebp
ret
Function at 0x10001de8
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x10001e01
push dword [esp + 8]
push dword [esp + 8]
push edx
call ecx
add esp, 0xc
ret
push dword [eax + 0x38]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
ret

Function at 0x10005305
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x10005333
push esi
call fcn.10009b3e
cmp dword [esi + 0x40], 0
pop ecx
je 0x1000532c
xor eax, eax
mov dword [esi + 0x14], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x100053a3
mov eax, dword [esi + 0x1b4]
cmp dword [eax + 0x10], 0
je 0x10005395
mov eax, dword [esi + 8]
test eax, eax
je 0x10005354
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x1b4]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x10005391
cmp eax, 2
je 0x10005395
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10005349
cmp eax, 3
je 0x10005378
cmp eax, 1
jne 0x10005349
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x10005349
mov ecx, dword [esi + 0x140]
add dword [eax + 8], ecx
jmp 0x10005349
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x100053c1
cmp eax, 0xcc
je 0x100053c1
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.100051d0
pop esi
ret

Function at 0x1001c020
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, dword [esi + 0x289c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x292c], eax
call edi
sub eax, dword [esi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2930], eax
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x1001c08f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28a0]
push dword [esi + 0x289c]
push dword [esi + 0x2930]
push dword [esi + 0x292c]
push dword [esi + 0x2d50]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.1001092a
pop ecx
pop edi
pop esi
ret

Function at 0x1001e4ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029008]
jne 0x1001e4f4
repz ret
jmp fcn.1001ea43
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x8f95442
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x28c83642
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401490
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov edi, eax
push edi
push str.Fixing__s_n
call fcn.0040a3e4
push 0x41cce8
push edi
call fcn.0040a56d
mov esi, eax
add esp, 0x10
test esi, esi
mov byte [esp + 8], 0x50
mov byte [esp + 9], 0x45
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
jne 0x4014dd
push edi
push str.Could_not_open_file__s_n
call fcn.0040a3e4
add esp, 8
push 1
call fcn.0040b19d
push ebp
push edi
push str.Opened__s_n
call fcn.0040a3e4
add esp, 8
xor edi, edi
push ebx
xor ebp, ebp
push esi
call fcn.0040a156
push esi
mov ebx, eax
add edi, 1
call fcn.00409d6a
add esp, 8
test eax, eax
jne 0x4015eb
cmp bl, byte [esp + ebp + 0x10]
jne 0x4014ef
add ebp, 1
cmp ebp, 4
jne 0x4014f1
push edi
push str.Skipped__ld_n
mov dword [0x42f6e4], edi
call fcn.0040a3e4
push str.Found_marker_OK_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov eax, dword [0x42f6e4]
push 0
add eax, 0x59
push eax
push esi
call fcn.0040ac6d
push str.Skipped_to_relevant_spot_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
push esi
call fcn.0040a156
push eax
push str.Was__02X_n
call fcn.0040a3e4
mov ecx, dword [0x42f6e4]
push 0
add ecx, 0x59
push ecx
push esi
call fcn.0040ac6d
push esi
push 2
call fcn.00409b82
mov edx, dword [0x42f6e4]
add esp, 0x44
push 0
add edx, 0x59
push edx
push esi
call fcn.0040ac6d
push esi
call fcn.0040a156
push eax
push str.Now__02X_n
call fcn.0040a3e4
push esi
call fcn.0040a0fa
push esi
call fcn.0040ae69
push str.Fixed_OK_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0x28
pop ebx
pop ebp
pop edi
pop esi
pop ecx
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
call fcn.0040a3e4
add esp, 8
push 1
call fcn.0040b19d
int3

Function at 0x4017c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, eax
push esi
push str.Copying_FILE__s_n
mov ebx, ecx
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
push 0x41cc98
push ebx
call fcn.0040a56d
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x401806
push ebx
push str.Unable_to_open_source_file_for_copy__s_n
call fcn.0040a3e4
add esp, 8
pop edi
pop esi
pop ebx
ret
push 0x41cdb4
push esi
call fcn.0040a56d
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401830
push esi
push str.Unable_to_open_destination_file_for_copy__s_n
call fcn.0040a3e4
add esp, 8
pop edi
pop esi
pop ebx
ret
push edi
push 0xc350
push 1
push 0x423388
call fcn.0040a859
mov esi, eax
add esp, 0x10
test esi, esi
jbe 0x40185c
push ebx
push esi
push 1
push 0x423388
call fcn.0040a98e
add esp, 0x10
cmp esi, 0xc350
je 0x401830
push edi
call fcn.0040ae69
push ebx
call fcn.0040ae69
add esp, 8
pop edi
pop esi
pop ebx
ret
Function at 0x403ee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push str._ExtractArchive__Extracting_archive__s_into__s_n
call fcn.0040a3e4
add esp, 0xc
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
push 0x41cc98
push ebx
call fcn.0040a56d
mov esi, eax
add esp, 8
test esi, esi
jne 0x403f47
push ebx
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
push 1
call fcn.0040b19d
mov ecx, dword [ebp + 8]
push esi
push 0
mov edx, edi
call fcn.00403650
add esp, 8
test eax, eax
je 0x403f47
push str._ExtractArchive__Done_extracting_archive._n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
push esi
call fcn.0040ae69
add esp, 4
push ebx
call fcn.0040a28d
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407a30
Capabilities:
Check mutex on windows
Create thread

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
push 0x24
mov edi, eax
call fcn.00409680
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 4
push 0
push 0
push 0
mov esi, eax
call ebx
push 0
push 0
push 0
mov dword [esi], eax
call ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 0
call fcn.00407e50
push 0
push 0
push 1
push 0
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x20], eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [esp + 0x24]
push edx
push 0
push esi
push 0x4079b0
push 0
push 0
call edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
push 0
push esi
push 0x4076f0
push 0
push 0
call edi
lea ecx, [esp + 0x2c]
push ecx
push 0
push esi
push 0x4077b0
push 0
push 0
mov dword [esp + 0x2c], eax
call edi
lea edx, [esp + 0x30]
push edx
push 0
push esi
push 0x4078b0
push 0
push 0
mov dword [esp + 0x30], eax
call edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push eax
push 0
push esi
push 0x407930
push 0
push 0
call edi
mov ecx, dword [esi]
push ecx
mov dword [esp + 0x24], eax
mov dword [esi + 0x1c], 5
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push edx
call ebx
mov eax, dword [esi + 8]
push eax
push str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
xor edi, edi
lea esp, [esp]
mov ecx, dword [esp + edi*4 + 0x10]
push ecx
call ebx
add edi, 1
cmp edi, 5
jl 0x407b60
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x407b80
Capabilities:
Delete file

Disassembly:
push edi
mov edi, dword [0x42f6dc]
cmp dword [edi], 0
jne 0x407b95
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
ret
push esi
push 0x41cdb4
push eax
call fcn.0040a56d
mov esi, eax
add esp, 8
test esi, esi
je 0x407be1
mov eax, dword [edi]
test eax, eax
je 0x407bd8
push esi
push eax
call fcn.0040b716
add esp, 8
cmp dword [edi + 4], 0
je 0x407bd8
push esi
push 0x41f1d0
call fcn.0040b716
mov eax, dword [edi + 4]
push esi
push eax
call fcn.0040b716
add esp, 0x10
push esi
call fcn.0040ae69
add esp, 4
pop esi
pop edi
ret