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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x100000
call fcn.004031e5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401bc9
push 0x41635c
call fcn.00401000
add esp, 4
push 0x80000000
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401530
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401bfc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push str.error_opening_device__s_for_reading:__s
call fcn.00401000
add esp, 0xc
push 0x416394
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00402725
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401c33
lea edx, [ebp - 0x24]
push edx
call fcn.00401620
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
push str.error_opening_file__s_for_writing
call fcn.00401000
add esp, 8
cmp dword [ebp + 0x1c], 0
jl 0x401d5d
jg 0x401c49
cmp dword [ebp + 0x18], 0
jbe 0x401d5d
cmp dword [ebp + 0x1c], 0
jg 0x401c68
jl 0x401c5a
cmp dword [ebp + 0x18], 0x100000
jae 0x401c68
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], edx
jmp 0x401c76
mov dword [ebp - 0x1c], 0x100000
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401680
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401ce4
lea edx, [ebp - 0x24]
push edx
call fcn.00401620
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.004025ea
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00402c98
add esp, 4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push str.error_reading_device__s:__s
call fcn.00401000
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00402c16
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x401d34
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401620
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.004025ea
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
call fcn.00402c98
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
push str.error_writing_file__s
call fcn.00401000
add esp, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
adc eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x1c]
sbb edx, dword [ebp - 0x10]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
jmp 0x401c33
lea eax, [ebp - 0x24]
push eax
call fcn.00401620
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004025ea
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.004031ad
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x401d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x100000
call fcn.004031e5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401db9
push str.out_of_memory
call fcn.00401000
add esp, 4
push 0x416400
mov eax, dword [ebp + 8]
push eax
call fcn.00402725
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401de4
mov ecx, dword [ebp + 8]
push ecx
push str.error_opening_file__s_for_reading
call fcn.00401000
add esp, 8
push 0xc0000000
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00401530
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401e23
mov ecx, dword [ebp - 4]
push ecx
call fcn.004025ea
add esp, 4
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.error_opening_device__s_for_writing:__s
call fcn.00401000
add esp, 0xc
cmp dword [ebp + 0x1c], 0
jl 0x401f35
jg 0x401e39
cmp dword [ebp + 0x18], 0
jbe 0x401f35
cmp dword [ebp + 0x1c], 0
jg 0x401e58
jl 0x401e4a
cmp dword [ebp + 0x18], 0x100000
jae 0x401e58
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], edx
jmp 0x401e66
mov dword [ebp - 0x1c], 0x100000
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00402a11
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x401eb6
mov edx, dword [ebp - 4]
push edx
call fcn.004025ea
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.00401620
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push str.error_reading_file__s
call fcn.00401000
add esp, 8
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004018b0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401f0c
mov edx, dword [ebp - 4]
push edx
call fcn.004025ea
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.00401620
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.error_writing_device__s:__s
call fcn.00401000
add esp, 0xc
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
adc ecx, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
sbb eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], eax
jmp 0x401e23
mov ecx, dword [ebp - 4]
push ecx
call fcn.004025ea
add esp, 4
lea edx, [ebp - 0x24]
push edx
call fcn.00401620
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.004031ad
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x40bf81
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4167b0]
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.00407772
mov dword [ebp - 0x14], eax
cmp dword [0x418564], esi
jne 0x40c074
push 0x800
push esi
push 0x412604
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c001
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c154
push esi
push esi
push 0x412604
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c154
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c154
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x418564], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x418568], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41856c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x418574], eax
test eax, eax
je 0x40c071
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x418570], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c099
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c08c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c0ae
push 4
pop eax
jmp 0x40c156
cmp dword [ebp - 0x14], esi
je 0x40c0ae
push dword [0x418564]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c093
mov eax, dword [0x418570]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c10c
cmp dword [0x418574], edi
je 0x40c10c
push eax
call ebx
push dword [0x418574]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c10c
test eax, eax
je 0x40c10c
call ecx
test eax, eax
je 0x40c101
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 0x40c101
test byte [ebp - 8], 1
jne 0x40c10c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c13c
mov eax, dword [0x418568]
cmp eax, edi
je 0x40c139
push eax
call ebx
test eax, eax
je 0x40c139
call eax
mov esi, eax
test esi, esi
je 0x40c139
mov eax, dword [0x41856c]
cmp eax, edi
je 0x40c139
push eax
call ebx
test eax, eax
je 0x40c139
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x418564]
call ebx
test eax, eax
je 0x40c154
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c156
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004039c9
mov esp, ebp
pop ebp
ret
Function at 0x424e0a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041b76d
xor ebx, ebx
cmp dword [0x43cdb8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x424edf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
mov edi, eax
cmp edi, ebx
jne 0x424e4a
xor eax, eax
jmp 0x424fa3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress_1]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x424e43
push eax
call fcn.0041b70a
mov dword [esp], 0x4315bc
push edi
mov dword [0x43cdb8], eax
call esi
push eax
call fcn.0041b70a
mov dword [esp], 0x4315a8
push edi
mov dword [0x43cdbc], eax
call esi
push eax
call fcn.0041b70a
mov dword [0x43cdc0], eax
lea eax, [ebp - 8]
push eax
call fcn.00418837
test eax, eax
pop ecx
pop ecx
je 0x424ead
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c9cb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x424edf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041b70a
cmp eax, ebx
pop ecx
mov dword [0x43cdc8], eax
je 0x424edf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041b70a
pop ecx
mov dword [0x43cdc4], eax
mov eax, dword [0x43cdc4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x424f58
cmp dword [0x43cdc8], esi
je 0x424f58
push eax
call fcn.0041b776
pop ecx
call eax
cmp eax, ebx
je 0x424f25
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43cdc8]
call fcn.0041b776
pop ecx
call eax
test eax, eax
je 0x424f25
test byte [ebp - 0x18], 1
jne 0x424f58
lea eax, [ebp - 0xc]
push eax
call fcn.0041886e
test eax, eax
pop ecx
je 0x424f40
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c9cb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x424f4f
or dword [ebp + 0x10], 0x200000
jmp 0x424f89
or dword [ebp + 0x10], 0x40000
jmp 0x424f89
mov eax, dword [0x43cdbc]
cmp eax, esi
je 0x424f89
push eax
call fcn.0041b776
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x424f89
mov eax, dword [0x43cdc0]
cmp eax, esi
je 0x424f89
push dword [ebp - 4]
push eax
call fcn.0041b776
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43cdb8]
call fcn.0041b776
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fe40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x41fe5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fe61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fe50
mov eax, 1
add ebx, ebx
jne 0x41fe73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fe68
jne 0x41fe84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fe68
xor ecx, ecx
sub eax, 3
jb 0x41fe98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ff0a
mov ebp, eax
add ebx, ebx
jne 0x41fea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41feb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fed4
inc ecx
add ebx, ebx
jne 0x41fec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41feb5
jne 0x41fed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41feb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fef4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fee5
jmp 0x41fe56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fef4
add edi, ecx
jmp 0x41fe56
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ff12
cmp byte [edi], 9
jne 0x41ff12
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 0x41ff17
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41ff8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x201c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x202a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ff44
mov ecx, edi
jns 0x41ff73
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 + 0x202b0]
or eax, eax
je 0x41ff89
mov dword [ebx], eax
add ebx, 4
jmp 0x41ff61
call dword [esi + 0x202ac]
mov ebp, dword [esi + 0x202b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x41ffc3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x4071bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4071ca
pop dword [ebp - 0x28]
mov eax, 0x4071ca
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x78b55176
sub dword [ebp - 0x38], 0x2a630c2b
mov dword [ebp - 0x34], 0x9921eda
sub dword [ebp - 0x34], 0xd75ed295
mov dword [ebp - 0x30], 0xaa55eaa8
sub dword [ebp - 0x30], 0x5e09a67a
mov dword [ebp - 0x2c], 0x59e7b20a
add dword [ebp - 0x2c], 0xa6184df6
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xef9fcf3c
sub dword [ebp - 0x38], 0x7b2d65e6
mov dword [ebp - 0x34], 0xe857686b
add dword [ebp - 0x34], 0x5914f90a
mov dword [ebp - 0x30], 0xed95e37a
sub dword [ebp - 0x30], 0x8a26770e
mov dword [ebp - 0x2c], 0x7c4d8268
sub dword [ebp - 0x2c], 0x7c4d8268
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x413eb46d
add eax, 0xbf037cb7
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3dc04
push 0
call eax
mov ecx, 0x47a3
mov esi, eax
mov edi, 0xdb173edb
add edi, 0x252c0525
add edi, dword [ebp - 0x28]
mov ebx, 0x175ea508
xor dword [ebp - 0x24], esi
mov edx, dword [edi]
sub dword [ebp - 0xc], 0x832a6dc4
xor edx, ebx
mov dword [ebp - 4], 0x3ca614c9
mov dword [esi], edx
sub dword [ebp - 4], esi
add esi, 0x82e88855
add esi, 0x7d1777af
add edi, 4
loop 0x4072d6
add eax, 0xc20e9ade
sub eax, 0xc20d897f
mov ebx, eax
add eax, 0x9da228c
add eax, 0xf625dd79
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x100016ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
xor eax, eax
mov dword [esp + 0x74], eax
jmp 0x10001710
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, 0x39a
mov dword [esp + 0x6c], eax
je 0x1000176e
jmp 0x100016f5
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, 0x70
mov dword [esp + 0x74], eax
je 0x100018e0
jmp 0x10001710
mov eax, dword [esp + 0x6c]
mov ecx, 0x12
mov dword [esp + 0x70], eax
xor edx, edx
div ecx
cmp edx, 5
je 0x1000174c
jmp 0x100016c1
mov eax, dword [esp + 0x74]
mov dword [esp + 0x8c], 0x446
mov ecx, esp
lea edx, [esp + 0x8c]
mov dword [ecx + 4], edx
mov dword [ecx], 0x66eb6c
mov ecx, dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], ecx
jmp 0x100016f5
mov eax, esp
mov dword [eax + 4], 0x772
mov dword [eax], 0xc3337
mov eax, dword [sym.imp.USER32.dll_GetScrollPos]
call eax
sub esp, 8
mov dword [esp + 0x60], eax
jmp 0x100016c1
xor eax, eax
mov ecx, dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [esp + 0x5c], eax
call ecx
xor ecx, ecx
mov edx, dword [esp + 0x68]
sub edx, 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
je 0x100017d9
jmp 0x10001795
mov eax, dword [esp + 0x68]
sub eax, 0x48
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
jne 0x100017fb
jmp 0x100017ac
mov eax, esp
mov dword [eax], 0xc785b
mov eax, dword [sym.imp.GDI32.dll_UpdateColors]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharUpperW]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
mov dword [esp + 0x40], eax
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax + 4], ecx
mov dword [eax], 0x4d6a9c
mov eax, dword [sym.imp.GDI32.dll_GetWindowOrgEx]
call eax
sub esp, 8
mov dword [esp + 0x3c], eax
jmp 0x100016db
mov eax, dword [esp + 0x48]
mov ecx, esp
lea edx, [esp + 0x80]
mov dword [ecx + 4], edx
mov dword [ecx], 0x48fd03
mov ecx, dword [sym.imp.GDI32.dll_GetBitmapDimensionEx]
mov dword [esp + 0x38], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x38]
add ecx, 1
mov edx, esp
mov dword [edx + 0x20], 0x57a
mov dword [edx + 0x1c], 0x792
mov dword [edx + 0x18], 0x54
mov dword [edx + 0x14], 0x54
mov dword [edx + 0x10], 0xba6
mov dword [edx + 0xc], 0x62b
mov dword [edx + 8], 0x62b
mov dword [edx + 4], 0x62b
mov dword [edx], 0x577f80
mov edx, dword [sym.imp.GDI32.dll_Chord]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
call edx
sub esp, 0x24
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xb61
mov dword [ecx + 4], 0xb61
mov dword [ecx], 0x2f801b
mov ecx, dword [sym.imp.GDI32.dll_SetBitmapDimensionEx]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x4ff
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov dword [esp + 0x28], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x30]
cmp ecx, 0xa
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
je 0x100016db
jmp 0x100017fb
mov esp, ebp
pop ebp
ret
Function at 0x1000fe2d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101990a8]
jne 0x1000fe37
repz ret
jmp fcn.10011773

Function at 0x10011879
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.1000e181
and dword [ebp - 4], 0
cmp dword [0x1019add4], 0
mov ebx, eax
jne 0x1001192a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100119db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100119db
push eax
call fcn.1000e10f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019add4], eax
call esi
push eax
call fcn.1000e10f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019add8], eax
call esi
push eax
call fcn.1000e10f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019addc], eax
call esi
push eax
call fcn.1000e10f
pop ecx
mov dword [0x1019ade4], eax
test eax, eax
je 0x1001192a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000e10f
pop ecx
mov dword [0x1019ade0], eax
mov eax, dword [0x1019ade0]
cmp eax, ebx
je 0x10011982
cmp dword [0x1019ade4], ebx
je 0x10011982
push eax
call fcn.1000e18a
push dword [0x1019ade4]
mov esi, eax
call fcn.1000e18a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011982
test edi, edi
je 0x10011982
call esi
test eax, eax
je 0x10011979
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011979
test byte [ebp - 0xc], 1
jne 0x10011982
or dword [ebp + 0x10], 0x200000
jmp 0x100119bb
mov eax, dword [0x1019add8]
cmp eax, ebx
je 0x100119bb
push eax
call fcn.1000e18a
pop ecx
test eax, eax
je 0x100119bb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100119bb
mov eax, dword [0x1019addc]
cmp eax, ebx
je 0x100119bb
push eax
call fcn.1000e18a
pop ecx
test eax, eax
je 0x100119bb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019add4]
call fcn.1000e18a
pop ecx
test eax, eax
je 0x100119db
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100119dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10012bd9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101987cc], 0
mov byte [0x101987d0], 0
mov dword [0x101987c4], 0xdd8
mov dword [0x101987c0], 0x1867
mov dword [0x101987c8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10012c62
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x101987c0], 0x1c52
mov dword [0x101987c8], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10012c8a
mov eax, dword [ebp - 0x28]
add eax, 0xffffef7b
mov dword [0x101987c0], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101987c8]
add eax, 1
mov dword [0x101987c8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10012c62
jmp 0x10012c2a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add ecx, 0xfffff22e
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101987d4], 0
mov edi, dword [0x101987cc]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101987d4], esi
mov dword [0x101987c0], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x101987cc], edx
mov esi, dword [ebp - 0x2c]
mov cl, byte [ebx + esi]
mov byte [0x101987d0], cl
mov dword [0x101987c0], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101987d0]
mov edx, dword [0x101987cc]
mov byte [ebx + edx], cl
mov edx, dword [0x101987c4]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x101987c0], ecx
mov esi, dword [0x101987c8]
add esi, 1
mov dword [0x101987c8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
jl 0x10012c8a
jmp 0x10012c4d