joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x208]
push 0x26
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x40cad0]
call dword [ecx + 0x24]
mov dl, 0x49
mov al, 0x74
mov byte [esp + 0x1b], dl
mov cl, 0x72
mov byte [esp + 0x2d], dl
lea edx, [esp + 0x18]
mov byte [esp + 0x1d], al
mov byte [esp + 0x1f], cl
mov byte [esp + 0x22], al
mov byte [esp + 0x29], cl
mov byte [esp + 0x2b], cl
lea esi, [ebp + 0x104]
push ebp
mov bl, 0x65
mov al, 0x45
mov cl, 0x58
push edx
push esi
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x73
mov byte [esp + 0x26], 0x5c
mov byte [esp + 0x28], 0x6e
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2c], 0x6e
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2f], 0x20
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0x78
mov byte [esp + 0x32], 0x70
mov byte [esp + 0x33], 0x6c
mov byte [esp + 0x34], 0x6f
mov byte [esp + 0x36], bl
mov byte [esp + 0x38], 0x5c
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x4c
mov byte [esp + 0x3e], 0x4f
mov byte [esp + 0x3f], 0x52
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 0x2e
mov byte [esp + 0x42], al
mov byte [esp + 0x43], cl
mov byte [esp + 0x44], al
mov byte [esp + 0x45], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x50]
mov ecx, dword [ebp + 0x208]
add esp, 0xc
mov byte [esp + 0x10], 0x6f
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x12], bl
push eax
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0
push 0
mov eax, dword [0x40cad0]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
call dword [eax + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x4020a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x480
push ebx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], bl
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [0x40cad0]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x7c]
push eax
push ebx
call dword [ecx + 0xf0]
mov eax, dword [0x40cad0]
lea edx, [esp + 0x78]
push 0x80
push edx
call dword [eax + 0xf4]
mov eax, dword [0x40cad0]
lea ecx, [esp + 0x78]
push 0x104
lea edx, [esp + 0x7c]
push ecx
push edx
call dword [eax + 0x168]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, 0x43
lea ecx, [esp + 0x17c]
mov byte [esp + 8], al
mov byte [esp + 0xe], al
mov eax, dword [0x40cad0]
push 0x104
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x15], 0x4f
mov byte [esp + 0x16], 0x4d
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x45
mov byte [esp + 0x1b], bl
call dword [eax + 0x16c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x281]
mov byte [esp + 0x280], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cl, 0x6c
lea edx, [esp + 0x10]
mov byte [esp + 0x16], cl
mov byte [esp + 0x1f], cl
stosb byte es:[edi], al
lea ecx, [esp + 0x78]
mov al, 0x20
push ecx
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0x2f
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], al
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], 0x25
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0x3e
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x75
mov byte [esp + 0x24], bl
push edx
lea eax, [esp + 0x288]
push 0x208
push eax
call fcn.004022d0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
add esp, 0x10
rep stosd dword es:[edi], eax
lea edx, [esp + 0x24]
xor ecx, ecx
lea eax, [esp + 0x34]
push edx
mov dword [esp + 0x2c], ecx
push eax
mov eax, dword [0x40cad0]
push ebx
mov dword [esp + 0x38], ecx
push ebx
push 4
mov dword [esp + 0x44], ecx
push ebx
push ebx
lea ecx, [esp + 0x29c]
push ebx
lea edx, [esp + 0x19c]
push ecx
push edx
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x88], 1
mov word [esp + 0x8c], bx
mov dword [esp + 0x4c], ebx
call dword [eax + 0xa0]
test eax, eax
jne 0x40225f
pop edi
pop ebx
add esp, 0x480
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [0x40cad0]
push esi
push 0x40
push ecx
call dword [edx + 0x174]
mov eax, dword [0x40cad0]
push 0x100
lea esi, [eax + 0x174]
call dword [eax + 0x138]
push eax
call dword [esi]
mov eax, dword [0x40cad0]
push 0xf
lea esi, [eax + 0x134]
call dword [eax + 0x13c]
push eax
call dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x40cad0]
push eax
call dword [ecx + 0x170]
mov edx, dword [0x40cad0]
push ebx
call dword [edx + 0x178]
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 0x480
ret
Function at 0x403480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x60
mov al, 0x5c
mov cl, 0x6e
mov byte [esp + 0x22], al
mov byte [esp + 0x28], cl
mov byte [esp + 0x2c], cl
mov byte [esp + 0x34], al
mov byte [esp + 0x37], cl
mov byte [esp + 0x3c], al
mov byte [esp + 0x42], cl
mov byte [esp + 0x4c], al
mov byte [esp + 0x50], al
mov byte [esp + 0x56], al
mov byte [esp + 0x5a], al
mov dl, 0x53
mov cl, 0x64
lea eax, [esp + 4]
push ebx
mov byte [esp + 0x20], dl
mov byte [esp + 0x22], dl
mov byte [esp + 0x35], dl
mov byte [esp + 0x4a], dl
mov byte [esp + 0x52], cl
mov byte [esp + 0x56], cl
mov byte [esp + 0x59], cl
mov byte [esp + 0x5c], cl
push eax
mov bl, 0x72
mov dl, 0x70
push 1
lea ecx, [esp + 0x28]
push 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x2d], 0x59
mov byte [esp + 0x2f], 0x54
mov byte [esp + 0x30], 0x45
mov byte [esp + 0x31], 0x4d
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x65
mov byte [esp + 0x39], 0x74
mov byte [esp + 0x3a], 0x43
mov byte [esp + 0x3b], 0x6f
mov byte [esp + 0x3d], 0x74
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 0x6f
mov byte [esp + 0x40], 0x6c
mov byte [esp + 0x42], 0x65
mov byte [esp + 0x43], 0x74
mov byte [esp + 0x45], 0x43
mov byte [esp + 0x46], 0x6f
mov byte [esp + 0x48], 0x74
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x6f
mov byte [esp + 0x4b], 0x6c
mov byte [esp + 0x4d], 0x54
mov byte [esp + 0x4e], 0x65
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0x6d
mov byte [esp + 0x51], 0x69
mov byte [esp + 0x53], 0x61
mov byte [esp + 0x54], 0x6c
mov byte [esp + 0x55], 0x20
mov byte [esp + 0x57], 0x65
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x76
mov byte [esp + 0x5a], 0x65
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5d], 0x57
mov byte [esp + 0x5f], 0x73
mov byte [esp + 0x61], bl
mov byte [esp + 0x63], dl
mov byte [esp + 0x64], 0x77
mov byte [esp + 0x67], 0x54
mov byte [esp + 0x69], 0x73
mov byte [esp + 0x6b], 0x74
mov byte [esp + 0x6c], 0x63
mov byte [esp + 0x6d], dl
mov byte [esp + 0x6e], 0
push ecx
mov edx, dword [0x40cad0]
push 0x80000002
call dword [edx + 0x180]
test eax, eax
jne 0x403667
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [0x40cad0]
lea eax, [esp + 0x20]
push 0
push eax
push ecx
mov byte [esp + 0x2c], 0x50
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x74
mov byte [esp + 0x30], 0x4e
mov byte [esp + 0x31], 0x75
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x33], 0x62
mov byte [esp + 0x34], 0x65
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0
call dword [edx + 0x18c]
mov eax, dword [esp + 8]
mov ecx, dword [0x40cad0]
push eax
call dword [ecx + 0x188]
mov eax, dword [esp + 4]
pop ebx
add esp, 0x60
ret
Function at 0x404570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b3f0
push 0x409e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 6
mov word [ebp - 0x28], 0xc
push 0xc
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [edi]
push edx
call fcn.00404970
add esp, 0xc
test eax, eax
jne 0x4045ed
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.MSVCRT.dll__local_unwind2
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004042e0
test eax, eax
jne 0x404619
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
push 0x4042c0
push 0
push 0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0
push 0
push edi
push 0x4042d0
push 0
push 0
call ebx
mov edi, eax
mov dword [ebp - 0x20], edi
push 0xffffffffffffffff
push esi
mov edx, dword [0x40cad0]
call dword [edx + 0xcc]
push 0
push edi
mov eax, dword [0x40cad0]
call dword [eax + 0xc8]
push 0
push esi
mov ecx, dword [0x40cad0]
call dword [ecx + 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.00404681
Function at 0x4057d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x28]
mov bl, 0x65
push eax
mov ecx, dword [esi + 0x230]
mov byte [esp + 0x2c], 0x49
push ecx
mov byte [esp + 0x31], 0x6e
mov byte [esp + 0x32], 0x74
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0x72
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], 0x4f
mov byte [esp + 0x39], 0x70
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], 0x55
mov byte [esp + 0x3d], 0x72
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], 0
call dword [esi + 0x2a8]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x230]
lea edx, [esp + 8]
mov byte [esp + 8], 0x49
push edx
push eax
mov byte [esp + 0x11], 0x6e
mov byte [esp + 0x12], 0x74
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], 0x72
mov byte [esp + 0x15], 0x6e
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x74
mov byte [esp + 0x18], 0x4f
mov byte [esp + 0x19], 0x70
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1c], 0x41
mov byte [esp + 0x1d], 0
call dword [esi + 0x2a8]
mov edx, dword [esi + 0x230]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov dword [esi], eax
mov byte [esp + 0x44], 0x49
mov byte [esp + 0x45], 0x6e
mov byte [esp + 0x46], 0x74
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0x72
mov byte [esp + 0x49], 0x6e
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], 0x74
mov byte [esp + 0x4c], 0x52
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x61
mov byte [esp + 0x4f], 0x64
mov byte [esp + 0x50], 0x46
mov byte [esp + 0x51], 0x69
mov byte [esp + 0x52], 0x6c
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 0
call dword [esi + 0x2a8]
mov dword [esi + 8], eax
mov byte [esp + 0x50], 0x49
mov byte [esp + 0x51], 0x6e
mov byte [esp + 0x52], 0x74
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 0x72
mov byte [esp + 0x55], 0x6e
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0x74
mov byte [esp + 0x58], 0x43
mov byte [esp + 0x59], 0x6c
mov byte [esp + 0x5a], 0x6f
mov ecx, dword [esi + 0x230]
lea eax, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x63], 0x73
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0x48
mov byte [esp + 0x66], 0x61
mov byte [esp + 0x67], 0x6e
mov byte [esp + 0x68], 0x64
mov byte [esp + 0x69], 0x6c
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 0
call dword [esi + 0x2a8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x230]
lea edx, [esp + 0x18]
mov byte [esp + 0x18], 0x48
push edx
push eax
mov byte [esp + 0x21], 0x74
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x51
mov byte [esp + 0x25], 0x75
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x72
mov byte [esp + 0x28], 0x79
mov byte [esp + 0x29], 0x49
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x66
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0
call dword [esi + 0x2a8]
mov dword [esi + 0x10], eax
pop esi
mov eax, 1
pop ebx
add esp, 0x5c
ret
Function at 0x4059e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov al, 0x74
mov cl, 0x65
mov byte [esp + 6], al
mov byte [esp + 0xb], al
mov byte [esp + 5], cl
mov byte [esp + 0xc], cl
mov ecx, dword [esi + 0x244]
lea eax, [esp + 4]
push eax
push ecx
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xf], 0x41
mov byte [esp + 0x10], 0x64
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x12], 0x70
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x17], 0x49
mov byte [esp + 0x18], 0x6e
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x6f
mov byte [esp + 0x1b], 0
call dword [esi + 0x2a8]
mov dword [esi + 0x14], eax
mov eax, 1
pop esi
add esp, 0x10
ret

Function at 0x405a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
mov bl, 0x65
push eax
mov ecx, dword [esi + 0x258]
mov byte [esp + 0xc], 0x50
push ecx
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x12], 0x74
mov byte [esp + 0x13], 0x68
mov byte [esp + 0x14], 0x46
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x46
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x6c
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], 0x4e
mov byte [esp + 0x1d], 0x61
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], 0x41
mov byte [esp + 0x21], 0
call dword [esi + 0x2a8]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x258]
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], 0x50
push edx
push eax
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x68
mov byte [esp + 0x28], 0x52
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x6d
mov byte [esp + 0x2b], 0x6f
mov byte [esp + 0x2c], 0x76
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x69
mov byte [esp + 0x30], 0x6c
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x53
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x63
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0
call dword [esi + 0x2a8]
mov dword [esi + 0x1c], eax
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x405b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
mov bl, 0x65
push eax
mov ecx, dword [esi + 0x268]
mov byte [esp + 0xc], 0x53
push ecx
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 0x6c
mov byte [esp + 0x14], 0x6c
mov byte [esp + 0x15], 0x45
mov byte [esp + 0x16], 0x78
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], 0x63
mov byte [esp + 0x19], 0x75
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], 0x41
mov byte [esp + 0x1d], 0
call dword [esi + 0x2a8]
mov dword [esi + 0x20], eax
mov al, 0x61
mov byte [esp + 0x22], al
mov byte [esp + 0x2b], al
mov eax, dword [esi + 0x268]
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], 0x53
mov byte [esp + 0x21], 0x48
mov byte [esp + 0x22], 0x47
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x25], 0x53
mov byte [esp + 0x26], 0x70
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], 0x46
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x6c
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], 0x50
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x35], 0x68
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0
call dword [esi + 0x2a8]
mov dword [esi + 0x24], eax
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x401020
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
mov ebx, 0x1698
push esi
push edi
mov edi, eax
mov dword [ebp - 4], ecx
add eax, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x58d84e99
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebx + 0x404980]
sub edi, 0xf5
push 0x5874
call ebx
sub edi, dword [ebp - 0x40]
and ecx, ebp
sub dword [ebp - 0x3f], eax
mov eax, 0xc6ef3720
mov ebx, eax
sub ebx, eax
sub ebx, 0x3f
add esi, 0xffffff78
mov esi, dword [ebp - 4]
mov ebx, esi
mov edx, esi
mov ecx, dword [ebp + 8]
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, eax
shr ebx, 0xb
and ebx, 3
mov edi, dword [ecx + ebx*4]
mov ecx, eax
xor ecx, esi
add edx, edi
add edx, ecx
mov ecx, dword [ebp - 8]
sub ecx, edx
mov dword [ebp - 8], ecx
add eax, 0x61c88647
mov ebx, eax
add edi, 0xffffffe2
mov ebx, ecx
mov edi, dword [ebp + 8]
add edx, eax
mov edx, ecx
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, eax
and ebx, 3
add edx, dword [edi + ebx*4]
mov edi, eax
xor edi, ecx
add edx, edi
sub esi, edx
or eax, eax
mov dword [ebp - 4], esi
jne 0x401077
mov edi, 0x41d0
mov edi, dword [edi + 0x401e48]
push 0x5fae
call edi
add dword [ebp - 0x4e], eax
add dword [ebp - 0x59], eax
mov edx, dword [ebp - 8]
add edi, ecx
mov ecx, esi
pop edi
mov esi, eax
pop esi
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40162d
Capabilities:
Encode data using xor

Disassembly:
pushal
xadd edx, eax
mov esi, ecx
shld ebp, esi, cl
imul eax, edi
shld edx, edx, 0xd5
inc edi
shld ecx, edx, 0x82
test ebx, 0x56c1b58f
shld eax, edx, 0x8e
xor al, 0x25
imul ecx, ebp
mov ah, al
shr al, cl
lea ecx, [edx]
xor ebp, 0x1ab80078
lea edi, [0x9a116d26]
adc al, al
bswap edi
neg eax
or ecx, ecx
push ecx
test bh, dl
pop eax
lea ebp, [eax]
or edi, 0x92547136
bswap eax
bsf edx, ebx
dec edx
movsx ecx, dx
cmp edi, ebp
imul ebx, ebx, 0
mov eax, 0xb7357abe
bts edx, ebp
xadd ebx, ebp
and al, 0x89
shrd edi, ecx, cl
or al, 0x54
cmp eax, 0xc3c7
jae 0x4016a3
or eax, ebp
ror eax, 1
add esi, ebx
ror eax, cl
xchg dl, dh
bswap eax
inc ebp
btr ebx, 0xc8
xchg bl, ch
and esi, 0
lea edi, [0xae37f6d4]
dec ah
inc ebp
shld ecx, ebp, 0xe2
imul edx, esi
imul edi, ebp
sub esi, 0xffff1b8f
xor edi, 0x63c65999
mov ebp, 0x181d5db4
sub esi, 0xe470
btr edi, 0xcb
add eax, 0xa7a2359a
shrd ecx, esi, 0xb5
dec ebp
cmp esi, 0x273
jbe 0x4016b6
jmp 0x401703
mov ah, 0x10
bt ebx, 0xb0
call 0x40170e
mov ebx, ebx
pop edi
push ecx
push 0x83fa45
jmp 0x40171e
push 0x17394e
test dl, ch
xadd dl, dl
dec eax
dec ecx
shrd eax, ecx, cl
cmp ebp, 0x51df
jno 0x401740
sbb eax, 0x634cdba9
mov eax, edi
cmp dl, 0xa5
ror ch, 0x6b
test esi, eax
bsf ecx, edx
test dh, al
lea ecx, [0x410ce9ac]
xor al, 0x35
shld esi, esi, 0xca
inc eax
mov dh, al
sub edi, 0x3b3b2
cmp edi, edx
jb 0x401769
dec edx
mov ebx, ebp
test ch, al
add edi, 0x65f39
rcl bl, 1
imul ecx, eax, 0xb100a6fb
xor eax, 0x6bf5fd25
bts ebx, 0xed
inc ecx
bts ebx, 0x90
jmp 0x401793
or edx, ecx
push edi
mov ebx, 0x94ee
sub ebx, 0x784
mov ch, 0x7c
or dh, cl
movzx eax, si
bswap esi
sbb bh, ch
and eax, ebx
imul ebx, ebx, 0xa5463324
sub bh, al
ret

Function at 0x4018d9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x419ad8], esi
push edi
jne 0x4018f9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x419ad4], esi
mov byte [0x419ad0], al
jne 0x40195f
mov ecx, dword [0x42b608]
test ecx, ecx
je 0x401940
mov eax, dword [0x42b604]
sub eax, 4
cmp eax, ecx
jmp 0x401939
mov eax, dword [eax]
test eax, eax
je 0x40192b
call eax
mov eax, dword [0x42b604]
sub eax, 4
cmp eax, dword [0x42b608]
mov dword [0x42b604], eax
jae 0x401923
mov eax, 0x40801c
mov esi, 0x408020
cmp eax, esi
mov edi, eax
jae 0x40195f
mov eax, dword [edi]
test eax, eax
je 0x401958
call eax
add edi, 4
cmp edi, esi
jb 0x401950
mov edi, 0x408028
mov eax, 0x408024
mov esi, eax
cmp eax, edi
jae 0x40197e
mov eax, dword [esi]
test eax, eax
je 0x401977
call eax
add esi, 4
cmp esi, edi
jb 0x40196f
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x401998
push dword [ebp + 8]
mov dword [0x419ad8], 1
call fcn.00401809
pop ebp
ret
Function at 0x402769
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edi
xor edi, edi
cmp dword [0x419bf4], edi
push esi
push ebx
jne 0x4027e9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, edi
je 0x402824
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push ebx
call esi
test eax, eax
mov dword [0x419bf4], eax
je 0x402824
push str.GetActiveWindow
push ebx
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x419bf8], eax
call esi
cmp dword [0x419a98], 2
mov dword [0x419bfc], eax
jne 0x4027e9
push str.GetUserObjectInformationA
push ebx
call esi
test eax, eax
mov dword [0x419c04], eax
je 0x4027e9
push str.GetProcessWindowStation
push ebx
call esi
mov dword [0x419c00], eax
mov eax, dword [0x419c00]
test eax, eax
je 0x40282e
call eax
test eax, eax
je 0x402815
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x419c04]
test eax, eax
je 0x402815
test byte [ebp - 8], 1
jne 0x40282e
cmp dword [0x419aa4], 4
jb 0x402828
or byte [ebp + 0x12], 0x20
jmp 0x40284d
xor eax, eax
jmp 0x40285d
or byte [ebp + 0x12], 4
jmp 0x40284d
mov eax, dword [0x419bf8]
test eax, eax
je 0x40284d
call eax
mov edi, eax
or edi, edi
je 0x40284d
mov eax, dword [0x419bfc]
or eax, eax
je 0x40284d
push edi
call eax
mov edi, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [0x419bf4]
pop ebx
pop esi
pop edi
leave
ret