joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10060520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100606c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100605e4
cmp dword [ebp - 4], 0x50000000
jb 0x10060561
cmp dword [ebp - 4], 0x80000000
ja 0x10060561
mov dword [ebp - 4], 0x4fff0000
jmp 0x1006053a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1006aab0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10060587
jmp 0x100605e4
cmp dword [ebp - 0x14], 0x10000
jne 0x100605ca
cmp dword [ebp - 0x18], 0x10000
jb 0x100605ca
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100605bd
mov eax, dword [ebp - 8]
jmp 0x100605e6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100605df
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100606c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1006053a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100605f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100606f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100606ac
cmp dword [ebp - 4], 0x50000000
jb 0x1006062c
cmp dword [ebp - 4], 0x80000000
ja 0x1006062c
mov dword [ebp - 4], 0x80010000
jmp 0x10060605
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1006aab0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10060652
jmp 0x100606ac
cmp dword [ebp - 0x14], 0x10000
jne 0x10060695
cmp dword [ebp - 0x18], 0x10000
jb 0x10060695
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10060688
mov eax, dword [ebp - 8]
jmp 0x100606ae
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100606a7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100606f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10060605
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10060e20
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10060e35
xor eax, eax
jmp 0x10060eaa
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10060e62
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10060ea5
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10060ea3
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10060e9f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10060ea3
xor eax, eax
jmp 0x10060eaa
jmp 0x10060e59
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10061070
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101b6488]
mov dword [ebp - 4], eax
jmp 0x10061089
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100610a6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10061080
mov esp, ebp
pop ebp
ret
Function at 0x100614f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101b6498], eax
je 0x1006150e
mov eax, 0x10dd
jmp 0x100615ef
mov eax, dword [0x101b64a8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006158c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1006156a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1006156a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10060b90
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10062989
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10061516
mov dword [0x101b64a8], 0
call fcn.10060eb0
mov ecx, dword [0x101b64a4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100615d9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10062989
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100615a4
mov dword [0x101b64a4], 0
mov dword [0x101b6498], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10061ae0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x101b649c], 0
je 0x10061af9
mov eax, dword [0x101b649c]
jmp 0x10061b99
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x10061b0b
xor eax, eax
jmp 0x10061b99
push 8
call fcn.10062ac8
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10061b61
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10061b4a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10062989
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x101b649c], eax
mov dword [0x101b64a0], 0
mov eax, dword [ebp - 8]
jmp 0x10061b99
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10061b7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x10061b2b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x101b64a4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x101b64a4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1007757e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101b3820]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.100711d6
mov dword [ebp - 0x14], eax
cmp dword [0x101b71f8], edi
jne 0x1007766f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x100775fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007774f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1007774f
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007774f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x101b71f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x101b71fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x101b7200], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x101b7208], eax
test eax, eax
je 0x1007766c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x101b7204], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10077694
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077687
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x100776a9
push 4
pop eax
jmp 0x10077751
cmp dword [ebp - 0x14], edi
je 0x100776a9
push dword [0x101b71f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007768e
mov eax, dword [0x101b7204]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10077707
cmp dword [0x101b7208], esi
je 0x10077707
push eax
call ebx
push dword [0x101b7208]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10077707
test eax, eax
je 0x10077707
call ecx
test eax, eax
je 0x100776fc
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 0x100776fc
test byte [ebp - 8], 1
jne 0x10077707
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10077737
mov eax, dword [0x101b71fc]
cmp eax, esi
je 0x10077734
push eax
call ebx
test eax, eax
je 0x10077734
call eax
mov edi, eax
test edi, edi
je 0x10077734
mov eax, dword [0x101b7200]
cmp eax, esi
je 0x10077734
push eax
call ebx
test eax, eax
je 0x10077734
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x101b71f8]
call ebx
test eax, eax
je 0x1007774f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10077751
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062440
leave
ret
Function at 0x1007c7d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0x1017e260
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.10062528
add esp, 0xc
test eax, eax
je 0x1007c817
xor al, al
jmp 0x1007c898
mov eax, dword [ebp + 0x10]
push eax
call fcn.1006256d
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007c83c
mov ecx, dword [ebp - 8]
push ecx
call fcn.1006266b
add esp, 4
xor al, al
jmp 0x1007c898
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.100628a5
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1007c871
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.1007c8a0
jmp 0x1007c83c
mov edx, dword [ebp - 4]
push edx
call fcn.10062951
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.1006266b
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
xor edx, 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov al, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1007c960
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0x4c11db7
mov dword [ebp - 4], 0
jmp 0x1007c982
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xff
jg 0x1007ca1c
push 8
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1007c900
shl eax, 0x18
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x1007c9bb
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x1007c9fa
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
and edx, 0x80000000
je 0x1007c9da
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x1007c9e1
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
shl eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x1007c9b2
push 0x20
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
push edx
mov ecx, dword [ebp - 8]
call fcn.1007c900
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x1007c979
mov esp, ebp
pop ebp
ret
Function at 0x1007ec10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.10074bd0
mov eax, dword [0x101b3820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1020], ecx
mov byte [ebp - 0x1004], 0
push 0xfff
push 0
lea eax, [ebp - 0x1003]
push eax
call fcn.1006aab0
add esp, 0xc
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1018], 0
jmp 0x1007ec6f
mov ecx, dword [ebp - 0x1018]
add ecx, 1
mov dword [ebp - 0x1018], ecx
cmp dword [ebp - 0x1018], 0xa
jge 0x1007ed26
mov edx, dword [ebp - 0x1018]
imul edx, edx, 0x16
add edx, dword [ebp - 0x1020]
mov dword [ebp - 0x1010], edx
mov eax, dword [ebp - 0x1010]
add eax, 1
mov dword [ebp - 0x102c], eax
mov ecx, dword [ebp - 0x1010]
mov dl, byte [ecx]
mov byte [ebp - 0x1009], dl
add dword [ebp - 0x1010], 1
cmp byte [ebp - 0x1009], 0
jne 0x1007eca0
mov eax, dword [ebp - 0x1010]
sub eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1024], eax
je 0x1007ed21
mov ecx, dword [ebp - 0x1018]
imul ecx, ecx, 0x16
add ecx, dword [ebp - 0x1020]
mov edx, dword [ebp - 0x1014]
lea eax, [ebp + edx - 0x1004]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov cx, word [ecx + 0x14]
mov word [eax + 0x14], cx
mov edx, dword [ebp - 0x1014]
add edx, 0x16
mov dword [ebp - 0x1014], edx
jmp 0x1007ec60
mov dword [ebp - 0x1008], 0
jmp 0x1007ed41
mov eax, dword [ebp - 0x1008]
add eax, 1
mov dword [ebp - 0x1008], eax
mov ecx, dword [ebp - 0x1008]
cmp ecx, dword [ebp - 0x1014]
jge 0x1007edbf
mov edx, dword [ebp - 0x1008]
and edx, 0xff
movzx eax, dl
xor eax, 0xda
movzx ecx, al
mov edx, dword [ebp - 0x1008]
movzx eax, byte [ebp + edx - 0x1004]
xor eax, ecx
mov ecx, dword [ebp - 0x1008]
mov byte [ebp + ecx - 0x1004], al
mov edx, dword [ebp - 0x1008]
shr edx, 8
and edx, 0xff
movzx eax, dl
xor eax, 0x95
movzx ecx, al
mov edx, dword [ebp - 0x1008]
movzx eax, byte [ebp + edx - 0x1004]
sub eax, ecx
mov ecx, dword [ebp - 0x1008]
mov byte [ebp + ecx - 0x1004], al
jmp 0x1007ed32
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 0xffffffff
jne 0x1007ede9
jmp 0x1007ee37
mov dword [ebp - 0x1028], 0
push 0
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x1004]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1007ee2a
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007ee37
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062440
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ee50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.10074bd0
mov eax, dword [0x101b3820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1024], ecx
mov byte [ebp - 0x1004], 0
push 0xfff
push 0
lea eax, [ebp - 0x1003]
push eax
call fcn.1006aab0
add esp, 0xc
push 0x1000
push 0
lea ecx, [ebp - 0x1004]
push ecx
call fcn.1006aab0
add esp, 0xc
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1018], 0xffffffff
jne 0x1007eecd
jmp 0x1007f0c3
push 0
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x102c], 0
push 0
lea ecx, [ebp - 0x102c]
push ecx
mov edx, dword [ebp - 0x1020]
push edx
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1007ef26
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007f0c3
mov dword [ebp - 0x1008], 0
jmp 0x1007ef41
mov eax, dword [ebp - 0x1008]
add eax, 1
mov dword [ebp - 0x1008], eax
mov ecx, dword [ebp - 0x1008]
cmp ecx, dword [ebp - 0x1020]
jge 0x1007efbf
mov edx, dword [ebp - 0x1008]
shr edx, 8
and edx, 0xff
movzx eax, dl
xor eax, 0x95
movzx ecx, al
mov edx, dword [ebp - 0x1008]
movzx eax, byte [ebp + edx - 0x1004]
add eax, ecx
mov ecx, dword [ebp - 0x1008]
mov byte [ebp + ecx - 0x1004], al
mov edx, dword [ebp - 0x1008]
and edx, 0xff
movzx eax, dl
xor eax, 0xda
movzx ecx, al
mov edx, dword [ebp - 0x1008]
movzx eax, byte [ebp + edx - 0x1004]
xor eax, ecx
mov ecx, dword [ebp - 0x1008]
mov byte [ebp + ecx - 0x1004], al
jmp 0x1007ef32
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x1020]
xor edx, edx
mov ecx, 0x16
div ecx
mov dword [ebp - 0x1034], eax
mov dword [ebp - 0x100c], 0
jmp 0x1007f008
mov edx, dword [ebp - 0x100c]
add edx, 1
mov dword [ebp - 0x100c], edx
cmp dword [ebp - 0x100c], 0xa
jge 0x1007f0c3
mov eax, dword [ebp - 0x100c]
imul eax, eax, 0x16
add eax, dword [ebp - 0x101c]
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 0x1014]
add ecx, 1
mov dword [ebp - 0x1028], ecx
mov edx, dword [ebp - 0x1014]
mov al, byte [edx]
mov byte [ebp - 0x100d], al
add dword [ebp - 0x1014], 1
cmp byte [ebp - 0x100d], 0
jne 0x1007f039
mov ecx, dword [ebp - 0x1014]
sub ecx, dword [ebp - 0x1028]
mov dword [ebp - 0x1030], ecx
je 0x1007f086
mov edx, dword [ebp - 0x1024]
mov eax, dword [edx + 0xec]
add eax, 1
mov ecx, dword [ebp - 0x1024]
mov dword [ecx + 0xec], eax
mov edx, dword [ebp - 0x100c]
imul edx, edx, 0x16
mov eax, dword [ebp - 0x101c]
lea ecx, [eax + edx + 0xb]
push ecx
mov edx, dword [ebp - 0x100c]
imul edx, edx, 0x16
add edx, dword [ebp - 0x101c]
push edx
mov ecx, dword [ebp - 0x100c]
imul ecx, ecx, 0x16
add ecx, dword [ebp - 0x1024]
call fcn.10001020
jmp 0x1007eff9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062440
mov esp, ebp
pop ebp
ret 4
Function at 0x1008fe90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.1000c0a0
cmp eax, 1
jae 0x1008feae
jmp 0x1009000d
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.1000c0a0
cmp eax, 1
jbe 0x1008ff1c
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x1008ff1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cmp eax, 0x1388
jbe 0x1008ff1c
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.1000c0a0
sub eax, 1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1c], eax
jne 0x1008fefb
mov dword [ebp - 8], 0
jmp 0x1008ff07
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov edx, dword [0x101bba64]
movzx eax, byte [edx + 0xb]
push eax
mov ecx, 0x405230
call ecx
add esp, 4
cmp eax, 2
jne 0x1008fffd
mov ecx, 0x1023bf5c
call fcn.100fea10
movzx edx, al
test edx, edx
je 0x1008fffd
mov eax, dword [0x8128ac4]
movzx ecx, word [eax + 0x1240]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x8128ac4]
movzx eax, word [edx + 0x12ab]
mov dword [ebp - 0x20], eax
mov ecx, 0x861110
call ecx
mov edx, 0x861260
mov ecx, eax
call edx
mov dword [ebp - 0xc], eax
push 0x80f
mov eax, 0x83be60
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x14], eax
push 0x807
mov edx, 0x83be60
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x1c], eax
mov eax, 0x5879e0
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x1008ffc4
cmp dword [ebp - 0x14], 0
jg 0x1008ffd9
cmp dword [ebp - 0x18], 0x80f
je 0x1008ffd9
cmp dword [ebp - 0x10], 2
jne 0x1008ffeb
cmp dword [ebp - 0x1c], 0
jg 0x1008ffd9
cmp dword [ebp - 0x20], 0x807
jne 0x1008ffeb
mov ecx, dword [ebp - 4]
movss xmm0, dword [0x101a0be4]
movss dword [ecx + 0x10], xmm0
jmp 0x1008fffb
mov edx, dword [ebp - 4]
movss xmm0, dword [0x101a0bc0]
movss dword [edx + 0x10], xmm0
jmp 0x1009000d
mov eax, dword [ebp - 4]
movss xmm0, dword [0x101a0bc0]
movss dword [eax + 0x10], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x100909a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movss xmm0, dword [0x101a0650]
movss dword [eax + 0xc], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [0x101a0bc0]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 8]
movss xmm0, dword [0x101a0b58]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [0x101a0ae0]
movss dword [eax + 0x18], xmm0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 8]
mov byte [edx + 0x21], 0
push 0x10180c18
push 0
push 0x10180c28
push 0x10180c30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10090a1b
mov byte [ebp - 1], 1
jmp 0x10090a1f
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x20], cl
movzx edx, byte [0x1024ce0c]
cmp edx, 1
jne 0x10090a4a
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.1001e490
movzx ecx, byte [0x1024ce12]
cmp ecx, 1
jne 0x10090a6c
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.1001e490
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.1000c0a0
test eax, eax
jbe 0x10090aad
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.1000b7e0
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 8]
push eax
push 0x8d
mov ecx, 0x101e2e2c
call fcn.10100380
push 1
mov ecx, dword [ebp - 8]
call fcn.1001e450
mov esp, ebp
pop ebp
ret

Function at 0x10097c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [0x1024cf80], 1
jne 0x10097d49
push 2
push 0x90
push 0x66842d
call fcn.10150620
add esp, 0xc
push 0x10097470
push 0x6684a3
push 0xe8
call fcn.101507b0
add esp, 0xc
push 2
push 0x90
push 0x6684cd
call fcn.10150620
add esp, 0xc
push 0x10097420
push 0x668512
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x101b516c
push 0x777d6c
call fcn.10150700
add esp, 8
push 0x101b516c
push 0x777dac
call fcn.10150700
add esp, 8
push 0x101b516c
push 0x777dea
call fcn.10150700
add esp, 8
push 0x101b516c
push 0x777e17
call fcn.10150700
add esp, 8
push 0x101b516c
push 0x777e2c
call fcn.10150700
add esp, 8
push 0x101b5168
push 0x777d88
call fcn.10150700
add esp, 8
push 0x101b5168
push 0x777da2
call fcn.10150700
add esp, 8
push 0x101b5168
push 0x777dde
call fcn.10150700
add esp, 8
push 0x100974f0
push 0x777dc8
push 0xe8
call fcn.101507b0
add esp, 0xc
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10012580
push 0
push 0
push 0
push 0x10097a00
push 0
push 0
call fcn.10063df0
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov esp, ebp
pop ebp
ret