joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b919
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0xc]
sub esp, 0x18
push ebx
push esi
add edx, 0xc
push edi
mov edi, dword [edx]
cmp edi, edx
je 0x1000bab0
mov eax, edi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x3c]
mov esi, dword [eax + ecx + 0x78]
mov edi, dword [edi]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x1000b933
add esi, ecx
cmp dword [esi + 0x18], 0
je 0x1000b933
mov eax, dword [esi + 0xc]
add eax, ecx
mov ebx, dword [eax]
or ebx, 0x20202020
cmp ebx, 0x6c64746e
jne 0x1000b933
mov ebx, dword [eax + 4]
or ebx, 0x20202020
cmp ebx, 0x6c642e6c
jne 0x1000b933
mov ax, word [eax + 8]
or ax, 0x20
cmp ax, 0x6c
jne 0x1000b933
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x24]
and dword [ebp - 4], 0
push 0x1770
push 0
push dword [ebp + 8]
add eax, ecx
add edi, ecx
mov dword [ebp - 0x14], eax
add ebx, ecx
call fcn.1001ec90
mov esi, dword [esi + 0x18]
xor eax, eax
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esi
test esi, esi
jbe 0x1000ba58
mov esi, dword [ebp + 8]
add esi, 8
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
je 0x1000ba48
movzx eax, word [ecx]
mov edx, 0x694b
cmp ax, dx
jne 0x1000ba0e
call fcn.1000b8c2
cmp eax, 0x8dcd4499
jne 0x1000ba0b
mov eax, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
mov edx, dword [edi + eax*4]
add edx, dword [ebp - 0xc]
call fcn.1000b8e4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx]
mov edx, 0x775a
cmp ax, dx
jne 0x1000ba48
call fcn.1000b8c2
mov dword [esi - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
lea eax, [edi + eax*4]
mov ecx, dword [eax]
mov eax, ecx
add eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov dword [esi - 4], ecx
mov dword [esi], eax
add esi, 0xc
cmp dword [ebp - 4], 0x1f4
je 0x1000ba58
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x18]
jb 0x1000b9cd
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
dec eax
mov dword [ebp - 0x18], eax
je 0x1000bab0
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 8]
dec ecx
je 0x1000baa5
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x10], ecx
mov edi, dword [eax]
lea ecx, [eax + 0xc]
cmp edi, dword [ecx]
jbe 0x1000ba9e
mov ebx, dword [eax + 8]
mov edx, dword [eax - 4]
mov esi, dword [eax + 4]
mov dword [eax - 4], ebx
mov ebx, dword [ecx]
mov dword [eax], ebx
mov ebx, dword [eax + 0x10]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [ecx], edi
mov dword [eax + 0x10], esi
dec dword [ebp - 0x10]
mov eax, ecx
jne 0x1000ba77
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jb 0x1000ba65
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000bfac
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1003e8a0], 0
je 0x1000c00c
mov ecx, dword [0x1003e89c]
cmp ecx, 1
jne 0x1000bfcd
mov eax, dword [0x1004197c]
test eax, eax
jne 0x1000c001
cmp ecx, 2
jne 0x1000c00c
mov eax, dword [0x10041980]
test eax, eax
je 0x1000c00c
mov dword [0x1003e894], eax
mov eax, dword [0x10041984]
mov dword [0x1003e898], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.10016eef
pop ecx
pop ecx
test eax, eax
jne 0x1000c00c
mov eax, dword [ebp - 4]
leave
ret
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 8]
call eax
jmp 0x1000bff8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
leave
ret

Function at 0x1000c017
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1003e8a0], esi
je 0x1000c0b4
mov eax, dword [0x1003e89c]
cmp eax, 1
jne 0x1000c03c
cmp dword [0x10041988], esi
jne 0x1000c049
cmp eax, 2
jne 0x1000c0b4
cmp dword [0x1004198c], esi
je 0x1000c0b4
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x1000c056
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [0x1003e89c], 1
push esi
push esi
push esi
push esi
push 1
push ebx
push dword [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push 0x1fffff
push eax
jne 0x1000c07c
call dword [0x10041988]
jmp 0x1000c09c
mov ecx, dword [0x1004198c]
mov dword [0x1003e894], ecx
mov ecx, dword [0x10041990]
mov dword [0x1003e898], ecx
call fcn.10016efe
add esp, 0x2c
cmp eax, esi
jne 0x1000c0b4
test byte [ebp + 0x10], 4
jne 0x1000c0af
push dword [ebp - 4]
call fcn.1000bfac
pop ecx
mov eax, dword [ebp - 4]
jmp 0x1000c0d4
push esi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push esi
push esi
cmp dword [ebp + 8], esi
jne 0x1000c0cb
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000c0d4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop esi
leave
ret

Function at 0x1000c7ed
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x37
pop ecx
call fcn.1000b07b
push 0x27
pop ecx
movzx esi, ax
call fcn.1000b07b
xor ebx, ebx
inc ebx
push ebx
push 0
movzx edi, ax
call fcn.100019bb
pop ecx
pop ecx
call fcn.10006998
call fcn.1000d4d8
cmp esi, ebx
jne 0x1000c83a
cmp edi, ebx
jne 0x1000c832
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000c825
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
cmp edi, ebx
jne 0x1000c85f
push 0xffffffffffffffff
push 0
push dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebx, ebx
push 0
call fcn.1000c017
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000cc18
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c8c2
push 0x1003e8ac
push 3
push 9
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
jne 0x1000cc57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x18
call fcn.10002242
pop ecx
pop ecx
jmp 0x1000cd3c
push dword [0x1003e8ac]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1000cc72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x19
jmp 0x1000cc4b
push 0x800
call fcn.10007655
mov esi, 0x200
push esi
push eax
mov dword [0x1003e8bc], eax
call fcn.10007812
push esi
push dword [0x1003e8bc]
mov dword [0x1003e8b0], eax
call fcn.10007812
mov ebx, 0x400
push ebx
push dword [0x1003e8bc]
mov dword [0x1003e8b4], eax
call fcn.10007812
mov edi, pe_nt_image_headers32
push edi
push dword [0x1003e8b4]
mov dword [0x1003e8b8], eax
push dword [ebp + 0xc]
call fcn.10002d16
push edi
push dword [0x1003e8b0]
push dword [ebp + 8]
call fcn.10002d16
push esi
push dword [0x1003e8b8]
push dword [ebp + 0x10]
call fcn.10002d16
add esp, 0x40
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [0x1003e8c0], 1
call fcn.1000139d
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.100014f7
add esp, 0x18
push 0x23
lea eax, [ebp - 0x10]
call fcn.10001559
push eax
lea eax, [ebp - 0x10]
call fcn.10001556
push eax
call dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.10001536
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000cde2
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000ce40
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1000ce37
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x1000d6b2
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push 0
push 1
lea eax, [esi + edi]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1000d6ea
add esi, eax
cmp esi, 2
jb 0x1000d6e2
cmp byte [esi + edi - 1], 0xa
jne 0x1000d6e2
cmp byte [esi + edi - 2], 0xd
je 0x1000d6f0
cmp esi, 0x800
jb 0x1000d6b8
or eax, 0xffffffff
pop esi
pop ebp
ret
mov byte [esi + edi - 2], 0
mov eax, esi
jmp 0x1000d6ed
Function at 0x1000d75d
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
call fcn.10002314
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d783
push eax
call sub.WS2_32.dll_closesocket
jmp 0x1000d7dc
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x10], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0xc], 0x100007f
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1000d7b2
push esi
jmp 0x1000d77c
push 0x78
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1000d7af
push ebx
push dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
call fcn.1000d619
push eax
push 0x1000d6f9
call fcn.1000c7ba
add esp, 0x10
pop ebx
pop esi
leave
ret
Function at 0x1000f226
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x1000f46b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x1003aca0]
mov ebx, eax
push edi
mov eax, esi
call fcn.1001021f
test eax, eax
jne 0x1000f56d
mov ecx, dword [0x1003aca4]
cmp ecx, 1
jl 0x1000f56a
cmp ecx, 0x80
jg 0x1000f56a
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x1000f56a
test cl, 3
jne 0x1000f56a
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x1003e918]
test edx, edx
je 0x1000f4e3
push 0x1003ad28
push 0x1003aca8
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x1000f56d
cmp dword [ebp + 0xc], 0
je 0x1000f566
mov edi, 0x1003aca8
jmp 0x1000f4f6
mov esi, dword [0x1003aca0]
xor edx, edx
test ecx, ecx
jle 0x1000f51d
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x1003aca8]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x1003aca4]
jl 0x1000f501
mov esi, dword [0x1003aca0]
imul esi, esi, 0x60
push 0x1003ad28
push ebx
push edi
call dword [esi + 0x1003e8fc]
add esp, 0xc
test eax, eax
jne 0x1000f56d
mov ecx, dword [0x1003aca4]
xor edx, edx
test ecx, ecx
jle 0x1000f55c
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x1003aca8]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x1003aca4]
add edx, 4
cmp edx, ecx
jl 0x1000f544
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x1000f4f0
xor eax, eax
jmp 0x1000f56d
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000f8ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10033628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1003bdc8]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.1001021f
test eax, eax
jne 0x1000f9b9
mov ecx, dword [0x1003bdcc]
cmp ecx, 1
jl 0x1000f9b6
cmp ecx, 0x80
jg 0x1000f9b6
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x1000f9b6
test cl, 3
jne 0x1000f9b6
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x1003e91c]
test ecx, ecx
je 0x1000f937
push 0x1003be50
push 0x1003bdd0
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x1000f9b9
cmp dword [ebp + 8], 0
je 0x1000f9b2
jmp 0x1000f945
mov esi, dword [0x1003bdc8]
imul esi, esi, 0x60
push 0x1003be50
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x1003e900]
add esp, 0xc
test eax, eax
jne 0x1000f9b9
mov eax, dword [0x1003bdcc]
xor edi, edi
test eax, eax
jle 0x1000f9a2
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x1003bdd0
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x1003bdd0]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x1003bdcc]
add edi, 4
cmp edi, eax
jl 0x1000f97e
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x1000f93f
xor eax, eax
jmp 0x1000f9b9
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ea9e
leave
ret
Function at 0x10010906
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebx + 0x70]
mov eax, esi
call fcn.100107f6
test eax, eax
jne 0x10010a46
imul esi, esi, 0x68
push edi
mov edi, dword [esi + 0x1003f9e8]
push dword [esi + 0x1003f9ec]
mov dword [ebp - 8], edi
call fcn.1001709f
push edi
mov dword [ebp - 4], eax
call fcn.1001709f
cmp dword [ebp - 4], 0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
je 0x10010a37
test edi, edi
je 0x10010a2e
push edi
push ebx
call dword [esi + 0x1003fa3c]
mov edi, eax
xor eax, eax
pop ecx
pop ecx
cmp edi, eax
jne 0x10010a0c
cmp dword [esi + 0x1003f9ec], eax
jbe 0x10010992
mov ecx, dword [ebx + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 4]
xor cl, 0x5c
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x1003f9ec]
jb 0x10010977
push ebx
call dword [esi + 0x1003fa34]
mov edi, eax
pop ecx
test edi, edi
jne 0x10010a0c
push dword [esi + 0x1003f9ec]
push dword [ebp - 4]
push ebx
call dword [esi + 0x1003fa38]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10010a0c
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [esi + 0x1003fa38]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10010a0c
push dword [ebp - 4]
push ebx
call dword [esi + 0x1003fa3c]
pop ecx
pop ecx
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x10010a0c
cmp dword [ebp - 8], ecx
jbe 0x10010a05
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x10010a05
mov eax, dword [ebp + 8]
add eax, ecx
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
cmp ecx, dword [ebp - 8]
jb 0x100109ee
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor edi, edi
push dword [ebx + 0xe8]
call fcn.10016fc2
push dword [ebp - 0xc]
call fcn.10016fc2
push dword [ebp - 4]
call fcn.10016fc2
add esp, 0xc
mov eax, edi
jmp 0x10010a45
push dword [ebp - 4]
call fcn.10016fc2
pop ecx
test edi, edi
je 0x10010a42
push edi
call fcn.10016fc2
pop ecx
push 0xd
pop eax
pop edi
pop esi
leave
ret
Function at 0x10010a49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
call fcn.100107f6
test eax, eax
jne 0x10010a84
push esi
mov esi, ebx
imul esi, esi, 0x68
mov dword [edi + 0x70], ebx
mov eax, dword [esi + 0x1003f9e8]
push dword [esi + 0x1003f9ec]
mov dword [ebp - 4], eax
call fcn.1001709f
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x10010a87
push 0xd
pop eax
pop esi
pop ebx
leave
ret
push dword [esi + 0x1003f9ec]
call fcn.1001709f
pop ecx
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x10010aad
push 0xd
pop ebx
push dword [ebp - 8]
call fcn.10016fc2
pop ecx
mov eax, ebx
jmp 0x10010a83
mov ecx, dword [esi + 0x1003f9ec]
cmp ecx, 0x10
jae 0x10010af5
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x10
push 0x1003dfa8
mov eax, ebx
call fcn.1000fb0c
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x10010b75
mov eax, dword [esi + 0x1003f9ec]
cmp dword [ebp - 4], eax
jae 0x10010b25
sub eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0xe8]
add eax, dword [ebp - 4]
jmp 0x10010b1d
push 0x10
push 0x1003dfa8
push eax
call fcn.1001daa0
mov eax, dword [esi + 0x1003f9ec]
add esp, 0xc
cmp eax, 0x10
jbe 0x10010b25
add eax, 0xfffffff0
push eax
mov eax, dword [edi + 0xe8]
add eax, 0x10
push eax
call fcn.100107c3
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x1003f9ec], eax
jbe 0x10010b4a
mov ecx, dword [edi + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x1003f9ec]
jb 0x10010b2f
push edi
call dword [esi + 0x1003fa34]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10010b75
push dword [esi + 0x1003f9ec]
push dword [ebp - 8]
push edi
call dword [esi + 0x1003fa38]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10010aa0
push dword [edi + 0xe8]
call fcn.10016fc2
pop ecx
jmp 0x10010aa0
Function at 0x1001ea9e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10033628]
jne 0x1001eaa8
repz ret
jmp fcn.10022872

Function at 0x10020915
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001bcb2
and dword [ebp - 4], 0
cmp dword [0x1003a81c], 0
mov ebx, eax
jne 0x100209c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10020a77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10020a77
push eax
call fcn.1001bc40
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003a81c], eax
call esi
push eax
call fcn.1001bc40
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003a820], eax
call esi
push eax
call fcn.1001bc40
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003a824], eax
call esi
push eax
call fcn.1001bc40
pop ecx
mov dword [0x1003a82c], eax
test eax, eax
je 0x100209c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001bc40
pop ecx
mov dword [0x1003a828], eax
mov eax, dword [0x1003a828]
cmp eax, ebx
je 0x10020a1e
cmp dword [0x1003a82c], ebx
je 0x10020a1e
push eax
call fcn.1001bcbb
push dword [0x1003a82c]
mov esi, eax
call fcn.1001bcbb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10020a1e
test edi, edi
je 0x10020a1e
call esi
test eax, eax
je 0x10020a15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10020a15
test byte [ebp - 0xc], 1
jne 0x10020a1e
or dword [ebp + 0x10], 0x200000
jmp 0x10020a57
mov eax, dword [0x1003a820]
cmp eax, ebx
je 0x10020a57
push eax
call fcn.1001bcbb
pop ecx
test eax, eax
je 0x10020a57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10020a57
mov eax, dword [0x1003a824]
cmp eax, ebx
je 0x10020a57
push eax
call fcn.1001bcbb
pop ecx
test eax, eax
je 0x10020a57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003a81c]
call fcn.1001bcbb
pop ecx
test eax, eax
je 0x10020a77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10020a79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x462378ac
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x534c53e8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4061b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4210cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x431010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.00408ae3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x406261
push eax
push esi
call fcn.00408f03
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004088d7
int3