joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b350
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004619b3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043acf0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004618e1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e1a5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e1a5
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e14d
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e14d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461a25
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b4d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004619b3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043acf0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004618e1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b594
cmp dword [esp + 0x40], 1
jne 0x43b592
cmp ecx, eax
jge 0x43b594
mov eax, ecx
cmp eax, 0xc8
jge 0x43b5a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b350
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461a25
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43bd10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468bd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045c5c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00461c5b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463177
test eax, eax
je 0x43be2c
mov ecx, dword [esp + 0x3c]
call fcn.00461c88
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43bdf0
push edi
mov ecx, esi
call fcn.0045f2ec
mov ecx, esi
call fcn.0043bf90
cmp dword [esp + 0x38], 1
jne 0x43be25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f427
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43e850
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e883
push esi
call fcn.00441950
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e87c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43e909
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e8f2
mov eax, dword [esi + 8]
test eax, eax
je 0x43e8a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43e8ee
cmp eax, 2
je 0x43e8f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e89a
cmp eax, 3
je 0x43e8cd
cmp eax, 1
jne 0x43e89a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43e89a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e89a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e930
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e918
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e930
add esp, 4
pop esi
ret

Function at 0x45d3b8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d3f0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045b46f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b447
jmp 0x45d3fc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45eaa9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45eaeb
call fcn.00464567
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45eaeb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45eae2
xor eax, eax
jmp 0x45eaf3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045eaf9
pop edi
pop esi
pop ebx
ret 4

Function at 0x464a97
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x464ac5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464ae3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004649fd
jmp 0x464ae3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464ae3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004649fd
test edi, edi
mov eax, edi
jne 0x464acd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x457210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x48000]
push edi
jmp 0x45722a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457220
mov eax, 1
add ebx, ebx
jne 0x457243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457254
jne 0x457273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457273
dec eax
add ebx, ebx
jne 0x457260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x457238
add ebx, ebx
jne 0x45726f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4572c5
xor ecx, ecx
sub eax, 3
jb 0x45728b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4572fa
sar eax, 1
mov ebp, eax
jmp 0x457296
add ebx, ebx
jne 0x457296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457264
inc ecx
add ebx, ebx
jne 0x4572a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457264
add ebx, ebx
jne 0x4572b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4572a6
jne 0x4572c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4572a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4572e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4572d6
jmp 0x457226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4572e4
add edi, ecx
jmp 0x457226
pop esi
mov edi, esi
mov ecx, 0x1a6b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x457302
cmp byte [edi], 4
jne 0x457302
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 0x457307
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x45737f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x57000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x57118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x457334
mov ecx, edi
jns 0x457363
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 + 0x5711c]
or eax, eax
je 0x457379
mov dword [ebx], eax
add ebx, 4
jmp 0x457351
call dword [esi + 0x5712c]
mov ebp, dword [esi + 0x57120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4573b3
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x7d3972
Capabilities:
Encode data using xor

Disassembly:
inc esi
add ch, bl
rol byte [ebx], cl
add eax, ebx
add eax, ebx
call fcn.007d399b
div dword [ecx - 0x1f]
xor byte [ebx - 0x4b], 0xf7
jb 0x7d3962
xchg dword [edx - 0x50], esi
sti
ja 0x7d396f
xor byte [ecx - 0x43], 0xea
Function at 0x402c2f
Capabilities:
Delete file

Disassembly:
push 0x490
mov eax, 0x43e2cd
call fcn.00425311
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x294]
push 0x46b938
push eax
call fcn.00401e92
mov ecx, eax
call fcn.0041cac0
push eax
lea eax, [ebp - 0x48]
call fcn.00403fa0
mov ebx, 0x44449c
push ebx
lea eax, [ebp - 0x48]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00404001
push 0x4444a0
lea eax, [ebp - 0x48]
push eax
call fcn.00404001
cmp dword [ebp - 0x30], 8
mov edx, dword [ebp - 0x44]
jae 0x402c96
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00416ad0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 2
call fcn.00417800
mov esi, dword [ebp - 0x80]
cmp esi, dword [ebp - 0x7c]
jbe 0x402cc8
call fcn.0042180b
lea eax, [ebp - 0x84]
mov edi, eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], eax
jbe 0x402ce3
call fcn.0042180b
test edi, edi
je 0x402cf1
lea eax, [ebp - 0x84]
cmp edi, eax
je 0x402cf6
call fcn.0042180b
cmp esi, dword [ebp - 0x8c]
je 0x402d30
test edi, edi
jne 0x402d07
call fcn.0042180b
cmp esi, dword [edi + 8]
jb 0x402d11
call fcn.0042180b
push dword [ebp - 0x88]
call fcn.00406c22
test al, al
pop ecx
jne 0x402d5a
cmp esi, dword [edi + 8]
jb 0x402d2b
call fcn.0042180b
add esi, 0x1c
jmp 0x402cd0
or ebx, 0xffffffff
lea esi, [ebp - 0x84]
call fcn.0040401f
lea edi, [ebp - 0x74]
call fcn.00402df7
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.00401375
mov eax, ebx
call fcn.00425394
ret
lea eax, [ebp - 0x49c]
push 0x46b938
push eax
call fcn.00401e92
mov ecx, eax
call fcn.0041cac0
push eax
lea eax, [ebp - 0x2c]
call fcn.00403fa0
push ebx
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.00404001
push str.sgim_ext.bin
lea eax, [ebp - 0x2c]
push eax
call fcn.00404001
lea eax, [ebp - 0x84]
call fcn.00404044
test eax, eax
jne 0x402dcb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x402db2
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00401375
jmp 0x402d33
lea eax, [ebp - 0x84]
push eax
call fcn.0040376a
test eax, eax
pop ecx
je 0x402ded
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00401375
jmp 0x402d30
lea eax, [ebp - 0x74]
call fcn.004185c0
jmp 0x402db9

Function at 0x40349d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1554
call fcn.004363a0
mov eax, dword [0x44d404]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1550], 0
push 0x44452c
push eax
lea eax, [ebp - 0x1550]
push eax
call fcn.00421ec1
add esp, 0xc
cmp dword [ebp - 0x1550], 0
jne 0x4034e1
or eax, 0xffffffff
jmp 0x403528
and dword [ebp - 0x154c], 0
push 0x153c
lea eax, [ebp - 0x1548]
push 0
push eax
call fcn.004223b0
push dword [ebp - 0x1550]
lea eax, [ebp - 0x154c]
push 1
push 0x1540
push eax
call fcn.00421c7f
push dword [ebp - 0x1550]
call fcn.00421915
mov eax, dword [ebp - 0x1430]
add esp, 0x20
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00421402
leave
ret
Function at 0x407424
Capabilities:
Get common file path

Disassembly:
push 0xe3c
mov eax, 0x43e22c
call fcn.00425311
mov edi, ecx
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x407442
mov eax, dword [ebx]
jmp 0x407444
mov eax, ebx
push eax
call fcn.00403af9
test al, al
pop ecx
jne 0x40746a
push 0
push 0x4446e8
push 0x444704
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x407643
call fcn.00407649
test al, al
jne 0x407481
push 0
push 0x4446e8
push 0x444724
jmp 0x40745b
call fcn.00407a56
test al, al
jne 0x4074a1
call fcn.00416140
test al, al
jne 0x4074a1
push 0
push 0x4446e8
push 0x444760
jmp 0x40745b
call fcn.00407aad
test al, al
jne 0x4074af
call fcn.00407b20
lea eax, [edi + 0x1c]
push eax
call fcn.0042239a
test eax, eax
pop ecx
jbe 0x4074e2
mov ecx, edi
call fcn.00407b88
test al, al
je 0x4074d6
push 0
push 0x4446e8
push 0x444770
jmp 0x40745b
mov ecx, edi
call fcn.00407816
jmp 0x407620
and word [ebp - 0x810], 0
push 0x7fe
lea eax, [ebp - 0x80e]
push 0
push eax
call fcn.004223b0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea esi, [ebp - 0x82c]
call fcn.00403fcc
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x18], 8
jb 0x40752c
mov ebx, dword [ebx]
lea eax, [ebp - 0xe48]
push ebx
push eax
call fcn.004088f0
pop ecx
pop ecx
lea eax, [ebp - 0xa38]
push 0x46b938
push eax
call fcn.00401e92
mov ecx, eax
call fcn.0041cac0
push 0x44439c
lea ecx, [ebp - 0xa38]
call fcn.0040c0b0
lea ecx, [ebp - 0xc40]
lea eax, [ebp - 0xe48]
mov word [ebp - 0xc40], si
call fcn.0040c180
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0042304b
test eax, eax
pop ecx
pop ecx
jne 0x4075b9
push esi
push 0x44478c
push 0x444794
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push 1
lea esi, [ebp - 0x82c]
call fcn.00401375
jmp 0x407463
lea eax, [ebp - 0xe48]
push 0x5c
push eax
call fcn.00422d09
cmp eax, esi
pop ecx
pop ecx
jne 0x4075d1
xor eax, eax
jmp 0x4075d4
add eax, 2
push eax
lea ecx, [ebp - 0xa38]
call fcn.0040c0b0
lea ecx, [ebp - 0xa38]
call fcn.0040c0e0
test al, al
je 0x407607
push 4
push 0x4446e8
push 0x4447b0
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4075a6
mov ecx, edi
call fcn.00407816
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea esi, [ebp - 0x82c]
call fcn.00401375
mov ecx, edi
call fcn.00407c25
test al, al
jne 0x40763c
push 0
push 0x4446e8
push 0x4447cc
jmp 0x40745b
call fcn.00407f15
mov al, 1
call fcn.00425394
ret
Function at 0x40773d
Capabilities:
Delete file

Disassembly:
push 0x274
mov eax, 0x43db66
call fcn.00425311
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], bx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00407a13
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x407775
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x74]
call fcn.00416ad0
add esi, 0x1c
push esi
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.004186a0
mov esi, eax
cmp esi, ebx
jne 0x4077b2
mov byte [ebp - 0x75], bl
lea edi, [ebp - 0x74]
call fcn.00402df7
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00401375
mov al, byte [ebp - 0x75]
call fcn.00425394
ret
lea eax, [ebp - 0x27e]
push 0x46b938
push eax
call fcn.00401e92
mov ecx, eax
call fcn.0041cac0
push eax
lea eax, [ebp - 0x48]
call fcn.00403fa0
push 0x44449c
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.00404001
add esi, 0x20
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.00404001
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x4077fe
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00401375
mov byte [ebp - 0x75], 1
jmp 0x407796
Function at 0x407816
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xa6c
mov eax, 0x43ddd1
call fcn.00425311
xor edi, edi
push 0x7fe
lea eax, [ebp - 0x812]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x850], ebx
mov word [ebp - 0x814], di
call fcn.004223b0
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, ebx
lea esi, [ebp - 0x830]
call fcn.00403fcc
lea eax, [ebp - 0xa78]
push 0x46b938
push eax
mov dword [ebp - 4], edi
call fcn.00401e92
mov ecx, eax
call fcn.0041cac0
push eax
lea eax, [ebp - 0x84c]
call fcn.00403fa0
push str._scd
lea eax, [ebp - 0x84c]
push eax
mov byte [ebp - 4], 1
call fcn.00404001
lea eax, [ebp - 0x814]
push eax
call fcn.0042239a
pop ecx
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp - 0x838]
mov edi, eax
lea eax, [ebp - 0x84c]
call fcn.00406fbe
test eax, eax
jne 0x4078f6
push eax
push 1
lea esi, [ebp - 0x84c]
call fcn.00401375
push 0
push 1
lea esi, [ebp - 0x830]
call fcn.00401375
xor al, al
call fcn.00425394
ret
lea eax, [ebx + 0x1c]
push eax
call fcn.0042239a
test eax, eax
pop ecx
je 0x40790b
mov ecx, ebx
call fcn.0040773d
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x854], 0x5c
call fcn.004049d8
or edi, 0xffffffff
cmp eax, edi
je 0x4079a8
push edi
lea ecx, [ebp - 0x830]
push ecx
mov ebx, eax
lea esi, [ebp - 0x870]
call fcn.0040128a
push edi
lea ecx, [ebp - 0x830]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 2
call fcn.004013bc
push ebx
push 1
mov byte [ebp - 4], 1
call fcn.00401375
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x870]
push eax
call fcn.00406dc9
add esp, 0xc
push edi
lea ecx, [ebp - 0x830]
push ecx
mov byte [ebp - 4], 3
call fcn.004013bc
push ebx
push 1
lea esi, [ebp - 0x870]
mov byte [ebp - 4], 1
call fcn.00401375
mov ebx, dword [ebp - 0x850]
cmp dword [ebp - 0x818], 8
mov ecx, dword [ebp - 0x82c]
jae 0x4079bd
lea ecx, [ebp - 0x82c]
cmp dword [ebx + 0x18], 8
jb 0x4079c8
mov eax, dword [ebx + 4]
jmp 0x4079cb
lea eax, [ebx + 4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x407a00
xor bl, bl
push 0
push 1
lea esi, [ebp - 0x84c]
call fcn.00401375
push 0
push 1
lea esi, [ebp - 0x830]
call fcn.00401375
mov al, bl
jmp 0x4078f0
push edi
push ebx
xor ebx, ebx
lea eax, [ebp - 0x830]
call fcn.004013bc
mov bl, 1
jmp 0x4079db
Function at 0x408450
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0x85a], 0
push edi
je 0x408468
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ebp, dword [esp + 0x14]
mov edi, ebp
mov bl, 1
call fcn.00408510
test al, al
jne 0x40847b
xor bl, bl
push 0
push 0x1a
lea eax, [esi + 0x20a]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
je 0x4084a3
push 0x444978
push ebp
call fcn.0040b3e0
add esp, 8
jmp 0x4084bb
mov ecx, ebp
mov edi, esi
call fcn.00408740
test al, al
je 0x4084bb
mov eax, esi
call fcn.00408870
test al, al
jne 0x4084bd
xor bl, bl
push ebp
push esi
call fcn.00408620
test al, al
jne 0x4084ca
xor bl, bl
push str.0469
lea ecx, [esi + 0x63c]
push 0xb
push ecx
call fcn.00422bd4
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add esp, 0xc
call edi
call edi
push 0x103
push eax
push 0x104
add esi, 0x652
push esi
call fcn.00422c40
add esp, 0x10
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4

Function at 0x408510
Capabilities:
Check os version

Disassembly:
sub esp, 0x918
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x914], eax
push ebx
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov bl, 1
mov dword [esp + 0x10], 0x114
call fcn.004223b0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4085ee
cmp dword [esp + 8], 5
ja 0x408582
mov byte [esi + 0x85a], bl
mov al, bl
mov byte [esi], 0
mov byte [esi + 1], 0
pop ebx
mov ecx, dword [esp + 0x914]
xor ecx, esp
call fcn.00421402
add esp, 0x918
ret
push 0x400
lea edx, [esp + 0x11c]
push edx
push 0
mov byte [esi], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x118]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4085a4
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0x100]
push str.iexplore.exe
push eax
call fcn.0042304b
add esp, 8
test eax, eax
sete cl
mov byte [esi + 0x85a], bl
mov al, bl
mov byte [esi + 1], cl
pop ebx
mov ecx, dword [esp + 0x914]
xor ecx, esp
call fcn.00421402
add esp, 0x918
ret
push 0x444924
push edi
call fcn.0040b3e0
mov ecx, dword [esp + 0x920]
add esp, 8
xor al, al
pop ebx
xor ecx, esp
mov byte [esi + 0x85a], al
call fcn.00421402
add esp, 0x918
ret

Function at 0x408620
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareSogouInput
push 0x80000002
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408671
mov edx, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
add edx, 2
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x408671
lea esi, [eax + 1]
mov eax, dword [esp + 4]
test eax, eax
je 0x408680
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408698
mov ecx, dword [esp + 0x14]
push 0x444964
push ecx
call fcn.0040b3e0
add esp, 8
test esi, esi
setne al
pop esi
add esp, 8
ret 8