joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c0a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x55f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x64], 0x4c0043
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x64]
mov eax, 0x56c608
mov dword [ebp - 0x60], 0x760069
push edi
mov dword [ebp - 0x5c], 0x550065
mov edx, 0x2f
mov dword [ebp - 0x58], 0x640070
sub esi, eax
mov dword [ebp - 0x54], 0x740061
mov dword [ebp - 0x50], 0x720065
mov dword [ebp - 0x4c], 0x3a003a
mov dword [ebp - 0x48], 0x700055
mov dword [ebp - 0x44], 0x610064
mov dword [ebp - 0x40], 0x650074
mov dword [ebp - 0x3c], 0x20002c
mov dword [ebp - 0x38], 0x6e0049
mov dword [ebp - 0x34], 0x740069
mov dword [ebp - 0x30], 0x550020
mov dword [ebp - 0x2c], 0x690074
mov dword [ebp - 0x28], 0x4d006c
mov dword [ebp - 0x24], 0x64006f
mov dword [ebp - 0x20], 0x6c0075
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x20006c
mov dword [ebp - 0x10], 0x610046
mov dword [ebp - 0xc], 0x6c0069
nop dword [eax]
lea ecx, [edx + 0x7fffffcf]
test ecx, ecx
je 0x42c18e
movzx ecx, word [esi + eax]
test cx, cx
je 0x42c18e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x42c170
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.004af60c
mov esp, ebp
pop ebp
ret

Function at 0x42c3d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x55f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x60], 0x4c0043
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x60]
mov eax, 0x56c410
mov dword [ebp - 0x5c], 0x760069
push edi
mov dword [ebp - 0x58], 0x550065
mov edx, 0x2d
mov dword [ebp - 0x54], 0x640070
sub esi, eax
mov dword [ebp - 0x50], 0x740061
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x3a003a
mov dword [ebp - 0x44], 0x6e004f
mov dword [ebp - 0x40], 0x650042
mov dword [ebp - 0x3c], 0x690067
mov dword [ebp - 0x38], 0x44006e
mov dword [ebp - 0x34], 0x77006f
mov dword [ebp - 0x30], 0x6c006e
mov dword [ebp - 0x2c], 0x61006f
mov dword [ebp - 0x28], 0x530064
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x20], 0x6c0067
mov dword [ebp - 0x1c], 0x460065
mov dword [ebp - 0x18], 0x6c0069
mov dword [ebp - 0x14], 0x200065
mov dword [ebp - 0x10], 0x53055927
mov dword [ebp - 0xc], 0x7ea75347
lea ecx, [edx + 0x7fffffd1]
test ecx, ecx
je 0x42c4b0
movzx ecx, word [esi + eax]
test cx, cx
je 0x42c4b0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x42c492
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.004af60c
mov esp, ebp
pop ebp
ret
Function at 0x42fe10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004b01b0
mov eax, dword [0x55f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jne 0x42fe46
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af60c
mov esp, ebp
pop ebp
ret 4
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004efd80
push 0x1000
push esi
lea eax, [ebp - 0x2004]
push 0x1000
push eax
call fcn.00501406
lea eax, [ebp - 0x2004]
add esp, 0x1c
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004af60c
mov esp, ebp
pop ebp
ret 4
Function at 0x437050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x55f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x564ac8], 0
push esi
jne 0x437177
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
jb 0x43709b
mov eax, dword [eax]
push edi
push 0x20219
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x818]
call fcn.00437280
mov edi, dword [ebp - 0x818]
test eax, eax
jne 0x43716b
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push 0x527d1c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43716b
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x4370ff
cmp eax, 2
jne 0x43716b
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x43711c
test al, 1
jne 0x43716b
shr eax, 1
cmp word [ebp + eax*2 - 0x806], 0
je 0x437125
jmp 0x43716b
xor eax, eax
mov word [ebp - 0x804], ax
mov ecx, 0x564ac8
lea esi, [ebp - 0x804]
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x43715e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43715e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x437140
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x437176
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x564ac8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4371cb
mov ecx, 0x564ac8
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x4371be
movzx eax, word [esi + ecx]
test ax, ax
je 0x4371be
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4371a0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 0x564ac8
xor ecx, ebp
pop esi
call fcn.004af60c
mov esp, ebp
pop ebp
ret
Function at 0x438790
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cb43
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x55f3a4]
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
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x438835
cmp word [esi], di
je 0x438835
test eax, eax
je 0x4387f1
cmp word [eax], di
je 0x4387f1
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x438835
jmp 0x438830
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x438835
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
cmp dword [ebp + 0x34], 0
je 0x4388b0
lea esi, [ebx + 0x38]
push esi
mov dword [ebp - 0x42c], esi
call fcn.00433cb0
add esp, 4
test eax, eax
je 0x43885a
push eax
call fcn.00518559
add esp, 4
mov byte [ebp - 0x428], 1
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x4388d0
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
push esi
mov byte [ebp - 4], 2
call fcn.00433cd5
add esp, 4
test eax, eax
je 0x438898
push eax
call fcn.00518559
add esp, 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4388b0
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 - 0x10]
xor ecx, ebp
call fcn.004af60c
mov esp, ebp
pop ebp
ret 0x30
call fcn.00432ebc
int3

Function at 0x43a8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x43a905
or esi, 1
push 1
call edi
test ax, ax
jns 0x43a911
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43a91d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43a929
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x43d8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0xe0]
call fcn.00440350
mov edi, dword [ebp + 8]
test eax, eax
jle 0x43d93b
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.00441340
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x43da6c
lea ecx, [ebx + 0xe0]
inc esi
call fcn.00440350
cmp esi, eax
jl 0x43d900
sub edi, 0x100
je 0x43da01
sub edi, 4
je 0x43d9a2
sub edi, 2
jne 0x43d9f6
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.00503208
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x43f5b0
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x43d9f6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x13c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x5c], 0
je 0x43d9f6
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x74]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.0043a8e0
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x43d9f6
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x43da53
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x43da53
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x43da53
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004f1531
add esp, 8
test eax, eax
je 0x43da53
mov ecx, dword [ebx + 0x5c]
call fcn.00454430
test al, al
jne 0x43d9f6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0043eef0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x440b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440bb5
cmp byte [ebp + 8], 0
je 0x440ba9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x451d50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
movzx eax, word [edi + 0xc]
sub eax, 0x41
je 0x451db2
sub eax, 2
je 0x451d93
sub eax, 0x15
jne 0x451e02
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x451e02
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x451df7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x451e02
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x451df7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x451e02
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 2
push eax
mov eax, dword [esi + 0x14]
push 0xffffffffffffffff
push 0x102b
mov dword [ebp - 0x30], 2
push dword [eax + 0x558]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push dword [ebp + 0xc]
push str.selectallkey
push dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.0043e1c0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4528f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00446500
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45293e
mov ecx, dword [ebx + 0x55c]
mov eax, 5
push edi
xor edi, edi
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
call fcn.00440350
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x455ec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x455f2d
cmp dword [ebp + 8], 0x100
jne 0x455f1d
cmp word [ebp + 0xc], 0xd
jne 0x455f1d
cmp byte [esi + 0x59a], 0
je 0x455efe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x455f1d
cmp byte [esi + 0x59b], 0
jne 0x455f1d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x455f16
push 0
push 0
push 0
push str.return
push esi
call fcn.0043e1c0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x456e70
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x5379fc
push 0x34
call fcn.004b01dd
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x456ee9
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
jmp 0x456eeb
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x456ef8
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x456f6f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456f6f
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x456f6f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x456f6f
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x456f6f
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x456f6f
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.004567f0
mov ebx, eax
test ebx, ebx
jne 0x456f9d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x456f84
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x456fa3
push eax
call edi
mov dword [esi + 8], 0
jmp 0x456fa3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x456fb5
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x456fd4
mov ecx, esi
call fcn.004564b0
push 0x34
push esi
call fcn.004af8aa
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45c3a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x5379fc
cmp al, 6
jb 0x45c3dd
push 0x18
call fcn.004b01dd
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x45c419
mov ecx, eax
call fcn.0045c430
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.004b01dd
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x45c419
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45e5b0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55f3a4]
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 edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x45e75e
cmp ebx, 7
jb 0x45e75e
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x45e6b8
test esi, esi
je 0x45e61c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.0046bc80
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e66b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00408c40
mov eax, esi
jmp 0x45e760
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00408c40
mov eax, esi
jmp 0x45e760
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004eff50
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x45e6e0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x45e726
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x45e728
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x45e74b
mov ecx, esi
call fcn.0045e0e0
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.0045e0a0
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x45e74d
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45e75a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x45e760
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 - 0x10]
xor ecx, ebp
call fcn.004af60c
mov esp, ebp
pop ebp
ret 8

Function at 0x45f1e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x45f1ef
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.0045dd70
Function at 0x46bc80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e48b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x55f3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x46bdc1
cmp eax, 0x104
ja 0x46bdc1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x52b550
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46bd72
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46bd50
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004089c0
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x438]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.00408c40
jmp 0x46bde6
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af60c
mov esp, ebp
pop ebp
ret
Function at 0x474860
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x47495f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47495f
mov eax, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x474937
push edi
mov edi, esi
shr edi, 3
nop
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
sub edi, 1
jne 0x474890
pop edi
test esi, esi
je 0x47495a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x52d550]
sub esi, 1
jne 0x474940
not eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop esi
pop ebp
ret