joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450628
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4507d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4507b4
mov dl, 1
mov eax, dword [0x412490]
call fcn.004034c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404280
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4507a3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043e568
test al, al
je 0x450796
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4507e4
lea eax, [ebp - 0x254]
call fcn.00408f40
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450796
xor eax, eax
push ebp
push 0x45078f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45081c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450778
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044f0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450778
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450796
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450699
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f6c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4507da
lea eax, [ebp - 0x260]
call fcn.00404280
ret

Function at 0x45111c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45cbdc]
cmp byte [eax + 0xa5], 0
jne 0x45118d
cmp dword [0x45cbf4], 0
jne 0x45114e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4510d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45cbf4], eax
cmp dword [0x45cbf0], 0
jne 0x451169
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45cbf0], eax
cmp dword [0x45cbf8], 0
jne 0x45118d
push esp
push 0
push 0
push 0x45107c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45cbf8], eax
pop edx
ret
Function at 0x451820
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45cbdc]
cmp dword [eax + 0x30], 0
je 0x4518ca
cmp dword [ebx + 0x94], 0
jne 0x4518c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4517b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4518c4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45188a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4518c4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004143dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451899
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452428
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45245d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404370
jmp 0x45246a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45357c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4535bd
mov eax, esi
call fcn.00439c08
test al, al
je 0x4535bd
mov eax, dword [ebx + 0x84]
call fcn.00439930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4535bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439930
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10e85
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [section..data]
test eax, eax
mov ecx, 0xbb40e64e
je 0x10e9c
cmp eax, ecx
jne 0x10eba
mov edx, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov eax, section..data
shr eax, 8
xor eax, dword [edx]
mov dword [section..data], eax
jne 0x10eba
mov eax, ecx
mov dword [section..data], eax
not eax
mov dword [0x10e04], eax
pop ebp
jmp 0x10702
Function at 0x473050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x45000]
push edi
jmp 0x47306a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x473071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x473060
mov eax, 1
add ebx, ebx
jne 0x473083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x473094
jne 0x4730b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4730b3
dec eax
add ebx, ebx
jne 0x4730a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x473078
add ebx, ebx
jne 0x4730af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x473105
xor ecx, ecx
sub eax, 3
jb 0x4730cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47313a
sar eax, 1
mov ebp, eax
jmp 0x4730d6
add ebx, ebx
jne 0x4730d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4730a4
inc ecx
add ebx, ebx
jne 0x4730e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4730a4
add ebx, ebx
jne 0x4730f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4730e6
jne 0x473102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4730e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x473124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x473116
jmp 0x473066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x473124
add edi, ecx
jmp 0x473066
pop esi
mov edi, esi
mov ecx, 0x2046
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x473142
cmp byte [edi], 0x11
jne 0x473142
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x473147
lea edi, [esi + 0x6f000]
mov eax, dword [edi]
or eax, eax
je 0x4731b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x79380]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x793a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x473174
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x793ac]
or eax, eax
je 0x4731b0
mov dword [ebx], eax
add ebx, 4
jmp 0x473191
call dword [esi + 0x793bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4731e7
cmp al, 0xef
ja 0x4731da
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4731bc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4731c9
mov ebp, dword [esi + 0x793b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47321b
sub esp, 0xffffff80
jmp 0x432105
Function at 0x4014e0
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x1000
push 0x40
call esi
mov ebp, eax
test ebp, ebp
je 0x4015b0
push 0x1000
push 0x40
call esi
mov ebx, eax
test ebx, ebx
jne 0x401516
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebp
pop ebx
ret
push edi
mov edi, str._GenSetup_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
push ebx
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_vsprintf]
mov edi, 0x4080c8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401600
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp edi, 4
jb 0x40163e
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, 4
mov ecx, 0x38751501
sub esi, eax
mov ebx, dword [eax]
xor edx, ecx
xor ebx, edx
add ecx, 0x1d951c
mov dword [eax], ebx
add eax, 4
lea ebx, [esi + eax]
cmp ebx, edi
jbe 0x401620
pop esi
pop ebx
xor eax, eax
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x4016b0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0xc], ebp
je 0x401778
mov ebx, dword [esp + 0x18]
cmp ebx, ebp
je 0x401778
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
push 0x80
push 2
push ebp
push ebp
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40172b
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push ebp
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401746
cmp dword [esp + 0x10], edi
jne 0x40176d
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
mov ebp, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x70
push 0x1d
jmp 0x401754
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x62
push 0x57
call fcn.004015c0
add esp, 0xc
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401790
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], 0x44
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 8]
neg eax
sbb eax, eax
push ecx
and eax, 0xa
mov ecx, dword [esp + 0x68]
mov word [esp + 0x4c], ax
mov eax, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x68]
push eax
push 0
push 0x20
push 0
push 0
push 0
push ecx
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
jne 0x401814
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
add esp, 0x58
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 4]
test eax, eax
je 0x401822
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x401868
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [esp], eax
jne 0x401868
mov ecx, dword [esp + 4]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401868
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
xor eax, eax
add esp, 0x58
ret
Function at 0x4018a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00401870
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
and ecx, 0xffff
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x40194e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x40196c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40198a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4019a8
push ebp
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4019c6
mov ecx, ebp
mov edi, ebx
mov edx, ecx
push 0x791a2cb7
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00401600
mov eax, dword [esp + 0x28]
push ebp
push ebx
push eax
call fcn.004016b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4019de
jmp 0x4019f1
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0xf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0xfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x106
push 8
call fcn.004015c0
add esp, 0xc
mov esi, eax
jmp 0x4019f1
push str.D:WorkGenSetupSetupStdAfx.cpp
push 0x114
push esi
call fcn.004015c0
add esp, 0xc
test ebx, ebx
je 0x4019fe
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x402010
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 0xc]
cmp eax, 0xffffffff
mov dword [ecx], eax
jne 0x402031
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x402800
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x4028dd
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4028dd
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402833
and eax, 0x10
cmp al, 0x10
je 0x4028a5
push ebx
call dword [sym.imp.MSVCRT.dll__strdup]
mov esi, eax
add esp, 4
test esi, esi
je 0x402881
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x402897
push esi
mov byte [eax], 0
call fcn.00402800
mov edi, eax
add esp, 4
test edi, edi
jne 0x4028ab
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4028c0
mov eax, edi
pop edi
pop esi
pop ebx
ret
push str.D:WorkGenSetupSetupZipUnzipUnzipper.cpp
push 0x24e
push 8
call fcn.004015c0
add esp, 0xc
mov edi, eax
test esi, esi
je 0x4028a5
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
ret
push str.D:WorkGenSetupSetupZipUnzipUnzipper.cpp
push 0x259
push edi
call fcn.004015c0
add esp, 0xc
jmp 0x402897
push str.D:WorkGenSetupSetupZipUnzipUnzipper.cpp
push 0x25f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015c0
add esp, 0xc
pop edi
pop esi
pop ebx
ret
push str.D:WorkGenSetupSetupZipUnzipUnzipper.cpp
push 0x242
push 0x57
call fcn.004015c0
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4029a0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4029cc
xor al, al
pop esi
add esp, 0x28
ret
lea ecx, [esp + 0x1c]
push ebx
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x402a41
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x402a41
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x402a41
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
add esp, 0x28
ret
Function at 0x403e90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x403e9f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x408164]
test eax, eax
je 0x403ead
call fcn.00403d40
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x403fa1
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x409758]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x409758]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x409758]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x409758]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x409758]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x409758]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x409758]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x409758]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x403ec7
pop edi
pop ebx
test edx, edx
je 0x403fc1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x409758]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x403fa5
not eax
pop esi
ret 0xc
Function at 0x14ef12c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x150ba79
lea esp, [esp + 0x3c]
ja 0x2756153
jmp 0x14eee40
clc
cmp ecx, dword [ebp - 4]

Function at 0x1507230
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1761980
invalid
bsf di, sp
ror cx, 0xc
push esp
mov esp, 0xc9c166fc
or al, 0x54
mov ebx, eax
bts ecx, ecx
call fcn.027576ac
nop
xor al, cl
dec esp
or ecx, edx
jae 0x1509edc
add dword [eax + 0x94cc132], edx
sal dword [ebx + 0x6b], 1
push ebx
inc eax
push ecx
in eax, 0x43
sbb ebp, ebp
add edx, dword [ebx]
in eax, dx
mov edx, 0x41606cd7
xor al, 0x23
add dl, byte [ecx]
inc ebx
shl dword [ebx - 0xce8adb0], 0x4a
sbb al, 0x93
or ebp, eax
insb byte es:[edi], dx
sti
jecxz 0x1509e68
jp 0x1509ed3
dec eax
nop
inc eax
jbe 0x1509e24
mov al, dh
wait
cli
clc
popal
mov al, byte [0x60bd7d13]
or cl, byte [ebp - 0x4c]
dec edi
invalid
jmp 0x1509eb4
jmp 0x1509eb4
scasb al, byte es:[edi]
xor cl, byte [esi + 0x4c72821c]
jno 0x1509e58
xor byte [edx + 0x4c], 0x64
jno 0x1509e58
wait
das
jno 0x1509eb0
sbb al, byte [edi]
loopne 0x1509e8d
retf 0x6363
iretd
je 0x1509eaa
pop ecx
fdivr dword [esi + 0xbc0fc05]
ffreep st(7)
mov esp, 0x8bcc879d
scasb al, byte es:[edi]
inc ebx
jbe 0x1509eab
rcr cl, cl
sahf
mov edi, 0x1d26de08
adc eax, 0xf7f2828a
imul ebx, ebx, 0xffffff99
push cs
daa
dec edi
cdq
fisubr word [edi]
xlatb
jnp 0x1509f75
add esi, dword [edi + 0x6b]
aas
mov bh, 0xa3
das
js 0x1509e9b
std
dec ebp
pop ecx
ret 0x9b4c
jbe 0x1509fdc
sahf
dec esp
dec edi
dec edi
cmpsd dword [esi], dword es:[edi]
mov esp, 0x47333773
sbb byte [edx], 0x93
sahf
pop ss
scasb al, byte es:[edi]
jg 0x1509ff2
mov edx, 0x18463689
sub eax, 0x221c3eb8
push ebp
add byte [eax + 9], cl
out 0x78, al
and ebx, ebp
jb 0x1509fba
push ds
push es
cmp eax, 0x897da6e4
arpl word ds:[esi - 0x6a], bp
jg 0x1509f70
invalid
mov eax, 0x2ae15591
push ebp
loope 0x1509fe9
cmp edi, dword [ebx - 0x57]
outsb dx, byte [esi]
jmp 0x543d0759
jae 0x1509f7f
mov dword [0xc326cc57], edi
jle 0x1509fbc
push eax
les esp, [esi + 0xbe2231d]
fmul st(5)
pop edx
sbb eax, 0xd80be223
int 0x5a
out dx, al
hlt
pop ebp
cmpsd dword [esi], dword es:[edi]
pop ebp
sub dword [edi - 0x78d8c44], esp
das
inc edx
lcall 0xad96, 0xc8bc4eee
xchg esi, eax
lodsd eax, dword [esi]
xor byte [edi], dl
jp 0x150a002
dec esi
and al, 0x1d
add eax, 0x17bbeb31
and byte [edx], ch
push ecx
imul ecx, edx, 8
stosd dword es:[edi], eax
jne 0x150a066
mov ah, 0xba
aas
bound eax, qword [ebx]
invalid
mov esi, 0x7e6d2dfd
mov cl, 0xb9
and eax, dword [eax - 0x7b]
loop 0x150a099
iretd
lea esp, [esp + 0xc]
jae 0x150819b
jmp 0x1509e56