joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be600
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd0a050]
xor edx, edx
cmp eax, edx
jne 0x4be626
xor eax, eax
mov byte [eax + 0xd09f50], al
inc eax
cmp eax, 0x100
jl 0x4be60e
mov dword [0xd0a050], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd09f50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4be6b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4be68a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4be658
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4be730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4be783
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4be76a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c5100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff11e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004c5a20
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xca4204
call fcn.004eccfc
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4c5193
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004eccfc
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4c518c
push 0
mov ecx, eax
call fcn.004bc230
mov dword [esi + 0xc], eax
jmp 0x4c5195
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4c5195
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x407e7e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43cac0]
jne 0x407e88
repz ret
jmp fcn.00409a5c

Function at 0x408f44
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43cac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004058b1
and dword [ebp - 0x14], 0
cmp dword [0x45413c], 0
mov dword [ebp - 0x18], eax
jne 0x408ff7
push 0x402abc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40909f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ab0
push ebx
call edi
test eax, eax
je 0x40909f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402aa0
push ebx
mov dword [0x45413c], eax
call edi
push eax
call esi
push 0x402a8c
push ebx
mov dword [0x454140], eax
call edi
push eax
call esi
push 0x402a70
push ebx
mov dword [0x454144], eax
call edi
push eax
call esi
mov dword [0x45414c], eax
test eax, eax
je 0x408ff7
push 0x402a58
push ebx
call edi
push eax
call esi
mov dword [0x454148], eax
mov eax, dword [0x454148]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409050
cmp dword [0x45414c], ecx
je 0x409050
push eax
call esi
push dword [0x45414c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409050
test ebx, ebx
je 0x409050
call edi
test eax, eax
je 0x409047
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409047
test byte [ebp - 8], 1
jne 0x409050
or dword [ebp + 0x10], 0x200000
jmp 0x409083
mov eax, dword [0x454140]
cmp eax, dword [ebp - 0x18]
je 0x409083
push eax
call esi
test eax, eax
je 0x409083
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409083
mov eax, dword [0x454144]
cmp eax, dword [ebp - 0x18]
je 0x409083
push eax
call esi
test eax, eax
je 0x409083
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45413c]
call esi
test eax, eax
je 0x40909f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4090a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407e7e
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x19724d56
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5f021394
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x13441e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2aa000]
push edi
or ebp, 0xffffffff
jmp 0x1344202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1344209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13441f8
mov eax, 1
add ebx, ebx
jne 0x134421b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x134422c
jne 0x134424b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x134424b
dec eax
add ebx, ebx
jne 0x1344238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1344210
add ebx, ebx
jne 0x1344247
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x134429d
xor ecx, ecx
sub eax, 3
jb 0x1344263
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13442d2
sar eax, 1
mov ebp, eax
jmp 0x134426e
add ebx, ebx
jne 0x134426e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x134423c
inc ecx
add ebx, ebx
jne 0x134427c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x134423c
add ebx, ebx
jne 0x1344289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x134427e
jne 0x134429a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x134427e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x13442bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x13442ae
jmp 0x13441fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x13442bc
add edi, ecx
jmp 0x13441fe
pop esi
mov edi, esi
mov ecx, 0x529d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x13442da
cmp byte [edi], 0x1e
jne 0x13442da
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 0x13442df
lea edi, [esi + 0xf41000]
mov eax, dword [edi]
or eax, eax
je 0x1344357
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf4fa9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf4fbb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x134430c
mov ecx, edi
jns 0x134433b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf4fbb8]
or eax, eax
je 0x1344351
mov dword [ebx], eax
add ebx, 4
jmp 0x1344329
call dword [esi + 0xf4fbc8]
mov ebp, dword [esi + 0xf4fbbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x134438b
sub esp, 0xffffff80
jmp 0x4aa7fb
Function at 0x404586
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x58b377
call fcn.00565102
lea ecx, [ebp - 0x34]
call fcn.005538e4
and dword [ebp - 4], 0
mov ecx, 0x613908
call fcn.00556fad
mov ebx, eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
lea ecx, [ebp - 0x34]
call fcn.00553d63
lea ecx, [ebp - 0x44]
call fcn.005538e4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00401b6f
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], vtable.CBitmap.0
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.00553533
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f28
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0055b537
mov esi, dword [ebp - 0x48]
sub esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
sub edi, dword [ebp - 0x54]
push esi
push edi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004049e3
push dword [ebp - 0x18]
push dword [ebp - 0x40]
call fcn.00554035
push 0xcc0020
mov dword [ebp - 0x14], eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x30]
push esi
push edi
push eax
push eax
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40467a
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x18]
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40470f
mov ebx, vtable.CPalette.0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
push 0x26
mov byte [ebp - 4], 4
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, 0x100
je 0x4046de
push 0x408
call fcn.00551daf
mov edi, eax
pop ecx
mov eax, 0x300
mov word [edi], ax
lea eax, [edi + 4]
push eax
push 0xff
push esi
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
push edi
mov word [edi + 2], ax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
lea ecx, [ebp - 0x24]
call fcn.00553fa6
push edi
call fcn.00551dba
pop ecx
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
call fcn.0040476c
mov edi, eax
cmp edi, esi
je 0x4046f9
push dword [ebp + 8]
call fcn.00404913
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
call fcn.00401f78
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x40471a
xor eax, eax
jmp 0x40471d
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x40]
call fcn.00554035
lea ecx, [ebp - 0x1c]
call fcn.00553fd2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040220d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.CBitmap.0
call fcn.00401f78
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00553de2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00553de2
call fcn.005651da
ret 4
Function at 0x404913
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x404923
xor eax, eax
jmp 0x404982
mov cl, byte [edi + 0xe]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
xor esi, esi
mov eax, 0x4d42
inc esi
push edi
shl esi, cl
mov word [ebp - 0x10], ax
call ebx
push dword [ebp + 8]
add eax, 0xe
mov dword [ebp - 0xe], eax
xor eax, eax
mov word [ebp - 0xa], ax
mov word [ebp - 8], ax
mov eax, dword [edi]
lea eax, [eax + esi*4 + 0xe]
push 0xe
mov dword [ebp - 6], eax
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.0056377c
add esp, 0x10
push dword [ebp + 8]
push edi
call ebx
push eax
push 1
push edi
call fcn.0056377c
add esp, 0x10
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4
Function at 0x408b49
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push edi
push eax
call fcn.004093ee
and dword [ebp - 0x20], 0
pop ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 0x14], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x408c8f
push ebx
push edi
call fcn.00551daf
pop ecx
mov ebx, eax
push ebx
push edi
push 0
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x408c87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5ba4ac
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408c87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5ba4b0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408c69
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.StringFileInfo_04x_04xFileVersion
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408c22
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push 0x100
push eax
call fcn.00460090
add esp, 0xc
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.StringFileInfo_04x_04xCompanyName
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408c69
push dword [ebp - 0x14]
lea eax, [esi + 0x110]
push 0x100
push eax
call fcn.00460090
add esp, 0xc
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
push ebx
call fcn.00551dba
pop ecx
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop edi
call fcn.00562d51
add ebp, 0x74
leave
ret 4
Function at 0x409cb9
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
cmp dword [esi + 0xa8], 0
je 0x409cc7
xor eax, eax
pop ecx
ret
lea eax, [esp]
push eax
push 4
push esi
push 0x409d61
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
je 0x409cc3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0xa8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
pop ecx
ret

Function at 0x409d8d
Capabilities:
Create thread
Resume thread

Disassembly:
push 8
mov eax, 0x58b9ad
call fcn.00565102
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x8c8]
cmp dword [eax + 0xa60], 1
je 0x409f45
mov ecx, dword [eax + 0xa64]
xor ebx, ebx
cmp ecx, ebx
je 0x409f45
push eax
call fcn.00425d36
cmp dword [esi + 0xd68], ebx
jne 0x409ec3
cmp dword [esi + 0xd6c], ebx
jne 0x409ec3
mov ecx, dword [esi + 0xd80]
cmp ecx, ebx
je 0x409e2a
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x409e08
mov eax, dword [esi + 0xd80]
mov dword [eax + 8], 7
mov ecx, dword [esi + 0xd80]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [esi + 0xd80]
mov ebx, 0x17013200
call fcn.00402477
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xd80]
mov dword [eax + 0xc], 3
jmp 0x409e7d
push 0x54
call fcn.00551d80
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x409e45
mov edi, eax
call fcn.0040237b
jmp 0x409e47
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xd80], eax
mov ebx, 0x17013200
mov esi, eax
call fcn.00402477
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd80]
mov dword [ecx + 0xc], 3
mov eax, dword [eax + 0xd80]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xd80]
xor eax, eax
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0xd80]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi + 0xd80]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0xd80]
mov dword [eax + 8], 1
mov ecx, dword [esi + 0xd80]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xd80]
cmp dword [ecx + 8], 6
jne 0x409ead
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0x8c8]
xor ecx, ecx
mov word [eax + 0x404], cx
cmp dword [ebp + 0xc], ebx
je 0x409ef3
push dword [ebp + 0xc]
mov eax, dword [esi + 0x8c8]
add eax, 0x404
push 0x100
push eax
call fcn.00460100
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 4
push dword [esi + 0x8c8]
push 0x40a111
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0xac]
mov dword [edi], eax
cmp eax, ebx
je 0x409f2b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x409f45
mov eax, dword [0x6139b8]
cmp eax, ebx
je 0x409f3a
push ebx
call fcn.00410874
mov eax, dword [esi + 0x8c8]
call fcn.00425d74
call fcn.005651da
ret 8
Function at 0x409f4d
Capabilities:
Create thread
Resume thread

Disassembly:
push 8
mov eax, 0x58b9ad
call fcn.00565102
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x8c8]
mov ecx, dword [eax + 0xa64]
xor ebx, ebx
cmp ecx, ebx
je 0x40a107
push eax
call fcn.00425d36
cmp dword [esi + 0xd68], ebx
jne 0x40a076
cmp dword [esi + 0xd6c], ebx
jne 0x40a076
mov ecx, dword [esi + 0xd80]
cmp ecx, ebx
je 0x409fdd
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x409fbb
mov eax, dword [esi + 0xd80]
mov dword [eax + 8], 7
mov ecx, dword [esi + 0xd80]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [esi + 0xd80]
mov ebx, 0x17013200
call fcn.00402477
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xd80]
mov dword [eax + 0xc], 3
jmp 0x40a030
push 0x54
call fcn.00551d80
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x409ff8
mov edi, eax
call fcn.0040237b
jmp 0x409ffa
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xd80], eax
mov ebx, 0x17013200
mov esi, eax
call fcn.00402477
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd80]
mov dword [ecx + 0xc], 3
mov eax, dword [eax + 0xd80]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xd80]
xor eax, eax
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0xd80]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi + 0xd80]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0xd80]
mov dword [eax + 8], 1
mov ecx, dword [esi + 0xd80]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xd80]
cmp dword [ecx + 8], 6
jne 0x40a060
mov esi, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov eax, dword [esi + 0x8c8]
mov edi, 0x200
add eax, 0x604
push edi
push eax
call fcn.00460100
push dword [ebp + 0x10]
mov eax, dword [esi + 0x8c8]
add eax, 4
push edi
push eax
call fcn.00460100
mov eax, dword [esi + 0x8c8]
mov ecx, dword [ebp + 0x14]
add esp, 0x18
mov dword [eax + 0xa58], ecx
lea eax, [ebp - 0x14]
push eax
push 4
push dword [esi + 0x8c8]
push 0x40a160
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0xac]
mov dword [edi], eax
cmp eax, ebx
je 0x40a0ed
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40a107
mov eax, dword [0x6139b8]
cmp eax, ebx
je 0x40a0fc
push ebx
call fcn.00410874
mov eax, dword [esi + 0x8c8]
call fcn.00425d74
xor eax, eax
call fcn.005651da
ret 0x10