joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f6fe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
push ebx
push esi
push edi
mov esi, ecx
push str.cabinet.dll
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
lea ebx, [esi + 0xec]
push 0x40
lea eax, [ebp - 0xa4]
push ebx
push eax
mov dword [ebp - 0x64], esi
call fcn.00419570
add esp, 0xc
add esi, 0x134
push str.D:is6Code_62xXTiSetupSetup.cpp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edi, edi
push edi
push ebx
call fcn.00419aa4
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
jne 0x40f8a7
cmp dword [ebp - 4], edi
jne 0x40f930
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00411730
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00411640
mov ebx, dword [ebp - 8]
add esp, 0x10
lea eax, [ebp - 0x60]
mov ecx, dword [ebx + 0x48]
push eax
call fcn.0040c8f5
mov esi, 0x41e9dc
lea eax, [ebp - 0xcc]
push esi
push eax
lea ecx, [ebp - 0x60]
call fcn.00401af4
mov ecx, eax
call fcn.00411a01
lea ecx, [ebp - 0xcc]
call fcn.00401925
push esi
lea ecx, [ebp - 0x44]
call fcn.00406c12
push esi
lea ecx, [ebp - 0x24]
call fcn.00406c12
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041191d
lea ecx, [ebp - 0x28c]
call fcn.0040429e
lea ecx, [ebp - 0x1ac]
call fcn.0040429e
push edi
lea eax, [ebp - 0x60]
sub esp, 0x1c
mov ecx, esp
push 1
push eax
call fcn.00406822
lea ecx, [ebp - 0x28c]
call fcn.004042f3
sub esp, 0x1c
lea eax, [ebp - 0x24]
mov esi, esp
push edi
push eax
mov ecx, esi
mov dword [esi + 0xc], 0x41b414
mov dword [esi + 0x14], 0x41b40c
call fcn.00402214
lea ecx, [ebp - 0x1ac]
mov dword [esi], 0x41b408
call fcn.0040e32e
mov esi, 0x3e8
lea eax, [ebp - 0x674]
push esi
push eax
lea ecx, [ebp - 0x28c]
call fcn.0040c114
cmp eax, edi
je 0x40f8d0
cmp eax, 0xffffffff
je 0x40f871
lea ecx, [ebp - 0x28]
push edi
push ecx
push eax
lea eax, [ebp - 0x674]
push eax
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40f83a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1ac]
mov esi, eax
call fcn.00404415
lea ecx, [ebp - 0x28c]
call fcn.00404415
lea ecx, [ebp - 0x60]
call fcn.00401925
lea ecx, [ebp - 0x24]
call fcn.00401925
lea ecx, [ebp - 0x44]
call fcn.00401925
lea eax, [ebp - 0xa4]
push 0x40
push eax
mov eax, dword [ebp - 0x64]
add eax, 0xec
push eax
call fcn.00419570
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00410d36
mov eax, esi
jmp 0x40f95a
lea ecx, [ebp - 0xec]
call fcn.00410d02
lea ecx, [ebp - 0x1ac]
call fcn.004070ea
lea eax, [ebp - 0x44]
push 0x358
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.0040f20f
push eax
mov ecx, ebx
call fcn.00410b78
lea ecx, [ebp - 0x1ac]
call fcn.00404415
lea ecx, [ebp - 0x28c]
call fcn.00404415
lea ecx, [ebp - 0x60]
call fcn.00401925
lea ecx, [ebp - 0x24]
call fcn.00401925
lea ecx, [ebp - 0x44]
call fcn.00401925
lea eax, [ebp - 0xa4]
push 0x40
push eax
mov eax, dword [ebp - 0x64]
add eax, 0xec
push eax
call fcn.00419570
add esp, 0xc
cmp dword [ebp - 4], edi
je 0x40f958
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
and byte [ebp - 0x148], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x147]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x411589
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0xc], 0x104
mov eax, str.CommonFilesDir
je 0x411569
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x148]
push ecx
push esi
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x148], 0
je 0x4115cf
lea eax, [ebp - 0x148]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 0x41b414
mov dword [ebp - 0x30], edi
call fcn.00401833
mov esi, 0x41b408
push 0x41e1d0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 1
call fcn.00406c12
jmp 0x411600
lea eax, [ebp - 0x148]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0x41b414
mov dword [ebp - 0x14], edi
call fcn.00401833
mov esi, 0x41b408
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x41b414
mov dword [ecx + 0x14], edi
call fcn.00402214
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x41162c
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x28]
call fcn.00401925
test byte [ebp - 4], 1
je 0x41163a
lea ecx, [ebp - 0x44]
call fcn.00401925
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x411640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
mov dword [ebp - 4], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x140], 0
je 0x4116bf
lea eax, [ebp - 0x140]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x41b414
mov dword [ebp - 0xc], edi
call fcn.00401833
mov esi, 0x41b408
push 0x41e1d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.00406c12
jmp 0x4116f0
lea eax, [ebp - 0x140]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x41b414
mov dword [ebp - 0x28], edi
call fcn.00401833
mov esi, 0x41b408
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x41b414
mov dword [ecx + 0x14], edi
call fcn.00402214
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x41171c
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00401925
test byte [ebp - 4], 1
je 0x41172a
lea ecx, [ebp - 0x20]
call fcn.00401925
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x411730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push 0x104
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [ebp - 0x140], 0
je 0x4117af
lea eax, [ebp - 0x140]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x41b414
mov dword [ebp - 0xc], edi
call fcn.00401833
mov esi, 0x41b408
push 0x41e1d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.00406c12
jmp 0x4117e0
lea eax, [ebp - 0x140]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x41b414
mov dword [ebp - 0x28], edi
call fcn.00401833
mov esi, 0x41b408
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x41b414
mov dword [ecx + 0x14], edi
call fcn.00402214
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x41180c
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00401925
test byte [ebp - 4], 1
je 0x41181a
lea ecx, [ebp - 0x20]
call fcn.00401925
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4121de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push 0x104
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x140], 0
je 0x41225d
lea eax, [ebp - 0x140]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x41b414
mov dword [ebp - 0xc], edi
call fcn.00401833
mov esi, 0x41b408
push 0x41e1d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.00406c12
jmp 0x41228e
lea eax, [ebp - 0x140]
mov edi, 0x41b40c
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x41b414
mov dword [ebp - 0x28], edi
call fcn.00401833
mov esi, 0x41b408
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x41b414
mov dword [ecx + 0x14], edi
call fcn.00402214
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x4122ba
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00401925
test byte [ebp - 4], 1
je 0x4122c8
lea ecx, [ebp - 0x20]
call fcn.00401925
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x412f2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push esi
push edi
push 5
push eax
push dword [esp + 0x18]
mov esi, ecx
and dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
mov dword [esi + 4], eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp dword [esi], edi
je 0x412f7b
mov ecx, esi
call fcn.004147e0
mov dword [esi], edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi + 8]
call fcn.00419570
mov eax, dword [esi + 8]
add esp, 0xc
cmp word [eax + 2], 0xffff
jne 0x412fb3
or dword [eax + 0xc], 0x48
mov eax, esi
pop edi
pop esi
ret 8
Function at 0x41581c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
push dword [esi + 4]
sub eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 0x10]
mov dword [esi + 0x14], eax
push dword [esi + 0xc]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x18]
xor ebx, ebx
cmp eax, dword [ebp - 4]
je 0x415889
cmp eax, ebx
je 0x415883
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x18], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x18], eax
push dword [esi + 0x18]
push dword [esi + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push ebx
push ebx
push dword [esi + 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x10
call dword [sym.imp.GDI32.dll_GetStockObject]
push ebx
mov dword [esi + 0x20], eax
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0x1e
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
mov cl, byte [str.Sjufti_Qbsjli_vSbkfti_Sbnbdiboesbo_vBebn_Tbqfl]
lea eax, [esi + 0x24]
cmp cl, bl
je 0x415910
mov esi, str.Sjufti_Qbsjli_vSbkfti_Sbnbdiboesbo_vBebn_Tbqfl
sub esi, eax
dec cl
mov byte [eax], cl
mov cl, byte [esi + eax + 1]
inc eax
cmp cl, bl
jne 0x415903
pop edi
mov byte [eax], bl
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x417012
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.004171ae
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4170c6
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4170b8
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x41707c
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x4170a5
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x4170b2
cmp byte [ebp - 0x838], bl
je 0x4170b8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x4170c6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00416cc5
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x4170eb
cmp dword [ebp + 0xc], 4
jne 0x417117
cmp dword [ebp - 0x14], ebx
jne 0x417117
mov ax, word [edi + 0x14]
cmp ax, 3
jne 0x417103
mov ecx, edi
call fcn.0041756e
jmp 0x417117
cmp ax, 4
mov ecx, edi
jne 0x417112
call fcn.0041774f
jmp 0x417117
call fcn.00417ada
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x41756e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00419430
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41773c
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 0x41773c
cmp dword [ebp - 0x14], 1
jne 0x41773c
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 0x4176ff
cmp byte [ebp - 0x148], al
je 0x4176ff
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 0x4176f1
lea eax, [ebp - 0x96c]
push 0x41f350
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x41f34c
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 0x41ed08
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x417655
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.00416e63
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x41774a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41850a
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 0x418542
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 0x41854e
mov eax, dword [esi + 0x54]
jmp 0x418597
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x418595
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x54]
cmp ebx, eax
jbe 0x418573
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 0x418557
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x418b25
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 0x418b77
push eax
call fcn.00411cd0
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 0x418b77
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x41f614
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x418b7b
xor al, al
jmp 0x418bdc
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 0x418bda
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00411cd0
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x418bda
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 0x418bc8
mov al, 1
pop ebx
leave
ret 4
Function at 0x418d13
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
or ebx, 0xffffffff
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp dword [ebp - 4], esi
je 0x418d55
lea ecx, [ebp - 4]
call fcn.00410d02
mov dword [ebp - 4], esi
push edi
push edi
push edi
push 2
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp dword [ebp - 8], esi
je 0x418d76
lea ecx, [ebp - 8]
call fcn.004055d3
mov dword [ebp - 8], esi
cmp dword [ebp - 8], edi
jne 0x418d9a
cmp dword [ebp - 4], ebx
je 0x418e49
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jmp 0x418e42
push edi
push edi
push edi
push 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x418dc7
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x418e3e
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
jmp 0x418e3e
cmp word [edi], 0x5a4d
jne 0x418df7
mov esi, dword [edi + 0x3c]
push pe_nt_image_headers32
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x418e24
cmp dword [esi], 0x4550
jne 0x418e24
push esi
push edi
call fcn.00418ccd
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x418e0a
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 8], 0
je 0x418e1c
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x418e37
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 8], 0
je 0x418e49
push dword [ebp - 8]
call esi
xor eax, eax
jmp 0x418e1f

Function at 0x419241
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, 0x104
lea eax, [ebp - 0x104]
push esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor ecx, ecx
xor eax, eax
cmp ecx, esi
pop esi
jae 0x419275
cmp byte [ebp - 0x104], cl
je 0x419275
push 1
pop eax
push eax
push 0
push 0x465
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
leave
ret
Function at 0x419288
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.USER32.dll_CharNextA]
push edi
mov ebx, eax
call esi
cmp ebx, 1
jle 0x4192cb
mov cl, byte [eax]
cmp cl, 0x3a
jne 0x4192d2
mov cl, byte [edi]
cmp cl, 0x61
jl 0x4192c1
cmp cl, 0x7a
jle 0x4192fb
cmp cl, 0x41
jl 0x4192cb
cmp cl, 0x5a
jle 0x4192fb
xor al, al
pop edi
pop esi
pop ebx
leave
ret
cmp byte [edi], 0x5c
jne 0x4192cb
cmp cl, 0x5c
jne 0x4192cb
xor edi, edi
push eax
call esi
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4192e9
inc edi
cmp edi, 2
je 0x4192fb
test cl, cl
jne 0x4192de
cmp edi, 2
je 0x4192fb
cmp byte [eax], cl
jne 0x4192cb
push eax
call esi
and byte [ebp - 0x104], 0
push 0x40
mov ebx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, ebx
sub eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ebp - 0x104]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4192cb
shr eax, 4
and al, 1
mov byte [ebp + 0xb], al
je 0x4192cb
mov al, byte [ebx]
test al, al
je 0x41939c
movsx eax, al
cmp eax, 0x3a
jg 0x419375
je 0x4192cb
cmp eax, 0x22
je 0x4192cb
cmp eax, 0x2a
je 0x4192cb
cmp eax, 0x2f
jmp 0x41938f
cmp eax, 0x3c
je 0x4192cb
cmp eax, 0x3d
jle 0x419395
cmp eax, 0x3f
jle 0x4192cb
cmp eax, 0x7c
je 0x4192cb
push ebx
call esi
mov ebx, eax
jmp 0x41934a
mov al, 1
jmp 0x4192cd
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219