joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0940
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10192558
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x100a0972
call fcn.100bc880
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x100a0983
mov ecx, closesocket
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x100a09d8
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x100a09be
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x100a0b04
cmp dword [esp + 0x18], ebx
jne 0x100a09d8
cmp dword [esp + 0x14], ebx
je 0x100a0b04
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x100a09e9
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.10076b20
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x100a0a2f
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x100a0a2f
call fcn.1008d760
test eax, eax
je 0x100a0a2f
push 0x101cea10
lea ecx, [esp + 0x14]
call fcn.100777a0
push ebx
lea ecx, [esp + 0x14]
call fcn.100781d0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
je 0x100a0ade
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x100a0a6b
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x100a0ade
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x100a0ab9
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x100a0abc
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x100a0ab4
mov dword [esi + 0x10], ebx
jmp 0x100a0abc
mov dword [esi + 0x10], ecx
jmp 0x100a0abc
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.10077520
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.10077520
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x100a4d90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push edi
mov dword [ebp - 0x14], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a4dea
push 0x101dcb44
call fcn.100adb60
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x6400000
jbe 0x100a4df9
push 0x101dcb24
jmp 0x100a4dcd
lea eax, [esi + 1]
mov dword [ebp + 8], edi
push eax
mov dword [ebp - 4], edi
call fcn.1017c342
add esp, 4
lea ecx, [ebp + 8]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push 0
push ecx
push esi
push edi
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, dword [ebp + 8]
je 0x100a4e3c
push edi
call fcn.1017c36b
add esp, 4
push 0x101dcb10
jmp 0x100a4dcd
mov ecx, dword [ebp - 0x14]
push 1
push edi
call fcn.100a4e70
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a7a70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10192d5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
neg esi
sbb esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
add esi, 2
call fcn.100835e0
mov eax, dword [edi + 0x9c]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.100a9d30
push 0x101ec534
lea ecx, [esp + 0x38]
call fcn.10076d80
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
mov byte [esp + 0x28], 2
mov edi, eax
jle 0x100a7b28
test esi, esi
je 0x100a7af5
push str._r_n_r_n
lea ecx, [esp + 0x38]
call fcn.10078170
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov ecx, dword [edx + esi*4]
call fcn.100ac710
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 3
call fcn.100781d0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.10077520
inc esi
cmp esi, edi
jl 0x100a7ae3
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.10076b20
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.10077520
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.100835f0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x100a8250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10192e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.100835e0
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.100a9d30
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp ebp, eax
jl 0x100a82c4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.100835f0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x2c]
push edi
push eax
mov esi, dword [edx + ebp*4]
mov ecx, esi
call fcn.100ad550
mov edi, dword [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.100776b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.10077520
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100a830f
push ebp
push 0x101dce70
push edi
call fcn.1007a4a0
add esp, 0xc
lea edx, [esp + 0xc]
mov ecx, esi
push edx
mov dword [esp + 0x10], 0
call fcn.100ad860
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
push edx
mov dword [ecx], eax
call fcn.1017c36b
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100835f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x100a83d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10192e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.100835e0
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.100a9d30
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp edi, eax
jge 0x100a8495
mov edx, dword [esp + 0x34]
push 0
push edx
call fcn.100af190
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x100a843b
push 0x101dce98
jmp 0x100a848d
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov ecx, dword [eax + edi*4]
mov dword [esp + 0xc], 0
call fcn.100ad860
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
push edx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100a84bb
mov eax, dword [esp + 8]
push eax
call fcn.1017c36b
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x101dce84
call fcn.100adb60
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100835f0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov ecx, dword [esp + 8]
push ecx
call fcn.1017c36b
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100835f0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x100aaf20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019336f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.100ab290
test eax, eax
jne 0x100ab038
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.100ab290
test eax, eax
jne 0x100ab038
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.100ab6d0
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
push ecx
mov ecx, edi
call fcn.100ab6d0
push eax
lea edx, [esp + 0x18]
push 0x101dd25c
push edx
mov byte [esp + 0x34], 2
call fcn.10077e70
push 0x101dd260
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 3
push eax
call fcn.10077c90
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x34], 4
call fcn.10077ac0
mov esi, dword [esp + 0x30]
push 0x101dd254
push eax
push esi
mov byte [esp + 0x34], 5
call fcn.10077c90
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 4
call fcn.10077520
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.10077520
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.10077520
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.10077520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.10077520
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.100ab6d0
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x100abf70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019363b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1019b4e4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], eax
mov ecx, dword [0x1019b4e4]
lea edi, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [edi], ecx
mov edx, dword [0x1019b4e4]
lea ebx, [esi + 8]
mov dword [ebx], edx
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.100ab060
mov eax, dword [0x1019b4e4]
mov dword [esi + 0x20], eax
mov ecx, dword [0x1019b4e4]
mov dword [esi + 0x24], ecx
mov edx, dword [0x1019b4e4]
mov dword [esi + 0x28], edx
mov eax, dword [0x1019b4e4]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x1019b4e4]
mov dword [esi + 0x30], ecx
mov edx, dword [0x1019b4e4]
mov dword [esi + 0x34], edx
push 0x101ec534
mov ecx, esi
mov byte [esp + 0x20], 9
call fcn.100777a0
push 0x101ec534
mov ecx, edi
call fcn.100777a0
push 0x101ec534
mov ecx, ebx
call fcn.100777a0
mov ecx, ebp
call fcn.100ab250
push 0x101ec534
lea ecx, [esi + 0x20]
call fcn.100777a0
push 0x101ec534
lea ecx, [esi + 0x24]
call fcn.100777a0
push 0x101ec534
lea ecx, [esi + 0x28]
call fcn.100777a0
push 0x101ec534
lea ecx, [esi + 0x2c]
call fcn.100777a0
push 0x101ec534
lea ecx, [esi + 0x30]
call fcn.100777a0
push 0x101ec534
lea ecx, [esi + 0x34]
call fcn.100777a0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100ac490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10193861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x1019bb2c
mov ebx, dword [esi + 0x50]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x18], 2
jle 0x100ac4db
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x100ac4d6
mov edx, dword [ecx]
push 1
call dword [edx]
inc edi
cmp edi, ebx
jl 0x100ac4c6
lea edi, [esi + 0x4c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.100aa1f0
mov edi, dword [edi]
mov byte [esp + 0x18], 1
test edi, edi
je 0x100ac4fd
push edi
call fcn.1017c36b
add esp, 4
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0
mov dword [esi + 0x3c], 0x1019bb28
call fcn.10077520
add esi, 4
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0xb
call fcn.10077520
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xa
call fcn.10077520
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 9
call fcn.10077520
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 8
call fcn.10077520
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 7
call fcn.10077520
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 6
call fcn.10077520
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 5
call fcn.100ab110
lea ecx, [esi + 8]
mov byte [esp + 0x18], 4
call fcn.10077520
lea ecx, [esi + 4]
mov byte [esp + 0x18], 3
call fcn.10077520
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.10077520
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100ad930
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100ad9a5
mov eax, dword [esi + 0x48]
test eax, eax
je 0x100ad9a5
cmp ecx, eax
ja 0x100ad9a5
sub eax, ecx
mov dword [ebp - 4], 0
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.1017c342
mov edx, dword [ebp + 8]
mov ecx, edi
add esp, 4
mov dword [edx], eax
mov byte [eax + edi], 0
mov edi, dword [edx]
mov esi, dword [esi + 0x44]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x100adb38
mov ecx, esi
call fcn.100ac5f0
cmp eax, 3
je 0x100adb00
cmp eax, 4
je 0x100adb00
mov eax, dword [esi + 0xc]
push 1
push eax
call fcn.100af190
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
jne 0x100ad9f5
push 0x101dcaec
call fcn.100adb60
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100ada2e
push 0x101dce40
call fcn.100adb60
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
call fcn.1017c342
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, dword [ebp - 0x14]
je 0x100ada98
push 0x101dcb10
call fcn.100adb60
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call fcn.1017c36b
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x18]
push eax
push edi
push esi
call fcn.100ae030
add esp, 0x10
test eax, eax
jne 0x100adae0
push 0x101dcf08
call fcn.100adb60
push esi
call fcn.1017c36b
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.1017c36b
add esp, 4
jmp 0x100adb38
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.100ac710
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push edi
push ebx
push edx
push eax
mov dword [ebp - 4], 2
call fcn.100ade40
add esp, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.10077520
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b0a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10193f3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call fcn.100b30e0
mov eax, dword [0x1019b4e0]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x2c], eax
mov ecx, dword [0x1019b4e0]
lea ebp, [ebx + 0x30]
mov dword [ebp], ecx
mov byte [esp + 0x1c], 2
mov dword [ebx], 0x1019bbe4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10201cbc
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x30]
mov dword [ebx + 0x28], ecx
push edx
mov ecx, ebp
call fcn.10072320
mov eax, dword [ebx + 0x38]
mov ebp, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
cmp eax, edi
je 0x100b0b60
push eax
call fcn.1017c36b
add esp, 4
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
cmp esi, edi
je 0x100b0b8d
cmp ebp, edi
jbe 0x100b0b8d
push ebp
call fcn.1017c342
add esp, 4
cmp eax, edi
mov dword [ebx + 0x38], eax
je 0x100b0b8d
mov ecx, ebp
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x34], ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x100b0bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10193f6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x1019bbe4
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x100b0bf4
push eax
call fcn.1017c36b
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x14], 1
call fcn.100721a0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], bl
call fcn.100721a0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.100b3110
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100b3a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101942ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10087340
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.100b5310
push 0xa
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 1
call fcn.10172a20
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 2
call fcn.10083ae0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov dword [esi + 0x30], edi
mov dword [esi + 0xa0], edi
mov dword [esi], 0x1019bc68
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100b3ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101943a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x80]
push eax
call fcn.10084010
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
mov eax, dword [edi + 0x70]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
je 0x100b40e9
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x100b4070
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.10172de0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebp
jne 0x100b404b
mov eax, dword [edi + 0x70]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x100b40df
push ebx
lea ebx, [edi + 0x68]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.10172de0
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x100b40a9
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x2c], ebp
call fcn.100875d0
mov ecx, dword [esp + 0x10]
call fcn.10087690
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x100b40ca
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x100b40d8
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x34], ebp
jne 0x100b4083
pop ebx
lea ecx, [edi + 0x68]
call fcn.10172ab0
jmp 0x100b4161
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x100b4161
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.10172de0
mov ecx, dword [esp + 0xc]
call fcn.10087710
test eax, eax
jne 0x100b415b
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x28], ebp
jne 0x100b415b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x100b4141
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x100b4153
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.10172d50
cmp dword [esp + 0x30], ebp
jne 0x100b40f8
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.10084070
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x100b5820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101945af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 4], 0
cmp word [eax], 0x4d4f
je 0x100b586d
mov esi, dword [esp + 0x38]
push 0
push 0
mov ecx, esi
call fcn.10089ee0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
push edi
mov ebp, dword [esp + 0x48]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
test ecx, ecx
jbe 0x100b58a1
and word [esp + 0x12], 0xefff
test byte [eax + 3], 0x10
je 0x100b589d
or byte [esp + 0x13], 0x20
mov esi, ebp
mov edi, ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], edi
call fcn.10089ed0
lea eax, [esp + 0x10]
push 0x20
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
call fcn.1008a430
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.1008a430
test esi, esi
je 0x100b58e2
cmp esi, ebp
je 0x100b58e2
push esi
call fcn.1017c36b
add esp, 4
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.10089ff0
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.1008a030
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret