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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40904c], 1
mov dword [0x409050], 1
mov dword [0x409054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x401940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040292c
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort

Function at 0x402514
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x402533
mov eax, 0
jmp 0x402577
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x402556
mov eax, 0
jmp 0x402577
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x402572
mov eax, 0
jmp 0x402577
mov eax, 1
leave
ret
Function at 0x402579
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025d0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025d0
mov eax, dword [ebp - 4]
jmp 0x4025ec
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4025ad
mov eax, 0
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 0x5ff990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x163000]
push edi
or ebp, 0xffffffff
jmp 0x5ff9b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5ff9b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ff9a8
mov eax, 1
add ebx, ebx
jne 0x5ff9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5ff9dc
jne 0x5ff9fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ff9fb
dec eax
add ebx, ebx
jne 0x5ff9e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5ff9c0
add ebx, ebx
jne 0x5ff9f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5ffa4d
xor ecx, ecx
sub eax, 3
jb 0x5ffa13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5ffa82
sar eax, 1
mov ebp, eax
jmp 0x5ffa1e
add ebx, ebx
jne 0x5ffa1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ff9ec
inc ecx
add ebx, ebx
jne 0x5ffa2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ff9ec
add ebx, ebx
jne 0x5ffa39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5ffa2e
jne 0x5ffa4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5ffa2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5ffa6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5ffa5e
jmp 0x5ff9ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5ffa6c
add edi, ecx
jmp 0x5ff9ae
pop esi
mov edi, esi
mov ecx, 0x965f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5ffa8a
cmp byte [edi], 0x1f
jne 0x5ffa8a
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 0x5ffa8f
lea edi, [esi + 0x1f0000]
mov eax, dword [edi]
or eax, eax
je 0x5ffafe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21e42c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21e56c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5ffabc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21e570]
or eax, eax
je 0x5ffaf8
mov dword [ebx], eax
add ebx, 4
jmp 0x5ffad9
call dword [esi + 0x21e580]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5ffb2f
cmp al, 0xef
ja 0x5ffb22
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5ffb04
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5ffb11
mov ebp, dword [esi + 0x21e574]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5ffb63
sub esp, 0xffffff80
jmp 0x545fdc
Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push edi
nop
adc dword [eax - 0x6f211c70], 0xffffff90
push ss
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x51]
test eax, eax
je 0x40a410
mov ecx, dword [esi]
pushal
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a448
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test dword [edi], esp
jne 0x40a3fe
pop esi
in al, 0x77
or byte [eax], al
inc dword [edx + 5]
cmp ah, 0xa
add byte [esi + 0x5d], bl
ret 8
inc esp
cmp ecx, dword [esi]
add byte [ebp + 0x78], bl
inc byte [eax]
pop ecx
and al, 0xfa
nop
nop
mov bl, 0x90
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dh, 0x90
nop
nop
push ebp
mov ebp, esp
cmp dword [0xe008dc], 0x14
jl 0x40a45f
push eax
sub byte [edx - 0x1e00ffbf], bl
inc eax
rol byte [eax], 0x8b
inc ebp
or byte [ebx], ah
and byte [edi + 0x40], dl
add byte [eax + 0x70], ch
movsb byte es:[edi], byte [esi]
inc eax
add byte [eax + 0x28], ch
pop es
pop ebx
pop eax
call fcn.00405600
xor esp, dword [ebx]
pop ebp
ret
Function at 0x408f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbe50
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4e216c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408f80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.00408e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x409d90
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc076
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4e216c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x230]
push 0x2001f
setne al
push str.SoftwareMicrosoftWindowsCurrentVersionRun
add eax, 0x80000001
push eax
call fcn.0040d2f0
mov edi, dword [ebp - 0x230]
test eax, eax
jne 0x409f27
call fcn.0040ce00
mov ecx, eax
test ecx, ecx
je 0x409f54
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str.__s___s
push eax
call fcn.0040cd10
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00497c30
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409eb6
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x409ea4
cmp eax, 2
jne 0x409eb6
cmp dword [ebp - 0x21c], 0
jne 0x409eb6
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0049b416
add esp, 8
test eax, eax
je 0x409f04
test esi, esi
je 0x409f04
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409ee0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409f20
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x409f29
xor esi, esi
test edi, edi
je 0x409f34
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047592d
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040c4e0
int3
Function at 0x40cee0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc588
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e216c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x50a1d0], 0
jne 0x40cf24
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x50a1d0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040ce00
mov ecx, eax
test ecx, ecx
je 0x40cf90
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x50a1d0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040c500
test al, al
jne 0x40cf7c
mov ecx, 0x50a1d0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cf60
sub ecx, edx
sar ecx, 1
push ecx
push 0x50a1d0
mov ecx, esi
call fcn.0040d800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040c4e0
int3
Function at 0x40d030
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4e216c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.YxhGametray
push dword [ebx]
call fcn.0049b416
add esp, 8
test eax, eax
je 0x40d0a1
push str.LeyouGametray
push dword [ebx]
call fcn.0049b416
add esp, 8
test eax, eax
je 0x40d0a1
push dword [ebx + 0x14]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x40d210
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00497c30
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x14]
push 0x104
push eax
push str.true
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.false
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24c], ecx
test eax, eax
je 0x40d20e
call fcn.00474550
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40d208
push 0x54
push str.d:jenkins.jenkinsworkspace_birdhelper_birdhelper_autorunmanger_autorunmanager.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040f110
push 3
push 0x4c2a08
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040f110
mov byte [ebp - 4], 1
call fcn.00474550
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x32c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004080f0
mov esi, eax
push str.IsDisable_
push esi
mov byte [ebp - 4], 2
call fcn.004097b0
mov ecx, dword [ebx + 0x14]
mov edx, 0x4c2968
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00407020
push 0x4c2fec
push esi
call fcn.004097b0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00407020
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.004098e0
lea ecx, [ebp - 0x230]
call fcn.00408b70
lea ecx, [ebp - 0x248]
call fcn.00408b70
mov ecx, dword [ebp - 0x24c]
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047592d
mov esp, ebp
pop ebp
ret
Function at 0x40daf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40db49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40db49
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40db3a
cmp esi, edx
jae 0x40db49
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40db28
cmp esi, edx
jae 0x40db49
cmp word [esi], 0
je 0x40db49
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x412f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4e216c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x6c], 0x490044
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x6c]
mov eax, 0x50a6a0
mov dword [ebp - 0x68], 0x410044
push edi
mov dword [ebp - 0x64], 0x410057
mov edx, 0x33
mov dword [ebp - 0x60], 0x4c004c
sub esi, eax
mov dword [ebp - 0x5c], 0x410050
mov dword [ebp - 0x58], 0x450050
mov dword [ebp - 0x54], 0x5f0052
mov dword [ebp - 0x50], 0x430042
mov dword [ebp - 0x4c], 0x300042
mov dword [ebp - 0x48], 0x390041
mov dword [ebp - 0x44], 0x330035
mov dword [ebp - 0x40], 0x37002d
mov dword [ebp - 0x3c], 0x370035
mov dword [ebp - 0x38], 0x2d0039
mov dword [ebp - 0x34], 0x380034
mov dword [ebp - 0x30], 0x330062
mov dword [ebp - 0x2c], 0x38002d
mov dword [ebp - 0x28], 0x440034
mov dword [ebp - 0x24], 0x2d0043
mov dword [ebp - 0x20], 0x390037
mov dword [ebp - 0x1c], 0x390041
mov dword [ebp - 0x18], 0x330034
mov dword [ebp - 0x14], 0x460038
mov dword [ebp - 0x10], 0x440033
mov dword [ebp - 0xc], 0x390037
nop word [eax + eax]
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x41305e
movzx ecx, word [esi + eax]
test cx, cx
je 0x41305e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x413040
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047592d
mov esp, ebp
pop ebp
ret
Function at 0x416ab0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e216c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.00497c30
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.00497c30
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x416b13
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x416b18
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x416b36
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x416b38
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x416b4c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x50dfac]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047592d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x419860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcec6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e216c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41990c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41990c
call fcn.004179d0
mov esi, eax
jmp 0x4199fc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41992f
call fcn.004179d0
jmp 0x4199ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41994d
call fcn.004179d0
jmp 0x4199ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41996e
mov esi, 0x8007000e
jmp 0x4199f1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004177d0
jmp 0x419998
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4199af
mov esi, 0x8007000e
jmp 0x4199f1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4199cf
call fcn.004179d0
jmp 0x4199ef
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004196c0
mov esi, eax
test edi, edi
je 0x4199fc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x419a20
lea ecx, [ebp - 0x418]
call fcn.00418050
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047592d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e530
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd1a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e216c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
je 0x41e5bc
lea ecx, [ebp - 0xd]
call fcn.0041e370
mov edx, eax
test edx, edx
jne 0x41e58c
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.0040d800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e591
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.0040d800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.0040c640
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e620
lea ecx, [ebp - 0xd]
call fcn.0041e1b0
mov edx, eax
lea ebx, [edi + 0x10]
test edx, edx
jne 0x41e601
xor ecx, ecx
push ecx
push edx
mov ecx, ebx
call fcn.0040d800
jmp 0x41e640
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e606
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040d800
jmp 0x41e640
push esi
call fcn.00469820
add esp, 4
test eax, eax
je 0x41e640
mov eax, dword [edi]
push 0
push 0
push esi
push 1
push eax
push eax
call fcn.0041e910
add esp, 0x18
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e65b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret