joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413219
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push 0x10
cdq
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
idiv ecx
push 0x10
pop esi
mov ecx, eax
mov eax, dword [esp + 0x20]
cdq
idiv esi
inc ecx
movzx esi, cx
mov dword [esp + 0x10], edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceExA]
push eax
push esi
push 6
push dword [0x46f8a8]
call ebp
xor ebx, ebx
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x41329a
call edi
and ax, 0x3ff
or ah, 4
push eax
push esi
push 6
push dword [0x46f8a8]
call ebp
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x41329a
push 6
push esi
push dword [0x46f8a8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x41335b
push dword [esp + 0x20]
push dword [0x46f8a8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x413351
xor ecx, ecx
mov ax, word [edi]
cmp ax, bx
je 0x4132ce
inc edi
inc edi
cmp ecx, dword [esp + 0x10]
movzx eax, ax
je 0x4132d8
lea edi, [edi + eax*2]
jmp 0x4132d0
inc edi
inc edi
inc ecx
cmp ecx, 0x10
jl 0x4132b6
jmp 0x413351
push ebx
lea esi, [edi + eax*2]
push ebx
push ebx
movzx eax, word [esi]
push ebx
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov dword [esp + 0x38], eax
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
push ebp
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebp
mov dword [esp + 0x14], eax
call fcn.00444e5b
push ebp
push ebx
push eax
call fcn.004447a0
add esp, 0x10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebx
push ebp
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [esp + 0x14]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ax, word [esp + 0x18]
mov word [esi], ax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x419e33
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, 0x7f00
push edi
jb 0x419e7c
cmp eax, 0x7f04
jbe 0x419e6d
cmp eax, 0x7f7f
jbe 0x419e7c
cmp eax, 0x7f85
ja 0x419e7c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 - 0x1fde4]
jmp 0x419f7b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 - 0x1fbf8]
jmp 0x419f7b
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax]
cmp eax, edi
je 0x419f79
push 8
push eax
call fcn.0040b46b
mov esi, eax
cmp esi, edi
je 0x419f79
push edi
push 0x2c
push 0x1c
push 0x28
push dword [ebp + 0x10]
push esi
call fcn.004057d5
add esp, 0x18
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x419f79
cmp eax, edi
je 0x419f79
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push str.Cursor
push eax
call fcn.00409cbb
test eax, eax
jne 0x419fc8
lea eax, [ebp - 0x108]
push 0x105
push eax
call fcn.0040a167
test eax, eax
je 0x419f79
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00409392
push edi
push 0x2c
push 0x1c
push 0x28
push dword [ebp + 0x10]
push esi
call fcn.004057d5
add esp, 0x18
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x419f79
cmp eax, edi
je 0x419f79
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 8]
push eax
push 0x1c
push dword [ebp + 0x10]
push esi
call fcn.004056c7
mov ebx, eax
add esp, 0x10
cmp ebx, edi
je 0x419f79
lea eax, [ebp - 0x108]
push 0x1000
push eax
call fcn.0040a1a8
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
push edi
jne 0x419f80
push 0x28
push ebx
push esi
call fcn.004057c8
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x108]
push 0x200
push eax
call fcn.0040a1a8
push edi
push 0x28
push ebx
push esi
call fcn.004057c8
add esp, 0x10
jmp 0x419fd8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
jmp 0x419f7b
Function at 0x42cc9a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
lea eax, [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x17
push dword [ebx + 4]
call fcn.00413750
cmp byte [ebp - 0x208], 0
jne 0x42cccc
xor eax, eax
jmp 0x42cdb7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push edi
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push 0x4000
push eax
call fcn.0040a1a8
cmp eax, 0xffffffff
jne 0x42cd2f
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push str.File
push eax
call fcn.00409cbb
test eax, eax
jne 0x42cd2f
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x308]
push eax
push 0x3c
push dword [ebx + 4]
call fcn.00413750
cmp byte [ebp - 0x208], 0
je 0x42cd7a
cmp byte [ebp - 0x308], 0
je 0x42cd7a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x100]
push 0x46969c
push eax
call esi
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push eax
call fcn.0042cf55
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
call esi
mov edi, eax
add edi, 0x1388
call esi
cmp eax, edi
jae 0x42cdb2
push ebx
call fcn.0042cdba
test eax, eax
pop ecx
jne 0x42cdb2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42cd97
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42cf55
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.004447a0
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x41
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov word [ebp - 0x24], 0xa
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42cfb8
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
pop esi
leave
ret
Function at 0x433f55
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x434038
mov eax, dword [esi]
cmp eax, edi
je 0x434038
push edi
push 0x2e
push 0x1b
push 0x28
push dword [ebp + 0xc]
push eax
call fcn.004057d5
add esp, 0x18
cmp eax, edi
mov dword [ebp + 8], eax
je 0x433fc9
cmp eax, 0xffffffff
je 0x433fc9
lea eax, [ebp + 8]
push ebx
push eax
push 0x1b
push dword [ebp + 0xc]
push dword [esi]
call fcn.004056c7
push dword [ebp + 8]
mov ebx, eax
push ebx
push esi
call fcn.004346f4
push edi
push edi
push ebx
mov dword [ebp + 0xc], eax
push dword [esi]
call fcn.004057c8
add esp, 0x2c
pop ebx
jmp 0x434052
push edi
push 0x2c
push 0x1b
push 0x28
push dword [ebp + 0xc]
push dword [esi]
call fcn.004057d5
add esp, 0x18
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x434038
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x10c]
push str.Auto
push eax
call fcn.00409cbb
test eax, eax
je 0x434038
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0040a1a8
mov edi, eax
cmp edi, 0xffffffff
je 0x434038
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x989680
mov dword [ebp + 8], eax
push edi
jbe 0x434040
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret 8
push esi
call fcn.00434b2c
pop ecx
mov dword [ebp + 0xc], eax
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
jmp 0x43403a
Function at 0x4354d2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0xb
push dword [esi + 4]
call fcn.0040daff
push 5
push eax
call fcn.0040b46b
push 0xd
push 0xe
push eax
mov dword [ebp - 0xc], eax
call fcn.00407a9e
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 0xc]
movsx eax, word [eax + 0xe]
add eax, dword [ebp + 0x14]
add ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [ebp - 0x14], ecx
je 0x435535
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x435535
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
sub edi, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
sub ebx, dword [ebp - 0x1c]
mov dword [ebp + 0x14], edi
call esi
push ebx
mov dword [ebp + 0xc], eax
call fcn.00446500
cmp eax, 0x64
pop ecx
jg 0x435578
push edi
call fcn.00446500
cmp eax, 0x64
pop ecx
mov dword [ebp + 8], 0x190
jle 0x43557f
mov dword [ebp + 8], 0x320
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edi, [ecx + eax]
mov dword [ebp - 8], edi
call esi
cmp eax, edi
mov edi, dword [sym.imp.USER32.dll_SetCursorPos]
jae 0x4355d6
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x64
mov dword [ebp + 0xc], ecx
jmp 0x4355a5
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0x64
sub eax, ecx
xor edx, edx
div dword [ebp + 8]
push 0x64
pop ecx
mov dword [ebp - 4], eax
imul eax, dword [ebp + 0x14]
cdq
idiv ecx
add eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
imul eax, ebx
cdq
idiv ecx
add eax, dword [ebp - 0x1c]
push eax
call edi
call esi
cmp eax, dword [ebp - 8]
jb 0x4355a2
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call edi
push 1
push 0xe
push dword [ebp - 0xc]
call fcn.00407a9e
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a3c7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43a3e8
lea eax, [ebp + 8]
push eax
push 0
push 0x22
push dword [edi + 4]
call fcn.0040b5d8
cmp dword [ebp + 8], 1
jne 0x43a3ec
xor eax, eax
jmp 0x43a440
push esi
push dword [edi + 0x40]
call fcn.00408e8c
mov esi, eax
test esi, esi
je 0x43a42f
cmp dword [esi], 0
je 0x43a425
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a425
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43a425
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x40]
call fcn.00408ec2
jmp 0x43a3f5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
pop eax
pop esi
pop edi
pop ebp
ret 4
Function at 0x43e4d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 1
xor ebx, ebx
mov esi, ecx
pop edi
mov dword [ebp - 4], ebx
call fcn.0043e5cd
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x43e533
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43e533
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.ProxyEnable
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e533
cmp dword [ebp - 0xc], ebx
je 0x43e533
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.0043e1b8
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [esi + 4], eax
je 0x43e556
cmp dword [ebp + 0xc], 4
jne 0x43e570
cmp dword [ebp - 0x10], ebx
jne 0x43e570
cmp word [esi + 0x14], 3
mov ecx, esi
jne 0x43e56b
call fcn.0043e6d4
jmp 0x43e570
call fcn.0043e900
cmp dword [esi + 4], ebx
pop edi
pop esi
setne byte [ebp + 0xf]
cmp dword [ebp - 4], ebx
pop ebx
je 0x43e588
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp + 0xf]
leave
ret 0x14

Function at 0x43e5cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x258]
push eax
mov edi, SysReAllocStringLen
push str..htm
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x43e6cd
lea eax, [ebp - 0x258]
push str._shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
call esi
test eax, eax
jne 0x43e6cd
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x154]
push str.netscape.exe
push eax
call fcn.004458c0
pop ecx
test eax, eax
pop ecx
je 0x43e6cd
lea ecx, [ebp - 0x154]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x50]
call fcn.0043f460
lea eax, [ebp - 0x35c]
lea ecx, [ebp - 0x50]
push eax
call fcn.0043fa32
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x50], 0x461a68
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x50]
mov word [eax + 0x14], dx
call fcn.0043f818
xor eax, eax
jmp 0x43e6d0
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x43e6d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00445bb0
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43e8a2
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x43e8a2
cmp dword [ebp - 0x14], 1
jne 0x43e8a2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x43e865
cmp byte [ebp - 0x148], al
je 0x43e865
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x43e857
lea eax, [ebp - 0x96c]
push 0x469a84
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x468e54
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x46969c
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x43e7bb
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.0043e356
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x43e8b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f1bf
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
and dword [edi], 0
cmp dword [ebp + 0xc], 0
jbe 0x43f386
jmp 0x43f1df
mov edi, dword [ebp + 0x10]
cmp dword [esi + 0x5c], 0x2710
jbe 0x43f1fa
cmp dword [esi + 0x54], 0
je 0x43f1fa
mov ecx, esi
call fcn.0043f393
lea ebx, [eax + eax*4]
jmp 0x43f1ff
mov ebx, 0x1f4
test ebx, ebx
jne 0x43f206
push 1
pop ebx
cmp byte [esi + 0x90], 0
je 0x43f21b
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x43f228
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, ebx
jb 0x43f23e
mov ecx, ebx
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, dword [ebp + 8]
add eax, ecx
push eax
push dword [esi + 4]
call fcn.0043e28d
add esp, 0x10
test eax, eax
jne 0x43f26b
mov eax, dword [esi]
push 0x7530
mov ecx, esi
call dword [eax]
test al, al
je 0x43f38f
cmp byte [esi + 0x90], 0
je 0x43f286
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x43f294
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43f386
add dword [edi], ecx
add dword [esi + 0x4c], ecx
add dword [esi + 0x54], ecx
add dword [esi + 0x60], ecx
sub eax, dword [ebp - 0x1c]
sbb edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
or eax, edx
mov dword [ebp - 8], edx
jne 0x43f2c5
and dword [ebp - 8], 0
mov dword [ebp - 0xc], 5
push 0
push 0x3e8
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00447400
mov edi, dword [esi + 0x8c]
mov ebx, dword [esi + 0x88]
cmp edx, edi
jl 0x43f31a
jg 0x43f2ed
cmp eax, ebx
jb 0x43f31a
push edi
push ebx
push edx
push eax
call fcn.00447350
add dword [esi + 0x5c], eax
add dword [esi + 0x68], eax
push edi
push ebx
push 0
push eax
call fcn.00447400
push 0xffffffffffffffff
push 0xfffffc18
push edx
push eax
call fcn.00447350
add dword [ebp - 0xc], eax
adc dword [ebp - 8], edx
push 0
push 0xf4240
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00447400
push edi
push ebx
push edx
push eax
call fcn.00447350
add dword [esi + 0x58], eax
mov edi, dword [esi + 0x58]
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp edi, ecx
jbe 0x43f35d
mov eax, edi
xor edx, edx
mov ebx, ecx
div ebx
xor edx, edx
add dword [esi + 0x5c], eax
mov eax, edi
mov edi, ecx
div edi
mov dword [esi + 0x58], edx
mov edi, dword [esi + 0x64]
cmp edi, ecx
jbe 0x43f378
mov eax, edi
xor edx, edx
mov ebx, ecx
div ebx
xor edx, edx
add dword [esi + 0x68], eax
mov eax, edi
div ecx
mov dword [esi + 0x64], edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ecx], eax
jb 0x43f1dc
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x43f388
Function at 0x43f393
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x6c]
cmp eax, 0x7530
jbe 0x43f3cb
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x64]
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x58], ecx
mov dword [esi + 0x64], eax
call edi
mov dword [esi + 0x6c], eax
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x43f3d7
mov eax, dword [esi + 0x54]
jmp 0x43f420
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x43f41e
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x54]
cmp ebx, eax
jbe 0x43f3fc
shr ebx, 1
shr edi, 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x54]
mov edi, dword [esi + 0x5c]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x43f3e0
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x43fa32
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x43fa84
push eax
call fcn.00444e5b
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43fa84
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4684cc
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x43fa88
xor al, al
jmp 0x43fae9
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x43fae7
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00444e5b
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x43fae7
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x43fad5
mov al, 1
pop ebx
leave
ret 4
Function at 0x44038a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x4403b4
test ecx, ecx
jne 0x4403be
test edx, edx
jne 0x4403be
mov eax, edi
jmp 0x44042a
cmp eax, 0xffffffff
jne 0x4403be
push 0xfffffffffffffffe
pop eax
jmp 0x44042a
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x44042a
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00444e70
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x4403ef
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x44040e
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x440485
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.0044048a
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x440471
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x440485
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x440396
pop edi
pop esi
pop ebx
pop ebp
ret