joyce8/EMBER2024-capa huggingface dataset:
Function at 0x351b80
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
mov eax, dword [0x360008]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
push str.__DumpIt___v1.3.2.20110401___One_click_memory_memory_dumper_n
call fcn.00351060
add esp, 4
push 0x35e348
call fcn.00351e01
add esp, 4
push str.__Copyright__c__2010___2011__MoonSols__http:__www.moonsols.com__n_n
call fcn.00351e01
add esp, 4
call fcn.003517e0
test al, al
jne 0x351bf6
push str._______Error:_Cannot_import_functions._n
call fcn.00351000
add esp, 4
call fcn.00352140
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.00351db6
mov esp, ebp
pop ebp
ret
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], ebx
mov word [esp + 0x48], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x351c54
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x351c43
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [esp + 0xc], ebx
jne 0x351c7d
push str._______Error:_This_application_requires_Administrator_privileges._n
call fcn.00351000
add esp, 4
call fcn.00352140
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.00351db6
mov esp, ebp
pop ebp
ret
call fcn.00351a70
test al, al
jne 0x351caf
push str._______You_dont_have_enough_space_on_disk_to_dump_the_physical_memory._n
call fcn.00351000
add esp, 4
call fcn.00352140
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.00351db6
mov esp, ebp
pop ebp
ret
push 0x3b0
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.003576b0
add esp, 0xc
lea edi, [esp + 0x94]
mov dword [esp + 0x28], 0x300021
call fcn.00351870
push str._____Destination_
call fcn.00351060
add esp, 4
mov eax, edi
push eax
push 0x35e5f8
call fcn.003510c0
add esp, 8
call fcn.00351120
test eax, eax
je 0x351d9f
call fcn.003519c0
mov esi, eax
cmp esi, 0xffffffff
je 0x351d9f
push str._____Processing...
call fcn.00351060
add esp, 4
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x3b0
lea edx, [esp + 0x2c]
push edx
push 0x3b0
mov eax, edx
push eax
push 0x22c000
push esi
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x351d65
push str.Failed._r_n_r_n
call fcn.00351e01
add esp, 4
push str._______Error:_DeviceIoControl____Cannot_send_IOCTL._r_n_r_n
call fcn.00351e01
add esp, 4
jmp 0x351d93
cmp dword [esp + 0x24], ebx
jl 0x351d81
cmp dword [esp + 0x20], 0x57333244
jne 0x351d81
push str.Success._n
call fcn.003510c0
jmp 0x351d8b
push str.Failed._n
call fcn.00351000
add esp, 4
call fcn.00352140
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00351720
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00351db6
mov esp, ebp
pop ebp
ret
Function at 0x351db6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x360008]
jne 0x351dc0
repz ret
jmp fcn.003522d9

Function at 0x358f75
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x360008]
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.00355809
and dword [ebp - 0x14], 0
cmp dword [0x361b20], 0
mov dword [ebp - 0x18], eax
jne 0x359028
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x3590d0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x3590d0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x361b20], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x361b24], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x361b28], eax
call edi
push eax
call esi
mov dword [0x361b30], eax
test eax, eax
je 0x359028
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x361b2c], eax
mov eax, dword [0x361b2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x359081
cmp dword [0x361b30], ecx
je 0x359081
push eax
call esi
push dword [0x361b30]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x359081
test ebx, ebx
je 0x359081
call edi
test eax, eax
je 0x359078
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x359078
test byte [ebp - 8], 1
jne 0x359081
or dword [ebp + 0x10], 0x200000
jmp 0x3590b4
mov eax, dword [0x361b24]
cmp eax, dword [ebp - 0x18]
je 0x3590b4
push eax
call esi
test eax, eax
je 0x3590b4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x3590b4
mov eax, dword [0x361b28]
cmp eax, dword [ebp - 0x18]
je 0x3590b4
push eax
call esi
test eax, eax
je 0x3590b4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x361b20]
call esi
test eax, eax
je 0x3590d0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x3590d2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00351db6
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 0xe09eb8
Capabilities:
Encode data using xor

Disassembly:
sbb dword [edi + 0x657700db], 0x74
mov word [ebx - 0x1d], fs
ret
jmp 0xe09ec2
pushal
call 0xe09ec8
pop ebp
sub ebp, 0x10
sub ebp, 0xa09eb8
jmp 0xe09ede
mov eax, 0xa09eb8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e5
mov edx, 0x25bdba82
xor byte [eax], dl
inc eax
dec ecx
jne 0xe09ef5
jmp 0xe09f08
or dword [edi + 9], ecx
or edi, dword [esi + 0x3828282]
inc ebx
jp 0xe09e96
add byte [edx - 0x79c5b07f], 0x82
add byte [edx - 0x7d7d55c8], 0x82
jne 0xe09f84
or dword [edx + 9], 0x82828e03
add byte [ecx - 0x152d2db9], 0x2a
stc
popfd
sub dl, 0x8f
mov eax, dword [0xae838203]
cmpsb byte [esi], byte es:[edi]
ljmp 0x876a
cmpsb byte [esi], byte es:[edi]
xchg byte [edx + 0x2aea8282], al
stc
popfd
sub dl, 0x8f
mov eax, dword [0xae838203]
cmpsb byte [esi], byte es:[edi]
invalid
Function at 0x403b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push 0x8670b0
push edi
call fcn.00406f55
mov esi, eax
add esp, 8
test esi, esi
je 0x403bc2
push ebx
push 2
push 0
push esi
call fcn.004073d6
push esi
call fcn.004072e1
push 0
push 0
push esi
mov ebx, eax
call fcn.004073d6
push esi
call fcn.004074cd
add esp, 0x20
cmp ebx, 0x7d000
pop ebx
jle 0x403bc2
push edi
call fcn.00407549
add esp, 4
push 0x8670b4
push edi
call fcn.00406f55
mov esi, eax
add esp, 8
test esi, esi
jne 0x403bdc
lea eax, [esi + 1]
pop esi
pop ebp
ret
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403be1
push esi
sub eax, edx
push eax
push 1
push ebp
call fcn.004070c7
push esi
call fcn.004074cd
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret

Function at 0x404270
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [0x86ce10]
sub esp, 0x1c
test eax, eax
jne 0x4042d3
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0x1c
lea eax, [esp + 4]
push eax
push 0x84e1f0
call dword [0x86503c]
mov eax, dword [esp + 4]
test eax, eax
je 0x4042d3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [eax], 0x5a4d
mov dword [0x86ce10], eax
jne 0x4042d3
cmp dword [ecx], 0x4550
jne 0x4042d3
mov ecx, dword [ecx + 0x50]
mov dword [0x86ce14], ecx
mov edx, dword [esp + 0x20]
push 0x104
push edx
push eax
call dword [0x865040]
xor eax, eax
add esp, 0x1c
ret

Function at 0x405930
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, eax
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [0x86503c]
test eax, eax
jne 0x40594d
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0xc]
push 0x104
push ecx
push esi
call dword [0x865044]
test eax, eax
jne 0x40596d
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [edx + eax + 0x18]
jbe 0x4059b2
lea eax, [ecx + 0x10]
lea esp, [esp]
mov edx, dword [eax]
mov esi, dword [eax - 8]
cmp edx, esi
mov ecx, dword [eax - 4]
ja 0x40599e
mov edx, esi
cmp edi, ecx
jb 0x4059a8
add edx, ecx
cmp edi, edx
jbe 0x4059bc
add ebx, 1
add eax, 0x28
cmp ebx, ebp
jb 0x405990
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
add ebx, 1
pop ebp
mov dword [eax], ebx
sub edi, ecx
mov ecx, dword [esp + 0x34]
pop ebx
pop esi
mov dword [ecx], edi
mov eax, 1
pop edi
add esp, 0x1c
ret
Function at 0x4017a5
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x4021c4
push 0x65
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401871
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x401870
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401870
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf013f
push ebx
push 0x4021c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401870
push edi
push esi
push 3
push ebx
push str._embrstager
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401870
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401877
mov ebx, str._embrsvc32
mov esi, eax
mov ecx, ebx
call fcn.00401674
mov edi, str._embrsvc64
mov ecx, edi
call fcn.00401674
call fcn.0040112f
test eax, eax
push esi
cmove edi, ebx
push ecx
mov ecx, edi
call fcn.004011ad
pop ecx
pop ecx
test eax, eax
je 0x401870
mov ecx, edi
call fcn.0040151a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret

Function at 0x407590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40759f
pop dword [ebp - 0x40]
mov eax, 0x40759f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xf8de3614
add dword [ebp - 0x50], 0x55740f37
mov dword [ebp - 0x4c], 0x56f7b46b
add dword [ebp - 0x4c], 0xdb3b97da
mov dword [ebp - 0x48], 0xd7c7b63e
sub dword [ebp - 0x48], 0x8b7b7210
mov dword [ebp - 0x44], 0xff813f56
sub dword [ebp - 0x44], 0xff813f56
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x50d36bc1
sub dword [ebp - 0x50], 0xdc61026b
mov dword [ebp - 0x4c], 0x9df35a8a
sub dword [ebp - 0x4c], 0x5c86f915
mov dword [ebp - 0x48], 0x13261baf
add dword [ebp - 0x48], 0x504950bd
mov dword [ebp - 0x44], 0x7698f39e
sub dword [ebp - 0x44], 0x7698f39e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xd9127bc6
sub eax, 0xd8d1ab96
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x367dd
push 0
call eax
mov ecx, 0x3dc9
mov esi, eax
mov edx, 0x11cbe72
add edx, 0xff25518e
add edx, dword [ebp - 0x40]
mov edi, 0x47456ea6
add edi, 0x4b35667c
xor dword [ebp - 0x2c], edi
mov ebx, dword [edx]
sub dword [ebp - 0xc], 0xc7f04525
sub ebx, edi
sub dword [ebp - 0x20], 0xa9d3ce51
mov dword [esi], ebx
sub dword [ebp - 0x20], 0x7a2cac64
add esi, 0x3551d00
add esi, 0xfcaae304
add edx, 4
loop 0x4076b1
add eax, 0xb3206465
add eax, 0x4ce08592
xor ebx, ebx
add ebx, eax
add eax, 0xf7ee33ca
add eax, 0x811cc3b
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
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 0x438c9c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x438a14
inc ecx
call fcn.00438cc7
dec ecx
mov ecx, 0x9f0c2fab
xor dword [edi], edx
sub ebx, ecx
inc edi
add ecx, ecx
inc ecx
cmp edi, esi
jne fcn.00438c9c
sub ebx, 0xf3f91dbb
ret

Function at 0x40ef50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40ef72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40ef79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40ef68
mov eax, 1
add ebx, ebx
jne 0x40ef8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40ef80
jne 0x40ef9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ef80
xor ecx, ecx
sub eax, 3
jb 0x40efb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f022
mov ebp, eax
add ebx, ebx
jne 0x40efbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40efc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40efec
inc ecx
add ebx, ebx
jne 0x40efd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40efcd
jne 0x40efe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40efcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f00c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40effd
jmp 0x40ef6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f00c
add edi, ecx
jmp 0x40ef6e
pop esi
mov edi, esi
mov ecx, 0x15
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f02a
cmp byte [edi], 3
jne 0x40f02a
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 0x40f02f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40f09e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13eec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13f6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f05c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13f74]
or eax, eax
je 0x40f098
mov dword [ebx], eax
add ebx, 4
jmp 0x40f079
call dword [esi + 0x13f70]
mov ebp, dword [esi + 0x13f78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x40f0d2
sub esp, 0xffffff80
jmp 0x40129f
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x124f0bce
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
mov eax, section..tls
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x56cd2e7d
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4011c0
Capabilities:
Create directory
Get thread local storage value
Set file attributes

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
xor ebx, ebx
sub eax, 2
push edi
mov edi, ecx
je 0x4012b9
sub eax, 1
jne 0x40134a
add edi, 0x118
push edi
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00439222
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, dword [0x468b54]
mov edi, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000100
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40129c
movzx eax, word [esi + 0x1a]
movzx ecx, word [esi + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
jne 0x401295
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
jne 0x401295
lea ecx, [esp + 8]
push ecx
push ebx
mov edx, ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [esi + 0x1c]
and eax, 0x27
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
jmp 0x40134c
mov edx, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [edx + 0x14]
push eax
call edx
test al, al
je 0x401343
lea eax, [edi + 0x118]
push eax
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.00439222
mov edx, dword [esi + 4]
add esp, 0xc
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x120]
push 0x104
push edx
call fcn.00439222
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0
lea ecx, [esp + 0x120]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0x180
lea edx, [esp + 0x1c]
push 0x8121
push edx
call fcn.004381a9
add esp, 0xc
mov ebx, eax
add dword [edi + 0x21c], 1
mov eax, ebx
mov ecx, dword [esp + 0x220]
pop edi
pop ebx
xor ecx, esp
call fcn.00437ffa
add esp, 0x21c
ret 4
Function at 0x403750
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x45038b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004378ad
push 4
mov dword [esp + 0x20], 0
call fcn.00439953
mov edi, eax
add esp, 4
test edi, edi
je 0x4037d0
call fcn.00437b13
mov dword [edi], eax
call fcn.00437947
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00437dce
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4037c5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00437def
jmp 0x4037d2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x410820
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x450ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00404010
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x410874
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00403f40
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00404010
cmp dword [esp + 0x24], 8
jb 0x4108ba
mov eax, dword [esp + 0x10]
push eax
call fcn.00439935
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x412ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45361e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.00421af0
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esp + 0x14], ebx
call fcn.00404740
mov dword [esi + 0x10], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10]
mov dword [eax], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 8], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], bx
mov byte [esp + 0x14], 2
call fcn.00422fd0
mov dword [esi + 0x44], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x3e], 1
mov byte [esi + 0x3c], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4