joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420568
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x465b83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4205a3
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4205bc
lea eax, [ebp - 0x10]
mov edx, dword [0x4835f0]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4205cf
lea eax, [ebp - 0x10]
mov edx, dword [0x4835f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4205db
adc edx, 0
mov edx, dword [edx*4 + 0x4823fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420755
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420748
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420748
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4206e6
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4206e6
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4206e6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4206e6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420748
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420748
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x42076d
inc ebx
cmp ebx, 0x19
jne 0x420595
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465b8a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2df30f06
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2f80480f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219

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 0x4075d8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x620793
call fcn.0060ebd0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.wxDCBase.0
call fcn.00556350
fld1
mov cl, byte [esi + 8]
fst qword [esi + 0x20]
and cl, 0xe2
fst qword [esi + 0x28]
and al, 1
fst qword [esi + 0x30]
or cl, al
fst qword [esi + 0x38]
or cl, 2
fst qword [esi + 0x40]
xor eax, eax
fstp qword [esi + 0x48]
inc eax
mov byte [esi + 8], cl
lea ecx, [esi + 0x84]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], 5
mov dword [esi + 0x7c], 0x6a
mov dword [esi + 0x80], eax
call fcn.00555af0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x8c]
call fcn.00553020
mov byte [ebp - 4], 2
push 8
call fcn.0053e550
pop ecx
push eax
lea ecx, [esi + 0x94]
call fcn.004079ca
mov byte [ebp - 4], 3
push 0xa
call fcn.0053dc70
pop ecx
push eax
lea ecx, [esi + 0x9c]
call fcn.00407a02
mov byte [ebp - 4], 4
push 0x10
call fcn.0053dc70
pop ecx
push eax
lea ecx, [esi + 0xb0]
call fcn.00407a02
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc4]
call fcn.004074d6
mov byte [ebp - 4], 6
lea ecx, [esi + 0xcc]
call fcn.00552930
mov byte [ebp - 4], 7
and byte [esi + 8], 0xeb
mov byte [esi + 0xd4], bl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x68], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c73e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62433a
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40c77f
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x40c7a7
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x40c7a7
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x40c76b
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x40c7b3
or eax, 0xffffffff
jmp 0x40c76b
cmp dword [esi + 0x3c], edi
jne 0x40c7cb
push eax
movsx eax, bl
push eax
call fcn.005aaca8
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x40c7ae
jmp 0x40c7a3
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b], bl
call fcn.0040d84c
mov dword [esp + 0x6c], edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x40c8d7
cmp eax, 1
jg 0x40c919
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x40c870
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005ac293
add esp, 0x10
cmp edi, eax
jne 0x40c8fd
lea eax, [esp + 0x13]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x40c935
test edi, edi
ja 0x40c89a
cmp dword [esp + 0x58], 0x20
jae 0x40c8fd
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.00406265
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x27]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x40c81e
or esi, 0xffffffff
or dword [esp + 0x6c], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00401ac6
mov eax, esi
jmp 0x40c76b
cmp eax, 3
jne 0x40c8fd
movsx eax, byte [esp + 0x13]
push dword [esi + 0x4c]
push eax
call fcn.005aaca8
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x40c900
mov esi, dword [ebp + 8]
jmp 0x40c900
Function at 0x40cee1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62433a
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x40cf20
lea eax, [ebp + 8]
push eax
call fcn.0040a087
pop ecx
jmp 0x40d0c3
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x40cf4e
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x40cf4e
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x40d0c3
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x40d0be
cmp dword [esi + 0x3c], ebx
jne 0x40cf77
push eax
push edi
call fcn.0040baaf
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x40d0c3
jmp 0x40d0be
movzx eax, di
push ebx
push 8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], eax
call fcn.0040d84c
mov dword [esp + 0x6c], ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x40d086
cmp eax, 1
jg 0x40d0d7
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x40d01f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005ac293
add esp, 0x10
cmp edi, eax
jne 0x40d0ac
lea eax, [esp + 0x10]
mov byte [esi + 0x42], 1
cmp dword [esp + 0x1c], eax
jne 0x40d10e
test edi, edi
ja 0x40d049
cmp dword [esp + 0x58], 0x20
jae 0x40d0ac
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.00406265
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x22]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x40cfcd
or dword [esp + 0x6c], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00401ac6
mov eax, 0xffff
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x40d0ac
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.0040baaf
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x40d0f7
mov esi, 0xffff
or dword [esp + 0x6c], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00401ac6
mov ax, si
jmp 0x40d0c3
or dword [esp + 0x6c], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00401ac6
mov ax, word [ebp + 8]
jmp 0x40d0c3
Function at 0x40df4c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6306c7
call fcn.0060ebd0
sub esp, 0x4c
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x40e05f
cmp byte [esi + 0x41], 0
je 0x40e05f
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x40df85
xor al, al
jmp 0x40e061
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.0040d84c
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [ebp - 0x40]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
add edi, ebx
push edi
push dword [ebp - 0x14]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x40dff9
dec eax
je 0x40dffd
dec eax
dec eax
je 0x40e05b
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00401ac6
mov al, bl
jmp 0x40e061
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x40e03d
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005ac293
add esp, 0x10
cmp edi, eax
jne 0x40dfe3
cmp byte [esi + 0x41], 0
je 0x40e05b
test edi, edi
jne 0x40df93
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.00406265
jmp 0x40df93
mov bl, 1
jmp 0x40dfe5
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40e187
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6306c7
call fcn.0060ebd0
sub esp, 0x48
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x3c], ebx
je 0x40e2a1
cmp byte [esi + 0x42], bl
je 0x40e2a1
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x40e1c7
xor al, al
jmp 0x40e2a3
push ebx
push 8
lea ecx, [ebp - 0x54]
call fcn.0040d84c
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [ebp - 0x40]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
add edi, ebx
push edi
push dword [ebp - 0x14]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x40e23b
dec eax
je 0x40e23f
dec eax
dec eax
je 0x40e29d
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00401ac6
mov al, bl
jmp 0x40e2a3
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x40e27f
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.004063d1
mov ecx, eax
call fcn.0040eb6c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005ac293
add esp, 0x10
cmp edi, eax
jne 0x40e225
cmp byte [esi + 0x42], 0
je 0x40e29d
test edi, edi
jne 0x40e1d5
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.00406265
jmp 0x40e1d5
mov bl, 1
jmp 0x40e227
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x410b45
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi], eax
mov eax, esi
mov esp, ebp
pop ebp
ret

Function at 0x413fc0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x404
mov eax, dword [0x6ea244]
xor eax, esp
mov dword [esp + 0x400], eax
push 0x200
lea eax, [esp + 4]
push eax
push 0x1001
call dword [sym.imp.KERNEL32.DLL_GetThreadLocale]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
lea ecx, [esp]
push ecx
push 0
call fcn.005af8f1
mov ecx, dword [esp + 0x408]
add esp, 8
xor ecx, esp
call fcn.005acc10
add esp, 0x404
ret
Function at 0x414bc0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6ea244]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
cmp dword [0x7227c0], ebx
jne 0x414be2
call fcn.00415590
cmp dword [0x7227c8], 2
je 0x414c07
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005acc10
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x414c3c
lea ecx, [esp + 0xc]
push ecx
push 8
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x414d60
lea edx, [esp + 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 5
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x414d18
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push 2
push edx
call esi
test eax, eax
jne 0x414d0c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x414d0c
mov eax, dword [esp + 0x14]
push edi
push eax
call fcn.005a6c5e
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push edx
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
push 2
push eax
call esi
test eax, eax
je 0x414d02
xor esi, esi
cmp dword [edi], ebx
jbe 0x414d02
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
push ebp
lea ebp, [edi + 4]
mov edi, edi
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push ecx
push edx
call ebx
test eax, eax
je 0x414cf7
mov dword [esp + 0x14], 1
inc esi
add ebp, 8
cmp esi, dword [edi]
jb 0x414ce0
xor ebx, ebx
pop ebp
push edi
call fcn.005a6b81
add esp, 4
pop edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 8], ebx
je 0x414d60
cmp dword [0x7227c0], ebx
jne 0x414d36
call fcn.00415590
cmp dword [0x7227c8], 2
jne 0x414d60
cmp dword [0x7227c0], 6
jb 0x414d60
lea eax, [esp + 4]
call fcn.00414d80
test eax, eax
jne 0x414d5c
cmp dword [esp + 4], 3
jne 0x414d60
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
pop ebx
xor ecx, esp
call fcn.005acc10
add esp, 0x1c
ret
Function at 0x4156f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea ecx, [esp + 4]
push ecx
push edx
mov eax, 4
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
xor esi, esi
push esi
push str.EnableLUA
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415731
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x415740
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret 4

Function at 0x42048a
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x627c60
call fcn.0060ebd0
sub esp, 0x58
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
call fcn.00401879
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 1
call fcn.0041043f
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041045f
mov edi, eax
lea esi, [ebp - 0x34]
call fcn.00411f60
test al, al
jne 0x4205f8
push 3
pop esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
jmp 0x4204f5
push 3
pop esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041045f
mov ecx, eax
call fcn.0040647c
mov dword [ebp - 0x20], eax
cmp eax, esi
lea eax, [ebp - 0x20]
jl 0x420519
lea eax, [ebp - 0x28]
mov ebx, dword [eax]
push esi
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.005a90b0
add esp, 0xc
push ebx
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x34]
call fcn.0042075d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub esp, 0xc
mov edi, esp
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x30]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x24], ecx
movsd dword es:[edi], dword [esi]
call fcn.004207d3
add esp, 0x18
push ebx
lea ecx, [ebp - 0x34]
call fcn.0041219b
mov al, byte [ebp - 0x14]
mov cl, al
shr cl, 2
mov byte [ebp - 0x18], cl
mov cl, byte [ebp - 0x13]
and al, 3
mov dl, cl
shl al, 4
shr dl, 4
or al, dl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x12]
and cl, 0xf
mov dl, al
shl cl, 2
shr dl, 6
or cl, dl
and al, 0x3f
lea esi, [ebx + 1]
xor edi, edi
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
test esi, esi
jle 0x4205c0
movzx eax, byte [ebp + edi - 0x18]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
push 1
call fcn.00406265
inc edi
cmp edi, esi
jl 0x4205a0
push 3
pop eax
sub eax, ebx
test eax, eax
jle 0x4205da
mov esi, eax
mov ecx, dword [ebp + 8]
push 0x3d
push 1
call fcn.00406265
dec esi
jne 0x4205cb
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041045f
mov edi, eax
lea esi, [ebp - 0x34]
call fcn.00411f60
test al, al
je 0x4204f2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4262f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x631d66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov esi, ecx
sub esp, 0x1c
lea eax, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0041cb63
xor eax, eax
mov dword [esp + 0xf0], eax
cmp dword [esi + 0x30], eax
je 0x42633e
mov esi, dword [esi + 0x30]
jmp 0x426341
mov esi, dword [esi + 0x34]
push esi
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0xf8], 0xffffffff
call fcn.00424d32
add esp, 0x24
mov dword [esp + 0xd4], 1
push str.file_sizes
push dword [ebp + 8]
call fcn.00420972
mov esi, eax
call fcn.00420d6a
push dword [esp + 0x28]
lea edi, [esp + 0x20]
lea esi, [esp + 0x10]
mov ebx, eax
call fcn.0040edee
push dword [esp + 0x2c]
lea esi, [esp + 0x18]
call fcn.0040edee
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4263a4
cmp eax, dword [esp + 0x14]
je 0x4263a9
call fcn.005a6714
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x426485
lea eax, [esp + 0x34]
push eax
call fcn.00421118
mov byte [esp + 0xd4], 2
lea esi, [esp + 0xc]
call fcn.004a72fd
mov edx, eax
lea eax, [esp + 0x78]
call fcn.00420ea8
mov byte [esp + 0xd4], 3
push eax
lea eax, [esp + 0x38]
call fcn.00411f12
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0x78]
call fcn.00420ceb
call fcn.004a72fd
lea edx, [eax + 8]
lea eax, [esp + 0x50]
call fcn.00420ea8
mov byte [esp + 0xd4], 4
push eax
lea eax, [esp + 0x38]
call fcn.00411f12
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0x50]
call fcn.00420ceb
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x38]
call fcn.00420e64
mov byte [esp + 0xd4], 5
push eax
mov eax, ebx
call fcn.00411f12
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0xa0]
call fcn.00420ceb
mov byte [esp + 0xd4], 1
lea eax, [esp + 0x34]
push eax
call fcn.00422031
call fcn.0042aa3e
jmp 0x426396
or dword [esp + 0xd4], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.0042a99b
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4