joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4427ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x47cba8
call fcn.00461bf4
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004445ab
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x442837
call fcn.004445ab
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x442848
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x442855
or eax, 0xffffffff
jmp 0x4429b1
mov ecx, esi
call fcn.00442333
mov dword [ebp - 0x14], eax
call fcn.0044ae40
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4428d3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4428d3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4428d3
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004421c2
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4428d3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4428d3
mov ecx, ebx
call fcn.0044dc6a
test eax, eax
je 0x4428d3
push 0
mov ecx, ebx
call fcn.0044dc85
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0044c7ea
push dword [ebp - 0x14]
call fcn.0044ad98
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004425f4
xor edi, edi
cmp eax, edi
je 0x442930
test byte [esi + 0x3c], 0x10
je 0x44291a
push 4
pop edi
mov ecx, esi
call fcn.0044db27
test ax, 0x100
je 0x442910
push 5
pop edi
push edi
mov ecx, esi
call fcn.0044a960
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x442930
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0044de58
or dword [ebp - 4], 0xffffffff
jmp 0x44295b
cmp dword [ebp - 0x28], edi
je 0x442969
push 1
mov ecx, ebx
call fcn.0044dc85
cmp dword [ebp - 0x2c], edi
je 0x442979
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x442992
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x442992
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0044236d
cmp dword [esi + 0x58], edi
je 0x4429ae
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00461c99
ret
Function at 0x444ddb
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x4a97e0]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x444e79
push 0x4840ec
push 4
push eax
call fcn.0045ea06
push eax
call fcn.004160d0
add esp, 0x10
push ebx
push edi
call fcn.00460a7f
mov edi, dword [eax]
call fcn.00460a7f
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0045eb24
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.00460a7f
cmp dword [eax], ebx
je 0x444e90
call fcn.00460a7f
push dword [eax]
call fcn.004447e2
pop ecx
jmp 0x444e97
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x444e2a
jmp 0x444f09
call fcn.00460a7f
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x444f05
cmp dword [ebp - 0x40], esi
jae 0x444f05
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00461780
add esp, 0xc
push 0x483c24
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x444ef7
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x444ef7
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x444ef7
push ebx
push ebx
push esi
jmp 0x444efd
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x444f07
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0045e88c
add ebp, 0x1f4
leave
ret
Function at 0x447afd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x447b43
call fcn.004445ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x447b43
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x447b86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x447b6f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x447b6f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x447b83
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44bded
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44be26
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00443a65
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004436ae
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x44d42a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4904a8
mov ecx, edi
call fcn.004124a0
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x44d47d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x44d490
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00443a65
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004436ae
jmp 0x44d490
mov ecx, esi
call fcn.0044da60
test eax, eax
je 0x44d490
push edi
mov ecx, eax
call fcn.0044bded
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x44d974
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x44d9b7
call fcn.004445ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44d9b7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44d9d2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0044d52e
test ebx, ebx
mov esi, eax
je 0x44d9d0
test edi, edi
je 0x44d9d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44e167
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47cd56
call fcn.00461bc1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44e18c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44e1d8
call fcn.0044462a
push eax
lea ecx, [ebp - 0x10]
call fcn.00412500
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004430bd
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004122d0
mov eax, esi
call fcn.00461c99
ret 8

Function at 0x45e88c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a97e0]
jne 0x45e896
repz ret
jmp fcn.00466888

Function at 0x45f480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x45f4ad
call fcn.00460a92
mov dword [eax], esi
call fcn.00460a7f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0045eca7
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x45f489
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45f4dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00460aa5
pop ecx
call fcn.00460a7f
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x45f503
test al, 1
je 0x45f503
test byte [esp + 0xc], 2
je 0x45f503
call fcn.00460a92
mov dword [eax], 5
call fcn.00460a7f
mov dword [eax], 0xd
jmp 0x45f4d3
xor eax, eax
pop esi
ret
Function at 0x464e16
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 + 0x4a9800]
je 0x464e31
inc edi
cmp edi, 0x17
jb 0x464e22
cmp edi, 0x17
jae 0x464fb1
push ebp
push 3
call fcn.00471f5f
cmp eax, 1
pop ecx
je 0x464f7d
push 3
call fcn.00471f5f
test eax, eax
pop ecx
jne 0x464e65
cmp dword [0x4a9608], 1
je 0x464f7d
cmp ebx, 0xfc
je 0x464fb0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4ae830
push ebp
call fcn.0045f0f6
add esp, 0xc
test eax, eax
je 0x464e9b
push esi
push esi
push esi
push esi
push esi
call fcn.0045ebab
add esp, 0x14
push 0x104
mov esi, 0x4ae849
push esi
push 0
mov byte [0x4ae94d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x464edf
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0045f0f6
add esp, 0xc
test eax, eax
je 0x464edf
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0045ebab
add esp, 0x14
push esi
call fcn.00463e90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x464f24
push esi
call fcn.00463e90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4aeb44
push 0x4878f4
sub ecx, eax
push ecx
push eax
call fcn.00460ac3
add esp, 0x14
test eax, eax
je 0x464f24
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0045ebab
add esp, 0x14
jmp 0x464f26
xor esi, esi
push 0x4878f0
push ebx
push ebp
call fcn.00460ece
add esp, 0xc
test eax, eax
je 0x464f46
push esi
push esi
push esi
push esi
push esi
call fcn.0045ebab
add esp, 0x14
push dword [edi*8 + 0x4a9804]
push ebx
push ebp
call fcn.00460ece
add esp, 0xc
test eax, eax
je 0x464f68
push esi
push esi
push esi
push esi
push esi
call fcn.0045ebab
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00471da2
add esp, 0xc
jmp 0x464fb0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x464fb0
cmp ebp, 0xffffffff
je 0x464fb0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4a9804]
push dword [esi]
call fcn.00463e90
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 0x471da2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004659da
xor ebx, ebx
cmp dword [0x4af338], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x471e78
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x471f58
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x471f58
push eax
call fcn.0046596c
mov dword [esp], 0x487d0c
push edi
mov dword [0x4af338], eax
call esi
push eax
call fcn.0046596c
mov dword [esp], 0x487cf8
push edi
mov dword [0x4af33c], eax
call esi
push eax
call fcn.0046596c
mov dword [0x4af340], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00462163
test eax, eax
pop ecx
pop ecx
je 0x471e46
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045ebab
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x471e78
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046596c
cmp eax, ebx
pop ecx
mov dword [0x4af348], eax
je 0x471e78
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046596c
pop ecx
mov dword [0x4af344], eax
mov eax, dword [0x4af344]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x471efd
cmp dword [0x4af348], ecx
je 0x471efd
push eax
call fcn.004659e3
push dword [0x4af348]
mov esi, eax
call fcn.004659e3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x471efd
cmp edi, ebx
je 0x471efd
call esi
cmp eax, ebx
je 0x471eca
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x471eca
test byte [ebp - 0x18], 1
jne 0x471efd
lea eax, [ebp - 0x10]
push eax
call fcn.0046219a
test eax, eax
pop ecx
je 0x471ee5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045ebab
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x471ef4
or dword [ebp + 0x10], 0x200000
jmp 0x471f38
or dword [ebp + 0x10], 0x40000
jmp 0x471f38
mov eax, dword [0x4af33c]
cmp eax, dword [ebp - 8]
je 0x471f38
push eax
call fcn.004659e3
cmp eax, ebx
pop ecx
je 0x471f38
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x471f38
mov eax, dword [0x4af340]
cmp eax, dword [ebp - 8]
je 0x471f38
push eax
call fcn.004659e3
cmp eax, ebx
pop ecx
je 0x471f38
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4af338]
call fcn.004659e3
cmp eax, ebx
pop ecx
je 0x471f58
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x471f5a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47c5c2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a97e0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0047c557
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.00461780
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 0x47c611
cmp dword [ebp - 0x1c], 5
jb 0x47c629
jmp 0x47c625
cmp dword [ebp - 0x10], 1
jne 0x47c629
cmp dword [ebp - 0x1c], 4
ja 0x47c625
jne 0x47c629
cmp dword [ebp - 0x18], 0
jbe 0x47c629
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x489fc4
call fcn.0047c42b
test eax, eax
jge 0x47c64a
mov byte [0x4b0b94], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045e88c
add ebp, 0x78
leave
ret
Function at 0x1005910
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
pushal
pushfd
mov ecx, edx
sub eax, eax
call fcn.010041be
mov edi, esp
ror esi, 0x1a
shr esi, 0x1e
and esi, edi
neg esi
call fcn.01001f6a
rol ebx, 0xe
not ebx
xchg eax, edx
rol edx, 0xd
sub esi, eax
and esi, edi
xchg esi, edx
or esi, edi
mov ecx, 0x75b64f
inc esi
xchg esi, eax
ror esi, 2
inc eax
xchg esi, esi
or dword [0x100bd38], ebx
mov ebx, dword [0x1009cbf]
shr edx, 0x18
ror esi, 9
call fcn.01003f47
and ebx, dword [0x1009830]
pushal
pushfd
call fcn.010041be
sub eax, 0xc230338
rol edx, 0x12
add esi, 0xa71de50
or esi, edi
rol eax, 0x10
dec ebx
and eax, 0xe7ab64
not ebx
sub esi, edx
rol edx, 7
add ecx, ecx
rol eax, 0x1a
xor edx, esp
xchg edi, esi
not edx
or esi, edi
mov dword [0x100bdba], esi
mov ebx, dword [0x100a0c0]
or esi, edi
rol eax, 0x1c
mov ecx, 0x12f67e
xor dword [0x100bc5a], edx
inc eax
neg eax
shr edx, 0x11
neg eax
mov esi, dword [0x10095a4]
inc eax
shr eax, 0x12
and dword [0x100bd6e], ecx
call fcn.01003f47
loop 0x10059b9
sub dword [0x100bd30], esi
and esi, edi
shl eax, 1
dec ebx
and esi, edi
rol ecx, 0x18
inc eax
mov esi, eax
not esi
neg esi
sub eax, 0x41aa771
xor dword [0x100bc82], 0xea6cfe
neg eax
mov edi, ebx
xor esi, eax
inc esi
sub esi, eax
mov edi, 0x27a8a9c3
xor edx, eax
sub ecx, ecx
add esi, 0xac79d0c
or esi, dword [0x1008262]
xor edi, eax
mov ecx, esp
xchg esi, eax
not ecx
dec ebx
mov edx, eax
ror eax, 0x11
inc esi
sub ebx, 0x57c948d
add edx, edx
call fcn.01005133
shr esi, 0x1b
xchg eax, esi
dec edx
test eax, ecx
jo 0x1005a8a
ror edi, 5
mov esi, eax
mov ecx, 0x6aa322
rol edx, 0x18
or dword [0x100bd15], ecx
add esi, dword [0x100a0d8]
xchg edx, eax
rol edi, 9
add esi, dword [0x100834c]
shl edx, 0xa
shr eax, 0x19
sub dword [0x100bc40], ecx
inc ebx
loop 0x1005a54
mov dword [0x100bd42], 0x23b40a9f
mov esi, dword [0x10081fe]
xor edx, esp
call fcn.01002858
invalid
int 0xff
invalid
test eax, ebp
jo 0x1005aa4
add dword [eax], 0xe8d43301
ror ebx, 3
not esi
and esi, edi
shr eax, 0x1a
shl eax, 9
mov edx, eax
xor eax, 0x4dbf9ec
mov eax, eax
mov ecx, 0xbdb1c
or dword [ebx - 0x130f7e30], ecx
stc
fild dword [ebx + ecx*4]
sar byte [ecx + 0xbdb1c], 0xc1
ljmp 0xeec1
shr edx, 0x10
rol edx, 4
shr esi, 0x16
neg edx
inc esi
neg edx
xchg esi, eax
call fcn.01002858
xchg eax, eax
xor dword [0x100bdce], 0x24512b74
loop 0x1005ab4
mov eax, 0x1ec791cf
mov eax, ebx
xchg eax, eax
inc esi
or ecx, dword [0x1009e1b]
xor ebx, eax
dec esi
xor esi, eax
or esi, 0x4cf1bb0
inc esi
xor edi, edx
sub esi, eax
xor esi, eax
not edx
add esi, 0x1bb132e
mov esi, eax
or eax, eax
dec edx
mov esi, eax
neg eax
xor esi, eax
call fcn.01003b00
mov eax, esi
test eax, esp
jo 0x1005b93
or esi, edi
xor eax, eax
mov esi, esp
xor esi, eax
or esi, 0x8d97d9c
dec eax
not esi
xor esi, eax
call fcn.01002858
xor eax, eax
not edx
and esi, edi
shl eax, 0x15
call fcn.010041be
mov esi, eax
mov ebx, dword [0x100867e]
add ebx, 0x166eb7c3
mov esi, eax
xor esi, eax
and esi, edi
sub eax, ebx
mov eax, 0xe9c0e38
call fcn.01001daf
xor edx, 0x11ef32
out dx, eax
adc dword [eax], eax
add byte [ecx], al
Function at 0x401496
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5d4]
mov dword [ebp - 0x30], eax
call fcn.0040148f
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5d8]
add edi, 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5dc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x2d399cc]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40151f
push 0x418248
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d399cc]
add eax, dword [ebp - 0x20]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d399c8]
mov dword [ebp - 0x1c], 0xedeb2e40
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp ecx, 0x3eb
mov dword [0x2d399c8], eax
mov eax, dword [0x2d39920]
cmove eax, dword [ebp - 0x1c]
mov dword [0x2d39920], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [0x2d399c4], 0xf4ea3dee
call fcn.0040146c
mov ecx, dword [ebp - 0x10]
xor ecx, eax
sub ebx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
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
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4014e7
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015ef
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d399cc]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d39924]
test esi, esi
je 0x401632
cmp eax, 0x959
jne 0x40161e
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401496
add edi, 8
dec esi
je 0x401632
mov eax, dword [0x2d399cc]
jmp 0x401605
pop edi
pop esi
ret 4