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

Disassembly:
push 0x424
mov eax, 0x1001ae0c
call fcn.1001a6e0
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100056f8
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100056f8
call fcn.10003dca
mov esi, eax
jmp 0x100057fe
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000571b
call fcn.10003dca
jmp 0x100057f1
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10005711
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000574e
mov esi, 0x8007000e
jmp 0x100057f3
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x1000582c
jb 0x10005769
cmp eax, 0xffffffff
ja 0x1000582c
cmp eax, 0x400
jbe 0x1000577e
push eax
lea ecx, [ebp - 0x418]
call fcn.1000b80b
jmp 0x100057a0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100057a0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10005744
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10005711
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1000b80b
mov esi, eax
test edi, edi
je 0x100057fe
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005817
lea ecx, [ebp - 0x418]
call fcn.10003d92
lea ecx, [ebp - 0x428]
call fcn.10004436
mov eax, esi
call fcn.1001a631
ret 0x10
push 0x80070216
call fcn.1000b80b
int3
Function at 0x10005e6b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1001aed0
call fcn.1001a63e
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x20
call fcn.1000b80b
mov esi, eax
pop ecx
test esi, esi
je 0x10005eab
and dword [esi + 4], 0
lea ecx, [esi + 8]
mov edi, ecx
xor eax, eax
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [esi + 0x18], 0
mov edi, dword [ebp - 0x10]
jmp 0x10005ead
xor esi, esi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
jne 0x10005ec2
mov ebx, 0x8007000e
jmp 0x10005fa1
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esi], edi
test edi, edi
je 0x10005f1b
test ebx, ebx
je 0x10005f9c
cmp dword [ebp + 8], 0
jne 0x10005f9c
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call ebx
mov edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x10005f15
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x10005f0f
push edi
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x10005fe5
jmp 0x10005f37
and dword [esi + 4], 0
xor eax, eax
test eax, eax
jne 0x10005f37
jmp 0x10005eb8
test ebx, ebx
jne 0x10005f9c
cmp dword [ebp + 8], ebx
je 0x10005f9c
push dword [ebp + 8]
lea eax, [esi + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantChangeType]
mov ebx, eax
test ebx, ebx
js 0x10005fa1
lea ecx, [esi + 0x18]
call fcn.1000b80b
mov ebx, eax
test ebx, ebx
js 0x10005fa1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10005fef
mov eax, dword [ecx]
push ecx
call dword [eax + 0xbc]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x10006064
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x10005f8b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10005f8f
xor esi, esi
xor ebx, ebx
test edi, edi
je 0x10005fa1
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10005fa1
mov ebx, 0x80070057
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10005fdb
mov dword [ebp - 4], 8
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10005fc1
and dword [esi + 0x18], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [esi + 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call fcn.1000b80b
pop ecx
mov eax, ebx
call fcn.1001a60f
ret 4
push 0x8007000e
call fcn.1000b80b
push 0
push 0x152139a
call fcn.1000b80b
int3
Function at 0x1000b80b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000b81a
pop dword [ebp - 0x14]
mov eax, 0x601a8e9
add eax, 0x9ff0f31
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xcdf68117
sub dword [ebp - 0x24], 0x7fa43bcc
mov dword [ebp - 0x20], 0x5f15db3c
sub dword [ebp - 0x20], 0x2ce28ef7
mov dword [ebp - 0x1c], 0xa932a1f7
add dword [ebp - 0x1c], 0xa319a237
mov dword [ebp - 0x18], 0x2463aff1
sub dword [ebp - 0x18], 0x2463aff1
lea eax, [ebp - 0x24]
push eax
mov eax, 0xb8b6444b
add eax, 0x574b7ca1
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x6d88c5fd
add dword [ebp - 0x24], 0x6e9a359
mov dword [ebp - 0x20], 0xffb0e257
sub dword [ebp - 0x20], 0xbe4480e2
mov dword [ebp - 0x1c], 0x6367f641
add dword [ebp - 0x1c], 0x7762b
mov dword [ebp - 0x18], 0x74a96ccb
sub dword [ebp - 0x18], 0x74a96ccb
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3e928
push 0
call eax
mov ecx, 0xe5818d28
sub ecx, 0xe5813988
xor esi, esi
add esi, eax
mov edx, 0x20499d36
sub edx, 0x10470336
add edx, dword [ebp - 0x14]
mov edi, 0x6c565700
sub edi, 0x39e8aaf3
add dword [ebp - 0xc], eax
mov ebx, dword [edx]
add dword [ebp - 0x10], 0xadea5ea6
xor ebx, edi
add dword [ebp - 0x10], 0x5f2af08e
mov dword [esi], ebx
sub dword [ebp - 8], ecx
add esi, 4
add edx, 0x98ee9790
add edx, 0x67116874
loop 0x1000b939
add eax, 0x6113bbd3
add eax, 0x9eed8580
xor ebx, ebx
add ebx, eax
add eax, 0x188eaffc
add eax, 0xe7715009
mov ecx, 0xcef8a350
add ecx, 0x41075cb0
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401007
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x8106f8]
push esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x8106fc]
push edi
mov edi, dword [ebx]
xor edx, edx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x34], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x810700]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], eax
mov eax, dword [0x810704]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, edi
shl eax, 4
cmp dword [0x81f94c], 0xc
mov dword [ebp - 4], eax
jne 0x401085
push edx
lea eax, [ebp - 0x38]
push eax
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor edx, edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [0x81f94c]
cmp eax, 0xfa9
jne 0x4010a1
mov dword [0x81f948], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c2
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
and dword [0x81f8a0], 0
xor edx, edx
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [0x81f944], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
sub edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x401059
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x408c88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80ff30]
jne 0x408c92
repz ret
jmp fcn.0040cc04

Function at 0x409f03
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.00402a0e
and dword [ebp - 4], 0
cmp dword [0x814940], 0
mov ebx, eax
jne 0x409fb4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a065
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a065
push eax
call fcn.0040299c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x814940], eax
call esi
push eax
call fcn.0040299c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x814944], eax
call esi
push eax
call fcn.0040299c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x814948], eax
call esi
push eax
call fcn.0040299c
pop ecx
mov dword [0x814950], eax
test eax, eax
je 0x409fb4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040299c
pop ecx
mov dword [0x81494c], eax
mov eax, dword [0x81494c]
cmp eax, ebx
je 0x40a00c
cmp dword [0x814950], ebx
je 0x40a00c
push eax
call fcn.00402a17
push dword [0x814950]
mov esi, eax
call fcn.00402a17
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a00c
test edi, edi
je 0x40a00c
call esi
test eax, eax
je 0x40a003
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a003
test byte [ebp - 0xc], 1
jne 0x40a00c
or dword [ebp + 0x10], 0x200000
jmp 0x40a045
mov eax, dword [0x814944]
cmp eax, ebx
je 0x40a045
push eax
call fcn.00402a17
pop ecx
test eax, eax
je 0x40a045
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a045
mov eax, dword [0x814948]
cmp eax, ebx
je 0x40a045
push eax
call fcn.00402a17
pop ecx
test eax, eax
je 0x40a045
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x814940]
call fcn.00402a17
pop ecx
test eax, eax
je 0x40a065
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a067
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407b40
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x2b8
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x14], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407b67
mov byte [esp + 0x10], al
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.004ce000
add esp, 8
test eax, eax
je 0x407b7e
mov byte [eax + 1], 0
push 0x104
lea edx, [esp + 0x14]
push str.characters_
push edx
call sub.Storm.dll_Ordinal_503
lea eax, [esp + 0x10]
push 0x104
push 0x4f3d90
push eax
call sub.Storm.dll_Ordinal_503
mov al, byte [0x65aa4c]
test al, al
mov eax, str..mpc
jne 0x407bb9
mov eax, str..spc
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.Storm.dll_Ordinal_503
lea edx, [esp + 0x114]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407c5b
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x114], 0x16
jne 0x407c45
lea ecx, [esp + 0x140]
push 0x2e
push ecx
call fcn.004ce000
add esp, 8
test eax, eax
je 0x407c0c
mov byte [eax], 0
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x19
jae 0x407c45
lea edx, [esp + 0x254]
lea ecx, [esp + 0x140]
call fcn.004078a0
test eax, eax
je 0x407c45
lea edx, [esp + 0x254]
push edx
call dword [esp + 0x10]
lea eax, [esp + 0x114]
push eax
push esi
call ebp
test eax, eax
jne 0x407be9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
add esp, 0x2b8
ret

Function at 0x407e10
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407e33
mov byte [esp + 4], al
lea ecx, [esp + 4]
push 0x5c
push ecx
call fcn.004ce000
add esp, 8
test eax, eax
je 0x407e4a
mov byte [eax + 1], 0
push 0x104
lea edx, [esp + 8]
push str.characters_
push edx
call sub.Storm.dll_Ordinal_503
lea eax, [esp + 4]
push 0x104
push esi
push eax
call sub.Storm.dll_Ordinal_503
mov al, byte [0x65aa4c]
test al, al
mov eax, str..mpc
jne 0x407e81
mov eax, str..spc
push 0x104
lea ecx, [esp + 8]
push eax
push ecx
call sub.Storm.dll_Ordinal_503
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
add esp, 0x104
ret
Function at 0x40cbe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc4
push ebp
push esi
mov esi, edx
mov ebp, ecx
test esi, esi
jne 0x40cc00
push 0x57
call sub.Storm.dll_Ordinal_465
pop esi
pop ebp
add esp, 0xc4
ret
push edi
push ebx
push 0x4fa7
call fcn.004ce830
add esp, 4
lea edi, [esp + 0x24]
mov ebx, 0x70
call fcn.004ce840
mov byte [edi], al
inc edi
dec ebx
jne 0x40cc18
push 0
call fcn.004ce3a0
add esp, 4
push eax
call fcn.004ce830
add esp, 4
xor eax, eax
xor ecx, ecx
cmp byte [eax + esi], 0
jne 0x40cc42
xor eax, eax
mov dl, byte [eax + esi]
inc eax
mov byte [esp + ecx + 0x94], dl
inc ecx
cmp ecx, 0x40
jl 0x40cc3a
xor ecx, ecx
call fcn.004a5290
lea eax, [esp + 0x10]
lea edx, [esp + 0x94]
push eax
xor ecx, ecx
call fcn.004a4ff0
call fcn.004a4fa0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov eax, ecx
mov esi, 0x14
cdq
idiv esi
mov bl, byte [esp + ecx + 0x24]
mov dl, byte [esp + edx + 0x10]
xor bl, dl
mov byte [esp + ecx + 0x24], bl
inc ecx
cmp ecx, 0x70
jb 0x40cc84
xor eax, eax
xor esi, esi
mov dword [esp + 0x10], eax
lea edi, [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push edi
mov edx, ebp
mov ecx, esi
call fcn.00468870
mov ecx, esi
call fcn.004a5290
lea edx, [esp + 0x54]
mov ecx, esi
push 0
call fcn.004a4ff0
inc esi
add edi, 0x10
cmp esi, 3
jl 0x40ccbe
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x24]
pop ebx
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
add esp, 0xc4
ret
Function at 0x41aa10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 0x5c]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0xc]
xor esi, esi
push edi
mov si, word [eax + 0x64]
mov dx, word [ecx + 0x16]
mov cx, word [ecx + 0x14]
lea eax, [esi*8 + 0x6b9fd8]
mov si, dx
sub si, word [eax + 2]
mov word [esp + 0x1a], si
mov di, word [eax + 6]
add di, dx
mov dx, cx
mov word [esp + 0x1e], di
sub dx, word [eax]
movsx ebp, si
mov word [esp + 0x18], dx
mov ax, word [eax + 4]
add ax, cx
movsx ebx, ax
movsx ecx, dx
sub ebx, ecx
sar ebx, 2
add dx, bx
sub ax, bx
mov word [esp + 0x18], dx
mov word [esp + 0x1c], ax
movsx ecx, di
movsx eax, ax
movsx edx, dx
sub ecx, ebp
sub eax, edx
sar ecx, 2
cdq
add si, cx
sub eax, edx
mov word [esp + 0x1a], si
sub di, cx
mov ecx, dword [esp + 0x18]
mov word [esp + 0x1e], di
sar eax, 1
add eax, ecx
mov word [esp + 0x14], ax
movsx eax, di
movsx ecx, si
mov esi, dword [esp + 0x1a]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, esi
mov word [esp + 0x16], ax
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0x14]
mov word [esp + 0x10], cx
mov dx, word [eax + 0x16]
lea eax, [esp + 0x18]
mov word [esp + 0x12], dx
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.004921e0
test eax, eax
je 0x41ab15
movsx ecx, word [esp + 0x10]
mov edx, dword [esp + 0x24]
movsx eax, word [esp + 0x12]
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
movsx edx, word [esp + 0x14]
mov eax, dword [esp + 0x24]
pop edi
movsx ecx, word [esp + 0x12]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0x10
ret 8
Function at 0x4482a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [0x645fac], 1
mov byte [0x645fb4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x645f80], eax
mov byte [ebp - 8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov al, byte [0x645fc0]
test eax, eax
je 0x4483b5
mov ecx, 3
call fcn.00441b80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov cl, byte [0x645fb4]
test ecx, ecx
je 0x4482fd
jmp 0x448321
mov eax, dword [0x645f80]
sub eax, dword [ebp - 0xc]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [0x6be870]
cmp eax, dword [edx*4 + 0x4f4d08]
jle 0x448321
mov eax, dword [ebp - 0xc]
mov dword [0x645f80], eax
call fcn.00440260
mov ecx, dword [0x645f7c]
add ecx, dword [ebp - 0xc]
cmp ecx, 0xa
jbe 0x44834b
mov edx, dword [ebp - 0xc]
not edx
add edx, 1
mov dword [0x645f7c], edx
call fcn.004a3560
mov byte [ebp - 8], 1
call fcn.0047a220
call fcn.00409520
call fcn.00472630
mov eax, dword [ebp - 0xc]
sub eax, dword [0x645f80]
test eax, eax
jl 0x448375
xor ecx, ecx
call fcn.00448410
mov dword [ebp - 4], eax
mov byte [ebp - 8], 1
call fcn.004483c0
cmp dword [0x644db8], 0
jne 0x448390
mov ecx, dword [ebp - 8]
and ecx, 0xff
test ecx, ecx
je 0x4483a3
mov dword [0x644db8], 0
mov byte [ebp - 8], 0
call fcn.004e2f40
cmp dword [ebp - 4], 0
je 0x4483b0
mov dword [ebp - 4], 0
jmp 0x4482cd
mov esp, ebp
pop ebp
ret

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

Disassembly:
call fcn.004b2550
call fcn.00482420
mov eax, dword [0x658110]
test eax, eax
je 0x448404
mov eax, dword [0x502da8]
test eax, eax
je 0x448404
call fcn.00480e80
test eax, eax
jne 0x448404
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x645fc4]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x14
jb 0x448404
mov dword [0x645fc4], eax
call fcn.004dc440
jmp 0x46de50
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov edi, eax
xor esi, esi
lea eax, [esi + esi*2]
lea eax, [eax + eax*8]
lea eax, [esi + eax*4]
cmp byte [eax*2 + 0x658428], bl
je 0x46df24
mov edx, dword [esi*4 + 0x658f40]
mov ecx, edi
sub ecx, edx
js 0x46df24
cmp esi, 0xc
mov byte [eax*2 + 0x658428], bl
jne 0x46deb1
mov edx, dword [0x658f7c]
and edx, 0xffff
add edx, 0x127
push edx
push 0x276
mov edx, 0x127
jmp 0x46df1a
cmp esi, 0xb
jl 0x46ded5
mov eax, dword [0x658f7c]
mov edx, 0x18
and eax, 0xffff
mov ecx, 0x1a4
add eax, 0x18
push eax
push 0x26c
jmp 0x46df1f
mov ecx, dword [0x658f74]
mov eax, esi
and ecx, 0xff
sub eax, ecx
mov ecx, 0xb
add eax, 0xb
cdq
idiv ecx
mov ecx, dword [0x658f7c]
mov eax, edx
mov edx, dword [0x658f78]
and edx, 0xffff
imul eax, edx
and ecx, 0xffff
lea edx, [ecx + eax + 0x70]
push edx
push 0x276
lea edx, [eax + 0x70]
mov ecx, 0xa
call fcn.004db100
inc esi
cmp esi, 0xd
jl 0x46de5f
pop edi
pop esi
pop ebx
ret
Function at 0x448680
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [0x645fac]
sub ecx, 1
mov dword [0x645fac], ecx
cmp dword [0x645fac], 0
jbe 0x4486b2
mov eax, 1
jmp 0x448798
call fcn.00479c10
test eax, eax
jne 0x4486ea
mov dword [0x645fac], 1
xor edx, edx
mov dl, byte [0x645fb4]
test edx, edx
jne 0x4486e3
mov byte [0x645fb4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x645fc8], eax
xor eax, eax
jmp 0x448798
xor eax, eax
mov al, byte [0x645fb4]
test eax, eax
je 0x448756
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x645fc8]
mov dword [0x645fc8], eax
cmp dword [0x645fc8], 0x64
jae 0x44872c
mov ecx, dword [0x6be870]
mov edx, dword [ecx*4 + 0x4f4ce8]
shr edx, 1
mov eax, dword [0x645f80]
add eax, edx
mov dword [0x645f80], eax
jmp 0x448756
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x6be870]
mov edx, dword [0x6be870]
mov ecx, dword [ecx*4 + 0x4f4ce8]
imul ecx, dword [edx*4 + 0x645f88]
shr ecx, 1
add eax, ecx
mov dword [0x645f80], eax
mov byte [0x645fb4], 0
mov edx, dword [0x6be870]
mov eax, dword [edx*4 + 0x645f88]
mov dword [0x645fac], eax
xor ecx, ecx
mov cl, byte [0x65aa4c]
test ecx, ecx
je 0x448793
mov edx, dword [ebp - 4]
mov dword [edx], 1
call fcn.00410c10
call fcn.0046fd40
call fcn.0047df30
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4489a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebp, ecx
call fcn.00483ac0
mov eax, dword [0x665b70]
test eax, eax
jne 0x410c9e
cmp ebp, esi
ja 0x410ce4
sub esi, ebp
lea edi, [ebp*4 + 0x5a79b8]
inc esi
mov ebx, esi
mov esi, dword [edi]
test esi, esi
je 0x410c96
mov al, byte [0x65a800]
mov cl, byte [esi + 0xc]
test al, cl
je 0x410c8f
mov ecx, esi
call fcn.00483ae0
mov esi, dword [esi + 4]
test esi, esi
jne 0x410c7c
add edi, 4
dec ebx
jne 0x410c76
jmp 0x410ce4
cmp ebp, esi
ja 0x410ce4
sub esi, ebp
lea edi, [ebp*4 + 0x5a79b8]
inc esi
mov ebx, esi
mov esi, dword [edi]
test esi, esi
je 0x410cde
mov cl, byte [0x665b74]
mov al, byte [esi + 0xc]
test cl, al
jne 0x410cd0
mov eax, dword [0x665b78]
test eax, eax
je 0x410cd7
cmp byte [esi + 0xa], 0xb
jne 0x410cd7
mov ecx, esi
call fcn.00483ae0
mov esi, dword [esi + 4]
test esi, esi
jne 0x410cb4
add edi, 4
dec ebx
jne 0x410cae
mov eax, dword [0x5a77a8]
test eax, eax
je 0x410d8d
mov ecx, 0x40
xor eax, eax
mov edi, 0x5a7dc0
mov dword [0x5a77a8], 0
rep stosd dword es:[edi], eax
mov ecx, 0x5a7dc0
mov esi, 0x5a79b8
mov eax, dword [esi]
test eax, eax
je 0x410d39
xor edx, edx
mov dx, word [eax + 8]
mov bl, byte [edx + 0x5a77b0]
test bl, bl
je 0x410d32
mov dl, byte [eax + 0xc]
mov bl, byte [ecx]
xor bl, dl
mov byte [ecx], bl
mov eax, dword [eax + 4]
test eax, eax
jne 0x410d19
add esi, 4
inc ecx
cmp esi, 0x5a7db8
jb 0x410d13
lea esi, [ebp + 0xd]
cmp esi, 0x100
jb 0x410d55
mov esi, 0xff
xor eax, eax
cmp ebp, esi
mov ecx, ebp
ja 0x410d74
xor edx, edx
mov dl, byte [ecx + 0x591710]
xor eax, edx
lea edx, [eax + eax]
shr eax, 0x1f
or eax, edx
inc ecx
cmp ecx, esi
jbe 0x410d5d
mov ecx, eax
mov dword [0x59130c], ebp
shr ecx, 0x10
xor eax, ecx
mov edx, eax
shr edx, 8
xor eax, edx
mov byte [0x5a77ac], al
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.00448100
test eax, eax
je 0x4489ec
xor eax, eax
mov ax, word [0x5087fa]
lea ecx, [eax - 4]
lea edx, [eax + 0x194]
test ecx, ecx
mov dword [0x645fd8], ecx
mov dword [0x645fe0], edx
jge 0x4489d2
xor ecx, ecx
mov dword [0x645fd8], ecx
xor eax, eax
mov ax, word [0x5087fe]
cmp edx, eax
jl 0x4489e7
lea edx, [eax - 1]
mov dword [0x645fe0], edx
jmp 0x410c50
ret