joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444660
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444693
push esi
call fcn.00447750
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44468c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444719
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444702
mov eax, dword [esi + 8]
test eax, eax
je 0x4446b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4446fe
cmp eax, 2
je 0x444702
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4446aa
cmp eax, 3
je 0x4446dd
cmp eax, 1
jne 0x4446aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4446aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4446aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444740
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444728
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444740
add esp, 4
pop esi
ret

Function at 0x462e45
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x462e7d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460efc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460ed4
jmp 0x462e89
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46453a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46457c
call fcn.00469fea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46457c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464573
xor eax, eax
jmp 0x464584
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046458a
pop edi
pop esi
pop ebx
ret 4

Function at 0x46a51a
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 0x46a548
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a566
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a480
jmp 0x46a566
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a566
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a480
test edi, edi
mov eax, edi
jne 0x46a550
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x690a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x144000]
push edi
or ebp, 0xffffffff
jmp 0x690a32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x690a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x690a28
mov eax, 1
add ebx, ebx
jne 0x690a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x690a5c
jne 0x690a7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x690a7b
dec eax
add ebx, ebx
jne 0x690a68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x690a40
add ebx, ebx
jne 0x690a77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x690acd
xor ecx, ecx
sub eax, 3
jb 0x690a93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x690b02
sar eax, 1
mov ebp, eax
jmp 0x690a9e
add ebx, ebx
jne 0x690a9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x690a6c
inc ecx
add ebx, ebx
jne 0x690aac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x690a6c
add ebx, ebx
jne 0x690ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x690aae
jne 0x690aca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x690aae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x690aec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x690ade
jmp 0x690a2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x690aec
add edi, ecx
jmp 0x690a2e
pop esi
mov edi, esi
mov ecx, 0x4745
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x690b0a
cmp byte [edi], 0x13
jne 0x690b0a
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 0x690b0f
lea edi, [esi + 0x28d000]
mov eax, dword [edi]
or eax, eax
je 0x690b87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b8510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b8650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x690b3c
mov ecx, edi
jns 0x690b6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2b8654]
or eax, eax
je 0x690b81
mov dword [ebx], eax
add ebx, 4
jmp 0x690b59
call dword [esi + 0x2b8664]
mov ebp, dword [esi + 0x2b8658]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x690bbb
sub esp, 0xffffff80
jmp 0x483cb1
Function at 0x785daa
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x785de3
mov ebx, dword [ecx + 4]
sub esp, 0xe
xchg word [esp + 0xa], bp
mov dword [esp + 3], esi
bsf bp, ax
jmp 0x785e35
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
lea esp, [esp + 8]
and edi, 0xff0000
jmp 0x785dac
pushal
mov si, 0xe303
xchg ch, al
mov dword [esp], edx
pushal
jmp 0x785eba
xor eax, edi
xor di, 0x7c2c
mov edi, 0x66252ab0
jmp 0x785e03
lea esp, [esp + 2]
lea esp, [esp + 0xc]
and eax, 0xff000000
ror bp, cl
lea ebp, [esi + 0xd]
jmp 0x785e1c
mov edi, edx
inc bp
dec ebp
jmp 0x785ecc
xor eax, edi
jmp 0x785e6d
shr edi, 0x18
movzx edi, byte [edi*4 + 0x762f0c]
sub bp, 0xe1b8
jmp 0x785e83
sub esp, 0x12
pop dword [esp + 0xc]
lea esp, [esp + 2]
lea esp, [esp + 0x2c]
popal
jmp 0x785e9a
and edi, esi
pushal
pop bp
lea esp, [esp + 0x17]
lea esp, [esp + 3]
jmp 0x785f43
lea esp, [esp + 2]
xor eax, edi
lea esp, [esp + 0x20]
xor eax, dword [ecx]
jmp 0x786c42
lea esp, [esp + 0x10]
mov ebp, 0xff00
call fcn.00785ef1
and edi, ebp
sub esp, 0x1a
pop dword [esp + 0xa]
push dword [esp]
mov dword [esp + 7], eax
jmp 0x785f00
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
mov ebp, 0x1d3fc488
sub esp, 0xc
mov ebp, 0x4b9dbca6
jmp 0x785f1d
lea edi, [ecx + 0x10]
call fcn.00786b99
and edi, ecx
call fcn.00786cd4
pop esi
invalid
Function at 0x882ae4
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop cx
push dword [esp + 0x1e]
lea esp, [esp + 0x41]
mov dl, byte [esp]
neg bp
sub esp, 0xc
jmp 0x882b2b
rdtsc
cpuid
jmp 0x882ac5
neg edx
sub esp, 0x10
rcr edx, 0x1b
mov word [esp + 6], sp
mov si, dx
xchg dword [esp + 3], ebx
jmp 0x882b59
mov dword [esp + 1], ebp
clc
mov dword [esp + 1], ebp
lea esp, [esp + 0xb]
mov ax, 0x7475
setns dh
jmp 0x882b11
lea esp, [esp + 5]
mov cl, ch
push word [esp + 1]
mov dh, byte [esp + 0xd]
pop cx
jmp 0x882d06
ror ah, 1
xchg word [esp + 5], si
neg edx
lea edx, reloc.WINMM.dll_midiStreamOut
xchg byte [esp], al
xchg word [esp + 0xc], dx
jmp 0x882b41
add esp, 0
lea ebx, [esi - 0xc5]
cpuid
rdtsc
call fcn.00882b8d
cmc
mov cl, 0xc2
mov bp, word [esp + 2]
mov ah, byte [esp + 0x15]
mov cx, di
mov bp, 0x332f
jmp 0x882c1a
rdtsc
cpuid
add esp, 0xb
not ch
xchg ebp, edi
rdtsc
jmp 0x882ba3
mov ecx, 0x4c38edd8
mov word [esp], bx
btr esi, esp
cpuid
jmp 0x882ce8
mov si, bx
mov cx, 0x8b29
add esp, 0x15
mov edi, eax
inc ax
sub esp, 0xe
jmp 0x882bde
setle ah
lea eax, [ecx*4]
lea edi, reloc.WINMM.dll_midiStreamOut
add esp, 3
lea esp, [esp + 7]
mov cx, 0x6fed
jmp 0x882bf4
pop word [esp + 0x16]
mov dword [esp + 3], ebp
pop esi
xchg dword [esp + 0xc], esi
sub esp, 0x10
xchg edx, esi
jmp 0x882c68
neg ch
mov edi, esi
mov edx, dword [esp + 3]
sub esp, 0x18
mov dword [esp + 0xa], ecx
push word [esp + 0xc]
jmp 0x882c37
lea ebx, [edi*4]
lea eax, [esp + edi]
xchg edx, eax
xchg word [esp + 0xb], si
mov word [esp + 0x1a], bx
stc
jmp 0x882cbe
mov dword [esp + 3], ebp
pop dword [esp]
xchg byte [esp + 2], dl
push dword [esp + 3]
lea ebp, [edi + ebp]
rcr eax, 1
jmp 0x882c52
rdtsc
neg di
xchg ah, bl
xor edi, esi
mov dword [esp + 0x16], eax
xchg byte [esp + 4], cl
jmp 0x882ccc
mov di, sp
xchg edx, eax
pop edi
sub ebx, eax
inc dx
pop di
jmp 0x882ca3
xchg edi, ebx
xchg dword [esp + 0x1f], esi
mov dl, dh
mov bp, word [esp + 0x1e]
lea esp, [esp + 0x1f]
xchg dword [esp + 2], esi
jmp 0x882dbe
mov dword [esp + 0xd], ecx
inc bl
and edi, ecx
mov ecx, 0xaeaa4996
lea esp, [esp + 0xb]
mov edi, dword [esp + 2]
jmp 0x882c8d
mov si, di
bsf di, ax
neg ax
mov di, word [esp + 4]
mov di, 0x8611
inc cl
jmp 0x882bcf
mov si, word [esp]
cpuid
lea esp, [esp + 5]
lea ebx, [edi*4]
lea ebx, [edx + edx]
mov cx, word [esp + 1]
call fcn.00882d87
Function at 0x882e92
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov cl, 0xaa
lea esi, [edx*4]
rdtsc
xchg dword [esp + 8], eax
jmp 0x88297e
push dword [esp + 0xa]
mov ebp, dword [esp + 0x1b]
mov al, ah
inc ax
mov dx, word [esp + 0x1e]
cpuid
jmp 0x882939
sub esp, 0x16
mov al, 0x5e
stc
mov dword [esp + 0x13], eax
mov ch, byte [esp + 5]
rdtsc
jmp 0x88294f
xchg bh, cl
xchg byte [esp + 0xa], bl
mov ebp, dword [esp + 0x1b]
mov esi, 0x1e8b3294
jmp 0x8829d3
mov ch, byte [esp + 5]
cpuid
mov word [esp + 0xa], dx
lea ebp, reloc.WINMM.dll_midiStreamOut
cld
neg ebp
jmp 0x88296c
xchg word [esp + 0x1d], di
not esi
push dword [esp + 0x12]
pop bp
xchg word [esp + 0x25], bx
mov bl, bh
jmp 0x882a34
mov dx, 0x75b9
push dword [esp + 0x10]
push word [esp + 0x13]
pop word [esp + 0x17]
mov bl, bh
jmp 0x8829aa
add eax, ebp
btr ecx, esp
mov ah, byte [esp + 5]
mov dword [esp + 5], ecx
xchg dword [esp + 4], ecx
push edx
jmp 0x882994
sub esp, 4
lea esp, [esp + 0x25]
call fcn.00882a1d
lea edi, [esi - 0xcd]
pop word [esp + 4]
lea edx, [esi - 0x9d]
jmp 0x882b77
ror edi, 0x11
push word [esp + 3]
xchg word [esp + 1], cx
neg bx
push edx
cld
jmp 0x8829ee
pop ax
clc
xchg dword [esp + 5], esi
mov dword [esp + 2], ecx
mov dl, dh
lea ebx, [edx + ebx]
jmp 0x882afd
mov di, word [esp + 0xc]
cpuid
xchg ebx, edx
xchg dword [esp + 1], ecx
call fcn.00882ae4
leave
push 0x875e228b
dec esp
and al, 0x18
pop esi
xchg dword [esp + 0x18], ecx
lea ecx, [eax - 0x79]
mov ch, byte [esp + 0x19]
xchg word [esp + 3], bx
mov bl, bh
jmp 0x882a88
xchg ch, dl
xchg word [esp + 3], ax
mov edi, dword [esp + 0x17]
pushal
xchg ah, bl
xchg byte [esp + 0x1c], cl
jmp 0x882a9a
xchg dword [esp + 4], esi
mov dl, 0x34
mov ecx, dword [esp]
sub esp, 0x16
mov bh, 0xc3
lea eax, [ebp - 0x77]
jmp 0x882ab0
pop edi
lea eax, [eax + 0x61]
mov cl, ch
mov byte [esp], dh
and si, 0x7d22
jmp 0x882a71

Function at 0x88318a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg si, cx
mov edx, 0xd56e0f90
mov eax, ebp
setnp ah
push word [esp + 1]
jmp 0x8831c7
mov word [esp], sp
not ah
inc dx
mov si, bx
jmp 0x883171
neg esi
xchg dword [esp], ebx
lea ecx, [ebp*4]
mov bl, 0xb0
pop ebp
jmp 0x8831b0

Function at 0x8836bd
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 0xb], ch
neg dh
cpuid
push edx
mov di, word [esp + 0xb]
mov ebp, eax
jmp 0x88368a
jmp 0x8836a2

Function at 0x88813d
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Parse pe header

Disassembly:
call fcn.00887014
pop word [esp + 1]
jmp 0x888172
push dword [esp + 9]
lea esp, [esp + 2]
pop dword [esp + 2]
lea esp, [esp + 1]
jmp 0x8881de
mov dword [esp], ebp
mov word [esp + 2], dx
push word [esp + 3]
mov dword [esp], esi
push dword [esp + 6]
jmp 0x88815c
push eax
jmp 0x88700f
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x8881a1
mov dword [esp + 0x28], edi
lea esp, [esp + 0x28]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x8881bb
Function at 0x42418c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4618e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x47b110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi], 0x468a74
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov ebx, 1
mov dword [esi + 0x10], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 0x20], edi
mov dword [ebp - 4], edi
mov dword [esi], 0x46673c
mov eax, dword [0x47b000]
mov edx, dword [eax + 0xc]
mov ecx, 0x47b000
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], bl
lea ebx, [esi + 0x3c]
push 8
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
call fcn.00465901
add esp, 4
cmp eax, edi
je 0x424342
mov dword [ebx], eax
mov dword [eax + 4], edi
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebx]
mov dword [eax], ebx
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
lea eax, [esi + 0x54]
push 0x1388
push eax
mov byte [ebp - 4], 3
call dword [fcn.00463114]
mov byte [ebp - 4], 4
mov edx, dword [0x47b000]
mov eax, dword [edx + 0xc]
mov ecx, 0x47b000
lea ebx, [esi + 0x6c]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov edx, dword [0x47b000]
mov eax, dword [edx + 0xc]
mov ecx, 0x47b000
call eax
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 6
mov edx, dword [0x47b000]
mov eax, dword [edx + 0xc]
mov ecx, 0x47b000
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [ebp - 4], 7
mov edx, dword [0x47b000]
mov eax, dword [edx + 0xc]
mov ecx, 0x47b000
call eax
add eax, 0x10
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 8
mov edx, dword [0x47b000]
mov eax, dword [edx + 0xc]
mov ecx, 0x47b000
call eax
add eax, 0x10
mov dword [esi + 0x7c], eax
mov byte [ebp - 4], 9
push 0x465934
push ebx
xor ebx, ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.0041b38c
push 0x465934
lea eax, [esi + 0x2c]
push eax
call fcn.0041b38c
push 0x465934
lea eax, [esi + 0x70]
push eax
call fcn.0041b38c
push 0x465934
lea eax, [esi + 0x74]
push eax
call fcn.0041b38c
push 0x465934
lea eax, [esi + 0x78]
push eax
call fcn.0041b38c
mov dword [esi + 0x80], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], edi
call fcn.0046579e
push 0x4728ac
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0x46377c
call fcn.00467856
int3
Function at 0x42e05c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x94], 0
je 0x42e0c6
cmp dword [esi + 0x98], 0
jbe 0x42e0c6
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x42e081
mov eax, dword [eax]
push 0x4683b4
push eax
lea eax, [ebp - 4]
push eax
call fcn.00466ef0
add esp, 0xc
test eax, eax
jne 0x42e0c6
mov eax, dword [ebp - 4]
test eax, eax
je 0x42e0c6
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
push eax
push 1
push ecx
push edx
call fcn.0046708e
mov eax, dword [ebp - 4]
push eax
call fcn.00467175
add esp, 0x14
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x438f7c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ea2c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x47b110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], 0x4695e4
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x10], ebx
mov byte [ebp - 4], 1
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 2
lea esi, [edi + 0x48]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.0041b47c
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x4c], ebx
mov dword [ebp - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45482c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x47b110]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov byte [eax], 1
mov eax, dword [esi + 0x78]
push eax
mov edi, ecx
call dword [fcn.00463358]
push eax
call dword [int.00463494]
cmp byte [esi + 0x27], 0
jne 0x4548ca
cmp byte [esi + 0x24], 0
mov dword [esi + 0xc0], 9
je 0x45499e
cmp byte [esi + 0x25], 0
je 0x45499e
cmp byte [esi + 0x26], 0
je 0x45499e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x45499e
mov eax, dword [esi + 4]
test eax, eax
je 0x45499e
cmp byte [eax + 0xab], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
sete al
movzx eax, al
push 0
push eax
push esi
call edx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004655e8
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esp + 0xc], eax
sub eax, dword [esi + 0xb4]
inc ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0xb8]
add eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x10], eax
movsx eax, di
mov dword [esp + 8], ecx
shr edi, 0x10
movsx ecx, di
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [0x4634e4]
test eax, eax
je 0x45492e
mov dword [esi + 0xc0], 2
mov dword [esi + 0xbc], 1
jmp 0x454942
mov dword [esi + 0xc0], 6
mov dword [esi + 0xbc], 0
cmp byte [esi + 0x24], 0
je 0x45497a
cmp byte [esi + 0x25], 0
je 0x45497a
cmp byte [esi + 0x26], 0
je 0x45497a
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x45497a
mov eax, dword [esi + 4]
test eax, eax
je 0x45497a
cmp byte [eax + 0xab], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
sete al
movzx eax, al
push 0
push eax
push esi
call edx
mov eax, dword [esi + 0xbc]
push eax
mov eax, esi
call fcn.00454c9c
mov ecx, dword [esi + 0x78]
push 0
push 0xc8
push 0x3e9
push ecx
call dword [fcn.00463450]
mov ecx, dword [esp + 0x14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004655e8
mov esp, ebp
pop ebp
ret 4
Function at 0x4549bc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x47b110]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x78]
push edi
push 0x3e9
push eax
mov edi, ecx
call dword [fcn.0046344c]
cmp byte [esi + 0x27], 0
jne 0x4549f4
mov dword [esi + 0xc0], 9
jmp 0x454a4e
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x3c]
dec eax
mov dword [esp + 0xc], eax
sub eax, dword [esi + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xb8]
inc ecx
add eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x10], eax
movsx eax, di
mov dword [esp + 8], ecx
shr edi, 0x10
movsx ecx, di
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [0x4634e4]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
mov dword [esi + 0xc0], eax
cmp byte [esi + 0x24], 0
je 0x454a86
cmp byte [esi + 0x25], 0
je 0x454a86
cmp byte [esi + 0x26], 0
je 0x454a86
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x454a86
mov eax, dword [esi + 4]
test eax, eax
je 0x454a86
cmp byte [eax + 0xab], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
sete al
movzx eax, al
push 0
push eax
push esi
call edx
mov ecx, dword [esp + 0x14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004655e8
mov esp, ebp
pop ebp
ret
Function at 0x46180c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c973
mov eax, dword fs:[0]
push eax
mov eax, dword [0x47b110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 1
mov dword [eax], 0x469ef8
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x18], dl
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], ecx
mov dword [eax], 0x46ca00
mov dword [eax + 0x28], 0x46aa90
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [ebp - 4], dl
mov dword [eax + 8], edx
mov dword [eax + 0x24], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x461cbc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ca28
mov eax, dword fs:[0]
push eax
mov eax, dword [0x47b110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 1
mov dword [eax], 0x469ef8
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x18], dl
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], ecx
mov dword [eax], 0x46ca28
mov dword [eax + 8], 2
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [eax + 0x38], cl
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x408909
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
mov eax, eax
call fcn.00408940
sub ecx, 0xa77ebd29
xor dword [ebx], edx
sub ecx, 0xb94e9099
inc ebx
add ecx, 0xbeddf96e
cmp ebx, esi
jne fcn.00408909
sub ecx, ecx
sub eax, eax
ret
Function at 0x4037dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x462020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403874
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403854
xor eax, eax
push ebp
push 0x40384d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403890
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403854
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x462020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x462020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46504c], 0
je 0x40461d
cmp word [0x465220], 0xd7b2
jne 0x4045e5
cmp dword [0x465228], 0
jbe 0x4045e5
mov eax, 0x46521c
call dword [0x465238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x462074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404644
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x462030], 0
jne 0x404639
push 0
push 0x46206c
push 0x462074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret