joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8bfed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8e3e07
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x9082f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008be270
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008be270
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008be270
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008bf6b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008bf6b0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008bf6b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x8c9e7e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x8c9f03
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.008ce970
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x8c9ec6
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x8c9ee8
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x8c9f5e
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.008c9c4c
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x8c9f4a
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x8c9f5e
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x8c9e87
pop esi
pop ebx
leave
ret
Function at 0x8cf045
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x9082f0]
jne 0x8cf04f
repz ret
jmp fcn.008d5784

Function at 0x8d6098
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 + 0x9085f0]
je 0x8d60b3
inc edi
cmp edi, 0x17
jb 0x8d60a4
cmp edi, 0x17
jae 0x8d6233
push ebp
push 3
call fcn.008dc4a4
cmp eax, 1
pop ecx
je 0x8d61ff
push 3
call fcn.008dc4a4
test eax, eax
pop ecx
jne 0x8d60e7
cmp dword [0x908430], 1
je 0x8d61ff
cmp ebx, 0xfc
je 0x8d6232
push 0x90f1d4
mov ebx, 0x314
push ebx
mov ebp, 0x9180a8
push ebp
call fcn.008d5f2c
add esp, 0xc
test eax, eax
je 0x8d611d
push esi
push esi
push esi
push esi
push esi
call fcn.008d126b
add esp, 0x14
push 0x104
mov esi, 0x9180c1
push esi
push 0
mov byte [0x9181c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x8d6161
push 0x90f1bc
push 0x2fb
push esi
call fcn.008d5f2c
add esp, 0xc
test eax, eax
je 0x8d6161
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.008d126b
add esp, 0x14
push esi
call fcn.008d0d40
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x8d61a6
push esi
call fcn.008d0d40
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x9183bc
push 0x90f1b8
sub ecx, eax
push ecx
push eax
call fcn.008dafef
add esp, 0x14
test eax, eax
je 0x8d61a6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.008d126b
add esp, 0x14
jmp 0x8d61a8
xor esi, esi
push 0x909a88
push ebx
push ebp
call fcn.008daf7e
add esp, 0xc
test eax, eax
je 0x8d61c8
push esi
push esi
push esi
push esi
push esi
call fcn.008d126b
add esp, 0x14
push dword [edi*8 + 0x9085f4]
push ebx
push ebp
call fcn.008daf7e
add esp, 0xc
test eax, eax
je 0x8d61ea
push esi
push esi
push esi
push esi
push esi
call fcn.008d126b
add esp, 0x14
push 0x12010
push 0x90f190
push ebp
call fcn.008dc2e7
add esp, 0xc
jmp 0x8d6232
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x8d6232
cmp ebp, 0xffffffff
je 0x8d6232
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x9085f4]
push dword [esi]
call fcn.008d0d40
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 0x8dc2e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.008d5962
xor ebx, ebx
cmp dword [0x918788], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x8dc3bd
push 0x9102e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x8dc49d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x9102d8
push edi
call esi
cmp eax, ebx
je 0x8dc49d
push eax
call fcn.008d58f4
mov dword [esp], 0x9102c8
push edi
mov dword [0x918788], eax
call esi
push eax
call fcn.008d58f4
mov dword [esp], 0x9102b4
push edi
mov dword [0x91878c], eax
call esi
push eax
call fcn.008d58f4
mov dword [0x918790], eax
lea eax, [ebp - 0xc]
push eax
call fcn.008d15a0
test eax, eax
pop ecx
pop ecx
je 0x8dc38b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.008d126b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x8dc3bd
push 0x910298
push edi
call esi
push eax
call fcn.008d58f4
cmp eax, ebx
pop ecx
mov dword [0x918798], eax
je 0x8dc3bd
push 0x910280
push edi
call esi
push eax
call fcn.008d58f4
pop ecx
mov dword [0x918794], eax
mov eax, dword [0x918794]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x8dc442
cmp dword [0x918798], ecx
je 0x8dc442
push eax
call fcn.008d596b
push dword [0x918798]
mov esi, eax
call fcn.008d596b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x8dc442
cmp edi, ebx
je 0x8dc442
call esi
cmp eax, ebx
je 0x8dc40f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x8dc40f
test byte [ebp - 0x18], 1
jne 0x8dc442
lea eax, [ebp - 0x10]
push eax
call fcn.008d15d7
test eax, eax
pop ecx
je 0x8dc42a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.008d126b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x8dc439
or dword [ebp + 0x10], 0x200000
jmp 0x8dc47d
or dword [ebp + 0x10], 0x40000
jmp 0x8dc47d
mov eax, dword [0x91878c]
cmp eax, dword [ebp - 8]
je 0x8dc47d
push eax
call fcn.008d596b
cmp eax, ebx
pop ecx
je 0x8dc47d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x8dc47d
mov eax, dword [0x918790]
cmp eax, dword [ebp - 8]
je 0x8dc47d
push eax
call fcn.008d596b
cmp eax, ebx
pop ecx
je 0x8dc47d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x918788]
call fcn.008d596b
cmp eax, ebx
pop ecx
je 0x8dc49d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x8dc49f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100049cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x100049da
pop dword [ebp - 0x2c]
mov eax, 0x8be786b1
add eax, 0x8418c329
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x702f2f99
add dword [ebp - 0x3c], 0xde2315b2
mov dword [ebp - 0x38], 0x1f618727
add dword [ebp - 0x38], 0x12d1c51e
mov dword [ebp - 0x34], 0xf4605ba
add dword [ebp - 0x34], 0x3d063e74
mov dword [ebp - 0x30], 0xd78716c3
add dword [ebp - 0x30], 0x2878e93d
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xd449af9b
add dword [ebp - 0x3c], 0xa028b9bb
mov dword [ebp - 0x38], 0xb7932567
add dword [ebp - 0x38], 0x89d93c0e
mov dword [ebp - 0x34], 0xec63a020
sub dword [ebp - 0x34], 0x88f433b4
mov dword [ebp - 0x30], 0x4d5000b0
add dword [ebp - 0x30], 0xb2afff50
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x74a4d2e3
add eax, 0x9b5b3d79
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37c81
push 0
call eax
mov ecx, 0x689b9854
add ecx, 0x9764adaf
mov ebx, eax
mov esi, 0xc44defd1
sub esi, 0xb44ccfd1
add esi, dword [ebp - 0x2c]
mov edi, 0xabc5c624
add edi, 0xdfb91d59
xor dword [ebp - 0x18], ecx
mov edx, dword [esi]
xor dword [ebp - 0x10], esi
sub edx, edi
sub dword [ebp - 4], edx
mov dword [ebx], edx
mov dword [ebp - 0x28], 0x416590e2
add ebx, 0x69c8d576
add ebx, 0x96372a8e
add esi, 4
loop 0x10004af7
add eax, 0xde8ba978
sub eax, 0xde8a9e99
mov ebx, eax
add eax, 0xf9b63bc7
sub eax, 0xf9b63bc2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x100739d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001898
call fcn.01007568
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10073da
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10073da
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10073f2
cmp eax, 0x20b
je 0x10073df
mov dword [ebp - 0x1c], ebx
jmp 0x1007406
cmp dword [ecx + 0x84], 0xe
jbe 0x10073da
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1007400
cmp dword [ecx + 0x74], 0xe
jbe 0x10073da
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100ab9c], 0xffffffff
or dword [0x100aba0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1009ab8]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1009ab4]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100aba4], eax
call fcn.010075f4
cmp dword [0x1009608], ebx
jne 0x1007461
push fcn.010075f4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010075dd
push 0x1009010
push 0x100900c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1009ab0]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1009aac]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1009008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x10074f7
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10074cb
cmp al, 0x22
jne 0x10074bd
cmp byte [esi], 0x22
jne 0x10074d4
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10074de
cmp al, 0x20
jbe 0x10074d0
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1007502
movzx eax, word [ebp - 0x50]
jmp 0x1007505
cmp byte [esi], 0x20
jbe 0x10074d4
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10074f7
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1007522
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1007557
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010075a3
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x6cea54
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
je 0x6fc045
xor eax, eax
cmp dword [ebp + 0xc], ecx
jle 0x6cea93
push esi
nop
nop
nop
nop
mov eax, dword [ebp + 8]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 0x10]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x731e8998]
inc ecx
cmp ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
jl 0x6cea70
pop esi
pop ebp
ret 0xc
sbb eax, 0x10c45f6
je 0x6fc05f
push eax
call fcn.006fbff2
push eax
push 0
push dword [esi]
call int.0071f6a4
add esp, 0xc
xor eax, eax
jmp 0x6fc068
pop esi
pop ebp
ret 0x10

Function at 0x71c808
Capabilities:
Encode data using xor

Disassembly:
and dword [ecx], ebx
enter 0xffffffffffffe31c, 0xffffffffffffff90
or dword [edx + ebp*8], 0x819255bf
pop esp
pop ebp
sbb al, 0x87
and bl, dl
mov bl, byte [edi + 2]
dec edx
push es
shl edx, 1
mov bl, 0x55
xchg edx, eax
or dword [edx + eax*8 + 0x21], 0x40c94803
sbb dh, al
lsl ecx, word [eax - 0x37]
inc eax
invalid
Function at 0x32043b68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x32043b77
pop dword [ebp - 0x28]
mov eax, 0xf373d31d
add eax, 0x3e90685a
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb97c5622
add dword [ebp - 0x38], 0x94d5ef29
mov dword [ebp - 0x34], 0x55663ac4
add dword [ebp - 0x34], 0xdccd1181
mov dword [ebp - 0x30], 0xdcd74b6c
sub dword [ebp - 0x30], 0x908b073e
mov dword [ebp - 0x2c], 0x1ebfa43a
sub dword [ebp - 0x2c], 0x1ebfa43a
lea eax, [ebp - 0x38]
push eax
mov eax, 0x7c6926c4
add eax, 0xb59c09c0
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x502a3d8b
sub dword [ebp - 0x38], 0xdbb7d435
mov dword [ebp - 0x34], 0x2608db65
add dword [ebp - 0x34], 0x1b638610
mov dword [ebp - 0x30], 0x21f0f4f5
add dword [ebp - 0x30], 0x417e7777
mov dword [ebp - 0x2c], 0x3b8c2fcd
add dword [ebp - 0x2c], 0xc473d033
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x4a3cb
push 0
call eax
mov ecx, 0x8d49e5f3
add ecx, 0x72b66d37
mov edi, eax
mov ebx, 0xf54da865
add ebx, 0x3cb9f99b
add ebx, dword [ebp - 0x28]
mov esi, 0xecfd5850
add esi, 0xc413203c
xor dword [ebp - 0x14], 0xc9e33f2e
mov edx, dword [ebx]
xor dword [ebp - 0x24], 0xb014b1f7
xor edx, esi
mov dword [edi], edx
add dword [ebp - 0x14], eax
add edi, 0x6db2ad4c
sub edi, 0x6db2ad48
add ebx, 0xc9cdf8aa
add ebx, 0x3632075a
loop 0x32043c94
add eax, 0x763bf9bd
add eax, 0x89c545be
mov ebx, eax
add eax, 0xf4886207
add eax, 0xb779dfe
mov ecx, 0xf3f7eb89
add ecx, 0x3e081477
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401393
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a308]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x2c], eax
call fcn.0040138c
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a310]
add esi, 0x23f
mov eax, dword [0x41a314]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x4d22c8], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x4d22c4]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x4d22c8], 0x3eb
mov dword [0x4d22c4], eax
mov eax, dword [0x4d1d50]
cmove eax, dword [ebp - 0x1c]
mov dword [0x4d1d50], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x4d22c0], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x4d22c8], 0xb03
mov dword [ebp - 4], eax
jne 0x4014c0
push str.Poh_pabatosipixalilasexamupopajohija_xopitotazucepewifodufalejilemi_karemabuzaniyuzavegusaribufate
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x4013e5
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d5d3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x48ca5c], esi
jne 0x40d6c6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d653
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d7a6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d7a6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d7a6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x48ca5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x48ca60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x48ca64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48ca6c], eax
test eax, eax
je 0x40d6c3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48ca68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6eb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6de
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d700
push 4
pop eax
jmp 0x40d7a8
cmp dword [ebp - 0x14], esi
je 0x40d700
push dword [0x48ca5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6e5
mov eax, dword [0x48ca68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d75e
cmp dword [0x48ca6c], edi
je 0x40d75e
push eax
call ebx
push dword [0x48ca6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d75e
test eax, eax
je 0x40d75e
call ecx
test eax, eax
je 0x40d753
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 0x40d753
test byte [ebp - 8], 1
jne 0x40d75e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d78e
mov eax, dword [0x48ca60]
cmp eax, edi
je 0x40d78b
push eax
call ebx
test eax, eax
je 0x40d78b
call eax
mov esi, eax
test esi, esi
je 0x40d78b
mov eax, dword [0x48ca64]
cmp eax, edi
je 0x40d78b
push eax
call ebx
test eax, eax
je 0x40d78b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x48ca5c]
call ebx
test eax, eax
je 0x40d7a6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d7a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040400d
mov esp, ebp
pop ebp
ret