joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, ecx
cmp eax, 4
jae 0x43610e
mov byte [ebp + eax - 0xc], 0
inc eax
cmp eax, 4
jl 0x435f8d
xor eax, eax
cmp eax, 4
jae 0x43610e
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 4
jl 0x435fa3
mov ecx, dword [ebp + 0xc]
push esi
movzx eax, byte [ecx]
mov byte [esi], al
movzx eax, byte [ecx + 1]
mov byte [esi + 1], al
movzx eax, byte [ecx + 2]
mov byte [esi + 2], al
movzx eax, byte [ecx + 3]
mov byte [esi + 3], al
movzx eax, byte [ecx + 4]
mov byte [esi + 4], al
movzx eax, byte [ecx + 5]
mov byte [esi + 5], al
movzx eax, byte [ecx + 6]
mov byte [esi + 6], al
movzx eax, byte [ecx + 7]
mov byte [esi + 7], al
call fcn.00436120
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43605b
mov dword [ebp - 0x10], 0x10
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 4]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov byte [esi + 1], al
movzx eax, byte [esi + 6]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov byte [esi + 3], al
lea eax, [ebp - 8]
push eax
push edi
push esi
call fcn.004361a0
mov cl, byte [ebp - 0xc]
add edi, 6
mov eax, dword [ebp - 8]
xor cl, al
mov dl, byte [ebp - 6]
mov al, ah
mov bl, byte [ebp - 5]
xor al, byte [ebp - 0xb]
xor dl, byte [ebp - 0xa]
xor bl, byte [ebp - 9]
dec dword [ebp - 0x10]
mov byte [esi + 4], cl
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov byte [esi + 7], bl
jne 0x436001
jmp 0x4360c9
cmp eax, 1
jne 0x4360f5
lea eax, [edi + 0x5a]
mov edi, 0xf
mov dword [ebp - 0x10], eax
nop
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 4]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov byte [esi + 1], al
movzx eax, byte [esi + 6]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov byte [esi + 3], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push esi
call fcn.004361a0
mov cl, byte [ebp - 0xc]
mov eax, dword [ebp - 8]
xor cl, al
mov dl, byte [ebp - 6]
mov al, ah
mov bl, byte [ebp - 5]
xor al, byte [ebp - 0xb]
xor dl, byte [ebp - 0xa]
xor bl, byte [ebp - 9]
sub dword [ebp - 0x10], 6
dec edi
mov byte [esi + 4], cl
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov byte [esi + 7], bl
jns 0x436070
mov byte [ebp - 0xb], al
movzx eax, byte [esi]
mov byte [esi + 4], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 2]
mov byte [esi + 6], al
movzx eax, byte [esi + 3]
mov byte [esi + 7], al
mov byte [ebp - 0xc], cl
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], bl
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
push esi
call fcn.004364b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050904e
mov esp, ebp
pop ebp
ret 0xc
call fcn.0050d197
int3
Function at 0x4361a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 6
jae 0x4362f4
mov byte [ebp + eax - 0xc], 0
inc eax
cmp eax, 6
jl 0x4361b9
xor eax, eax
cmp eax, 8
jae 0x4362f4
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 8
jl 0x4361cf
push ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00436300
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
xor edx, edx
sub esi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 6
jl 0x4361f8
mov edx, dword [ebp - 0xc]
mov al, dl
shr al, 2
mov cl, dl
mov dl, byte [ebp - 0xa]
and cl, 3
mov byte [ebp - 0x14], al
mov al, dh
shl cl, 4
shr al, 4
or cl, al
mov al, dl
mov byte [ebp - 0x13], cl
and dl, 0x3f
shr al, 6
mov cl, dh
and cl, 0xf
mov byte [ebp - 0x11], dl
mov dl, byte [ebp - 8]
shl cl, 2
or cl, al
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 9]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x10], al
mov al, dl
shl cl, 4
and dl, 0xf
shr al, 4
or cl, al
shl dl, 2
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 7]
mov al, cl
and cl, 0x3f
shr al, 6
or dl, al
mov byte [ebp - 0xd], cl
mov byte [ebp - 0xe], dl
xor ebx, ebx
lea esp, [esp]
mov al, byte [ebp + ebx - 0x14]
movzx edx, al
and al, 1
shl al, 4
movzx ecx, al
mov eax, edx
shr eax, 1
and edx, 0x20
and eax, 0xf
or ecx, eax
movzx eax, bl
shl eax, 6
or ecx, edx
movzx eax, byte [ecx + eax + 0x563840]
and al, 0xf
mov byte [ebp + ebx - 0x14], al
inc ebx
cmp ebx, 8
jl 0x436280
pop esi
xor ecx, ecx
pop ebx
jmp 0x4362c0
mov al, byte [ebp + ecx*2 - 0x14]
shl al, 4
or al, byte [ebp + ecx*2 - 0x13]
mov byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 4
jl 0x4362c0
lea eax, [ebp - 0xc]
push eax
call fcn.00435da0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
mov dword [edi], eax
pop edi
call fcn.0050904e
mov esp, ebp
pop ebp
ret 0xc
call fcn.0050d197
int3
Function at 0x438980
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d350
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
push ebx
push 0x561d10
mov edi, 1
push edi
push 0
push 0x561de0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi], eax
cmp eax, 0x80004005
jne 0x438a00
push 0x56926c
call fcn.00520e89
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
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 edx, dword [ebx]
test edx, edx
je 0x4389e6
mov ecx, dword [edx]
lea eax, [esi + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0xc]
push edx
call dword [ecx + 0xc]
mov dword [esi], eax
cmp eax, 0x80004005
jne 0x438a6f
push 0x5692d4
call fcn.00520e89
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
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
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
Function at 0x438c50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edi
cmovae eax, dword [ebp + 8]
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi], eax
test eax, eax
je 0x438d17
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VariantToUInt16
push eax
call esi
push str.VariantToInt16
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.VariantToBoolean
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.VariantToUInt32
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.VariantToInt32
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.VariantToUInt64
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.VariantToInt64
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.VariantToDouble
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.VariantToString
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.VariantGetStringElem
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.VariantGetInt32Elem
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.VariantGetInt64Elem
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
push str.VariantGetDoubleElem
push dword [edi]
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
pop esi
jmp 0x438d72
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x438d83
push dword [ebp + 8]
call fcn.00459190
add esp, 4
mov eax, edi
pop edi
pop ebp
ret 0x18

Function at 0x439eb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x439eeb
test al, 8
jne 0x439eeb
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x439eeb
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x439eeb
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x439f0b
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.00439370
pop esi
pop ebp
ret 4
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x442a80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x3bd], 0
je 0x442b68
mov ecx, dword [esi + 0x2bc]
lea edx, [ebp - 0xc]
push 0
push edx
push 0
mov eax, dword [ecx]
push 0x434
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [esi + 0x3c0], eax
mov dword [esi + 0x3c4], ecx
cmp edi, 8
jne 0x442aed
cmp ecx, eax
jne 0x442b19
test eax, eax
jle 0x442b19
push 1
dec eax
lea ecx, [esi + 0x3a4]
push eax
call fcn.0041f360
jmp 0x442b68
cmp edi, 0x2e
jne 0x442b2a
cmp ecx, eax
jne 0x442b19
push ecx
lea ecx, [esi - 8]
call fcn.00443ec0
mov ecx, dword [ebp - 8]
cmp ecx, eax
jge 0x442b16
push 1
push ecx
lea ecx, [esi + 0x3a4]
call fcn.0041f360
jmp 0x442b68
mov eax, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [esi + 0x3a4]
call fcn.0041f360
jmp 0x442b68
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
je 0x442b3e
cmp edi, 0x5a
je 0x442bab
push 0x11
call ebx
test ax, ax
je 0x442b4c
cmp edi, 0x56
je 0x442bab
push 0x11
call ebx
test ax, ax
je 0x442b5a
cmp edi, 0x43
je 0x442bab
push 0x11
call ebx
test ax, ax
je 0x442b68
cmp edi, 0x58
je 0x442bab
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push edi
call fcn.00444d10
mov ecx, dword [esi + 0x2bc]
lea edx, [ebp - 8]
push edx
push 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x4b0
mov eax, dword [ecx]
push edx
push 0x45f
call dword [eax + 0xc]
cmp dword [ebp - 8], 0
setle al
mov byte [esi + 0x3bc], al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050904e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push dword [esi + 0x68]
push 0x77a
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x444cd8
lea eax, [edi - 9]
mov dword [ebp - 8], 1
cmp eax, 0xd
ja case.0x444c37.11
movzx eax, byte [eax + 0x444cfc]
jmp dword [eax*4 + 0x444cec]
test byte [esi + 0x2f8], 8
je case.0x444c37.11
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne case.0x444c37.11
test dword [esi + 0x2ec], 0x1000
jne case.0x444c37.11
mov dword [ebp - 8], 0
jmp case.0x444c37.11
test byte [esi + 0x2f8], 8
je case.0x444c37.11
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne case.0x444c37.11
mov dword [ebp - 8], 0
jmp case.0x444c37.11
push 0
push 0x302
push dword [esi + 0x68]
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x444cd8
cmp edi, 8
je 0x444cd8
mov ecx, dword [esi + 0x2bc]
lea edx, [ebp - 8]
push edx
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
push 0x102
call dword [eax + 0xc]
push edi
push dword [esi + 0x68]
push 0x775
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050904e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x444d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push dword [esi + 0x68]
push 0x77b
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x444dfd
mov eax, 1
mov dword [ebp - 8], eax
cmp edi, 9
je 0x444d9a
cmp edi, 0xd
je 0x444d6a
cmp edi, 0x1b
jne 0x444dac
test byte [esi + 0x2f8], 8
je 0x444dac
mov dword [ebp - 8], 0
jmp 0x444dac
test byte [esi + 0x2f8], 8
je 0x444dac
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444dac
test dword [esi + 0x2ec], 0x1000
jne 0x444dac
mov dword [ebp - 8], 0
jmp 0x444dac
test byte [esi + 0x2f8], 8
mov ecx, 0
cmovne eax, ecx
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x2bc]
lea edx, [ebp - 8]
push edx
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
push 0x100
call dword [eax + 0xc]
push edi
push dword [esi + 0x68]
push 0x775
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_PostMessageW]
test dword [esi + 0x2ec], 0x800
jne 0x444dfd
cmp edi, 8
jne 0x444dfd
mov ecx, dword [esi + 0x2bc]
push 0
push 0
push 7
mov eax, dword [ecx]
push 0x115
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050904e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547d08
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5876e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp eax, 0x701
jne 0x4463c1
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xb0]
mov eax, dword [ebx + 0x18]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.00443b30
jmp 0x4464dd
cmp eax, 0x70b
jne 0x4464dd
cmp dword [ebx + 0xc], 0x202
jne 0x4464dd
mov ecx, dword [esi + 0x2c4]
lea edx, [esp + 0x28]
push 0
push edx
push 0
mov eax, dword [ecx]
push 0x434
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x2c4]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
push edx
mov eax, dword [ecx]
push 0
push 0x437
call dword [eax + 0xc]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004439f0
mov dword [esp + 0x58], 0
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x2c4]
push edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x30]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
push 0
push 0x437
call dword [eax + 0xc]
push dword [ebx + 0x18]
lea eax, [esi + 0x344]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.00446880
cmp dword [eax], 0
je 0x4464a5
cmp dword [esp + 0x44], 8
lea edi, [esp + 0x30]
push dword [ebx + 0x18]
mov ecx, dword [esp + 0x18]
cmovae edi, dword [esp + 0x34]
mov esi, dword [ebx + 0xc]
call fcn.00446880
push edi
push esi
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4464ca
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
push 1
cmovae eax, dword [esp + 0x34]
push 0
push eax
push str.iexplore
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x44], 8
jb 0x4464dd
push dword [esp + 0x30]
call fcn.00459190
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret 8
Function at 0x4482e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e1a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5876e0]
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, ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
movzx eax, dx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4483d9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4483d9
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x1c]
push esi
push eax
call fcn.00511d80
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x14]
push 0x10
mov dword [ebp - 0x1c], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4483be
lea ecx, [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0x1c]
movdqu xmmword [esi], xmm0
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x4483c0
xor esi, esi
mov eax, dword [ebp - 0x20]
push edi
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, 1
jmp 0x4483db
xor al, al
cmp dword [ebp + 0x1c], 8
mov byte [ebp - 0x15], al
jb 0x4483f2
push dword [ebp + 8]
call fcn.00459190
mov al, byte [ebp - 0x15]
add esp, 4
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.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x453770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00509d10
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4537ae
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x210]
push str.A:_s
push eax
call fcn.00428740
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
mov esi, 0x41
mov edi, edi
lea eax, [ebp - 0x210]
mov word [ebp - 0x210], si
push eax
call ebx
test eax, eax
je 0x453840
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [ebp - 0x210], ax
je 0x45381f
lea eax, [ebp - 0x210]
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453810
sub eax, edi
sar eax, 1
push eax
lea eax, [ebp - 0x210]
mov ecx, edx
push eax
call fcn.0041f830
mov edx, 0x64
mov ecx, 0x1388
call fcn.00429f80
add esp, 0x18
inc esi
cmp si, 0x5a
jbe 0x4537d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x45c040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x58c138], 0
je 0x45c097
mov eax, dword [0x5a22a8]
test eax, eax
je 0x45c070
push eax
call dword [0x58c190]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.00459830
mov eax, dword [0x5a22a8]
test eax, eax
je 0x45c092
push eax
call dword [0x58c198]
mov esi, dword [ebp - 4]
jmp 0x45c0a1
mov esi, dword [ebp - 4]
jmp 0x45c0a4
push 0x14
call dword [0x58c160]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45c0b2
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x58c13c], 0
mov ebx, dword [ebp + 8]
je 0x45c0fc
mov eax, dword [0x58c240]
test eax, eax
je 0x45c0d5
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x45c0fc
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x45c010
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.0050ca0d
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x45c10a
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x45c123
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e0c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xor eax, eax
mov cl, byte [esi]
test cl, cl
je 0x45e0ee
jmp 0x45e0d0
movzx ecx, cl
lea esi, [esi + 1]
movzx edx, byte [ecx + 0x5649b0]
lea ecx, [eax*8]
xor edx, ecx
mov cl, byte [esi]
xor eax, edx
test cl, cl
jne 0x45e0d0
pop esi
ret
Function at 0x45e160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov ecx, 0x80
mov dword [ebp - 4], esi
lea eax, [edi*8]
cmp eax, 0x400
cmova edi, ecx
cmp edi, dword [esi]
jne 0x45e191
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5a22d0]
test eax, eax
je 0x45e19c
call eax
lea eax, [edi*8]
push 0
push eax
call fcn.00459930
mov ecx, dword [0x5a22d4]
add esp, 8
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ecx, ecx
je 0x45e1bf
call ecx
test ebx, ebx
je 0x45e188
push dword [esi + 0xc]
call fcn.00459c50
add esp, 4
mov dword [esi + 0xc], ebx
push ebx
call dword [0x58c16c]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [esi], eax
lea ecx, [eax*8]
push ecx
push 0
push ebx
call fcn.00509d10
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esi + 8], 0
test ecx, ecx
je 0x45e2a2
mov edi, dword [ecx + 0xc]
xor ebx, ebx
mov al, byte [edi]
test al, al
je 0x45e231
movzx eax, al
lea edx, [ebx*8]
lea edi, [edi + 1]
movzx esi, byte [eax + 0x5649b0]
mov al, byte [edi]
xor esi, edx
xor ebx, esi
test al, al
jne 0x45e213
xor edx, edx
mov edi, dword [ecx]
mov eax, ebx
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x45e27c
mov eax, dword [esi]
test eax, eax
je 0x45e24f
mov edx, dword [esi + 4]
jmp 0x45e251
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x45e27c
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x45e271
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x45e298
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x45e298
mov esi, dword [ebp - 4]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x45e28e
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [esi + 8], ecx
mov ecx, edi
test edi, edi
jne 0x45e208
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret