joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a85e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x528ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push 7
push 0x54cd48
lea ecx, [esp + 0x14]
call fcn.004f58e0
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.004f5870
mov eax, dword [esp + 0x28]
mov ebx, 1
push eax
push 5
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004f5c80
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0
call fcn.004f5870
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call fcn.004f5850
mov ecx, 0x5574f0
mov byte [esp + 0x2c], bl
call fcn.004a3b90
test ax, ax
jg 0x4a8699
push 0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x548208
call fcn.004f58e0
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x4a873b
push ecx
lea eax, [esp + 0xc]
mov esi, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004f5850
push esi
mov ecx, 0x5574f0
call fcn.004a4f60
lea ecx, [esp + 0xc]
call fcn.004f5b70
push ebx
lea ecx, [esp + 0xc]
call fcn.004f5b60
cmp al, 0x50
jne 0x4a8719
push 2
lea ecx, [esp + 0xc]
call fcn.004f5b60
cmp al, byte [esp + 0x28]
jne 0x4a8719
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004f5980
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f5980
mov ax, bx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
push 0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x548208
call fcn.004f58e0
push ecx
mov byte [esp + 0x30], 4
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x54cd40
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x30], bl
call fcn.004f91a0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004f5980
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x18]
pop esi
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x4baaf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 5
push 0x54c1bc
lea ecx, [esp + 0xc]
call fcn.004f58e0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.004f5870
push 5
push 0x54c1b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004f58e0
lea eax, [esp + 4]
mov ecx, esi
push eax
mov byte [esp + 0x24], 2
call fcn.004d3100
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004c6770
push 5
push 0x548218
lea ecx, [esp + 0xc]
call fcn.004f5de0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea ecx, [esp + 0x10]
call fcn.004f5b70
push 5
push 0x548210
lea ecx, [esp + 0x10]
call fcn.004f5de0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004d3100
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
call fcn.004f5870
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 4
push eax
push ecx
mov ecx, esp
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
push edx
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004c6770
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.004f5980
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004f5980
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x18]
mov ax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x4bab08
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 5
push 0x54c1bc
lea ecx, [esp + 0xc]
call fcn.004f58e0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.004f5870
push 5
push 0x54c1b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004f58e0
lea eax, [esp + 4]
mov ecx, esi
push eax
mov byte [esp + 0x24], 2
call fcn.004d3100
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004c6770
push 5
push 0x548218
lea ecx, [esp + 0xc]
call fcn.004f5de0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea ecx, [esp + 0x10]
call fcn.004f5b70
push 5
push 0x548210
lea ecx, [esp + 0x10]
call fcn.004f5de0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004d3100
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
call fcn.004f5870
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 4
push eax
push ecx
mov ecx, esp
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
push edx
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004c6770
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.004f5980
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004f5980
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x18]
mov ax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x4c7640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52af78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 5
push 0x54c1bc
lea ecx, [esp + 0xc]
call fcn.004f58e0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.004f5870
push 5
push 0x54c1b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004f58e0
lea eax, [esp + 4]
mov ecx, esi
push eax
mov byte [esp + 0x24], 2
call fcn.004d3100
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004d3170
push 5
push 0x548218
lea ecx, [esp + 0xc]
call fcn.004f5de0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea ecx, [esp + 0x10]
call fcn.004f5b70
push 5
push 0x548210
lea ecx, [esp + 0x10]
call fcn.004f5de0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004d3100
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
call fcn.004f5870
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 4
push eax
push ecx
mov ecx, esp
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
push edx
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004d3170
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.004f5980
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004f5980
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x18]
mov ax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x4c7658
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52af78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 5
push 0x54c1bc
lea ecx, [esp + 0xc]
call fcn.004f58e0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.004f5870
push 5
push 0x54c1b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004f58e0
lea eax, [esp + 4]
mov ecx, esi
push eax
mov byte [esp + 0x24], 2
call fcn.004d3100
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004d3170
push 5
push 0x548218
lea ecx, [esp + 0xc]
call fcn.004f5de0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
call fcn.004f5870
lea ecx, [esp + 0x10]
call fcn.004f5b70
push 5
push 0x548210
lea ecx, [esp + 0x10]
call fcn.004f5de0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004d3100
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.004d3100
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
call fcn.004f5870
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 4
push eax
push ecx
mov ecx, esp
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
push edx
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004d3170
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.004f5980
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004f5980
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x18]
mov ax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x4fb2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x30]
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x2c], ebx
call fcn.004f5850
lea ecx, [esp + 0x10]
push ecx
call fcn.004fd210
add esp, 8
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push edx
mov byte [esp + 0x28], 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0041fc70
mov ecx, esi
call fcn.004fb250
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4fb359
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4fb350
cmp al, 0xff
je 0x4fb350
dec al
mov byte [ecx], al
jmp 0x4fb359
push ecx
call fcn.00514140
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8

Function at 0x4fbd60
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x52e66f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004f5840
mov ecx, 0xe
mov esi, 0x54dc74
lea edi, [esp + 0x18]
mov ebp, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x5c], 1
mov ebx, ebp
jle 0x4fbddf
mov eax, ecx
xor edx, edx
mov edi, 0x38
div edi
mov al, byte [ebp]
mov dl, byte [esp + edx + 0x18]
xor dl, al
mov al, dl
shr al, 4
shl dl, 4
or al, dl
inc ebp
not al
mov byte [ebp - 1], al
inc ecx
cmp ecx, esi
jl 0x4fbdb6
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.004f5dc0
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004f5850
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.004f5980
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x4fc070
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52e6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.004f5840
mov al, byte [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
mov byte [esp + 0x1c], al
call fcn.004013e0
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x38], 3
call fcn.004f5850
lea ecx, [esp + 0x18]
call fcn.004f5b70
mov eax, dword [0x530168]
lea ecx, [esp + 0x3c]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.004011e0
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4fc10f
lea edx, [esp + 0x38]
lea ecx, [esi + 8]
push edx
call fcn.004f5c20
test al, al
jne 0x4fc10f
mov esi, dword [esi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x4fc0f5
mov eax, dword [edi + 4]
cmp esi, eax
je 0x4fc1a5
mov eax, dword [0x530168]
lea edx, [esp + 0x3c]
push eax
push 0
lea ecx, [esi + 0xc]
push edx
call fcn.004011e0
mov eax, dword [edi + 4]
push 0x1c
lea ebx, [esi + 8]
mov ebp, dword [eax]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
call fcn.00514a8b
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x4fc150
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4fc15c
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.004fdb20
mov eax, dword [edi + 8]
add esp, 8
inc eax
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [edx + 4], eax
call fcn.004fdca0
push esi
call fcn.00514140
mov eax, dword [edi + 8]
add esp, 4
dec eax
mov dword [edi + 8], eax
jmp 0x4fc1d2
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, edi
call fcn.004fda80
cmp dword [edi + 8], 0x64
jbe 0x4fc1d2
mov eax, dword [edi + 4]
mov ecx, edi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004fdae0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.004013e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004f5980
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.004f5980
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4fc222
mov al, byte [ecx - 1]
test al, al
je 0x4fc218
cmp al, 0xff
je 0x4fc218
dec al
mov byte [ecx - 1], al
jmp 0x4fc222
dec ecx
push ecx
call fcn.00514140
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14
Function at 0x4fe030
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52e8e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x30], 1
call fcn.004f5850
lea ecx, [esp + 0x14]
push ecx
call fcn.004fd210
mov dl, byte [esp + 0x3c]
sub esp, 8
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x18], esp
mov byte [esp + 0x38], 2
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x530168]
lea edx, [esp + 0x44]
push eax
push ebx
push edx
call fcn.004011e0
sub esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x4c], 3
call fcn.0041fc70
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.004fdf30
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4fe0ea
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4fe0e1
cmp al, 0xff
je 0x4fe0e1
dec al
mov byte [ecx], al
jmp 0x4fe0ea
push ecx
call fcn.00514140
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
call fcn.004f5980
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4fe127
mov al, byte [ecx - 1]
cmp al, bl
je 0x4fe11d
cmp al, 0xff
je 0x4fe11d
dec al
mov byte [ecx - 1], al
jmp 0x4fe127
dec ecx
push ecx
call fcn.00514140
add esp, 4
mov ecx, dword [esp + 0x20]
mov ax, si
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14
Function at 0x502530
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52ec7e
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 [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x28]
mov dword [esi + 0xc], ebx
mov byte [esi + 8], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov cl, byte [esp + 0x28]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dl, byte [esp + 0x3c]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x20], esp
mov dword [esi], fcn.00502640
push ebx
mov ecx, edi
mov byte [esp + 0x34], 3
mov byte [edi], dl
call fcn.004013e0
mov eax, dword [0x530168]
lea ecx, [esp + 0x4c]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.004011e0
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 4
call fcn.0041fc70
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x44], 3
call fcn.00502640
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x5025f9
mov al, byte [ecx - 1]
cmp al, bl
je 0x5025ef
cmp al, 0xff
je 0x5025ef
dec al
mov byte [ecx - 1], al
jmp 0x5025f9
dec ecx
push ecx
call fcn.00514140
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x502629
mov al, byte [ecx - 1]
cmp al, bl
je 0x50261f
cmp al, 0xff
je 0x50261f
dec al
mov byte [ecx - 1], al
jmp 0x502629
dec ecx
push ecx
call fcn.00514140
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x24
Function at 0x5080d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x557854]
mov esi, dword [esp + 0x41c]
test ecx, ecx
push edi
mov byte [esp + 0x13], 0
je 0x508121
mov ebx, dword [esp + 0x424]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x10]
mov eax, dword [0x557854]
test eax, eax
je 0x508128
cmp byte [eax + 0x90], 1
jne 0x508128
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
mov ebx, dword [esp + 0x424]
call fcn.00501140
test al, al
je 0x508140
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
cmp dword [ebp], 0
je 0x5082d2
mov al, byte [ebp + 8]
mov dl, bl
inc al
lea edi, [esp + 0x23]
mov byte [ebp + 8], al
mov cl, al
mov eax, ebx
mov byte [esp + 0x22], cl
sar eax, 8
mov byte [esp + 0x1e], al
mov ecx, ebx
not al
mov byte [esp + 0x20], al
mov eax, ecx
not dl
shr ecx, 2
mov byte [esp + 0x1c], 0xcf
mov byte [esp + 0x1d], 0x33
mov byte [esp + 0x1f], bl
mov byte [esp + 0x21], dl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 7]
xor cl, cl
test esi, esi
jle 0x5081a7
mov dl, byte [esp + eax + 0x1c]
add cl, dl
inc eax
cmp eax, esi
jl 0x50819c
mov byte [esp + ebx + 0x23], cl
add ebx, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
xor bl, bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 4]
sub eax, edi
cmp eax, ecx
ja 0x5082c0
mov ecx, dword [ebp]
lea eax, [esp + 0x11]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, 1
jne 0x5081d8
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x13]
test bl, bl
mov byte [esp + 0x13], al
jne 0x50822f
cmp cl, 0xcf
jne 0x5081d8
cmp al, 0x33
jne 0x5081d8
mov byte [esp + 0x21c], cl
mov byte [esp + 0x21d], al
mov bl, 1
mov esi, 2
jmp 0x5081d8
mov byte [esp + esi + 0x21c], al
inc esi
cmp esi, 9
jne 0x5081d8
mov al, byte [esp + 0x21e]
mov cl, byte [esp + 0x21f]
xor dx, dx
xor bx, bx
mov dl, al
mov bl, cl
shl edx, 8
add edx, ebx
cmp dx, 1
je 0x508266
xor bl, bl
jmp 0x5081d8
mov dl, byte [esp + 0x220]
not dl
cmp al, dl
jne 0x50825f
mov al, byte [esp + 0x221]
not al
cmp cl, al
jne 0x50825f
mov al, byte [ebp + 8]
mov cl, byte [esp + 0x222]
cmp cl, al
jne 0x50829b
mov cl, byte [esp + 0x223]
not cl
cmp al, cl
je 0x5082a4
xor bl, bl
xor esi, esi
jmp 0x5081d8
xor cl, cl
xor eax, eax
mov bl, byte [esp + eax + 0x21c]
add cl, bl
inc eax
cmp eax, 8
jl 0x5082a8
cmp cl, byte [esp + 0x224]
je 0x5082e1
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x5081ba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40c
ret 8
mov eax, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 8
Function at 0x508e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52f2b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x530d68
mov dword [esp + 0x40], 3
call fcn.00509360
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x18], eax
call fcn.00514140
xor ebx, ebx
add esp, 4
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x508f28
mov edi, dword [esi + 0x4c]
add edi, 4
dec eax
cmp eax, ebx
mov dword [esi + 0x4c], edi
mov ecx, edi
mov dword [esi + 0x6c], eax
je 0x508e8c
cmp ecx, dword [esi + 0x48]
jne 0x508f1d
mov eax, dword [esi + 0x50]
lea ecx, [eax + 4]
mov dword [esi + 0x50], ecx
mov eax, dword [eax]
push eax
call fcn.00514140
mov eax, dword [esi + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x508eee
lea ecx, [esp + 0x18]
call fcn.0050f220
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x44]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x64]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00514140
add esp, 4
jmp 0x508f1d
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.0050a630
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x44]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x508e70
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.00514140
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
add esi, 4
add esp, 4
mov dword [esp + 0x14], esi
mov ebp, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
cmp edi, ebp
mov dword [esp + 0x40], 4
je 0x508f68
mov ecx, edi
call fcn.004f5980
add edi, 4
cmp edi, ebp
jne 0x508f5a
mov eax, dword [esi + 0x14]
push eax
call fcn.00514140
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x508fa1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x508f98
cmp al, 0xff
je 0x508f98
dec al
mov byte [ecx], al
jmp 0x508fa1
push ecx
call fcn.00514140
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret