joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aefc0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x4be9f8
mov eax, dword [ebp + 8]
push eax
call fcn.0042d35c
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4aefea
mov eax, 1
jmp 0x4af19d
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push 4
lea edx, [ebp - 0x10]
push edx
call fcn.0042d613
add esp, 0x10
cmp eax, 1
je 0x4af00d
mov eax, 1
jmp 0x4af19d
push 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042cf59
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042d613
add esp, 0x10
cmp dword [ebp - 0x10], eax
je 0x4af043
mov eax, 1
jmp 0x4af19d
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push 4
lea edx, [ebp - 0x20]
push edx
call fcn.0042d613
add esp, 0x10
cmp eax, 1
je 0x4af066
mov eax, 1
jmp 0x4af19d
push 6
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042cf59
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 6
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042d613
add esp, 0x10
cmp dword [ebp - 0x20], eax
je 0x4af09c
mov eax, 1
jmp 0x4af19d
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042d8dc
add esp, 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sym.NifMopp.exe_GenerateMoppCode
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x4af0e1
mov eax, 1
jmp 0x4af19d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042cfe8
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sym.NifMopp.exe_RetrieveMoppCode
test eax, eax
jne 0x4af10b
mov eax, 1
jmp 0x4af19d
lea ecx, [ebp - 4]
push ecx
call sym.NifMopp.exe_RetrieveMoppScale
lea edx, [ebp - 0x2c]
push edx
call sym.NifMopp.exe_RetrieveMoppOrigin
push 0x4be9fc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042d35c
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push 4
lea edx, [ebp - 0xc]
push edx
call fcn.0042d792
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0042d792
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
push 1
push 4
lea ecx, [ebp - 4]
push ecx
call fcn.0042d792
add esp, 0x10
mov edx, dword [ebp - 0x18]
push edx
push 1
push 4
lea eax, [ebp - 0x2c]
push eax
call fcn.0042d792
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042d23c
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042d8dc
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10008fff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1000900e
pop dword [ebp - 0x18]
mov eax, 0x5db1c4be
add eax, 0xb24ecb50
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x47c3ece9
add dword [ebp - 0x28], 0x68e5862
mov dword [ebp - 0x24], 0xbd919cea
add dword [ebp - 0x24], 0x74a1af5b
mov dword [ebp - 0x20], 0xf17d3e3f
add dword [ebp - 0x20], 0x5acf05ef
mov dword [ebp - 0x1c], 0xd803da98
add dword [ebp - 0x1c], 0x27fc2568
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x11564137
add dword [ebp - 0x28], 0x631c281f
mov dword [ebp - 0x24], 0x75a560cc
add dword [ebp - 0x24], 0xcbc700a9
mov dword [ebp - 0x20], 0x40878083
sub dword [ebp - 0x20], 0xdd181417
mov dword [ebp - 0x1c], 0x9fea0b24
sub dword [ebp - 0x1c], 0x9fea0b24
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x1d719421
sub eax, 0xd70f419
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x39746
push 0
call eax
mov ecx, 0x53ad
mov edx, eax
mov ebx, 0x1000f800
add ebx, dword [ebp - 0x18]
mov edi, 0x97c4d238
sub edi, 0xdfc26999
mov dword [ebp - 8], 0x40cefaae
mov esi, dword [ebx]
sub esi, edi
xor dword [ebp - 0x14], 0x3ceefd02
mov dword [edx], esi
add dword [ebp - 8], 0xf5f94dde
add edx, 4
add ebx, 4
loop 0x1000911f
add eax, 0x14187
xor ebx, ebx
add ebx, eax
add eax, 0x218e2503
sub eax, 0x218e24fe
mov ecx, 0xf5123f7b
add ecx, 0x1aedc085
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x412da0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x412dc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412db8
mov eax, 1
add ebx, ebx
jne 0x412ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412dd0
jne 0x412dec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dd0
xor ecx, ecx
sub eax, 3
jb 0x412e00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e72
mov ebp, eax
add ebx, ebx
jne 0x412e0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412e18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e3c
inc ecx
add ebx, ebx
jne 0x412e28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412e1d
jne 0x412e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412e1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e4d
jmp 0x412dbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e5c
add edi, ecx
jmp 0x412dbe
pop esi
mov edi, esi
mov ecx, 0x11e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e7a
cmp byte [edi], 2
jne 0x412e7a
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 0x412e7f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ef7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12e7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12ef4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412eac
mov ecx, edi
jns 0x412edb
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 + 0x12efc]
or eax, eax
je 0x412ef1
mov dword [ebx], eax
add ebx, 4
jmp 0x412ec9
call dword [esi + 0x12ef8]
mov ebp, dword [esi + 0x12f00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x412f2b
sub esp, 0xffffff80
jmp 0x402040
Function at 0x409280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x56fffffc
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00408a27
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004089dc
add esp, 0xc
mov dword [ebp - 0x68c], eax
invalid
Function at 0x409690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00408a27
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004089dc
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00408a17
inc esp
fnstsw word [eax*8 + 0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x4096e0
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x40970b
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x4098d5
cmp dword [ebp + 0xc], 1
je 0x4098d5
cmp dword [ebp + 0xc], 8
jne 0x40989d
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00408a27
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004089dc
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00408a17
mov dword [ebx + eax + 0x68b5ff99], ecx
call fcn.00408a17
int 0x47
or byte [0xfabca580], dl
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
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]
mov ebp, 0xfffff9ad
Function at 0x4b24a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4b243c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4b245a
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 0x4b24b8
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 0x4b249f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4b24a8
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4b24b2
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4b2494
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4b241e
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 0x4b2505
dec eax
je 0x4b24fc
sub eax, 3
je 0x4b24f3
mov dword [ebp - 4], 0x40
jmp 0x4b2522
mov dword [ebp - 4], 4
jmp 0x4b2508
mov dword [ebp - 4], 0x20
jmp 0x4b2508
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 0x4b2554
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4b24d4
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004b1d65
xchg edx, eax
std
cwde
in al, dx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4b2560
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401679
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a4eac]
sub esp, 0x800
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x4a4e04]
test esi, esi
je 0x4016c7
cmp eax, 0x959
jne 0x4016b3
push 0
lea eax, [ebp - 0x800]
push eax
push str.Subasosu_nigukole_padisekadapoyi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401475
add edi, 8
dec esi
je 0x4016c7
mov eax, dword [0x4a4eac]
jmp 0x401698
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d81f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b470]
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.004051c5
mov dword [ebp - 0x14], eax
cmp dword [0x43be24], esi
jne 0x40d912
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d89f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d9f2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d9f2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d9f2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43be24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43be28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43be2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43be34], eax
test eax, eax
je 0x40d90f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43be30], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d937
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d92a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d94c
push 4
pop eax
jmp 0x40d9f4
cmp dword [ebp - 0x14], esi
je 0x40d94c
push dword [0x43be24]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d931
mov eax, dword [0x43be30]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d9aa
cmp dword [0x43be34], edi
je 0x40d9aa
push eax
call ebx
push dword [0x43be34]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d9aa
test eax, eax
je 0x40d9aa
call ecx
test eax, eax
je 0x40d99f
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 0x40d99f
test byte [ebp - 8], 1
jne 0x40d9aa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d9da
mov eax, dword [0x43be28]
cmp eax, edi
je 0x40d9d7
push eax
call ebx
test eax, eax
je 0x40d9d7
call eax
mov esi, eax
test esi, esi
je 0x40d9d7
mov eax, dword [0x43be2c]
cmp eax, edi
je 0x40d9d7
push eax
call ebx
test eax, eax
je 0x40d9d7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43be24]
call ebx
test eax, eax
je 0x40d9f2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d9f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040449f
mov esp, ebp
pop ebp
ret
Function at 0x41cc81
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x41cd34
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x47d6d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x47d868
cmp ebp, ebx
jle 0x47d868
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x47d72e
dec eax
or eax, 0xfffffff8
inc eax
je 0x47d735
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x47d744
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x47d74b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00514456
add esp, 4
cmp eax, ebx
je 0x47d76c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00514456
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x47d85e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x47d845
mov al, byte [edx]
cmp al, 0xc0
jbe 0x47d831
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x47d826
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x47d834
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x47d834
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x47d7d0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x47d7c1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x47fba0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.00515dda
lea eax, [esp + 4]
mov dword [esi], 0x1c65488
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x489010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5249b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00483850
test eax, eax
je 0x489118
lea ecx, [esp + 0xc]
call fcn.004543e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00483850
mov ecx, eax
call fcn.00480f40
test eax, eax
je 0x4890ff
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4890ff
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4890ff
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004545e0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4890e1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4890ff
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x1caee78]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1c65740
call fcn.004545e0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x48bf30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x524c48
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x48bf69
inc eax
mov dword [esi + 0x10], eax
jmp 0x48c07c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x48bf7d
mov eax, 0xffffffc7
jmp 0x48c07e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x48bf8e
cmp dword [esi + 8], eax
jne 0x48bf7d
cmp dword [esi + 8], eax
jne 0x48bfa7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x48bfa7
mov eax, 0xffffffc7
jmp 0x48c07e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x48bfbb
push eax
mov ecx, ebx
call fcn.0048b760
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004543e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x48bfec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00454400
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0048aed0
test eax, eax
mov dword [esp + 0x38], eax
je 0x48c01f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1c65770
call fcn.004545e0
mov eax, dword [esp + 0x38]
jmp 0x48c07e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0048bd90
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x48c063
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0048bdb0
mov esi, eax
test esi, esi
jne 0x48c093
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0048bd90
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x48c035
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1c65770
call fcn.004545e0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1c65770
call fcn.004545e0
mov eax, esi
jmp 0x48c07e

Function at 0x490bc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x490c20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x490c20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x490c20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x490c20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x490c60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret