joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434080
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x434098
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x434176
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434a50
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x434171
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00434a50
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x43414a
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x43414a
xor eax, eax
jmp 0x434176
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x43408f
mov esp, ebp
pop ebp
ret

Function at 0x434a50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x434a85
xor eax, eax
jmp 0x434a8f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

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 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

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 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 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x409b47
pop dword [ebp - 0x44]
mov eax, 0x8e5e5cc3
add eax, 0x71e23e84
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xb776c065
add dword [ebp - 0x54], 0x96db84e6
mov dword [ebp - 0x50], 0x46fc770e
add dword [ebp - 0x50], 0xeb36d537
mov dword [ebp - 0x4c], 0x2a92a522
sub dword [ebp - 0x4c], 0xde4660f4
mov dword [ebp - 0x48], 0x3acfa951
sub dword [ebp - 0x48], 0x3acfa951
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x58545ee4
add dword [ebp - 0x54], 0x1c1e0a72
mov dword [ebp - 0x50], 0xcac2718a
add dword [ebp - 0x50], 0x76a9efeb
mov dword [ebp - 0x4c], 0xd28da209
add dword [ebp - 0x4c], 0x90e1ca63
mov dword [ebp - 0x48], 0x455a709d
add dword [ebp - 0x48], 0xbaa58f63
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36c2a
push 0
call eax
mov ecx, 0x3cdf
mov ebx, eax
mov edi, 0xa3d6b761
add edi, 0x5c6af89f
add edi, dword [ebp - 0x44]
mov edx, 0x9b90d547
add edx, 0xc851ba7e
xor dword [ebp - 0x18], 0xa9a7502b
mov esi, dword [edi]
add esi, edx
xor dword [ebp - 0x3c], 0x33a745f6
mov dword [ebx], esi
sub dword [ebp - 0x10], edx
add ebx, 0xdcabd0f7
sub ebx, 0xdcabd0f3
add edi, 0x7d67e4d6
sub edi, 0x7d67e4d2
loop 0x409c59
add eax, 0x7bf957ee
sub eax, 0x7bf8719f
xor ebx, ebx
add ebx, eax
add eax, 0x324623e5
add eax, 0xcdb9dc20
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401520
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov dl, byte [eax + 1]
push ebp
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x4015c5
push ebx
push esi
push edi
movzx esi, cl
movzx edi, dl
lea eax, [esi + 1]
cdq
mov ecx, 0x37d
idiv ecx
mov ebx, dword [0x4423d0]
movzx esi, dl
movzx eax, byte [esi + ebx]
lea ecx, [esi + ebx]
add eax, edi
mov byte [esp + 0x12], dl
cdq
mov edi, 0x37d
idiv edi
movzx edi, dl
lea eax, [edi + ebx]
mov byte [esp + 0x13], dl
call fcn.00401150
mov eax, dword [esp + 0x18]
mov edx, ebp
sub edx, dword [0x440060]
mov ebx, 0x37d
lea ecx, [edx + eax]
mov edx, dword [0x4423d0]
movzx eax, byte [edi + edx]
movzx edx, byte [esi + edx]
add eax, edx
cdq
idiv ebx
add ebp, 1
movzx eax, dl
mov edx, dword [0x4423d0]
mov al, byte [eax + edx]
xor byte [ecx], al
cmp ebp, dword [esp + 0x1c]
jl 0x401540
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov byte [eax + 1], dl
mov byte [eax], cl
pop ebp
pop ecx
ret

Function at 0x407604
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x430ef6
call fcn.0041ebbd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x407629
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x407675
call fcn.00410438
push eax
lea ecx, [ebp - 0x10]
call fcn.00401700
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407157
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401250
mov eax, esi
call fcn.0041ec5c
ret 8
Function at 0x409f32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.004080f2
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x409f5d
xor eax, eax
jmp 0x40a001
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x409f56
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409f56
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403e0c
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x409fb2
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x409fa1
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00408cab
push edi
mov ebx, eax
call fcn.00403e37
test ebx, ebx
pop ecx
je 0x409ff4
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.004093b8
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0040946a
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x40dda1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40ddda
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00401f50
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004016b0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40fad9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40fb1c
call fcn.004080f2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40fb1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40fb37
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040f690
test ebx, ebx
mov esi, eax
je 0x40fb35
test edi, edi
je 0x40fb35
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x414926
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 0x414954
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x414972
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414890
jmp 0x414972
mov eax, dword [esi + 0x14]
test eax, eax
je 0x414972
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00414890
test edi, edi
mov eax, edi
jne 0x41495c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x443e78]
test ecx, ecx
je 0x414a35
jmp 0x414925
ret 8

Function at 0x41dc61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440f90]
jne 0x41dc6b
repz ret
jmp fcn.00424a7c
Function at 0x42a789
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042279d
xor ebx, ebx
cmp dword [0x444cfc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42a85e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42a7c9
xor eax, eax
jmp 0x42a922
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x438954
push edi
call esi
cmp eax, ebx
je 0x42a7c2
push eax
call fcn.0042273a
mov dword [esp], 0x438944
push edi
mov dword [0x444cfc], eax
call esi
push eax
call fcn.0042273a
mov dword [esp], 0x438930
push edi
mov dword [0x444d00], eax
call esi
push eax
call fcn.0042273a
mov dword [0x444d04], eax
lea eax, [ebp - 8]
push eax
call fcn.00420919
test eax, eax
pop ecx
pop ecx
je 0x42a82c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00421912
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42a85e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042273a
cmp eax, ebx
pop ecx
mov dword [0x444d0c], eax
je 0x42a85e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042273a
pop ecx
mov dword [0x444d08], eax
mov eax, dword [0x444d08]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42a8d7
cmp dword [0x444d0c], esi
je 0x42a8d7
push eax
call fcn.004227a6
pop ecx
call eax
cmp eax, ebx
je 0x42a8a4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x444d0c]
call fcn.004227a6
pop ecx
call eax
test eax, eax
je 0x42a8a4
test byte [ebp - 0x18], 1
jne 0x42a8d7
lea eax, [ebp - 0xc]
push eax
call fcn.00420950
test eax, eax
pop ecx
je 0x42a8bf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00421912
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42a8ce
or dword [ebp + 0x10], 0x200000
jmp 0x42a908
or dword [ebp + 0x10], 0x40000
jmp 0x42a908
mov eax, dword [0x444d00]
cmp eax, esi
je 0x42a908
push eax
call fcn.004227a6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42a908
mov eax, dword [0x444d04]
cmp eax, esi
je 0x42a908
push dword [ebp - 4]
push eax
call fcn.004227a6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x444cfc]
call fcn.004227a6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4303fa
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x440f90]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043038f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0041dc70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x430449
cmp dword [ebp - 0x1c], 5
jb 0x430461
jmp 0x43045d
cmp dword [ebp - 0x10], 1
jne 0x430461
cmp dword [ebp - 0x1c], 4
ja 0x43045d
jne 0x430461
cmp dword [ebp - 0x18], 0
jbe 0x430461
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x438a10
call fcn.00430280
test eax, eax
jge 0x430482
mov byte [0x4423d4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041dc61
add ebp, 0x78
leave
ret

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 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 0x401060
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x418
mov eax, dword [0x412240]
xor eax, esp
push ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x418], eax
push ecx
lea eax, [esp + 0x1c]
xor ebp, ebp
push 8
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4010d1
xor al, al
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00404dee
add esp, 0x418
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [esp + 8]
push edx
push eax
push ebp
push 2
push ecx
call esi
test eax, eax
jne 0x401114
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x401114
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00404dee
add esp, 0x418
ret
mov edx, dword [esp + 8]
push edi
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push ecx
push edi
push 2
push edx
call esi
test eax, eax
jne 0x401156
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00404dee
add esp, 0x418
ret
lea eax, [esp + 0x10]
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40113c
mov eax, dword [edi]
push ebx
xor bl, bl
test eax, eax
jbe 0x4011ae
lea esi, [edi + 8]
mov edx, dword [esi - 4]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4011a4
mov eax, dword [esi]
test al, 4
jne 0x4011a2
test al, 0x10
je 0x4011a4
mov bl, 1
mov eax, dword [edi]
inc ebp
add esi, 8
cmp ebp, eax
jb 0x401185
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4011bd
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x424]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00404dee
add esp, 0x418
ret
Function at 0x404729
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x40e888
call fcn.00406c48
mov edi, 0x94
mov eax, edi
call fcn.00405510
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x412e54], ecx
mov eax, dword [esi + 4]
mov dword [0x412e60], eax
mov edx, dword [esi + 8]
mov dword [0x412e64], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x412e58], esi
cmp ecx, 2
je 0x404789
or esi, 0x8000
mov dword [0x412e58], esi
shl eax, 8
add eax, edx
mov dword [0x412e5c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4047c4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4047c4
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4047dc
cmp eax, 0x20b
je 0x4047c9
mov dword [ebp - 0x1c], esi
jmp 0x4047f0
cmp dword [ecx + 0x84], 0xe
jbe 0x4047c4
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4047ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4047c4
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00406bf6
pop ecx
test eax, eax
jne 0x404804
push 0x1c
call fcn.00404705
pop ecx
call fcn.00406aed
test eax, eax
jne 0x404815
push 0x10
call fcn.00404705
pop ecx
call fcn.00406887
mov dword [ebp - 4], esi
call fcn.00406689
test eax, eax
jge 0x40482e
push 0x1b
call fcn.004046e0
pop ecx
call fcn.004065ea
mov dword [0x4147b4], eax
call fcn.00406480
mov dword [0x412e48], eax
call fcn.004063ea
test eax, eax
jge 0x404853
push 8
call fcn.004046e0
pop ecx
call fcn.004061b7
test eax, eax
jge 0x404864
push 9
call fcn.004046e0
pop ecx
push 1
call fcn.00405cef
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x40487a
push eax
call fcn.004046e0
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.00406171
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x40489b
movzx eax, word [ebp - 0x40]
jmp 0x40489e
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401800
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4048bc
push edi
call fcn.00405e1c
call fcn.00405e3e
jmp 0x4048ee
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00406c83
ret