joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x462dcc]
call fcn.0044397d
pop ecx
test eax, eax
je 0x442756
pop ebp
jmp eax
push 2
call fcn.004465db
pop ecx
pop ebp
jmp fcn.00442639

Function at 0x442764
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 + 0x453ab8]
je 0x44277f
inc edi
cmp edi, 0x17
jb 0x442770
cmp edi, 0x17
jae 0x4428ff
push ebp
push 3
call fcn.00447410
pop ecx
cmp eax, 1
je 0x4428cb
push 3
call fcn.00447410
pop ecx
test eax, eax
jne 0x4427b3
cmp dword [0x453810], 1
je 0x4428cb
cmp ebx, 0xfc
je 0x4428fe
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x462dd0
push ebp
call fcn.00444de0
add esp, 0xc
test eax, eax
je 0x4427e9
push esi
push esi
push esi
push esi
push esi
call fcn.00442639
add esp, 0x14
push 0x104
mov esi, 0x462de9
push esi
push 0
mov byte [0x462eed], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44282d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00444de0
add esp, 0xc
test eax, eax
je 0x44282d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00442639
add esp, 0x14
push esi
call fcn.00444cc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x442872
push esi
call fcn.00444cc0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4630e4
push 0x44d33c
sub ecx, eax
push ecx
push eax
call fcn.0044735d
add esp, 0x14
test eax, eax
je 0x442872
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00442639
add esp, 0x14
jmp 0x442874
xor esi, esi
push 0x44d338
push ebx
push ebp
call fcn.004472ec
add esp, 0xc
test eax, eax
je 0x442894
push esi
push esi
push esi
push esi
push esi
call fcn.00442639
add esp, 0x14
push dword [edi*8 + 0x453abc]
push ebx
push ebp
call fcn.004472ec
add esp, 0xc
test eax, eax
je 0x4428b6
push esi
push esi
push esi
push esi
push esi
call fcn.00442639
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447185
add esp, 0xc
jmp 0x4428fe
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4428fe
cmp ebp, 0xffffffff
je 0x4428fe
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x453abc]
push dword [esi]
call fcn.00444cc0
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 0x443d09
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
push edi
mov esi, str.KERNEL32.DLL
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x443d22
push esi
call fcn.0043faed
pop ecx
mov edi, eax
test edi, edi
je 0x443e8a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FlsAlloc
push edi
call esi
push str.FlsGetValue
push edi
mov dword [0x4630e4], eax
call esi
push str.FlsSetValue
push edi
mov dword [0x4630e8], eax
call esi
push str.FlsFree
push edi
mov dword [0x4630ec], eax
call esi
cmp dword [0x4630e4], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x4630f0], eax
je 0x443d8b
cmp dword [0x4630e8], 0
je 0x443d8b
cmp dword [0x4630ec], 0
je 0x443d8b
test eax, eax
jne 0x443daf
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x4630e8], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4630e4], 0x4439ec
mov dword [0x4630ec], esi
mov dword [0x4630f0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x453b98], eax
cmp eax, 0xffffffff
je 0x443e8f
push dword [0x4630e8]
push eax
call esi
test eax, eax
je 0x443e8f
call fcn.0043fdf9
push dword [0x4630e4]
call fcn.00443905
push dword [0x4630e8]
mov dword [0x4630e4], eax
call fcn.00443905
push dword [0x4630ec]
mov dword [0x4630e8], eax
call fcn.00443905
push dword [0x4630f0]
mov dword [0x4630ec], eax
call fcn.00443905
add esp, 0x10
mov dword [0x4630f0], eax
call fcn.00440b72
test eax, eax
je 0x443e8a
push 0x443bda
push dword [0x4630e4]
call fcn.0044397d
pop ecx
call eax
mov dword [0x453b94], eax
cmp eax, 0xffffffff
je 0x443e8a
push 0x214
push 1
call fcn.0044514c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x443e8a
push esi
push dword [0x453b94]
push dword [0x4630ec]
call fcn.0044397d
pop ecx
call eax
test eax, eax
je 0x443e8a
push 0
push esi
call fcn.00443a64
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x443e91
call fcn.00443a27
xor eax, eax
pop edi
pop esi
ret

Function at 0x445340
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x445351
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44534e
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
ret

Function at 0x445370
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4453aa
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4453a2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4453ac
inc edx
add eax, 0x28
cmp edx, esi
jb 0x445392
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x44606a
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x463278]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
push 2
pop ebp
cmp eax, ebx
jne 0x4460b3
call edi
mov esi, eax
cmp esi, ebx
je 0x44609a
mov dword [0x463278], 1
jmp 0x4460bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4460ae
mov eax, ebp
mov dword [0x463278], eax
jmp 0x4460b3
mov eax, dword [0x463278]
cmp eax, 1
jne 0x446140
cmp esi, ebx
jne 0x4460cf
call edi
mov esi, eax
cmp esi, ebx
jne 0x4460cf
xor eax, eax
jmp 0x446198
mov eax, esi
cmp word [esi], bx
je 0x4460e4
add eax, ebp
cmp word [eax], bx
jne 0x4460d6
add eax, ebp
cmp word [eax], bx
jne 0x4460d6
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x446135
push ebp
call fcn.0044510c
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x446135
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
jne 0x446131
push dword [esp + 0x10]
call fcn.0043e11d
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x446198
cmp eax, ebp
je 0x446148
cmp eax, ebx
jne 0x4460c8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x4460c8
cmp byte [esi], bl
je 0x446166
inc eax
cmp byte [eax], bl
jne 0x44615c
inc eax
cmp byte [eax], bl
jne 0x44615c
sub eax, esi
inc eax
mov ebp, eax
push ebp
call fcn.0044510c
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x446184
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x4460c8
push ebp
push esi
push edi
call fcn.0043e570
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x447185
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00443974
and dword [ebp - 4], 0
cmp dword [0x463280], 0
mov ebx, eax
jne 0x447234
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4472e5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4472e5
push eax
call fcn.00443905
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463280], eax
call esi
push eax
call fcn.00443905
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463284], eax
call esi
push eax
call fcn.00443905
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463288], eax
call esi
push eax
call fcn.00443905
pop ecx
mov dword [0x463290], eax
test eax, eax
je 0x447234
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00443905
pop ecx
mov dword [0x46328c], eax
mov eax, dword [0x46328c]
cmp eax, ebx
je 0x44728c
cmp dword [0x463290], ebx
je 0x44728c
push eax
call fcn.0044397d
push dword [0x463290]
mov esi, eax
call fcn.0044397d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44728c
test edi, edi
je 0x44728c
call esi
test eax, eax
je 0x447283
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447283
test byte [ebp - 0xc], 1
jne 0x44728c
or dword [ebp + 0x10], 0x200000
jmp 0x4472c5
mov eax, dword [0x463284]
cmp eax, ebx
je 0x4472c5
push eax
call fcn.0044397d
pop ecx
test eax, eax
je 0x4472c5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4472c5
mov eax, dword [0x463288]
cmp eax, ebx
je 0x4472c5
push eax
call fcn.0044397d
pop ecx
test eax, eax
je 0x4472c5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463280]
call fcn.0044397d
pop ecx
test eax, eax
je 0x4472e5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4472e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100028b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10033228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x1003e9ec]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x38]
push esi
mov dword [esp + 0x28], eax
mov ebx, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], 0
call fcn.1002657d
add esp, 4
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.10002160
mov eax, dword [esp + 0x20]
mov esi, 8
cmp eax, esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], 0
jae 0x10002923
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x1c]
add ebx, 4
push ebx
push ecx
push eax
call fcn.1001baf2
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, esi
pop esi
pop ebx
jb 0x1000294c
mov edx, dword [esp + 4]
push edx
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10026ded
add esp, 0x2c
ret 4

Function at 0x10003780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10033298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea esi, [ecx + 0x84]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.100034a0
mov ecx, dword [eax]
push ecx
call fcn.1000e830
mov ecx, eax
call fcn.1000d760
lea edx, [esp + 0x34]
xor edi, edi
push edx
mov ecx, esi
mov dword [esp + 0xc], edi
call fcn.100034a0
mov edx, dword [eax]
lea ecx, [esp + 8]
push ecx
push edx
call fcn.1000e830
mov ecx, eax
call fcn.1000dcd0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea eax, [esp + 0x34]
push eax
mov ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], 2
call fcn.100034a0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.10003520
lea eax, [esp + 0xc]
lea edx, [esp + 8]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], edx
call fcn.10003520
push edi
lea ecx, [esp + 0x18]
push ecx
push 5
call fcn.100057e0
mov ecx, eax
call fcn.10005850
test al, al
jne 0x10003874
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1000385e
push eax
call fcn.1002678d
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.100034a0
mov dword [eax + 4], 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10003898
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x100038b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10033298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
lea esi, [ecx + 0x84]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100034a0
mov ecx, dword [eax]
push ecx
call fcn.1000e830
mov ecx, eax
call fcn.1000d860
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], 2
call fcn.100034a0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
call fcn.10003520
push edi
lea ecx, [esp + 0x14]
push ecx
push 6
call fcn.100057e0
mov ecx, eax
call fcn.10005850
test al, al
jne 0x10003962
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1000394c
push eax
call fcn.1002678d
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.100034a0
mov dword [eax + 4], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10003982
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x10003ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10033298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 4]
lea eax, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
call fcn.10003520
lea eax, [esp + 4]
lea edx, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 8], 2
mov dword [esp + 0xc], edx
call fcn.10003520
push esi
lea ecx, [esp + 0x10]
push ecx
push 0xa
call fcn.100057e0
mov ecx, eax
call fcn.10005850
test al, al
mov eax, dword [esp + 0x10]
jne 0x10003f85
cmp eax, esi
je 0x10003f70
push eax
call fcn.1002678d
add esp, 4
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp eax, esi
je 0x10003f92
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x10003fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10033298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x34]
push edx
add ecx, 0x84
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], eax
mov dword [esp + 8], 2
call fcn.100034a0
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
call fcn.10003520
mov ecx, dword [esp + 0x38]
lea edx, [esp + 4]
mov dword [esp + 8], ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 8], 8
call fcn.10003520
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 8], 9
mov dword [esp + 0xc], edx
call fcn.10003520
push esi
lea ecx, [esp + 0x18]
push ecx
push 0xc
call fcn.100057e0
mov ecx, eax
call fcn.10005850
test al, al
mov eax, dword [esp + 0x18]
jne 0x10004097
cmp eax, esi
je 0x10004082
push eax
call fcn.1002678d
add esp, 4
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
cmp eax, esi
je 0x100040a4
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10

Function at 0x10004a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10033298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
lea esi, [ecx + 0x84]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100034a0
mov ecx, dword [eax]
push ecx
call fcn.1000e830
mov ecx, eax
call fcn.1000d860
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], 2
call fcn.100034a0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
call fcn.10003520
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x14
call fcn.100057e0
mov ecx, eax
call fcn.10005850
test al, al
mov eax, dword [esp + 0x14]
jne 0x10004ad2
cmp eax, edi
je 0x10004abc
push eax
call fcn.1002678d
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
cmp eax, edi
je 0x10004adf
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000aee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100338c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea ecx, [esp + 0xc]
lea eax, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
call fcn.10003520
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea eax, [esp + 0xc]
lea edx, [esp + 8]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], edx
call fcn.10003520
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov dword [ecx], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.1001fbb0
test al, al
je 0x1000af8e
lea edx, [esp + 0x14]
push edx
push 8
mov ecx, esi
call fcn.1000b070
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1000af9f
push eax
call fcn.1002678d
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp eax, edi
pop edi
pop esi
je 0x1000afbe
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x1000b1a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100338c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
call fcn.10003520
lea eax, [esp + 0xc]
lea edx, [esi + 0x34]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], edx
call fcn.10003520
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov dword [ecx], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.1001fbb0
test al, al
je 0x1000b252
lea edx, [esp + 0x14]
push edx
push ebx
mov ecx, esi
call fcn.1000b070
cmp al, bl
jne 0x1000b296
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000b263
push eax
call fcn.1002678d
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x1000b280
push eax
call fcn.1002678d
add esp, 4
pop esi
mov eax, 0xb47c700a
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000b2a7
push eax
call fcn.1002678d
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x1000b2c4
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x34]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x1000b2e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100338c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea ecx, [esp + 0xc]
lea eax, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
call fcn.10003520
lea eax, [esp + 0xc]
lea edx, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], edx
call fcn.10003520
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov dword [esp + 0x10], 2
call fcn.10003520
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x44]
mov dword [eax], ecx
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.1001fbb0
test al, al
je 0x1000b3ac
lea ecx, [esp + 0x14]
push ecx
push 0xa
mov ecx, esi
call fcn.1000b070
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1000b3bd
push eax
call fcn.1002678d
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp eax, edi
pop edi
pop esi
je 0x1000b3dc
push eax
call fcn.1002678d
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1000bfa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, ebp
push edi
je 0x1000bff4
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [eax + 4]
call ebx
sub eax, dword [edi + 0x18]
cmp eax, 0x1770
jbe 0x1000bff4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x18]
cmp ecx, ebp
mov edx, dword [eax + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [esi + 0x14], eax
jne 0x1000bfe7
call ebx
mov dword [esi + 0x18], eax
jmp 0x1000bfea
mov dword [esi + 0x18], ecx
mov ecx, esi
mov dword [esi + 0xc], ebp
call fcn.1000bee0
mov eax, dword [esi + 8]
cmp eax, 2
jae 0x1000c046
cmp eax, ebp
je 0x1000c08e
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
cmp edx, dword [esi + 0x14]
ja 0x1000c01b
jb 0x1000c08e
mov edx, dword [eax + 0x10]
cmp edx, dword [esi + 0x10]
jb 0x1000c08e
mov eax, dword [eax + 0x10]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
sub eax, ebx
mov dword [esi + 0xc], eax
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
cmp ecx, edx
jbe 0x1000c091
imul eax, eax, 0x3e8
sub ecx, edx
xor edx, edx
div ecx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov edi, dword [eax + 0x18]
sub edi, dword [edx + 0x18]
je 0x1000c08e
mov ecx, dword [eax + 0x10]
mov ebx, dword [edx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, dword [edx + 0x14]
cmp eax, edx
jb 0x1000c08e
ja 0x1000c06c
cmp ecx, ebx
jb 0x1000c08e
push ebp
sub ecx, ebx
push 0x3e8
sbb eax, edx
push eax
push ecx
call fcn.10027120
push ebp
push edi
push edx
push eax
call fcn.100270b0
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0xc], ebp
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
ret