joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a30b00b
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a345943
call fcn.2a3023b3
mov edi, ecx
xor ebx, ebx
cmp dword [edi], 0xb
mov dword [ebp - 0x14], ebx
jne 0x2a30b104
push 0xea60
push dword [edi + 0x2d4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [edi + 0x1a0], 0xffffffff
push 1
push dword [edi + 0x2d0]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [edi + 0x2d4]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
shr eax, 4
add eax, 0x12c
mov dword [ebp - 0x10], eax
call esi
shr eax, 4
cmp eax, dword [ebp - 0x10]
jae 0x2a30b0be
mov ebx, dword [ebp - 0x10]
push 0xea60
push dword [edi + 0x2d4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [edi + 0x2d4]
xor eax, eax
cmp dword [edi], 0xb
setne al
movzx esi, ax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
test si, si
jne 0x2a30b0bb
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, ebx
jb 0x2a30b079
mov ebx, dword [ebp - 0x14]
push 0xea60
push dword [edi + 0x2d4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [edi], 0xb
jne 0x2a30b0e5
push 1
push dword [edi + 0x2d0]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor ebx, ebx
inc ebx
push dword [edi + 0x2d4]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [edi + 0x2d4]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [edi + 0x2d4], 0
lea esi, [edi + 0x1a0]
and dword [esi], 0
cmp dword [edi + 0x18], 0
je 0x2a30b13c
test bx, bx
jne 0x2a30b135
push esi
push dword [edi + 0x18]
call fcn.2a338806
xor ebx, ebx
cmp dword [esi], ebx
jne 0x2a30b13e
push esi
push dword [edi + 0x14]
mov dword [edi + 0x18], ebx
call fcn.2a338806
jmp 0x2a30b13e
xor ebx, ebx
mov dword [edi + 0x18], ebx
jmp 0x2a30b13e
xor ebx, ebx
cmp word [edi + 0x144], bx
je 0x2a30b1ab
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.2a338806
mov esi, dword [0x2a35bc8c]
lea eax, [edi + 0x40]
push ebx
push eax
mov eax, dword [0x2a35bcd4]
push str.Cstring
mov dword [ebp - 4], ebx
call dword [eax + 0x14]
pop ecx
movzx eax, ax
push eax
push ebx
call dword [esi + 0xd0]
add esp, 0x10
lea ecx, [ebp - 0x18]
push ebx
push eax
call fcn.2a338806
cmp dword [ebp - 0x14], 0
je 0x2a30b19f
lea ecx, [ebp - 0x18]
call fcn.2a338806
test al, al
je 0x2a30b19f
lea ecx, [ebp - 0x18]
call fcn.2a332ca9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a303402
cmp dword [edi + 0x34], 0
je 0x2a30b1c3
mov eax, dword [0x2a35b928]
push dword [edi + 0x34]
call dword [eax + 0x284]
pop ecx
mov dword [edi + 0x34], ebx
mov eax, dword [edi + 0x20]
test eax, eax
je 0x2a30b1eb
push eax
mov eax, dword [0x2a35bcc4]
cmp word [edi + 0x196], bx
je 0x2a30b1e1
call dword [eax + 0x124]
jmp 0x2a30b1e7
call dword [eax + 0x11c]
pop ecx
mov dword [edi + 0x20], ebx
mov dword [edi], 2
call fcn.2a302842
ret
Function at 0x2a314af0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push dword [esi]
call fcn.2a338806
pop ecx
movzx ecx, ax
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x2a314b0c
test cx, cx
jne 0x2a314b0c
pop esi
ret
push edi
xor edi, edi
test eax, eax
jne 0x2a314b30
push edi
push dword [esi]
call fcn.2a338806
push edi
push dword [esi]
mov dword [esi + 0x24], eax
call fcn.2a338806
add esp, 0x10
mov dword [esi + 0x34], 3
cmp dword [esi + 0x24], edi
je 0x2a314bbc
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, eax
shr ecx, 4
cmp dword [esi + 0x3c], edi
je 0x2a314b6f
mov eax, ecx
sub eax, dword [esi + 0x3c]
cmp eax, 5
jae 0x2a314b6c
inc dword [esi + 0x40]
cmp dword [esi + 0x40], 2
jbe 0x2a314b6f
cmp dword [esi + 0x40], 4
jbe 0x2a314b67
lea edi, [ecx + 5]
jmp 0x2a314b72
lea edi, [ecx + 3]
jmp 0x2a314b72
mov dword [esi + 0x40], edi
lea edi, [ecx + 2]
mov dword [esi + 0x3c], ecx
jmp 0x2a314b90
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jae 0x2a314bbf
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
call dword [eax]
test ax, ax
je 0x2a314b9a
xor eax, eax
cmp word [esi + 0x10], ax
je 0x2a314b77
jmp 0x2a314bbf
mov edi, dword [esi + 0x24]
test edi, edi
je 0x2a314bb2
mov ecx, edi
call fcn.2a3258d9
mov eax, dword [0x2a35bc8c]
push edi
call dword [eax + 0xc]
pop ecx
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], eax
jmp 0x2a314bbf
mov dword [esi + 0x34], edi
xor eax, eax
pop edi
inc eax
pop esi
ret
Function at 0x2a32347e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x2a346653
call fcn.2a303a01
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x2a32365c
push edi
call dword [sym.imp.MSVCR120.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2a338806
add esp, 0x10
test eax, eax
js 0x2a323656
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x2a32351a
push esi
call fcn.2a324a8c
pop ecx
test al, al
je 0x2a32351a
mov eax, esi
call fcn.2a343ee0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a323526
push esi
lea ecx, [ebp - 0x428]
call fcn.2a338806
push 3
push esi
push edi
push eax
call fcn.2a338806
mov esi, eax
test esi, esi
je 0x2a323656
push 0x60
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x2a323572
push 2
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], eax
test edi, edi
jne 0x2a323572
call fcn.2a32134b
mov esi, eax
jmp 0x2a32363b
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x2a323595
call fcn.2a32134b
jmp 0x2a32362e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x2a32358b
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x2a3235c5
mov esi, 0x8007000e
jmp 0x2a323630
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a338806
jmp 0x2a3235eb
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a3235be
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2a338806
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
add esp, 0x10
mov byte [eax + esi], bl
push dword [ebp + 0x14]
push dword [ebp - 0x418]
call fcn.2a338806
mov esi, eax
test edi, edi
je 0x2a32363b
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323676
lea ecx, [ebp - 0x418]
call fcn.2a3220d4
jmp 0x2a323676
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a323671
lea ecx, [ebp - 0x418]
call fcn.2a3220d4
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2a32022e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2a303a3a
ret 0x10
Function at 0x42013b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a0b0]
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.0041dcb5
and dword [ebp - 0x14], 0
cmp dword [0x42cf74], 0
mov dword [ebp - 0x18], eax
jne 0x4201ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420296
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x420296
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42cf74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42cf78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42cf7c], eax
call edi
push eax
call esi
mov dword [0x42cf84], eax
test eax, eax
je 0x4201ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42cf80], eax
mov eax, dword [0x42cf80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x420247
cmp dword [0x42cf84], ecx
je 0x420247
push eax
call esi
push dword [0x42cf84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420247
test ebx, ebx
je 0x420247
call edi
test eax, eax
je 0x42023e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42023e
test byte [ebp - 8], 1
jne 0x420247
or dword [ebp + 0x10], 0x200000
jmp 0x42027a
mov eax, dword [0x42cf78]
cmp eax, dword [ebp - 0x18]
je 0x42027a
push eax
call esi
test eax, eax
je 0x42027a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42027a
mov eax, dword [0x42cf7c]
cmp eax, dword [ebp - 0x18]
je 0x42027a
push eax
call esi
test eax, eax
je 0x42027a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42cf74]
call esi
test eax, eax
je 0x420296
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420298
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f46d
leave
ret

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

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

Disassembly:
call fcn.00f42a40
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf42916
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf42902
add dl, dl
jne 0xf42921
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf42974
xor eax, eax
add dl, dl
jne 0xf4292e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf42a15
add dl, dl
jne 0xf4293d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf42948
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf42953
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf4295e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf4296a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf4290d
mov eax, 1
add dl, dl
jne 0xf42982
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf4298d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf42979
sub eax, ebx
mov ebx, 1
jne 0xf429c0
mov ecx, 1
add dl, dl
jne 0xf429a6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf429b1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf4299d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf4290d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf429d7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf429e2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf429ce
cmp eax, 0x7d00
jae 0xf42a05
cmp eax, 0x500
jb 0xf42a00
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf4290d
cmp eax, 0x7f
ja 0xf42a08
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf4290d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf42a36
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf4290d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003566
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10003575
pop dword [ebp - 8]
mov eax, 0x10003575
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x58ea589a
add dword [ebp - 0x18], 0xf567ecb1
mov dword [ebp - 0x14], 0x81dfa661
add dword [ebp - 0x14], 0xb053a5e4
mov dword [ebp - 0x10], 0xb38faa69
sub dword [ebp - 0x10], 0x6743663b
mov dword [ebp - 0xc], 0x142ea613
sub dword [ebp - 0xc], 0x142ea613
lea eax, [ebp - 0x18]
push eax
mov eax, 0x78db60cb
add eax, 0x97252f8d
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x99089c0e
sub dword [ebp - 0x18], 0x249632b8
mov dword [ebp - 0x14], 0x41fa9759
add dword [ebp - 0x14], 0xff71ca1c
mov dword [ebp - 0x10], 0xe20a81fd
add dword [ebp - 0x10], 0x8164ea6f
mov dword [ebp - 0xc], 0x492add0a
add dword [ebp - 0xc], 0xb6d522f6
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xae04632f
sub eax, 0x9e03d32f
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x370a5
push 0
call eax
mov ecx, 0x27b0905f
add ecx, 0xd84fb6fe
xor edx, edx
add edx, eax
mov ebx, 0x1000e800
add ebx, dword [ebp - 8]
mov edi, 0xb78f9056
add edi, 0xf8f5da15
xor dword [ebp - 4], 0x774347c2
mov esi, dword [ebx]
xor dword [ebp - 4], edx
sub esi, edi
xor dword [ebp - 4], 0xe6faff97
mov dword [edx], esi
xor dword [ebp - 4], 0x93bf594d
add edx, 0x1fea8a34
sub edx, 0x1fea8a30
add ebx, 0x12f86e16
add ebx, 0xed0791ee
loop 0x1000368e
add eax, 0x11047
mov ebx, eax
add eax, 0x2b49111f
sub eax, 0x2b49111a
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x403e59
pop dword [ebp - 0xc]
mov eax, 0xe25a00cc
sub eax, 0xe219c273
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3d09755c
add dword [ebp - 0x1c], 0x1148cfef
mov dword [ebp - 0x18], 0xa3a05798
sub dword [ebp - 0x18], 0x716d0b53
mov dword [ebp - 0x14], 0xe81b1542
sub dword [ebp - 0x14], 0x9bced114
mov dword [ebp - 0x10], 0xda755a4
add dword [ebp - 0x10], 0xf258aa5c
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x4aa46b38
sub eax, 0x4a63fad4
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc9772230
add dword [ebp - 0x1c], 0xaafb4726
mov dword [ebp - 0x18], 0x1e661c39
add dword [ebp - 0x18], 0x2306453c
mov dword [ebp - 0x14], 0x1aa06967
add dword [ebp - 0x14], 0x48cf0305
mov dword [ebp - 0x10], 0x1b1d9318
add dword [ebp - 0x10], 0xe4e26ce8
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x68b5854c
add eax, 0x978aeb5c
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36039
push 0
call eax
mov ecx, 0x9341179e
add ecx, 0x6cbf2d73
mov edx, eax
mov ebx, 0x3d4f6fec
sub ebx, 0x3d0e6fec
add ebx, dword [ebp - 0xc]
mov edi, 0x431bbcc5
xor dword [ebp - 4], 0x145b493a
mov esi, dword [ebx]
xor dword [ebp - 4], eax
add esi, edi
add dword [ebp - 8], 0xa5098dbe
mov dword [edx], esi
add dword [ebp - 8], 0xb57297ae
add edx, 0x8a02519d
add edx, 0x75fdae67
add ebx, 0xa0586c11
add ebx, 0x5fa793f3
loop 0x403f75
add eax, 0x10717
xor ebx, ebx
add ebx, eax
add eax, 0xe75519a0
add eax, 0x18aae665
mov ecx, 0xa082adec
add ecx, 0x5fbd5214
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x4053ff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40540e
pop dword [ebp - 0x44]
mov eax, 0x40540e
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3c6aa
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x6dfdf34f
add ecx, 0x92025e95
mov esi, eax
mov edi, 0xe9398c3e
sub edi, 0xe8f8143e
add edi, dword [ebp - 0x44]
mov edx, 0xf1ba80c4
add edx, 0xe525beda
xor dword [ebp - 0x1c], edx
mov ebx, dword [edi]
add dword [ebp - 0x28], 0x20287da7
sub ebx, edx
sub dword [ebp - 0x28], 0xfe9981d9
mov dword [esi], ebx
add dword [ebp - 0x2c], 0xb0130fcf
add esi, 4
add edi, 0x526c93db
add edi, 0xad936c29
loop 0x405463
add eax, 0x8e68e11b
sub eax, 0x8e67a6b8
mov ebx, eax
add eax, 0x2fdf953f
sub eax, 0x2fdf953a
mov ecx, 0xb5da1c3d
add ecx, 0x4a65e3c3
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5701c6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x401697
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4016be
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00404110
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x5cebfc]
cmp eax, dword [ecx + 4]
jle 0x401761
push 0x5cebfc
call fcn.004f588b
add esp, 4
cmp dword [0x5cebfc], 0xffffffff
jne 0x401761
push 0x583880
mov dword [0x5c7de0], 0x64
mov byte [0x5c7de4], 0
call fcn.004f56e0
push 0x5cebfc
call fcn.004f584c
add esp, 8
mov dword [edi + 0x30], 0x5c7de0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406fc5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407006
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x407002
nop word [eax + eax]
cmp esi, edx
jae 0x407006
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406ff0
cmp esi, edx
jb 0x40700b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4296e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x429704
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x429838
cmp dword [esi + 0xe0], 0
je 0x429838
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x429827
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x429827
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x429784
mov eax, dword [eax]
cmp eax, 0x64
je 0x429784
push 0x64
push eax
push 5
call edi
jmp 0x429789
mov eax, 5
sub dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
cmp byte [eax + 4], 0
je 0x4297a5
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297a5
push 0x64
push eax
push 3
call edi
jmp 0x4297aa
mov eax, 3
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x4297ce
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297ce
push 0x64
push eax
push 5
call edi
mov ecx, dword [ebp - 0x10]
jmp 0x4297d3
mov eax, 5
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x4297fc
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297fc
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x429801
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x429838
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.004f598f
mov esp, ebp
pop ebp
ret 0x10