joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3c30
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004e3c10
push ebp
push 0x413bd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e3c83
jmp 0x4e3d00
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.0045b120
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.0045b070
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.0045b830
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.0045ca40
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4e3d57
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004e3bf0
push ebp
push 0x413bd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004e3bf0
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004e3c10
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x510540
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x51055b
jmp 0x510568
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x510570
jmp 0x510578
jmp 0x51062a
xor eax, eax
push 0x510607
push ebp
push 0x413f50
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040cab0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x5105e9
jmp 0x5105fc
cmp dword [ebp - 8], 0
jne 0x5105f1
jmp 0x5105fc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x51062a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54cbf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.0054cbd0
push ebp
push 0x413bd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5ca1a8]
lea eax, [ebp - 0x10]
call fcn.0040a280
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a580
cmp dword [ebp - 0xc], 0
jg 0x54cc4a
jmp 0x54cc6c
mov eax, dword [ebp - 0xc]
lea eax, [eax + 1]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x54cc5d
mov eax, 0x5d42f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
lea esi, [esi]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a580
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040acf0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x54cc95
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x54cca1
mov eax, 0x5d42f0
call fcn.0042d2c0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054cbd0
mov esp, ebp
pop ebp
ret
Function at 0x54e3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x5ca8a0
call fcn.0040e2c0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0054e3c0
push ebp
push 0x413bd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x34]
mov edx, 0
call fcn.004087d0
mov eax, dword [ebp - 0xc]
mov edx, fcn.004e0650
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov dx, 0
call fcn.00409130
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x30]
call fcn.004087d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.0054c1c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0054ea70
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
je 0x54e4d5
jmp 0x54e4f4
mov eax, dword [ebp - 4]
call fcn.00503d30
test al, al
je 0x54e4e3
jmp 0x54e4f4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054e3c0
mov esp, ebp
pop ebp
ret
Function at 0x857058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008571a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x85707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85706a
add dl, dl
jne 0x857089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8570dc
xor eax, eax
add dl, dl
jne 0x857096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85717d
add dl, dl
jne 0x8570a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8570b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8570bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8570c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8570d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x857075
mov eax, 1
add dl, dl
jne 0x8570ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8570f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8570e1
sub eax, ebx
mov ebx, 1
jne 0x857128
mov ecx, 1
add dl, dl
jne 0x85710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x857119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x857105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x857075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x85713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x85714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x857136
cmp eax, 0x7d00
jae 0x85716d
cmp eax, 0x500
jb 0x857168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x857075
cmp eax, 0x7f
ja 0x857170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x857075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x85719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x857075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4041b0
Capabilities:
Encode data using xor

Disassembly:
salc
cmp eax, 0x7d3477ad
lcall 0x29a7, 0x4b4b8d13
imul ecx, ebx, 0x2d693b68
mov ah, 0x9b
push 0xb42d693b
wait
mov ah, 0x97
je 0x404203
fisttp qword [esi - 0x5cb0bbe2]
pop ss
rcl byte [edi + 0x27e96bd1], cl
call 0xb5b02b52
sbb edx, ebx
mov dword [0x42da79b5], eax
in eax, dx
jns 0x4041bf
aad 0xda
or eax, 0x9fb497da
jmp 0x75acb641
jb 0x40427a
stc
mov edx, 0x75ab7573
psubsw mm3, qword [esi - 0x29]
in eax, dx
shl dword [ebx - 0x18], cl
invalid
sbb bh, bl
xor byte [esi - 0x45cdb1cd], dh
or al, 0x88
push es
test byte [esi], 0x3c
sbb dword [ebx + eax*4], 0x72
cmp dword [ebp - 0x42f912fa], 0xffffff86
cli
xchg byte [esi], bl
xchg cl, cl
xchg byte [ebx], dh
or al, 0xab
or eax, 0x3276188f
xor dword [esi - 0x33386ce3], esp
arpl word [esi], bp
out dx, al
pop esi
arpl word [esi - 0x7dc99ee1], di
xor eax, dword [edx + 0x34]
invalid
inc esi
mov esp, 0x14691a31
and al, 0x32
sub dh, byte [ebx]
fisub dword [edi + 0x74]
aad 0xe8
mov ebp, 0xd438cb31
cmp bh, dl
js 0x404238
jno 0x404238
int1
sbb eax, 0xc9c4dc13
or cl, 0x74
xchg ebx, eax
dec ebp
daa
dec ebp
jp 0x4042ec
sbb cl, byte [esp + esi*8 + 0x5918291b]
jb 0x4042af
dec eax
fisttp word [ecx + edx*2 + 0x53]
enter 0x4cdf, 0x51
push ebx
daa
sar dword [eax - 0x2d], cl
pop ecx
cmpsb byte [esi], byte es:[edi]
fisttp dword [edi + ecx*8 - 0x65]
neg byte [ecx - 0x647a6467]
leave
int3
pop ecx
insd dword es:[edi], dx
lodsb al, byte [esi]
pop esi
dec ebx
push ebx
retf
Function at 0x1007a750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1007a77d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1007a77d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
sub ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..retplne
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2a2b4968
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5add1f72
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
nop
nop
sub eax, 0x403d10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401070
Capabilities:
Create process on windows
Get common file path
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x480
mov eax, dword [0x44f00c]
xor eax, esp
mov dword [esp + 0x47c], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x24]
mov esi, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 0
push eax
mov word [esp + 0x98], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 0x64], eax
test eax, eax
je 0x401105
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 0x24]
neg eax
sbb eax, eax
and dword [esp + 0x68], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [esp + 0x64], 0
jne 0x401261
push 0x208
lea eax, [esp + 0x74]
push 0
push eax
call fcn.0040b8a0
add esp, 0xc
lea eax, [esp + 0x70]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.GeeksUninstProUserData
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x70]
push eax
push str.Chrome_MessageWindow
push 0
push 0xfffffffffffffffd
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x401261
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401170
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.00401350
push 0x208
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.0040b8a0
add esp, 0xc
lea eax, [esp + 0x278]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], 0x3c
push 0
push eax
call fcn.0040b8a0
add esp, 0xc
mov dword [esp + 0x34], str.runas
cmp dword [esp + 0x20], 8
lea eax, [esp + 0x278]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x48], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x401211
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x20]
cmp edx, 8
jb 0x401249
mov ecx, dword [esp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40123f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401291
push edx
push ecx
call fcn.004090b7
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.00409076
mov esp, ebp
pop ebp
ret 0x10
call fcn.00402240
push ecx
call fcn.004021a0
add esp, 4
push 0
push esi
push 0
push edi
call dword [sym.imp.webengine.dll__WebEngineStartup_16]
mov ecx, dword [esp + 0x484]
pop edi
pop esi
xor ecx, esp
call fcn.00409076
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040dc8a
int3
Function at 0x401720
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 0x401779
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401779
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 0x40176a
cmp esi, edx
jae 0x401779
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401758
cmp esi, edx
jae 0x401779
cmp word [esi], 0
je 0x401779
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x401dc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d88b
mov eax, dword fs:[0]
push eax
mov eax, 0x4030
call fcn.00426b70
mov eax, dword [0x44f00c]
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 esi, ecx
push 0x4000
lea eax, [ebp - 0x4014]
push 0
push eax
call fcn.0040b8a0
add esp, 0xc
mov dword [ebp - 0x4020], 0
test esi, esi
je 0x401fae
lea eax, [ebp - 0x4020]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x401fae
cmp eax, 0x3fff
ja 0x401fae
lea ecx, [ebp - 0x4014]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x401fae
lea eax, [ebp - 0x402c]
push eax
lea eax, [ebp - 0x4030]
push eax
push 0x4483ec
lea eax, [ebp - 0x4014]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x401fae
push 0x208
push 0
push 0x452740
call fcn.0040b8a0
mov eax, dword [ebp - 0x4030]
add esp, 0xc
movzx esi, word [eax + 0xc]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 8]
movzx eax, word [eax + 0xa]
mov dword [ebp - 0x4038], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x454794]
cmp eax, dword [ecx + 4]
jle 0x401ef0
push 0x454794
call fcn.004094df
add esp, 4
cmp dword [0x454794], 0xffffffff
jne 0x401ef0
push 0x454794
mov dword [0x454790], 0
call fcn.00409495
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x4031], 0
movlpd qword [ebp - 0x401c], xmm0
lea eax, [ebp - 0x401c]
mov dword [ebp - 4], 0
push eax
call fcn.00424aa2
add esp, 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x401c]
mov dword [ebp - 0x4028], eax
lea eax, [ebp - 0x4031]
mov dword [ebp - 0x4024], eax
lea eax, [ebp - 0x4028]
push eax
push 0x403670
push 0x454790
call fcn.0042507c
add esp, 0xc
test eax, eax
je 0x401f91
lea eax, [ebp - 0x401c]
mov dword [ebp - 4], 2
push eax
call fcn.00424adc
add esp, 4
push esi
push edi
push ebx
push dword [ebp - 0x4038]
push 0x452954
push 0x103
push 0x452740
call fcn.00401b30
add esp, 0x1c
mov eax, 1
jmp 0x401fb0
lea eax, [ebp - 0x401c]
mov byte [ebp - 4], 3
push eax
call fcn.00424afd
add esp, 4
mov byte [ebp - 4], 1
test al, al
je 0x401fe2
jmp 0x401fcc
xor eax, eax
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.00409076
mov esp, ebp
pop ebp
ret
sub esp, 8
lea eax, [ebp - 0x401c]
mov ecx, esp
push eax
call fcn.00401c00
call fcn.00401cc0
call fcn.0042512b
int3
Function at 0x4022d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x402348
test esi, esi
je 0x402348
push 5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x402348
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402348
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [esi + 4]
mov byte [edi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402348
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409076
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.00409076
mov esp, ebp
pop ebp
ret

Function at 0x4039a0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db48
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x44f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x403a44
cmp word [esi], di
je 0x403a44
test eax, eax
je 0x4039ff
cmp word [eax], di
je 0x4039ff
push edi
push edi
push eax
push esi
push edi
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x403a44
jmp 0x403a3f
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0040b8a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
js 0x403a44
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x403a62
mov dword [ebp - 0x424], edi
lea ecx, [ebp - 0x424]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp + 0x34]
mov dword [ebp - 4], 1
test esi, esi
je 0x403a80
mov edx, dword [esi]
lea eax, [ebp + 0x10]
cmp esi, eax
setne cl
movzx ecx, cl
push ecx
mov ecx, esi
call dword [edx + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409076
mov esp, ebp
pop ebp
ret 0x30