joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30009094
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x300213ec]
jne 0x3000bab2
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30022a80], eax
mov dword [0x30022a7c], ecx
mov dword [0x30022a78], edx
mov dword [0x30022a74], ebx
mov dword [0x30022a70], esi
mov dword [0x30022a6c], edi
mov word [0x30022a98], ss
mov word [0x30022a8c], cs
mov word [0x30022a68], ds
mov word [0x30022a64], es
mov word [0x30022a60], fs
mov word [0x30022a5c], gs
pushfd
pop dword [0x30022a90]
mov eax, dword [ebp]
mov dword [0x30022a84], eax
mov eax, dword [ebp + 4]
mov dword [0x30022a88], eax
lea eax, [ebp + 8]
mov dword [0x30022a94], eax
mov eax, dword [ebp - 0x320]
mov dword [0x300229d0], 0x10001
mov eax, dword [0x30022a88]
mov dword [0x30022984], eax
mov dword [0x30022978], 0xc0000409
mov dword [0x3002297c], 1
mov eax, dword [0x300213ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x300213f0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x300229c8], eax
push 1
call fcn.3000bbb6
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x30003f60
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x300229c8], 0
jne 0x3000bba2
push 1
call fcn.3000bbb6
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x3000eff7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x3000f006
pop dword [ebp - 0x1c]
mov eax, 0x8de04959
add eax, 0xa220a6ad
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3e5ee
push 0
mov eax, 0x75a8664e
sub eax, 0x45a85532
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xfea98083
add ecx, 0x156d43f
xor ebx, ebx
add ebx, eax
mov esi, 0x8dadb405
sub esi, 0x5da9fc05
add esi, dword [ebp - 0x1c]
mov edx, 0xfad58b4c
sub edx, 0x491de314
xor dword [ebp - 0x18], 0xf21e3f12
mov edi, dword [esi]
add dword [ebp - 0x18], eax
xor edi, edx
sub dword [ebp - 0xc], edx
mov dword [ebx], edi
add dword [ebp - 0x18], 0x10e70677
add ebx, 0xae9aa367
add ebx, 0x51655c9d
add esi, 4
loop 0x3000f067
add eax, 0xe9499f29
add eax, 0x16b7a6b2
xor ebx, ebx
add ebx, eax
add eax, 0x5912feac
sub eax, 0x5912fea7
mov ecx, 0xda03dc93
add ecx, 0x55fc236d
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x30014f98
Capabilities:
Query environment variable

Disassembly:
push 0x234
mov eax, 0x3001d37d
call fcn.300090a2
mov edi, ecx
lea ecx, [ebp - 0x28]
call fcn.3001458a
and dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x28]
call fcn.3000eff7
mov ecx, eax
call fcn.3000eff7
lea ecx, [ebp - 0x28]
call fcn.3000eff7
mov esi, dword [eax + 0xc]
lea ecx, [ebp - 0x28]
call fcn.3000eff7
mov eax, dword [eax + 8]
push esi
mov esi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
push eax
push dword [edi + 8]
call esi
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.3000eff7
cmp ebx, dword [eax + 0xc]
jbe 0x3001502a
push ebx
lea ecx, [ebp - 0x28]
call fcn.3000eff7
mov ecx, eax
call fcn.3000eff7
lea ecx, [ebp - 0x28]
call fcn.3000eff7
mov ebx, dword [eax + 0xc]
lea ecx, [ebp - 0x28]
call fcn.3000eff7
mov eax, dword [eax + 8]
push ebx
push eax
push dword [edi + 8]
call esi
mov ebx, eax
test ebx, ebx
jne 0x30015067
push 0x300051f8
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.3000eff7
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x3001de44
lea eax, [ebp - 0x134]
lea edi, [ebp - 0x134]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3000eff7
lea ecx, [ebp - 0x28]
call fcn.3000eff7
push eax
mov ecx, edi
call fcn.3000eff7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.300145eb
call fcn.3000917a
ret
Function at 0x30017675
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push 0x300059c0
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x3001769e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
je 0x3001769e
xor bl, bl
jmp 0x300176ab
test esi, esi
mov bl, 1
je 0x300176ab
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x3001770a
Capabilities:
Accept command line arguments

Disassembly:
push 0x244
mov eax, 0x3001d9bb
call fcn.300090a2
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
jne 0x3001776d
push 0x30005a10
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.3000eff7
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x3001de44
lea eax, [ebp - 0x144]
lea edi, [ebp - 0x144]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3000eff7
xor esi, esi
cmp dword [ebp - 0x10], esi
jle 0x300177a1
push dword [edi + esi*4]
lea ecx, [ebp - 0x38]
call fcn.30014ede
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.3000eff7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.300141f8
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x30017774
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
call fcn.3000917a
ret 4

Function at 0x30017950
Capabilities:
Allocate thread local storage

Disassembly:
push 0x21c
mov eax, 0x3001da75
call fcn.300090a2
mov esi, ecx
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
push dword [0x30022ea8]
lea ecx, [esi + 4]
push 0x18
push 0x30005a7c
push 0x50
call fcn.3000eff7
and dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x300179c8
push 0x30005a68
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.3000eff7
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x3001de44
lea eax, [ebp - 0x11c]
lea edi, [ebp - 0x11c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3000eff7
mov eax, esi
call fcn.3000917a
ret
Function at 0x401f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [0x434484]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004082da
mov dword [0x434608], eax
pop edi
pop esi
pop ebx
add esp, 0x40
cmp ebp, esp
call fcn.004082da
mov esp, ebp
pop ebp
ret

Function at 0x402010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [0x434608]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004082da
mov dword [0x1f1f508], eax
pop edi
pop esi
pop ebx
add esp, 0x40
cmp ebp, esp
call fcn.004082da
mov esp, ebp
pop ebp
ret
Function at 0x6d40f260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x6d40f26f
pop dword [ebp - 0x2c]
mov eax, 0x538c67fc
add eax, 0x19b48a73
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xe1264645
sub dword [ebp - 0x3c], 0x92d400fa
mov dword [ebp - 0x38], 0xb6278be9
sub dword [ebp - 0x38], 0x83f43fa4
mov dword [ebp - 0x34], 0x3ecb7bea
add dword [ebp - 0x34], 0xd80c844
mov dword [ebp - 0x30], 0xeb2b0c0
add dword [ebp - 0x30], 0xf14d4f40
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x1206c317
add dword [ebp - 0x3c], 0x626ba63f
mov dword [ebp - 0x38], 0x1c590fcc
sub dword [ebp - 0x38], 0xdaecae57
mov dword [ebp - 0x34], 0x8206de9e
add dword [ebp - 0x34], 0xe1688dce
mov dword [ebp - 0x30], 0xa2df8bb7
add dword [ebp - 0x30], 0x5d207449
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x63b4c2a1
add eax, 0x98ccdb7
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x32db9
push 0
call eax
mov ecx, 0xaa62168d
sub ecx, 0xaa61dd0b
xor ebx, ebx
add ebx, eax
mov esi, 0xcd5a2e0c
add esi, 0x9fe7ebf4
add esi, dword [ebp - 0x2c]
mov edi, 0xb4f753be
add edi, 0x60cbfbe3
xor dword [ebp - 0x18], edx
mov edx, dword [esi]
xor dword [ebp - 0x1c], edi
sub edx, edi
xor dword [ebp - 0x18], 0x32b69b99
mov dword [ebx], edx
mov dword [ebp - 0x24], 0x45285b76
add ebx, 0xb5b7adba
sub ebx, 0xb5b7adb6
add esi, 0x711d4785
sub esi, 0x711d4781
loop 0x6d40f38e
add eax, 0x5f8b01ea
add eax, 0xa075d6f1
xor ebx, ebx
add ebx, eax
add eax, 0xdc849c46
sub eax, 0xdc849c41
mov ecx, 0xbfda6fdc
add ecx, 0xad659024
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x84726d
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0x44]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetCommandLineW]
jmp 0x8472ac
sub esp, 0x18
push word [esp + 0x11]
lea esp, [esp + 2]
jmp 0x84723a
and ebx, ecx
jmp 0x847254
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_GetCommandLineW]
cmc
call fcn.00847271
js 0x8472a2
xchg ebx, eax
test byte [0x5ac44ec1], 0x3d
int3
ror dword [esi - 0x3c], 0x5a
cmp eax, 0xf0f172cc
movzx ebx, byte [esi + 0xa]
movzx ebx, byte [esi + 0xa]
sub esp, 0xc
push dword [esp + 2]
add esp, 0xf
lea esp, [esp + 1]
jmp 0x847290

Function at 0x8472e3
Capabilities:
Encrypt data using aes

Disassembly:
push esp
lea esp, [esp + 4]
movzx ebx, byte [esi + 0xd]
and edx, ecx
jmp 0x847360
lea esp, [esp + 0xc]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [esp]
bsr bx, bp
jmp 0x8472c0
cmc
call fcn.0084733a
bsf di, ax
dec edi
mov di, 0x8697
jmp 0x84740b
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_GetCommandLineW]
mov edi, edx
call 0x8473c8

Function at 0x84730c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add esp, 0xf
mov word [esp], dx
lea esp, [esp + 8]
popal
sub esp, 0x12
jmp 0x847227

Function at 0x84733a
Capabilities:
Encrypt data using aes

Disassembly:
and edx, ecx
sub esp, 0x1a
lea esp, [esp + 2]
lea esp, [esp + 0x3c]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_GetCommandLineW]
jmp 0x847348
mov edx, dword [edx*4 + reloc.KERNEL32.dll_GetCommandLineW]
pushal
mov byte [esp + 0xb], ch
jmp 0x847319
lea edx, [eax + 0xb9]
jmp 0x84737c
mov edx, dword [esi + 0xc]
clc
mov dword [esi + 8], edi
dec di
jmp 0x847366

Function at 0x84752e
Capabilities:
Encrypt data using aes

Disassembly:
cmc
push esp
mov byte [esp + 1], ch
jmp 0x847501
sub eax, 0x1960f3c
rol byte [ebx + 0x648d04ec], 0x24
add ecx, dword [ebp - reloc.KERNEL32.dll_GetCommandLineW]
and al, 0xc
sub esp, 4
lea esp, [esp + 3]
lea esp, [esp + 1]
lea esp, [esp + 0xc]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetCommandLineW]
jmp 0x8474b2
pushal
push esp
call fcn.0084752e
push dword [esp]
jmp 0x847513
and edx, ecx
sub esp, 0
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_GetCommandLineW]
jmp 0x8474e4
push dword [esp]
pushal
mov dword [esi + 0xc], edi
pushal
mov dword [esp + 0xf], esi
jmp 0x84759e
pop edx
test eax, 0x648d4273
lea esp, [esp + 0x28]
lea esp, [esp + 0x28]
dec dword [ebp - 4]
call 0x8474eb
cli
jge 0x84752a
je 0x8474c6
inc edi
les ecx, [esi - 0x24]
mov ebx, 0x8d5fe856
lea esp, [esp + 2]
and ebx, ecx
jmp 0x8474cc
push word [esp + 0xd]
lea esp, [esp + 2]
lea esp, [esp + 0x4c]
jne 0x819193
je 0x81910a
jmp 0x847cde
pushal
push esp
pop dword [esp]
lea esp, [esp + 0x20]
cmp al, 0x61
jmp 0x847ecc
pushal
mov word [esp + 0x1c], bx
pop word [esp + 3]
Function at 0x954d5b
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ecx, [esi - 0xbd]
sub esp, 0x14
xchg ah, bl
not ebp
xchg edi, ebp
jmp 0x954f07
jmp 0x954d45
cmc
not esi
mov word [esp + 0x10], bx
btc edi, edi
add esp, 1
mov edx, ecx
jmp 0x954d97
xchg esi, edi
xchg dx, bp
stc
rcl dx, cl
mov byte [esp + 0x13], ch
mov ecx, dword [esp + 0x19]
jmp 0x954dc2
mov ebx, dword [esp + 0x3a]
lea esp, [esp + 0x13]
ror ch, 5
mov word [esp + 0x18], bx
inc cl
bswap esi
jmp 0x954ddb
rdtsc
sub esp, 0x12
pushal
mov dword [esp + 0x19], esi
xchg dword [esp + 0x29], ecx
xchg word [esp + 0x3c], dx
jmp 0x954e4c
pop word [esp + 9]
lea esp, [esp + 0x17]
mov bh, byte [esp + 5]
mov byte [esp + 0xf], ch
mov ebp, eax
pop dword [esp + 1]
jmp 0x954ea9

Function at 0x95532d
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esi, [edx + ebx]
xchg byte [esp + 0x1e], al
pushal
jmp 0x955317
Function at 0x9559c8
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 1]
mov di, 0xc403
lea ebp, [esi - 0x7d]
bsf dx, ax
mov cl, ch
mov bh, byte [esp + 5]
jmp 0x9559ad
xchg dword [esp + 4], ebx
lea esp, [esp + 1]
mov cx, dx
neg ax
bswap edi
mov dword [esp + 3], eax
jmp 0x955953
not ecx
add al, dh
cpuid
mov esi, 0x5b0f6a0a
neg ebp
inc edi
jmp 0x955a8b
pop cx
btr esi, esp
pushal
xchg ch, dl
neg bp
mov cl, 0xf2
jmp 0x955992
add ax, 0x98e6
ror edx, 0x1b
neg dh
mov dword [esp + 4], eax
jmp 0x95597c
push word [esp + 0xf]
xchg ebp, ecx
neg dx
mov bl, 0xe0
popal
inc dl
jmp 0x9559ef
mov edx, dword [esp + 3]
xor si, 0xbf3c
inc ebx
mov esi, 0x8f978a1e
cpuid
rcr ch, 5
jmp 0x955a0f
setae ch
xchg dx, cx
cld
mov di, 0x3c5d
sub esp, 6
push edx
jmp 0x955a2c

Function at 0x955be7
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ax
xchg di, ax
jmp 0x955c83

Function at 0x959ff6
Capabilities:
Parse pe header

Disassembly:
push word [esp + 1]
push dword [esp + 4]
mov word [esp + 4], di
pop dword [esp]
jmp 0x95a016

Function at 0x95a036
Capabilities:
Parse pe header

Disassembly:
inc dword [eax + 0x810039]
pushfd
call fcn.00954cac
push eax
jmp 0x9562fe
popal
jmp fcn.009523b7
cmp dword [eax + reloc.KERNEL32.dll_GetCommandLineW], 0
je 0x954d39
lea esp, [esp + 8]
jmp 0x956203
call 0x956303
pop eax
sub eax, 0x956303
jmp 0x956294
push eax
call fcn.00959ff6
lea esp, [esp + 3]
mov word [esp], bx
lea esp, [esp + 1]
mov byte [esp], bh
push word [esp + 1]
push esp
jmp 0x95a045
pop word [esp + 1]
lea esp, [esp + 5]
lea esp, [esp + 1]
jmp 0x95a010
push word [esp + 1]
push word [esp + 1]
pop word [esp + 3]
lea esp, [esp + 2]
mov dword [esp + 4], ecx
pushal
jmp 0x95a0a3
push edx
push esp
mov dword [esp + 1], ebp
pushal
push dword [esp + 0x18]
mov dword [esp + 0x1b], eax
jmp 0x95a0d9
mov byte [esp + 1], dh
push edx
mov dword [esp + 7], ecx
pushal
lea esp, [esp + 3]
mov dword [esp + 0x2c], edx
jmp 0x95a06d
mov dword [esp + 7], esi
mov dword [esp + 0x1b], eax
push edx
lea esp, [esp + 0x1d]
push dword [esp + 2]
mov word [esp], di
jmp 0x95a087
mov byte [esp + 0x17], ah
mov dword [esp + 0x22], ecx
lea esp, [esp + 3]
mov dword [esp + 0x50], ebx
call fcn.0095a1c9
movzx ebx, word [eax + 0x3c]
jmp 0x95a233
push dword [esp + 0x28]
pop word [esp + 9]
lea esp, [esp + 0x23]
pushal
jmp 0x95a0ba
cmp word [eax], 0x5a4d
jmp 0x95a283
add ebx, eax
jmp 0x95a2a0
je 0x95a0cf
sub eax, 0x10000
jmp 0x95a228
cmp word [ebx], 0x4550
je 0x9555ea
jne 0x95a289
dec edi
iretd

Function at 0x95a213
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header

Disassembly:
call fcn.0095a113
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x95a249
push edx
pop word [esp + 1]
mov dword [esp + 1], ecx
mov dword [esp + 0x8c], edi
lea esp, [esp + 0x8c]
jmp 0x95a1d3
mov word [esp], bx
push word [esp + 1]
jmp 0x95a1ef
push eax
jmp 0x95a10e
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x95a21e
Function at 0x1001cc06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1001cc15
pop dword [ebp - 0x2c]
mov eax, 0x7e673a30
sub eax, 0x6e656e1b
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x21688828
sub dword [ebp - 0x3c], 0xd31642dd
mov dword [ebp - 0x38], 0x46df6f25
sub dword [ebp - 0x38], 0x14ac22e0
mov dword [ebp - 0x34], 0x26f76ced
sub dword [ebp - 0x34], 0xdaab28bf
mov dword [ebp - 0x30], 0xffffb62e
sub dword [ebp - 0x30], 0xffffb62e
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x7aaab8f1
add dword [ebp - 0x3c], 0xf9c7b065
mov dword [ebp - 0x38], 0x4de4fdda
sub dword [ebp - 0x38], 0xc789c65
mov dword [ebp - 0x34], 0xe5b5ac67
add dword [ebp - 0x34], 0x7db9c005
mov dword [ebp - 0x30], 0x109b0a07
add dword [ebp - 0x30], 0xef64f5f9
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3eb20
push 0
call eax
mov ecx, 0x251b096b
sub ecx, 0x251abc08
xor edi, edi
add edi, eax
mov esi, 0x5bd9aaf1
sub esi, 0x4bd652f1
add esi, dword [ebp - 0x2c]
mov ebx, 0x6e4d1ffa
sub ebx, 0x3197e143
xor dword [ebp - 0x20], ebx
mov edx, dword [esi]
add dword [ebp - 8], ebx
sub edx, ebx
xor dword [ebp - 0x24], 0xae2da5ac
mov dword [edi], edx
add dword [ebp - 0x14], 0x656deff7
add edi, 0x28d5625b
sub edi, 0x28d56257
add esi, 0xb2f09501
sub esi, 0xb2f094fd
loop 0x1001cd2f
add eax, 0xdffc0038
sub eax, 0xdffad7d9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x182606d8
sub ecx, 0x82606d8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x402df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4acd11
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402ca0
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x30]
call fcn.0042c5f0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x1e70]
call fcn.00453fa0
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x20]
mov byte [esi + 0x1e6c], bl
mov byte [esi + 0x1e6d], bl
mov dword [esi + 0x1e58], ebx
mov dword [esi + 0x1e60], ebx
mov dword [esi + 0x1e64], ebx
mov dword [esi + 0x1e68], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x1ecc], esi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x406460
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x190
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x1a4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1a0]
mov ebx, ecx
mov ecx, dword [esp + 0x1b4]
push 0x408
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ecx
call fcn.0049ec14
mov edx, dword [esp + 0x1a8]
mov esi, eax
mov eax, dword [esp + 0x1ac]
add esp, 4
push edi
mov dword [esi], edx
mov dword [esi + 4], eax
call fcn.00464b10
lea edx, [esi + 8]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4064c1
cmp byte [ebx + 4], cl
je 0x4065fe
cmp dword [ebx + 8], 0x50000
push ebp
jb 0x4064fa
cmp dword [0x4dbcbc], 4
jne 0x4064f0
cmp dword [0x4dbcc0], 0
je 0x4064fa
cmp byte [esp + 0x1c4], 0
jne 0x40654f
mov ebp, dword [esp + 0x1b0]
cmp ebp, 0xffffffff
je 0x40650d
cmp dword [esp + 0x10], 0
jne 0x406556
cmp dword [esp + 0x1a8], 2
mov eax, 0x4201
jne 0x406521
mov eax, 0x4203
push eax
push 0x160
lea ecx, [esp + 0x44]
push ecx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp ebp, 0xffffffff
jne 0x40653e
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x10], 0
jne 0x406556
lea edx, [esp + 0x48]
mov dword [esp + 0x10], edx
jmp 0x406556
mov ebp, dword [esp + 0x1b0]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0x37
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x406598
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1bc]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
pop ebp
test esi, esi
je 0x4065e7
call fcn.0043c9b0
test eax, eax
je 0x4065e7
mov eax, dword [ebx]
lea edx, [esp + 0x10]
push edx
push 0
push 0x40b
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x406623
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x406623
mov eax, dword [esp + 0x1bc]
mov ecx, dword [ebx]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x14a
push ecx
call edi
mov edx, dword [ebx]
push esi
push eax
push 0x151
push edx
call edi
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x190
ret 0x24
Function at 0x406ff0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x4dfef0
call fcn.0043f480
mov ebp, eax
xor esi, esi
cmp ebp, esi
je 0x4070a9
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x407098
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea esp, [esp]
mov ecx, dword [edi]
push 0
push esi
push 0x150
push ecx
call ebx
cmp eax, 0xffffffff
je 0x407098
test eax, eax
je 0x407098
mov eax, dword [eax + 4]
test eax, eax
je 0x407071
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ebp
push 0
push ecx
call eax
test eax, eax
je 0x40708b
inc esi
cmp esi, 0x80
jl 0x407040
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x407139
mov ecx, dword [edi]
push 0
push esi
push 0x14e
push ecx
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x407139
lea ecx, [esp + 0x14]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
nop
mov edx, dword [edi]
push 0
push esi
push 0x150
push edx
call ebx
cmp eax, 0xffffffff
je 0x407102
test eax, eax
je 0x407102
cmp dword [eax], 0
jne 0x4070f9
movsx eax, byte [eax + 8]
push eax
call fcn.0049ef56
movsx ecx, byte [esp + 0x18]
push ecx
mov ebp, eax
call fcn.0049ef56
add esp, 8
cmp ebp, eax
je 0x407125
inc esi
cmp esi, 0x80
jl 0x4070c0
push 0
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.00406640
cmp dword [0x4dbc5c], 0
mov ecx, edi
je 0x407134
call fcn.00406970
jmp 0x407139
mov edx, dword [edi]
push 0
push esi
push 0x14e
push edx
call ebx
jmp 0x407113
call fcn.00406900
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x408
ret