joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f9c7
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x46bc68
call fcn.004516bd
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.00402552
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x42fa03
mov eax, dword [ebx]
jmp 0x42fa05
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x42fabd
push str.System_error
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x461
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00402552
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00402897
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.00436725
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.0041c4f8
lea eax, [ebp - 0x3c]
mov dword [esp], 0x4864a4
push eax
call fcn.00449e71
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.004128e4
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x42fad9
mov edx, dword [ebx]
jmp 0x42fadb
mov edx, ebx
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x42fb79
push str.System_error
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00402552
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00402897
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.00436725
mov byte [ebp - 4], 9
jmp 0x42fa9f
mov eax, ebx
call fcn.00451740
ret 4
Function at 0x431992
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x469ff8
call fcn.004516bd
cmp dword [0x49a024], 1
mov ebx, ecx
jg 0x4319ed
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.004089f6
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x49a024
call fcn.0042432e
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00403353
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.0044b630
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.0044b630
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x431a31
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x431a41
mov esi, ebx
call fcn.00431ed2
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x431a50
mov esi, dword [eax]
jmp 0x431a52
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x431a5e
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.0041405a
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.0040ecb7
cmp dword [ebx + 0x14], 0x10
jb 0x431a97
mov ecx, dword [ebx]
jmp 0x431a99
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x431ace
push dword [ebp - 0x24]
call fcn.00449e71
pop ecx
mov al, bl
call fcn.00451740
ret
Function at 0x4330d2
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x466548
call fcn.00451654
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.00449e71
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00449e71
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00449e71
mov eax, esi
mov dword [esp], 0x409
call fcn.00449e71
pop ecx
mov eax, esi
call fcn.0045172c
ret
Function at 0x443268
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x468966
call fcn.00451654
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x4432be
push 0xc8
lea esi, [ebp - 0x20]
call fcn.00449e71
push 0x486924
mov eax, esi
push eax
call fcn.00449e71
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.0041edb8
push 0x481204
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00449e71
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00441fd4
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041b812
push 1
lea esi, [ebp]
call fcn.0041b812
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00449589
add ebp, 0x244
leave
ret

Function at 0x449589
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4956a0]
jne 0x449593
repz ret
jmp fcn.00453a75

Function at 0x449e71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x449e80
pop dword [ebp - 0x48]
mov eax, 0x449e80
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x4b8f9
push 0
mov eax, 0xd5408405
add eax, 0x2b069cb3
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x496b
xor edx, edx
add edx, eax
mov edi, 0x40de0855
add edi, 0xbf709bab
add edi, dword [ebp - 0x48]
mov esi, 0xebf39a7e
sub esi, 0xab90d31c
mov dword [ebp - 0x40], 0x14fc8ae
mov ebx, dword [edi]
sub dword [ebp - 8], 0x29259579
xor ebx, esi
mov dword [edx], ebx
add dword [ebp - 0xc], esi
add edx, 0xa2325380
add edx, 0x5dcdac84
add edi, 4
loop 0x449ed6
add eax, 0x8ed404bb
add eax, 0x712d13c4
mov ebx, eax
add eax, 0x4352003
add eax, 0xfbcae002
mov ecx, 0xeb11b051
sub ecx, 0xead1b051
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4049c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404a19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404a19
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404a08
cmp esi, edx
jae 0x404a19
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4049f6
cmp esi, edx
jae 0x404a19
cmp word [esi], 0
je 0x404a19
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x41d5a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov ebx, ecx
movlpd qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], ebx
push ecx
push eax
mov eax, dword [ebx + 8]
push 0x133c
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
push dword [eax + 4]
mov dword [ebp - 0x24], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x14]
xor edx, edx
mov edi, dword [ebx + 0x10]
mov ecx, eax
mov esi, dword [ebp - 0xc]
sub ecx, edi
add ecx, 3
mov dword [ebp - 0x38], esi
shr ecx, 2
xor ebx, ebx
cmp edi, eax
cmova ecx, edx
test ecx, ecx
je 0x41d628
mov esi, ecx
nop
mov eax, dword [edi]
push 0
push dword [eax + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
lea edi, [edi + 4]
cmp ebx, esi
jne 0x41d610
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x41d743
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x20], 0
je 0x41d65a
cmp byte [esi + 0xd65], 0
jne 0x41d667
cmp byte [esi + 0xd64], 0
jne 0x41d667
mov eax, dword [esi + 0xd60]
mov dword [eax + 0x38], 1
jmp 0x41d667
mov eax, dword [esi + 0xd60]
mov dword [eax + 0x38], 0
mov ecx, dword [esi + 0xd5c]
test ecx, ecx
je 0x41d6b9
mov eax, dword [ecx + 0x2ac]
mov dword [ecx + 0x2b0], eax
mov edx, dword [ecx + 0x1b0]
mov dword [ecx + 0x2b8], 0
test edx, edx
je 0x41d69d
mov eax, dword [edx + 0x64]
mov dword [edx + 0x68], eax
mov eax, dword [edx + 0x78]
mov dword [edx + 0x7c], eax
push 1
push 0
push dword [ecx + 0x44]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0xd5c]
test ecx, ecx
je 0x41d6b9
call fcn.0044baa0
mov ecx, esi
call fcn.0041d3c0
mov eax, dword [esi + 0x44]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0xc60]
push esi
push 0x944
mov dword [ebp - 0x28], 0xfffffc16
push dword [eax + 0x44]
call edi
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0xc60]
push esi
push 0x944
mov dword [ebp - 0x28], 0xfffffc15
push dword [eax + 0x44]
call edi
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0xc60]
push esi
push 0x944
mov dword [ebp - 0x28], 0xfffffc17
push dword [eax + 0x44]
call edi
mov ecx, dword [esi + 0xc64]
push esi
call fcn.0041dc10
push 5
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e577
mov esp, ebp
pop ebp
ret 4
Function at 0x425e90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497198
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
call fcn.00404b00
mov ecx, eax
test ecx, ecx
je 0x42601c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
call fcn.00409970
mov ecx, 0x30
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x14]
test ebx, ebx
mov eax, 0x20
mov dword [ebp - 0x50], 0
cmovne eax, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x1132
push dword [esi + 0xd58]
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x58], 0xffff0002
mov dword [ebp - 0x54], 0xd
mov dword [ebp - 0x48], 0x32
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea eax, [esi + 0x108c]
mov esi, dword [eax]
mov dword [ebp - 0x64], eax
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x425fb4
mov edx, dword [ebp - 0x18]
cmp dword [ecx + 0x10], edx
jae 0x425fa1
mov ecx, dword [ecx + 8]
jmp 0x425fa5
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x425f97
cmp esi, dword [eax]
je 0x425fb4
cmp edx, dword [esi + 0x10]
jae 0x425fdc
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x60]
push ecx
push ecx
mov ecx, eax
call fcn.00407880
mov ecx, dword [ebp - 0x64]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x60]
push eax
call fcn.00426d70
mov esi, dword [ebp - 0x60]
mov dword [esi + 0x14], ebx
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425ffe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004048d0
int3
Function at 0x42bf80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x4a1d44
push eax
push esi
mov dword [edi], 0x4a6630
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x42c07d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42c07d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x42c07d
push dword [ebp - 8]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x42c07d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42c076
push dword [ebp - 8]
push ebx
push eax
call fcn.004819b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ebx, [edi + 4]
push ebx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x42c076
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x42c06f
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
movups xmmword [esi], xmm0
mov eax, dword [ebx]
push ecx
push eax
mov dword [esi], 0x4a6638
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov dword [edi + 8], esi
jmp 0x42c07d
xor esi, esi
mov dword [edi + 8], esi
jmp 0x42c07d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [edi], 0x4a6640
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047e577
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42cea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00480150
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 5
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x13c], 0x10
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
push 0
mov dword [ebp - 0x12c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0
mov dword [ebp - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], str.SysMenuClass32
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x144], 0x42ead0
cmp eax, 5
jb 0x42cf5f
cmp dword [ebp - 0x118], 1
jae 0x42cf64
cmp eax, 6
jb 0x42cf70
mov dword [ebp - 0x148], 0x20000
jmp 0x42cf7a
mov dword [ebp - 0x148], 0
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
ret
Function at 0x4431f0
Capabilities:
Check os version
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], eax
mov eax, dword fs:[0x2c]
push ebx
push esi
mov ebx, ecx
mov esi, dword [eax]
mov eax, dword [0x4ba5d4]
push edi
mov dword [ebp - 0x21c], ebx
cmp eax, dword [esi + 4]
jle 0x443261
push 0x4ba5d4
call fcn.0047e721
add esp, 4
cmp dword [0x4ba5d4], 0xffffffff
jne 0x443261
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
push 0x4ba5d4
sbb eax, eax
inc eax
mov dword [0x4ba5c8], eax
call fcn.0047e6d7
add esp, 4
mov eax, dword [0x4ba5d0]
cmp eax, dword [esi + 4]
jle 0x4432ad
push 0x4ba5d0
call fcn.0047e721
add esp, 4
cmp dword [0x4ba5d0], 0xffffffff
jne 0x4432ad
push str.TaskDialog
push str.COMCTL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ba5d0
mov dword [0x4ba5cc], eax
call fcn.0047e6d7
add esp, 4
mov esi, dword [ebx + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
call edi
test eax, eax
jne 0x44332e
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea eax, [ebp - 0x210]
push eax
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
jne 0x4432ed
test esi, esi
jne 0x4432c4
mov ebx, dword [ebp - 0x21c]
cmp dword [0x4ba5c8], 0
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x214], 1
je 0x4433e0
mov edi, dword [0x4ba5cc]
test edi, edi
je 0x4433e0
mov eax, esi
xor edx, edx
and eax, 0xf
cmp eax, 4
ja case.0x443327.2
jmp dword [eax*4 + 0x44340c]
push 0x105
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x4432f3
mov ecx, 1
jmp 0x44336b
mov ecx, 9
jmp 0x44336b
mov ecx, 6
jmp 0x44336b
mov ecx, 0xe
jmp 0x44336b
mov ecx, dword [ebp - 0x218]
mov edx, 1
mov eax, esi
and eax, 0xf0
add eax, 0xfffffff0
cmp eax, 0x30
ja case.0x443381.17
movzx eax, byte [eax + 0x443430]
jmp dword [eax*4 + 0x443420]
mov eax, 0xfffe
jmp 0x44339f
mov eax, 0xffff
jmp 0x44339f
mov eax, 0xfffd
jmp 0x44339f
xor eax, eax
test edx, edx
jne 0x4433e0
lea edx, [ebp - 0x214]
push edx
push eax
push ecx
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push 0
push eax
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call edi
test eax, eax
jne 0x4433e0
mov eax, dword [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
ret 0xc
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e577
mov esp, ebp
pop ebp
ret 0xc
Function at 0x459c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
mov ecx, dword [esi]
mov dword [ebp - 8], ecx
cmp ecx, esi
je 0x459cad
push ebx
push edi
nop dword [eax + eax]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov al, byte [ecx + 0x10]
sub ebx, edx
add ebx, 3
mov dword [ebp - 0xc], 0
and al, 3
shr ebx, 2
shl al, 5
cmp edx, dword [ecx + 0x18]
mov dword [ebp - 0x10], 0
cmova ebx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x459c9c
mov esi, dword [ebp - 0x10]
mov edi, dword [edx]
lea edx, [edx + 4]
movzx ebx, byte [ecx + 0x10]
inc esi
shl bl, 5
xor bl, byte [edi + 8]
and bl, 0x60
xor byte [edi + 8], bl
mov edi, dword [edx - 4]
movzx ebx, byte [edi + 8]
xor bl, al
and bl, 0x1f
xor byte [edi + 8], bl
lea ebx, [eax + 1]
xor bl, al
and bl, 0x1f
xor al, bl
cmp esi, dword [ebp - 0xc]
jne 0x459c65
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.0040ac00
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x459c30
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047e577
mov esp, ebp
pop ebp
ret 4
Function at 0x45e630
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x20], esi
je 0x45e666
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
ret 4
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x45e715
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
push ecx
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45e6fb
cmp dword [ebp - 0x10], edi
jg 0x45e6fb
mov ecx, dword [ebp - 0x14]
jl 0x45e6b0
cmp ecx, 0xa00000
ja 0x45e6fb
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x34], eax
lea eax, [ebp - 0x15]
push eax
push ecx
push dword [ebx + 0x30]
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], edi
push eax
lea ecx, [ebx + 0x30]
mov byte [ebp - 0x15], 0
call fcn.00420f00
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp - 0x14]
push dword [ebx + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45e6fe
mov eax, dword [ebp - 0xc]
mov ecx, 1
cmp eax, dword [ebp - 0x14]
cmove edi, ecx
jmp 0x45e6fe
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x45e712
mov ecx, ebx
call fcn.0045e410
mov edi, eax
mov esi, dword [ebp - 0x20]
lea edx, [ebx + 0x10]
test edi, edi
jne 0x45e75f
push edi
push 0x4a1d20
mov ecx, edx
call fcn.00408870
mov byte [ebx + 0x28], 0
mov dword [ebx + 0x2c], edi
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x34], eax
mov edx, dword [ebx + 0x4c]
push ecx
mov ecx, dword [ebx + 0x48]
call fcn.00424930
mov eax, dword [ebx + 0x48]
xorps xmm0, xmm0
mov dword [ebx + 0x4c], eax
add esp, 4
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x58], eax
movups xmmword [ebx], xmm0
jmp 0x45e77c
mov eax, esi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e764
sub eax, ebx
mov ecx, edx
sar eax, 1
push eax
push esi
call fcn.00408870
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e577
mov esp, ebp
pop ebp
ret 4