joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00409b21

Function at 0x4045e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4045f5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404634
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 0x404630
lea ebx, [ebx]
cmp esi, edx
jae 0x404634
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x404620
cmp esi, edx
jb 0x404639
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4055d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5ac1b8]
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]
lea edi, [ecx + 0x14]
mov eax, dword [edi]
mov ecx, 0x58bfbc
mov dword [ebp - 0x21c], 0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40563b
test dx, dx
je 0x405637
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40563b
add eax, 4
add ecx, 4
test dx, dx
jne 0x405615
xor eax, eax
jmp 0x405640
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x405709
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00530e60
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x258]
call fcn.00405790
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push str.ICALauncher.xml
push eax
call fcn.004059a0
mov edx, dword [ebp - 0x254]
add esp, 8
test edx, edx
jne 0x4056b8
xor ecx, ecx
jmp 0x4056cf
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4056c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00404a50
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
mov dword [ebp - method.CUtlCommonPath.virtual_0], vtable.CUtlCommonPath.0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405709
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
sub ecx, 0x10
push ecx
call fcn.00404c70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
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.0052f13d
mov esp, ebp
pop ebp
ret 4
Function at 0x409b7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00416676
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409bb4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00409bd5
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40c5b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40c5fe
call fcn.00416676
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c5fe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40c61a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00426fee
mov ebx, eax
test edi, edi
je 0x40c618
test esi, esi
je 0x40c618
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41860c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x418642
push 0x559ac0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x418650
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418650
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x418652
cmp dword [esi + 4], 0
je 0x418650
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x42ed5b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00410df0
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42ed97
call fcn.0042ef7a
mov dword [esi + 0xc], 1
jmp 0x42ed9c
call fcn.0042ef7a
cmp dword [esi], 0
je 0x42ede5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42edbf
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00408711
jmp 0x42edd0
push 0xff
mov ecx, esi
call fcn.004049e0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408734
jmp 0x42ee09
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42ee09
push dword [esi]
push dword [ebp - 4]
call fcn.0041ab48
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42eecf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0042ef7a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42ef17
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408711
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408734
jmp 0x42ef22
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041ab48
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x478928
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4788cd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4788eb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x478949
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x478930
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x478939
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x478943
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x478925
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4788af
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x478996
dec eax
je 0x47898d
sub eax, 3
je 0x478984
mov dword [ebp - 4], 0x40
jmp 0x4789b3
mov dword [ebp - 4], 4
jmp 0x478999
mov dword [ebp - 4], 0x20
jmp 0x478999
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4789e5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x478965
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004781f6
retf 0xdf22
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x478a23
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
invalid
invalid
mov ch, 0xfc
Function at 0x4790d3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004781d4
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
invalid
movsd dword es:[edi], dword [esi]
xchg esp, eax
cld
invalid

Function at 0x47964c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004781f6
xor cl, dl
scasb al, byte es:[edi]
xor eax, dword [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004781f6
popal
aas
imul edx, dword [esi - 0x73], 0xffffff85
aam 0xf8
invalid

Function at 0x4d476f
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x552a8c
call fcn.00530836
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00404c70
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x58be64
call fcn.00403d20
cmp eax, 0xffffffff
jne 0x4d4823
push 0
push 0x562b18
lea ecx, [ebp - 0x4d0]
call fcn.00403d20
cmp eax, 0xffffffff
jne 0x4d4823
push 0
push 0x55947c
lea ecx, [ebp - 0x4d0]
call fcn.00403d20
cmp eax, 0xffffffff
jne 0x4d4823
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00404c70
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4d47ff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00404ce0
jmp 0x4d4852
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00404b10
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00404ce0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4d4849
mov ebx, dword [ebp - 0x4cc]
jmp 0x4d4852
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00404ce0
mov eax, ebx
call fcn.005307e5
ret
Function at 0x542078
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ac1b8]
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.005367b3
mov dword [ebp - 0x14], eax
cmp dword [0x5b7d58], esi
jne 0x54216b
push 0x800
push esi
push 0x586e60
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5420f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x54224b
push esi
push esi
push 0x586e60
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x54224b
push 0x586e78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54224b
push eax
call ebx
push 0x586e84
push edi
mov dword [0x5b7d58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x586e94
push edi
mov dword [0x5b7d5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5b7d60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b7d68], eax
test eax, eax
je 0x542168
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b7d64], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x542190
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x542183
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5421a5
push 4
pop eax
jmp 0x54224d
cmp dword [ebp - 0x14], esi
je 0x5421a5
push dword [0x5b7d58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54218a
mov eax, dword [0x5b7d64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x542203
cmp dword [0x5b7d68], edi
je 0x542203
push eax
call ebx
push dword [0x5b7d68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x542203
test eax, eax
je 0x542203
call ecx
test eax, eax
je 0x5421f8
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 0x5421f8
test byte [ebp - 8], 1
jne 0x542203
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x542233
mov eax, dword [0x5b7d5c]
cmp eax, edi
je 0x542230
push eax
call ebx
test eax, eax
je 0x542230
call eax
mov esi, eax
test esi, esi
je 0x542230
mov eax, dword [0x5b7d60]
cmp eax, edi
je 0x542230
push eax
call ebx
test eax, eax
je 0x542230
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5b7d58]
call ebx
test eax, eax
je 0x54224b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x54224d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f13d
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421004]
jne 0x40100a
repz ret
jmp fcn.004014da

Function at 0x4042fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401ca2
and dword [ebp - 0x14], 0
cmp dword [0x4238c8], 0
mov dword [ebp - 0x18], eax
jne 0x4043ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404456
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404456
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4238c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4238cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4238d0], eax
call edi
push eax
call esi
mov dword [0x4238d8], eax
test eax, eax
je 0x4043ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4238d4], eax
mov eax, dword [0x4238d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404407
cmp dword [0x4238d8], ecx
je 0x404407
push eax
call esi
push dword [0x4238d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404407
test ebx, ebx
je 0x404407
call edi
test eax, eax
je 0x4043fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4043fe
test byte [ebp - 8], 1
jne 0x404407
or dword [ebp + 0x10], 0x200000
jmp 0x40443a
mov eax, dword [0x4238cc]
cmp eax, dword [ebp - 0x18]
je 0x40443a
push eax
call esi
test eax, eax
je 0x40443a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40443a
mov eax, dword [0x4238d0]
cmp eax, dword [ebp - 0x18]
je 0x40443a
push eax
call esi
test eax, eax
je 0x40443a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4238c8]
call esi
test eax, eax
je 0x404456
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404458
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405690
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x421004]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4056c9
mov eax, dword [0x422934]
mov dword [0x45f694], eax
cmp dword [0x45f30c], 0x3c
jne 0x4056d5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4056b7
cmp dword [0x45f30c], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x40575b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x45f30c], 0x110a
jne 0x4057c2
push ebx
mov dword [0x45f300], ebx
mov dword [0x45f304], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.migicaranafojoyota_feganowofu_vuj_lelalezecebesijorabifovihapida
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
add esp, 0x18
push ebx
call fcn.004012d2
call fcn.00405440
xor ecx, ecx
cmp dword [0x45f30c], ebx
jbe 0x4057fc
mov eax, dword [0x45f694]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
mov edx, dword [0x45f030]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x45f30c]
jb 0x4057d1
push str.msimg32.dll
call esi
mov ecx, dword [0x45f30c]
mov edx, dword [0x45f030]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405610
call fcn.00405460
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405859
cmp dword [esp + 0x30], 0xf5bed7
jne 0x405862
inc esi
cmp esi, 0x1ece7a52
jl 0x405836
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
cmp esi, 0x12e6c3
jne 0x40587d
call fcn.00405430
cmp dword [0x45f30c], 0x3dc
mov dword [0x45f034], 0x8e46a6f0
jne 0x4058b7
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rixovohucivununiboneb_huzurucurajo_jajonaberewevale_sivakawizematec
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405870
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

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