joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e240
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret 4

Function at 0x47e410
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret 4
Function at 0x47e970
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
mov ecx, dword [esi + 0x20]
push edi
lea eax, [esi + 0x2c]
push 0
mov dword [esp + 0x14], eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
push 8
push eax
push ecx
call fcn.004c1a70
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x2c], 0x80
inc edi
mov ebp, eax
mov ebx, edx
cmp edi, 0x38
je 0x47e9ca
and edi, 0x3f
jne 0x47e9bc
push esi
call fcn.0047e460
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
inc edi
cmp edi, 0x38
jne 0x47e9b1
mov eax, ebx
shr eax, 0x18
mov byte [edi + esi + 0x2c], al
shld ebx, ebp, 8
shl ebp, 8
mov ecx, ebx
mov edx, ecx
shr edx, 0x18
mov byte [edi + esi + 0x2d], dl
mov eax, ebp
shld ecx, eax, 8
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [edi + esi + 0x2e], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x2f], dl
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x30], dl
mov edx, ecx
shld ecx, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
mov eax, ecx
shr edx, 0x18
shr eax, 0x18
shr ecx, 0x10
push esi
mov byte [edi + esi + 0x31], dl
mov byte [edi + esi + 0x32], al
mov byte [edi + esi + 0x33], cl
call fcn.0047e460
mov edi, dword [esp + 0x144]
xor ebp, ebp
xor eax, eax
mov edx, eax
and edx, 3
mov ecx, 3
sub ecx, edx
add ecx, ecx
mov edx, eax
shr edx, 2
mov edx, dword [esi + edx*4]
add ecx, ecx
add ecx, ecx
shr edx, cl
inc eax
mov byte [eax + edi - 1], dl
cmp eax, 0x20
jb 0x47ea53
push 0x20
lea eax, [esp + 0x20]
push eax
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.004789e0
push 0x100
lea ecx, [esp + 0x40]
push ecx
call fcn.004789e0
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
jmp fcn.004789e0

Function at 0x47f7c0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x4ea280], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x47f819
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov cx, word [esp + 0x6c]
xor edx, edx
mov word [0x56a83c], cx
mov word [0x56a83e], dx
mov dword [0x4ea280], 0x56a83c
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0047f510
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x4ea270
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x130
ret 0x10
Function at 0x480000
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x480067
push esi
push edi
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c12f7
mov esi, eax
add esp, 4
test esi, esi
je 0x480065
push edi
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push esi
call fcn.0047fe60
push esi
call fcn.004c1dca
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x480140
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x480193
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80000000
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x482000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
cmp ebp, 0xa8
jne 0x482059
push 1
push str.Settings
call fcn.00426900
test eax, eax
je 0x48204e
mov eax, dword [0x534ca4]
mov ecx, dword [0x51ef04]
lea esi, [edi + 0x1088]
push esi
push 0x481c30
push eax
push str.ORGTHEMES
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi], 0
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
cmp ebp, 0xa9
jne 0x48208a
push 1
push 0x4d79fc
push 0
push 0x4f9
call fcn.00475570
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
mov eax, dword [0x534ca4]
test eax, eax
jne 0x482097
xor esi, esi
jmp 0x4820c0
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x4820a6
xor esi, esi
jmp 0x4820c0
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x4820b9
xor esi, esi
jmp 0x4820c0
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x4820d9
mov dword [edi + 0x80], 0xffffffff
push 0x4d79fc
jmp 0x48213b
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x482181
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c1d50
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push ebp
push esi
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x482181
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x482181
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00460620
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.0046c7f0
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x482162
push 0
push eax
push esi
call ebx
push 8
push ebp
push esi
call ebx
mov ecx, edi
mov dword [edi + 0x1084], ebp
call fcn.00481690
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x30
ret 4
Function at 0x482510
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
cmp eax, 0x20
jbe 0x482527
mov dword [esi], 0x20
jmp 0x482531
test eax, eax
jne 0x482531
mov dword [esi], 1
push 0
push 0x20
push 0
push 0
mov byte [esi + 0x190], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 1
push 1
push 0
mov dword [esi + 0x194], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x198], eax
lea eax, [esi + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [esi + 0x194], 0
je 0x48257f
cmp dword [esi + 0x198], 0
jne 0x48259d
push str._nThread_pool_initialization_failed.
push 0x51ef08
call fcn.00433db0
add esp, 8
push 2
mov ecx, 0x51ef08
call fcn.00433a60
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x48260e
push ebp
push edi
lea ebp, [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push 0x4824c0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4825f0
push str.CreateThread_failed
push 0x51ef08
call fcn.00433db0
add esp, 8
mov ecx, 0x51ef08
call fcn.00433a70
push 2
mov ecx, 0x51ef08
call fcn.00433a60
mov dword [ebp], edi
mov eax, dword [0x56a85c]
test eax, eax
je 0x482604
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add ebp, 4
cmp ebx, dword [esi]
jb 0x4825a8
pop edi
pop ebp
xor eax, eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x84], eax
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x483620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
xor esi, esi
jmp 0x483645
xor edi, edi
push 0xf
call ebp
mov edx, dword [0x51ef04]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x4ea2d4]
push edi
push eax
push edx
mov dword [esp + 0x34], edi
call ebx
push 0xf
mov dword [esi + 0x4ea2f8], eax
call ebp
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0x4ea2d8]
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x51ef04]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x51ef04]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4836ab
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x4836b3
mov dword [esp + 0x18], 0x800080
mov eax, dword [0x51ef04]
push 1
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push eax
call ebx
mov dword [esi + 0x4ea2fc], eax
add esi, 0x38
cmp esi, 0x460
jb 0x483643
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
mov edx, dword [0x51ef04]
push 1
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x67
push edx
mov dword [esp + 0x40], eax
call ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
cmp byte [0x51ef48], 0
je 0x483714
push eax
call fcn.0049e7c0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484ba0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x484bbb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.0046c8f0
test eax, eax
je 0x484d73
mov eax, dword [0x51ef00]
mov ecx, dword [0x534ca4]
push ebx
push ebp
push edi
push 0
push eax
push 0xd
push ecx
push 0
push 0
push 0
push 0
push 0x56000944
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push eax
mov dword [esi + 4], eax
call ebp
call fcn.0049f170
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x484c42
push ebx
call fcn.0049f0d0
push 0x10
mov ebx, eax
call fcn.0049f0d0
mov dword [esp + 0x14], eax
movzx edi, word [esp + 0x14]
mov eax, dword [esi + 4]
movzx edx, bx
shl edi, 0x10
or edi, edx
push edi
push 0
push 0x41f
push eax
call ebp
mov ecx, dword [esi + 4]
push edi
push 0
push 0x420
push ecx
call ebp
push 0
push 0xf
push str.FolderUp.bmp
mov ecx, 0x543fb0
call fcn.00481b10
mov edi, eax
test edi, edi
jne 0x484c87
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x484ca7
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.0049e8b0
mov edi, eax
push edi
mov ecx, 0x543fb0
call fcn.004818e0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push 1
push 0x413
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
call ebp
mov edx, dword [esi + 4]
push 0x4ea730
push 1
push 0x444
push edx
call ebp
lea eax, [esp + 0x30]
push eax
push 2
mov ecx, esi
call fcn.00483e70
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x484d02
mov eax, 1
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
or eax, 4
push 0x12
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], 2
mov dword [esp + 0x58], 0
call edi
push 0xf
mov dword [esp + 0x40], eax
call edi
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x40], eax
jne 0x484d45
mov dword [esp + 0x5c], 0x28
mov eax, dword [0x53f4d8]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push 0x40a
push eax
mov dword [esp + 0x68], ecx
call ebp
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x70
ret

Function at 0x486260
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x5328ec]
mov eax, dword [esp + 4]
mov edx, ecx
shr ecx, 8
xor edx, eax
and edx, 0xff
xor ecx, dword [edx*4 + 0x56b870]
mov edx, dword [0x5328f4]
mov dword [0x5328ec], ecx
movzx ecx, cl
add ecx, dword [0x5328f0]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [0x5328f0], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x56b870]
mov dword [0x5328f4], edx
ret 4
Function at 0x4862c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
push 0x56b870
call fcn.00427fc0
mov edi, dword [esp + 0xc]
mov eax, 0x12345678
mov edx, 0x23456789
mov esi, 0x34567890
mov dword [0x5328ec], eax
mov dword [0x5328f0], edx
mov dword [0x5328f4], esi
mov cl, byte [edi]
test cl, cl
je 0x486350
jmp 0x486300
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x56b870]
inc edi
movzx ecx, al
add ecx, edx
imul ecx, ecx, 0x8088405
inc ecx
mov edx, ecx
shr ecx, 0x18
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x56b870]
mov dword [0x5328ec], eax
mov dword [0x5328f0], edx
mov dword [0x5328f4], esi
mov cl, byte [edi]
test cl, cl
jne 0x486300
pop edi
pop esi
ret 4
Function at 0x489a10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.00489800
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x489a50
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x489a50
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x489ab6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x489b33
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x489ae0
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x489ad0
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x489b19
add byte [edi + 3], 0xff
jne 0x489b19
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.004897c0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x489b53
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4

Function at 0x48d7f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5ade
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4eb0b4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0x10], 1
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [esp + 0x10], 2
mov dword [eax + 0x10], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x493aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
ja 0x493b24
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
cmp dword [esp + 0x10], 4
je 0x493b23
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x493b18
lea edx, [esp + 0x24]
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
call esi
sub eax, edi
cmp eax, 0x2710
jbe 0x493ac4
pop ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea edx, [esp + 0x14]
push edx
mov eax, 3
mov word [esp + 0x18], ax
mov eax, dword [ebx + 0xc]
push 2
mov dword [esp + 0x24], 0x96
mov ecx, dword [eax]
push 0x3f
push eax
mov eax, dword [ecx + 0xd8]
call eax
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x494ba0
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push 0
mov esi, ecx
push ebx
mov byte [esi + 0x29], al
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00494b20
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0xc]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x494c06
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0x18]
push esi
mov ebp, eax
sub edi, eax
mov eax, dword [esi]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
push edi
push eax
push ebp
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], eax
pop ebp
jne 0x494c90
test ebx, ebx
je 0x494cb4
cmp dword [esi + 0x1c], 0
jne 0x494cb4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x494cb4
push eax
mov ecx, esi
call fcn.004942a0
mov esi, eax
test esi, esi
je 0x494cb4
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.004c1aa4
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret 0x14
test eax, eax
je 0x494ca7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x24], 0x64
jbe 0x494cb4
mov ecx, esi
call fcn.00493aa0
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x495bb0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x495c29
push ebx
push 0x800
push 0x54806e
push str.Rar_CM
call fcn.0049f210
mov ebx, eax
test ebx, ebx
je 0x495c28
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x495be0
sub eax, edx
sar eax, 1
push esi
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x495bf7
sub eax, edx
push ebx
sar eax, 1
push eax
push 2
push edi
call fcn.004c3ee0
push ebx
call fcn.004c3d02
add esp, 0x14
test esi, esi
pop esi
jbe 0x495c28
mov dword [0x549070], 3
pop ebx
pop edi
ret 4

Function at 0x495f20
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov eax, 0x5408
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x5404], eax
push edi
push ebx
call fcn.00460620
push 0x3a
push eax
call fcn.004c28a7
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 8
test eax, eax
je 0x495f83
cmp byte [0x56bec0], 0
jne 0x495f83
push 0x31
push 0x65
call fcn.00475570
push eax
push 0x528
call fcn.00475570
push eax
push esi
call edi
cmp eax, 1
jne 0x4960fe
mov byte [0x56bec0], al
lea edx, [esp + 0x1008]
mov eax, ebx
sub edx, ebx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x495f90
lea eax, [esp + 0x1008]
push eax
call fcn.00460910
push 0x800
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
xor eax, eax
push ecx
mov word [esp + 0x100a], ax
call fcn.00460620
cmp word [eax], 0
je 0x496052
lea edx, [esp + 8]
push edx
call fcn.0043ccc0
test al, al
jne 0x496052
lea esp, [esp]
push 0x14d
call fcn.00475570
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x4010]
push str.__s__n_s
push ecx
mov edx, 0xa00
call fcn.0041cb70
add esp, 0x10
push 0x34
push 0x65
call fcn.00475570
push eax
lea edx, [esp + 0x4010]
push edx
push esi
call edi
cmp eax, 6
jne 0x4960fe
push 0
lea eax, [esp + 0xc]
push eax
call fcn.0043d3a0
lea ecx, [esp + 8]
push ecx
call fcn.0043ccc0
test al, al
je 0x495ff0
call fcn.0044b3b0
cmp eax, 0x501
jb 0x496116
push 0x800
lea edx, [esp + 0x200c]
push edx
push ebx
mov ecx, 0x53f4e8
call fcn.0044bff0
push 0x800
lea eax, [esp + 0x300c]
push eax
lea ecx, [esp + 0x2010]
push ecx
call fcn.00460f70
push 0
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3024]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x496116
test dword [esp + 4], 0x80000
je 0x496116
lea ecx, [esp + 0x3008]
push ecx
push 0x65e
call fcn.00475570
push eax
lea edx, [esp + 0x4010]
push edx
mov edx, 0xa00
call fcn.0041cb70
add esp, 0xc
push 0x30
push 0x65
call fcn.00475570
push eax
lea eax, [esp + 0x4010]
push eax
push esi
call edi
xor al, al
pop edi
mov ecx, dword [esp + 0x5404]
xor ecx, esp
call fcn.004c1302
add esp, 0x5408
ret
mov ecx, dword [esp + 0x5408]
pop edi
xor ecx, esp
mov al, 1
call fcn.004c1302
add esp, 0x5408
ret