joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57f790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
jmp 0x57f7aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7a0
mov eax, 1
add ebx, ebx
jne 0x57f7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f7d4
jne 0x57f7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7f3
dec eax
add ebx, ebx
jne 0x57f7e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f7b8
add ebx, ebx
jne 0x57f7ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f845
xor ecx, ecx
sub eax, 3
jb 0x57f80b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f87a
sar eax, 1
mov ebp, eax
jmp 0x57f816
add ebx, ebx
jne 0x57f816
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7e4
inc ecx
add ebx, ebx
jne 0x57f824
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7e4
add ebx, ebx
jne 0x57f831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f826
jne 0x57f842
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f826
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f864
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f856
jmp 0x57f7a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f864
add edi, ecx
jmp 0x57f7a6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f882
cmp byte [edi], 0x11
jne 0x57f882
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 0x57f887
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x57f8ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x218ee0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21905c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f8b4
mov ecx, edi
jns 0x57f8e3
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 + 0x219060]
or eax, eax
je 0x57f8f9
mov dword [ebx], eax
add ebx, 4
jmp 0x57f8d1
call dword [esi + 0x219070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57f930
cmp al, 0xef
ja 0x57f923
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57f905
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57f912
mov ebp, dword [esi + 0x219064]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57f964
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4033c5
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4033cc
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.00404060
mov dword [esp + 4], 1
push dword [0x40e44c]
call fcn.00408095
push dword [0x40e7a8]
push dword [0x40e7a8]
push 0x40d023
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00404410
lea eax, [esp + 0xc]
push eax
call fcn.0040ab90
mov edx, dword [esp + 8]
xor ecx, ecx
call fcn.0040ac10
jne 0x403492
mov ebx, dword [esp + 4]
mov eax, ebx
mov ecx, 2
cdq
idiv ecx
mov ebx, edx
and ebx, ebx
jne 0x403469
push dword [esp + 8]
call fcn.00404520
push eax
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
pop eax
mov dword [ebp + 4], eax
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
jmp 0x403490
mov edx, dword [esp + 8]
push dword [0x40e7a8]
call fcn.0040ac40
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
lea eax, [ebp]
push eax
call fcn.0040ab90
jmp 0x403494
jmp 0x4034a2
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
jmp 0x4033f8
push dword [esp + 0xc]
pop eax
mov dword [0x40e3fc], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jl 0x4036ce
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
push dword [0x40e7a8]
call fcn.0040ac40
lea eax, [esp + 0x18]
push eax
call fcn.0040ab90
push dword [0x40e7a8]
push dword [esp + 0x18]
push dword [0x40e7a8]
mov edx, str.b2eincfile
call fcn.0040ac40
push dword [0x40e7a8]
push dword [0x40e7a8]
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
add dword [esp], 1
adc dword [esp + 4], 0
pop eax
pop edx
push edx
push eax
jmp 0x41021e
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [0x40e7a8]
push 0x40d14c
push dword [esp + 0x3c]
call fcn.00404850
mov edx, dword [0x40d338]
add dword [esp], edx
call fcn.004041f0
mov edx, dword [0x40d338]
add dword [esp], edx
call fcn.004040c0
pop dword [0x40e7a8]
mov ebx, eax
and ebx, ebx
jle 0x4037bd
push dword [0x40e7a8]
push 0x24
mov edx, dword [0x40e41c]
push dword [0x40e7a8]
call fcn.0040ac40
mov edx, str._r_n_r_n
call fcn.0040ac40
mov edx, dword [esp + 0x30]
call fcn.0040ac40
mov edx, 0x40d14c
call fcn.0040ac40
mov edx, dword [0x40e3f0]
call fcn.0040ac40
inc dword [0x40e7a8]
push dword [0x40e4b4]
mov edx, dword [0x40d338]
add dword [esp + 4], edx
call fcn.004048a4
pop dword [0x40e7a8]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
cmp ebx, 7
jne 0x4037bd
call fcn.00403b05
push dword [0x40e458]
call fcn.004081ac
push dword [0x40e4b0]
call sub.KERNEL32.dll_RemoveDirectoryA
push 0
jmp 0x401fd5
mov eax, 1
jmp 0x4037c6
push dword [esp]
call fcn.0040aca0
push dword [esp + 0x24]
call fcn.0040aca0
push dword [esp + 0x14]
call fcn.0040aca0
push dword [esp + 8]
call fcn.0040aca0
add esp, 0x28
pop ebx
pop ebp
ret 4
Function at 0x401207
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], edx
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [0x41a2f8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41a2fc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x28], eax
call fcn.00401200
mov ebx, dword [ebp - 4]
add ebx, 0x23f
cmp dword [0xae20c4], 0x14
jne 0x401261
push edx
lea eax, [ebp - 0x830]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x41a300]
mov edx, dword [0x41a304]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
mov dword [ebp - 4], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xae20c4], 0xfa9
mov dword [ebp - 0x10], eax
mov eax, dword [0xae20c0]
cmove eax, dword [ebp - 4]
and dword [ebp - 4], 0
cmp dword [0xae20c4], 0x3eb
mov dword [0xae20c0], eax
mov eax, dword [0xae2018]
cmove eax, dword [ebp - 4]
mov dword [0xae2018], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], edx
and dword [ebp - 0xc], 0
mov dword [0xae20bc], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub esi, eax
mov dword [ebp - 0x14], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
lea eax, [ebx + esi]
mov edx, esi
lea ebx, [ebx + 0x61c88647]
shr edx, cl
add edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
xor edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0x24]
sub edi, eax
mov dword [ebp - 0x10], eax
dec dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
jne 0x40127d
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cc29
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419f20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409680
mov dword [ebp - 0x14], eax
cmp dword [0x43d8b8], esi
jne 0x40cd1c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cca9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cdfc
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cdfc
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cdfc
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43d8b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43d8bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43d8c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d8c8], eax
test eax, eax
je 0x40cd19
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d8c4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cd41
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cd34
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cd56
push 4
pop eax
jmp 0x40cdfe
cmp dword [ebp - 0x14], esi
je 0x40cd56
push dword [0x43d8b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cd3b
mov eax, dword [0x43d8c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cdb4
cmp dword [0x43d8c8], edi
je 0x40cdb4
push eax
call ebx
push dword [0x43d8c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cdb4
test eax, eax
je 0x40cdb4
call ecx
test eax, eax
je 0x40cda9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cda9
test byte [ebp - 8], 1
jne 0x40cdb4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cde4
mov eax, dword [0x43d8bc]
cmp eax, edi
je 0x40cde1
push eax
call ebx
test eax, eax
je 0x40cde1
call eax
mov esi, eax
test esi, esi
je 0x40cde1
mov eax, dword [0x43d8c0]
cmp eax, edi
je 0x40cde1
push eax
call ebx
test eax, eax
je 0x40cde1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43d8b8]
call ebx
test eax, eax
je 0x40cdfc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cdfe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404007
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x72cb776e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3d8a37a1
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034
Function at 0x401610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
and eax, 0xffff
push str.BIN_DATA
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40167d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x40167d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [esp + 0x14]
mov ebx, eax
test edi, edi
jne 0x401659
pop edi
pop esi
pop ebp
pop ebx
ret
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40167d
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov eax, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x405a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ecx, ebp
call fcn.004094d0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
and ecx, 0xffff
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x405aa9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405aa9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push 1
push ebx
mov ecx, ebp
call fcn.00409510
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405aa9
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x424320
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00414db0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4243eb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4243eb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42439e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4243a9
or bh, 8
and edi, 0x8000000
je 0x4243c4
mov eax, dword [0x44785c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4243eb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4247c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4247eb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42480f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42482a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4280c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432a38
call fcn.00415134
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0042eb92
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x428100
call fcn.0042eb92
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42810e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42811c
or eax, 0xffffffff
jmp 0x428204
mov ecx, esi
call fcn.00428037
mov dword [ebp - 0x14], eax
call fcn.004295c8
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x428153
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x428153
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0042957c
push dword [ebp - 0x14]
call fcn.004290ad
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00427dcf
cmp eax, edi
je 0x4281c6
test byte [esi + 0x24], 0x10
je 0x428194
push 4
mov ecx, esi
pop ebx
call fcn.0042b6cc
test ah, 1
je 0x42818c
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0042b0d7
cmp dword [esi + 0x1c], edi
je 0x4281c6
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042b7b2
jmp 0x4281c6
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4281da
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4281f3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4281f3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00428071
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42af85
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 0x42afc7
call fcn.0042eb92
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42afc7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42afbe
xor eax, eax
jmp 0x42afcf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042afd5
pop edi
pop esi
pop ebx
ret 4
Function at 0x42f80d
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 0x42f83b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42f859
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042f773
jmp 0x42f859
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42f859
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042f773
test edi, edi
mov eax, edi
jne 0x42f843
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x76a901
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
cmp eax, dword [ebp + 0x10]
jge 0x76a941
mov cl, byte [ebp + 0x14]
xor byte [edx + eax], cl
mov cl, byte [edx + eax]
and cl, 0xf
xor ebx, ebx
mov bl, byte [edx + eax]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
mov byte [edx + eax], cl
mov ecx, esi
add cl, al
xor byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x76a913
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x76a947
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
cmp eax, dword [ebp + 0x10]
jge 0x76a984
mov ecx, esi
add cl, al
xor byte [edx + eax], cl
mov cl, byte [edx + eax]
and cl, 0xf
xor ebx, ebx
mov bl, byte [edx + eax]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
xor cl, byte [ebp + 0x14]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x76a959
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4110c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x411c60
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [edi]
cmp eax, edx
ja 0x411c81
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x18], edi
mov dword [ecx], edx
jmp 0x411c8d
mov ecx, dword [esp + 0x18]
mov esi, edx
mov dword [esp + 0x18], ebx
mov dword [ecx], eax
mov edx, 1
cmp esi, edx
jb 0x411cb3
push ebp
mov ebp, ecx
sub ebx, edi
lea eax, [edi + 4]
sub ebp, edi
lea edx, [esi + 1]
mov edi, dword [ebx + eax]
xor edi, dword [eax]
add eax, 4
dec esi
mov dword [eax + ebp - 4], edi
jne 0x411ca3
pop ebp
cmp edx, dword [ecx]
ja 0x411ccf
mov esi, dword [esp + 0x18]
lea eax, [ecx + edx*4]
sub esi, ecx
mov edi, dword [esi + eax]
inc edx
mov dword [eax], edi
mov edi, dword [ecx]
add eax, 4
cmp edx, edi
jbe 0x411cc0
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x411ce0
cmp eax, 1
jbe 0x411ce0
dec eax
jmp 0x411cd8
mov dword [ecx], eax
ret