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

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
mov esi, ecx
mov byte [esi + 0x21], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.00411db8
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x411e86
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0xc], edi
jne 0x411f07
cmp dword [ebp + 0xc], edi
je 0x411f2a
cmp dword [esi + 0x14], edi
jne 0x411f2a
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x411f2a
push eax
mov ecx, esi
call fcn.00411a98
mov esi, eax
cmp esi, edi
je 0x411f2a
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00409734
jmp 0x411f2a
cmp eax, edi
je 0x411f1d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x1c], 0x64
jbe 0x411f2a
mov ecx, esi
call fcn.004117ad
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x411f31
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x413b80
push 1
xor ebx, ebx
push ebx
push 0x413c30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x412002
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x413c20
push eax
call dword [ecx]
test eax, eax
jl 0x411ff9
cmp byte [ebp + 8], bl
je 0x411f84
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x411fa1
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x411fb3
push 0x4132e8
jmp 0x411fb6
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x411fcb
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x411fdc
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x411ff0
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x41201c
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x100df03
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
cmp eax, edi
jne 0x100df37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100df33
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x100df49
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100df49
mov edi, 0x800700b7
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x100e1b3
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x103b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push eax
mov dword [ebx + 0x70], 0x103b000
mov dword [0x103c4cc], ebx
xor esi, esi
push ebx
mov dword [ebx], 0x84
mov dword [ebx + 0x64], 0x300
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x74], esi
call dword [sym.imp.ATL.DLL_AtlModuleInit]
cmp eax, esi
jl 0x100e307
push edi
cmp dword [ebp + 0x10], esi
je 0x100e219
mov esi, dword [ebp + 0x10]
mov edi, 0x103c4d0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [ebx + 0x18], eax
cmp eax, esi
je 0x100e2f0
mov edi, 0x114
push edi
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0100ebb0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x108], 2
jne 0x100e279
cmp dword [ebp - 0x114], 5
jae 0x100e2fe
mov eax, dword [ebp - 0x128]
cmp eax, 1
jbe 0x100e2fe
or dword [ebx + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, eax
js 0x100e29b
shr dword [ebx + 0x74], 1
add eax, eax
inc ecx
cmp ecx, 0x20
jl 0x100e28c
shr dword [ebx + 0x74], 1
mov eax, dword [ebx + 0x74]
lea eax, [eax*4 + 4]
push eax
push esi
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x78], eax
cmp eax, esi
je 0x100e2f0
mov ecx, dword [ebx + 0x74]
lea ecx, [ecx*4 + 4]
push ecx
push esi
push eax
call fcn.0100ebb0
add esp, 0xc
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebx + 0x78]
mov dword [ecx + edi*4], eax
mov eax, dword [ebx + 0x78]
cmp dword [eax + edi*4], esi
je 0x100e2f0
inc edi
cmp edi, dword [ebx + 0x74]
jbe 0x100e2d1
jmp 0x100e304
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleTerm]
mov eax, 0x8007000e
jmp 0x100e306
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x74], esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100eb9a
leave
ret 0xc
Function at 0x100ea70
Capabilities:
Accept command line arguments

Disassembly:
push 0xf0
push 0x1038a78
call fcn.01010274
push dword [0x103b014]
call fcn.01010233
pop ecx
mov dword [0x103b014], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100ea60
mov ecx, dword [ebp - 0xa4]
and ecx, 0x7fff
mov edi, dword [ebp - 0xa0]
cmp edi, 2
je 0x100e907
or ecx, 0x8000
mov edx, dword [ebp - 0xac]
mov eax, edx
shl eax, 8
mov esi, dword [ebp - 0xa8]
add eax, esi
mov dword [0x103c514], edi
mov dword [0x103c51c], eax
mov dword [0x103c520], edx
mov dword [0x103c524], esi
mov dword [0x103c518], ecx
call fcn.0100e847
mov dword [ebp - 0xb8], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.01010168
pop ecx
test eax, eax
jne 0x100e958
push 0x1c
call fcn.0100e819
pop ecx
call fcn.0100ff87
test eax, eax
jne 0x100e969
push 0x10
call fcn.0100e819
pop ecx
mov dword [ebp - 4], ebx
call fcn.0100f90c
test eax, eax
jge 0x100e97d
push 0x1b
call fcn.0100ecb2
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x103e598], eax
call fcn.0100f7d0
mov dword [0x103c504], eax
call fcn.0100f6dc
test eax, eax
jge 0x100e9a3
push 8
call fcn.0100ecb2
pop ecx
call fcn.0100f38e
test eax, eax
jge 0x100e9b4
push 9
call fcn.0100ecb2
pop ecx
push ebx
call fcn.0100edf2
pop ecx
test eax, eax
je 0x100e9c6
push eax
call fcn.0100ecb2
pop ecx
call fcn.0100f32a
test byte [ebp - 0xd4], bl
je 0x100e9dc
movzx ecx, word [ebp - 0xd0]
jmp 0x100e9df
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x1000000
call main
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb8], 0
jne 0x100ea02
push eax
call fcn.0100ef52
call fcn.0100ef88
jmp 0x100ea43
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xb4]
jmp 0x100ea65
mov eax, 0xff
call fcn.010102bc
ret
call fcn.01010461
jmp 0x100e893
Function at 0x100eff7
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x103b028]
je 0x100f01d
inc esi
mov dword [ebp - 4], esi
cmp esi, 0x17
jb 0x100f00b
cmp esi, 0x17
jae 0x100f177
push 3
call fcn.01012213
pop ecx
cmp eax, 1
je 0x100f141
push 3
call fcn.01012213
pop ecx
test eax, eax
jne 0x100f050
cmp dword [0x103b014], 1
je 0x100f141
cmp edi, 0xfc
je 0x100f177
push 0x1001e2c
mov edi, 0x314
push edi
mov esi, 0x103c558
push esi
call fcn.010121a6
add esp, 0xc
test eax, eax
je 0x100f086
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01011447
add esp, 0x14
mov byte [0x103c675], bl
push 0x104
mov ebx, 0x103c571
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100f0c9
push 0x1001e14
push 0x2fb
push ebx
call fcn.010121a6
add esp, 0xc
test eax, eax
je 0x100f0c9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.01011447
add esp, 0x14
push ebx
push edi
push esi
call fcn.0101212d
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x100f0e7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01011447
add esp, 0x14
push 0x1001e10
push edi
push esi
call fcn.0101212d
add esp, 0xc
test eax, eax
je 0x100f107
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01011447
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x103b02c]
push edi
push esi
call fcn.0101212d
add esp, 0xc
test eax, eax
je 0x100f12c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01011447
add esp, 0x14
push 0x12010
push 0x1001de8
push esi
call fcn.01011f86
add esp, 0xc
jmp 0x100f177
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x100f177
cmp edi, 0xffffffff
je 0x100f177
mov edx, dword [esi*8 + 0x103b02c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f160
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100ff87
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x1001e58
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x100ffd9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ec4
push edi
call esi
push 0x1001eb8
push edi
mov dword [0x103c97c], eax
call esi
push 0x1001eac
push edi
mov dword [0x103c980], eax
call esi
push 0x1001ea4
push edi
mov dword [0x103c984], eax
call esi
mov dword [0x103c988], eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [0x103c97c], ebx
je 0x100ffff
cmp dword [0x103c980], ebx
je 0x100ffff
cmp dword [0x103c984], ebx
je 0x100ffff
cmp dword [0x103c988], ebx
jne 0x1010023
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x103c980], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x103c97c], 0x100fc49
mov dword [0x103c984], esi
mov dword [0x103c988], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x103b18c], eax
cmp eax, 0xffffffff
je 0x1010096
push dword [0x103c980]
push eax
call esi
test eax, eax
je 0x1010096
call fcn.0100efb0
push dword [0x103c97c]
call fcn.0100fb4b
push dword [0x103c980]
mov dword [0x103c97c], eax
call fcn.0100fb4b
push dword [0x103c984]
mov dword [0x103c980], eax
call fcn.0100fb4b
push dword [0x103c988]
mov dword [0x103c984], eax
call fcn.0100fb4b
add esp, 0x10
mov dword [0x103c988], eax
call fcn.0101189a
test eax, eax
jne 0x101009c
call fcn.0100fc86
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x100fe35
push dword [0x103c97c]
call fcn.0100fbd1
pop ecx
call eax
mov dword [0x103b190], eax
cmp eax, 0xffffffff
je 0x1010091
push 0x214
push 1
call fcn.010132fd
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x1010091
push esi
push dword [0x103b190]
push dword [0x103c984]
call fcn.0100fbd1
pop ecx
call eax
test eax, eax
jne 0x10100ef
push esi
call fcn.010104f7
pop ecx
jmp 0x1010091
push ebx
push esi
call fcn.0100fcc8
or dword [esi + 4], 0xffffffff
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1010098
Function at 0x1011f86
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0100fbc3
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0x103ce20], ebx
jne 0x101205f
push ebx
push ebx
push 0x1001fec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x1011fca
xor eax, eax
jmp 0x1012123
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001fe0
push edi
call esi
cmp eax, ebx
je 0x1011fc3
push eax
call fcn.0100fb4b
mov dword [esp], 0x1001fd0
push edi
mov dword [0x103ce20], eax
call esi
push eax
call fcn.0100fb4b
mov dword [esp], 0x1001fbc
push edi
mov dword [0x103ce24], eax
call esi
push eax
call fcn.0100fb4b
mov dword [0x103ce28], eax
lea eax, [ebp - 8]
push eax
call fcn.0100ed6b
pop ecx
pop ecx
test eax, eax
je 0x101202d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01011447
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x101205f
push 0x1001fa0
push edi
call esi
push eax
call fcn.0100fb4b
pop ecx
mov dword [0x103ce30], eax
cmp eax, ebx
je 0x101205f
push 0x1001f88
push edi
call esi
push eax
call fcn.0100fb4b
pop ecx
mov dword [0x103ce2c], eax
mov eax, dword [0x103ce2c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10120d8
cmp dword [0x103ce30], esi
je 0x10120d8
push eax
call fcn.0100fbd1
pop ecx
call eax
cmp eax, ebx
je 0x10120a5
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x103ce30]
call fcn.0100fbd1
pop ecx
call eax
test eax, eax
je 0x10120a5
test byte [ebp - 0x18], 1
jne 0x10120d8
lea eax, [ebp - 0xc]
push eax
call fcn.0100edac
pop ecx
test eax, eax
je 0x10120c0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01011447
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10120cf
or dword [ebp + 0x10], 0x200000
jmp 0x1012109
or dword [ebp + 0x10], 0x40000
jmp 0x1012109
mov eax, dword [0x103ce24]
cmp eax, esi
je 0x1012109
push eax
call fcn.0100fbd1
pop ecx
call eax
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1012109
mov eax, dword [0x103ce28]
cmp eax, esi
je 0x1012109
push dword [ebp - 4]
push eax
call fcn.0100fbd1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x103ce20]
call fcn.0100fbd1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10171f2
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x103b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
xor esi, esi
push eax
mov dword [ebp - 0xc], esi
call fcn.0100ed6b
pop ecx
test eax, eax
je 0x1017227
push esi
push esi
push esi
push esi
push esi
call fcn.01011447
add esp, 0x14
push 4
pop eax
call fcn.01017a00
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1017343
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec edi
neg edi
sbb edi, edi
and edi, 0x103
inc edi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], esi
jne 0x10172bc
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1001f68
call esi
test eax, eax
jne 0x1017293
push 0x1001f4c
call esi
test eax, eax
je 0x10172bc
push 0x1002c30
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10172bc
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
call eax
cmp eax, 1
jne 0x10172bc
mov eax, dword [ebp - 0x10]
test eax, eax
jbe 0x10172bc
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea esi, [ebx - 1]
push esi
push dword [ebp - 8]
call fcn.0100f4c9
add esp, 0xc
test eax, eax
jl 0x1017343
not esi
and dword [ebp - 8], esi
je 0x10172ee
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.0100f4c9
add esp, 0xc
test eax, eax
jl 0x1017343
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x10172f9
mov dword [ebp - 8], eax
lea esi, [ebx - 1]
not esi
and esi, dword [ebp - 0x14]
sub esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x101730d
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp esi, ebx
jb 0x1017343
push 4
push 0x1000
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1017343
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1017343
xor eax, eax
inc eax
jmp 0x1017345
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100eb9a
leave
ret
Function at 0x101a814
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x101a838
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.01024217
jmp 0x101a855
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.010189b1
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0x7c]
call fcn.0101a414
mov ecx, esi
call fcn.01018a38
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x74], 1
call ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov ecx, edi
call fcn.01019091
mov dword [ebp + 8], eax
test eax, eax
jl 0x101a8bf
mov esi, dword [ebp - 8]
test esi, esi
je 0x101a92e
push esi
mov ecx, edi
call fcn.0101a761
lea ecx, [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp + 8], 0
jl 0x101a8fa
mov eax, dword [esi]
push esi
call dword [eax + 8]
call ebx
mov dword [ebp - 0xc], eax
sub eax, dword [ebp - 0x10]
cmp eax, 0x14
jb 0x101a86a
jmp 0x101a956
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x101a8eb
test byte [eax + 0x1c], 4
je 0x101a8eb
push dword [ebp + 8]
push 0x10032b8
push 0x1002e08
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01020599
mov eax, dword [ebp - 8]
test eax, eax
je 0x101a956
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x101a956
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x101a926
test byte [eax + 0x1c], 4
je 0x101a926
push dword [ebp + 8]
push 0x1003288
push 0x1002e08
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01020599
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x101a956
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x101a952
test byte [eax + 0x1c], 1
je 0x101a952
push 0x1002e08
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dedd
and dword [ebp + 8], 0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
and dword [edi + 0x74], 0
cmp eax, 0x14
jb 0x101a96c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x101a97c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x101dfd9
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x101e1b5
mov edi, dword [ebp + 0x1c]
cmp edi, eax
je 0x101e1b5
cmp dword [ebp + 0xc], eax
je 0x101e1b5
cmp dword [ebp + 0x14], eax
je 0x101e022
mov dword [edi], eax
cmp dword [ebp + 0x18], eax
je 0x101e03c
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x101e13b
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov edi, 0xc0
xor ebx, ebx
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
inc ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x101e074
cmp dword [ebp - 0x24], 0x12
je 0x101e0d1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp ebx, 0x64
jb 0x101e049
mov ebx, dword [ebp + 0xc]
push 6
push 0
push 0
push dword [ebp + 8]
push ebx
call esi
test eax, eax
je 0x101e089
jbe 0x101e092
dec ebx
cmp eax, ebx
jbe 0x101e138
cmp eax, edi
je 0x101e047
push 6
push 0x4ff
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call esi
cmp eax, edi
je 0x101e047
cmp eax, dword [ebp + 0xc]
jne 0x101e138
cmp dword [ebp - 4], 0xffffffff
je 0x101e047
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0x101e102
sub dword [ebp - 4], eax
jmp 0x101e047
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x101e0f8
test byte [eax + 0x1c], 2
je 0x101e0f8
push dword [ebp - 0xc]
push 0x1003fdc
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dce0
mov eax, 0x83450068
jmp 0x101e1ba
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x101e12e
test byte [ecx + 0x1c], 4
je 0x101e12e
push 0x1003fdc
push 0x14
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100dedd
mov ecx, dword [0x103b010]
mov edi, dword [ebp + 0x1c]
mov eax, 0x102
jmp 0x101e141
mov edi, dword [ebp + 0x1c]
mov ecx, dword [0x103b010]
xor edx, edx
cmp eax, edx
je 0x101e149
jbe 0x101e15c
mov esi, dword [ebp + 0xc]
dec esi
cmp eax, esi
ja 0x101e15c
cmp dword [ebp + 0x14], edx
jne 0x101e158
mov dword [edi], eax
xor eax, eax
jmp 0x101e1ba
cmp eax, 0x80
jb 0x101e17e
mov esi, dword [ebp + 0xc]
add esi, 0x7f
cmp eax, esi
ja 0x101e17e
cmp dword [ebp + 0x14], edx
jne 0x101e177
add eax, 0xffffff80
mov dword [edi], eax
mov eax, 0x83450066
jmp 0x101e1ba
cmp eax, 0x102
jne 0x101e18e
mov dword [edi], edx
mov eax, 0x83450067
jmp 0x101e1ba
cmp ecx, 0x103b010
je 0x101e1ae
test byte [ecx + 0x1c], 4
je 0x101e1ae
push 0x1003fdc
push 0x15
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100dedd
mov eax, 0x80004005
jmp 0x101e1ba
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 0x18