joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ab70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1018bec0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x58]
xor ebx, ebx
cmp ecx, ebx
je 0x1002ac53
cmp byte [ecx], bl
je 0x1002ac53
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1002abe0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.10005610
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x1002ac21
mov edx, dword [esp + 0x10]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x1002ac34
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1002ac72
cmp dword [esp + 0x40], esi
jb 0x1002ac53
mov eax, dword [esp + 0x2c]
push eax
call fcn.10159534
add esp, 4
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10159cce
add esp, 0x48
ret
test al, 0x10
lea ecx, [esp + 0x28]
je 0x1002ac81
call fcn.10029980
jmp 0x1002ac53
call fcn.10029980
mov al, 1
jmp 0x1002ac55

Function at 0x1002e5b0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov byte [esi + 0x24], 0
je 0x1002e615
push 0xffffff
lea ecx, [esi + 0x28]
call fcn.1002e550
cmp dword [esi + 0x1c], 0
je 0x1002e615
mov al, byte [esi + 0x25]
test al, al
jne 0x1002e5ea
mov ecx, dword [esi + 0x1c]
push 0xff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [esi + 0x25], 1
mov dl, byte [esi + 0x25]
test dl, dl
jne 0x1002e604
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
mov al, byte [esi + 0x25]
test al, al
je 0x1002e5f8
pop edi
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
pop esi
ret
Function at 0x1002fca0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1018bec0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, dword [esp + 0x58]
xor ebx, ebx
cmp edx, ebx
jne 0x1002fce1
xor al, al
jmp 0x1002fd86
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
jmp 0x1002fd10
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1002fd10
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.10005610
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x1002fd51
mov edx, dword [esp + 0x10]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x1002fd64
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
cmp dword [esp + 0x40], esi
jb 0x1002fd84
mov eax, dword [esp + 0x2c]
push eax
call fcn.10159534
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10159cce
add esp, 0x48
ret
Function at 0x1003b520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101811c3
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0xd8]
cmp dword [ebp + 0x14], 0
mov ebx, dword [esp + 0xd4]
je 0x1003b6bb
push 1
push 0
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x20], 0x3b
call fcn.10022160
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x1003b65c
mov byte [esp + 0x14], 0x3b
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x5c]
push edx
mov ecx, ebp
call fcn.1002a800
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xd4], 0
call fcn.10037f00
push eax
mov ecx, ebx
mov byte [esp + 0xd0], 1
call fcn.1003acf0
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x1003b5e4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x34], esi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jb 0x1003b60c
mov edx, dword [esp + 0x20]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0xcc], 0xffffffff
jb 0x1003b63f
mov eax, dword [esp + 0x58]
push eax
call fcn.10159534
add esp, 4
push 1
lea esi, [edi + 1]
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.10022160
mov edi, eax
cmp edi, 0xffffffff
jne 0x1003b590
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x78]
push edx
mov ecx, ebp
call fcn.1002a800
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0xd4], 2
call fcn.10037f00
push eax
mov ecx, ebx
mov byte [esp + 0xd0], 3
call fcn.1003acf0
lea ecx, [esp + 0x8c]
call fcn.10019980
cmp dword [esp + 0x88], 0x10
jb 0x1003b6bb
mov ecx, dword [esp + 0x74]
push ecx
call fcn.10159534
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x1003b6da
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret 8
Function at 0x10041e60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10181a4b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
movzx eax, byte [edi]
mov byte [esi], al
movzx ecx, byte [edi + 1]
mov byte [esi + 1], cl
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov cx, word [edi + 0xc]
mov word [esi + 0xc], cx
movzx edx, word [edi + 0xe]
mov word [esi + 0xe], dx
movzx eax, byte [edi + 0x10]
mov byte [esi + 0x10], al
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
movzx edx, word [edi + 0x18]
mov word [esi + 0x18], dx
movzx eax, byte [edi + 0x1a]
mov byte [esi + 0x1a], al
movzx ecx, byte [edi + 0x1b]
mov byte [esi + 0x1b], cl
mov dl, byte [edi + 0x1c]
mov byte [esi + 0x1c], dl
movzx eax, byte [edi + 0x1d]
mov byte [esi + 0x1d], al
movzx ecx, byte [edi + 0x1e]
mov byte [esi + 0x1e], cl
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
movzx eax, byte [edi + 0x24]
mov byte [esi + 0x24], al
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x40]
lea eax, [edi + 0x40]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10005470
push 0xffffffffffffffff
lea ecx, [esi + 0x5c]
lea eax, [edi + 0x5c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x28], ebx
mov byte [ecx + 4], bl
call fcn.10005470
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10043e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10181bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0xc]
call fcn.10041c60
mov cl, byte [esp + 0x9c]
mov al, byte [esp + 0x98]
mov edx, dword [esp + 0xa0]
mov byte [esp + 0xd], cl
mov cx, word [esp + 0xa8]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xa4]
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov dx, word [esp + 0xac]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xb0]
mov dword [esp + 0x20], ecx
mov cl, byte [esp + 0xc0]
mov word [esp + 0x1a], dx
mov dx, word [esp + 0xb8]
mov byte [esp + 0x1c], al
mov al, byte [esp + 0xbc]
mov byte [esp + 0x27], cl
mov cl, byte [esp + 0xcc]
mov word [esp + 0x24], dx
mov dl, byte [esp + 0xc4]
mov byte [esp + 0x26], al
mov al, byte [esp + 0xc8]
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0xd8]
mov byte [esp + 0x28], dl
mov edx, dword [esp + 0xd0]
mov byte [esp + 0x29], al
mov al, byte [esp + 0xd4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xdc]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0xe0]
push 0xffffffffffffffff
mov dword [esp + 0x44], ecx
push ebx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xf4]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 2
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.10005470
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x74]
call fcn.10005470
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.10043d20
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0x10044007
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x1004402d
mov edx, dword [esp + 0x50]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x108], esi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x10044056
mov eax, dword [esp + 0xf4]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x124], esi
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x10044088
mov ecx, dword [esp + 0x110]
push ecx
call fcn.10159534
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10159cce
add esp, 0x88
ret 0x90
Function at 0x100440b0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10181c40
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call fcn.10005470
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
movzx ecx, byte [esp + 0x78]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov dl, byte [esp + 0x7c]
lea eax, [esp + 0xc]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x3c], dl
call fcn.10043dd0
mov esi, 0x10
cmp dword [esp + 0x24], esi
jb 0x1004416c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jb 0x1004418f
mov edx, dword [esp + 0x54]
push edx
call fcn.10159534
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10159cce
add esp, 0x40
ret 0x30
Function at 0x1004a6a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10182220
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
mov ebp, dword [esp + 0x70]
xor ebx, ebx
cmp byte [eax + 0x31], bl
jne 0x1004a6f3
mov edx, dword [ebp]
lea ecx, [ecx]
cmp dword [eax + 0xc], edx
jae 0x1004a6ea
mov eax, dword [eax + 8]
jmp 0x1004a6ee
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], bl
je 0x1004a6e0
cmp ecx, dword [esi + 4]
mov edi, ecx
je 0x1004a706
mov eax, dword [ebp]
cmp eax, dword [ecx + 0xc]
jae 0x1004a78d
lea ecx, [esp + 0x1c]
call fcn.100463c0
mov ecx, dword [ebp]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], ebx
call fcn.100477d0
lea edx, [esp + 0x3c]
push edx
push edi
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x78], 1
call fcn.10049920
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x54]
call fcn.10044d60
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1004a75b
push eax
call fcn.10159534
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.10044d60
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1004a781
push eax
call fcn.10159534
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp esi, ebx
jne 0x1004a796
call fcn.1015988d
cmp edi, dword [esi + 4]
jne 0x1004a7a0
call fcn.1015988d
lea eax, [edi + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
Function at 0x1004dbc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x34]
ja 0x1004dbd2
or eax, 0xffffffff
pop esi
ret 4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [esi + 0x58]
cmp eax, 0x20
jbe 0x1004dbe7
add dword [esi + 0x54], 1
push edi
call ebp
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.1004d930
mov edi, eax
cmp edi, 0xffffffff
jne 0x1004dc03
pop edi
pop ebp
or eax, eax
pop esi
ret 4
push ebx
lea ebx, [esi + 0x40]
push edi
mov ecx, ebx
call fcn.1004d840
mov ecx, dword [esp + 0x14]
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 ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
call ebp
push edi
mov ecx, ebx
mov ebp, eax
call fcn.1004d840
push edi
mov ecx, ebx
mov dword [eax + 0x10], ebp
call fcn.1004d840
mov ebp, 1
push edi
mov ecx, ebx
mov dword [eax + 0x14], ebp
call fcn.1004d840
mov edx, dword [esi + 0x54]
pop ebx
mov dword [eax + 0x18], edx
add dword [esi + 0x34], ebp
mov eax, edi
pop edi
pop ebp
pop esi
ret 4
Function at 0x10055480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10182906
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], 0x1019a4f8
mov eax, dword [edi + 0x34]
mov ecx, dword [eax]
lea esi, [edi + 0x30]
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.10054d80
mov eax, dword [esi + 4]
push eax
call fcn.10159534
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x28]
mov ecx, dword [eax]
add esp, 4
lea esi, [edi + 0x24]
push eax
push esi
push ecx
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.100515d0
mov edx, dword [esi + 4]
push edx
call fcn.10159534
add esp, 4
lea eax, [edi + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push eax
mov dword [edi + 8], 0x10199604
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [edi + 8], 0x10199600
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x10057b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10182be6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0xc]
mov dword [esi], 0x1019a4f8
push eax
mov dword [esi + 8], 0x10199604
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.10050620
mov dword [edi + 4], eax
mov byte [eax + 0xb9], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.10050660
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], eax
mov byte [eax + 0xc1], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x10058650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018c31b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x24]
mov dword [esi], 0x1019a4f4
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x14], edx
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x30]
xor ebx, ebx
push ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
call fcn.1015972a
add esp, 4
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esi + 0x2c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10005470
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
lea ecx, [esi + 0x58]
mov dword [esi + 0x54], edx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x24], ebx
mov byte [ecx + 4], bl
call fcn.10005470
mov cl, byte [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov byte [esi + 0x74], cl
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], edx
mov dword [esi + 0x8c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x34
Function at 0x10061e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor eax, eax
cmp byte [esi + eax + 0x244], 0
jne 0x10061e6d
add eax, 1
cmp eax, 0x14
jb 0x10061e51
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x23c]
call fcn.101350f8
test al, al
jne 0x10061e63
mov ecx, dword [esi + 0x240]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp al, 2
je 0x10061e63
movzx ebp, byte [esi + 0x1f0]
mov edi, dword [esi + 0x3b4]
cmp ebp, edi
jae 0x10061e63
lea ecx, [esi + 0x2c]
call fcn.10044490
sub edi, ebp
add edi, edi
cmp eax, edi
jae 0x10061e63
cmp dword [esi + 0x11dc], 0
jne 0x10061ec3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x11dc], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
lea edi, [esi + 8]
mov ebx, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
test edi, edi
mov ebp, dword [esi + 0xc]
lea eax, [esi + 8]
je 0x10061ee3
cmp edi, eax
je 0x10061ee8
call fcn.1015988d
cmp ebx, ebp
je 0x10061f6b
test edi, edi
jne 0x10061ef5
call fcn.1015988d
cmp ebx, dword [edi + 4]
jne 0x10061eff
call fcn.1015988d
cmp dword [ebx + 0x74], 0
je 0x10061f55
lea ecx, [esp + 0x10]
call fcn.10061ca0
add eax, 0x60
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jne 0x10061f55
lea ecx, [esp + 0x10]
call fcn.10061ca0
add eax, 0x60
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x70]
call eax
test al, al
je 0x10061f55
lea ecx, [esp + 0x10]
call fcn.10061ca0
add eax, 0x60
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0x10]
call fcn.10060ae0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x10061ed5
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10061f88
mov ecx, dword [esi + 0x34]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx ecx, byte [esi + 0x1f0]
mov edx, dword [esi + 0x3b4]
sub edx, ecx
add edx, 0xa
cmp eax, edx
jae 0x10062013
cmp dword [esi + 0xfa0], 0
jne 0x10061fe3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x234]
mov dword [esi + 0x204], eax
mov eax, dword [esi + 0x268]
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
push eax
mov eax, dword [esi + 0xfa0]
push eax
lea eax, [esi + 0x244]
push eax
lea eax, [esi + 0x26c]
push eax
call edx
add dword [esi + 0xfa0], 1
mov eax, dword [esi + 0x268]
mov ecx, dword [esi + 0x234]
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
push eax
mov eax, dword [esi + 0xfa0]
push eax
lea eax, [esi + 0x244]
push eax
lea eax, [esi + 0x26c]
push eax
call edx
add dword [esi + 0xfa0], 1
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret