joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d5b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x46420c]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
xor esi, esi
xor eax, eax
mov word [esp + 0x18], si
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x1a
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c9ec
lea ecx, [esp + 0x18]
push str.MicrosoftInternet_ExplorerQuick_Launch
push ecx
call fcn.0042be5b
add esp, 8
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x234], esi
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x453c8c
push ecx
mov byte [esp + 0x240], 1
call fcn.00402810
mov edx, dword [0x46532c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x224]
push ecx
lea edx, [esp + 0x20]
push str._ssdb_shengdianbao.exe
push edx
call fcn.00402810
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push 0x453cbc
add ecx, 0x224
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403e70
mov eax, dword [eax]
mov edi, dword [esp + 0xc]
push esi
push eax
push esi
mov esi, dword [esp + 0x1c]
push 1
push 0x453cb0
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00419ce0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c9c7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.0042b3a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d61b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x46420c]
push esi
push edi
mov dword [esp + 0x21c], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0xc]
call fcn.0040b3c0
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x29c]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
mov dword [esp + 0x22c], 0
je 0x41d0c7
mov ecx, esi
call fcn.00419dc0
mov ecx, esi
call fcn.0041a210
mov ecx, esi
call fcn.0041a3e0
mov ecx, esi
call fcn.0041a770
mov ecx, esi
call fcn.0041a5b0
jmp 0x41d0e5
cmp dword [0x465370], 1
jne 0x41d0ee
mov ecx, esi
call fcn.00419dc0
mov ecx, esi
call fcn.0041a210
mov ecx, esi
call fcn.0041a3e0
lea ecx, [esp + 0xc]
call fcn.00420de0
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2a0]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x41d10d
mov eax, dword [0x465378]
test eax, eax
je 0x41d11d
mov ecx, esi
call fcn.0041a920
lea ecx, [esp + 0xc]
call fcn.00420de0
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2a4]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d14a
mov ecx, esi
call fcn.0041ac20
mov ecx, esi
call fcn.0041aec0
mov ecx, esi
call fcn.0041b060
jmp 0x41d15a
mov eax, dword [0x46537c]
test eax, eax
je 0x41d163
mov ecx, esi
call fcn.0041ac20
lea ecx, [esp + 0xc]
call fcn.00420e00
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2a8]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d180
mov ecx, esi
call fcn.0041ca20
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2ac]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d19d
mov ecx, esi
call fcn.0041cd20
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2b8]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d1c8
mov ecx, esi
call fcn.0041b220
mov ecx, esi
call fcn.0041b4c0
mov ecx, esi
call fcn.0041b660
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2c0]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d1f3
mov ecx, esi
call fcn.0041c420
mov ecx, esi
call fcn.0041c6c0
mov ecx, esi
call fcn.0041c860
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d21e
mov ecx, esi
call fcn.0041b820
mov ecx, esi
call fcn.0041bac0
mov ecx, esi
call fcn.0041bc60
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2cc]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41d249
mov ecx, esi
call fcn.0041be20
mov ecx, esi
call fcn.0041c0c0
mov ecx, esi
call fcn.0041c260
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.00420960
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x21c]
mov eax, 1
call fcn.0042b3a1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d740
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x46420c]
push ebx
push esi
push edi
mov dword [esp + 0xf4], eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SystemCurrentControlSetControlKeyboard_Layouts
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d86b
mov edx, dword [esp + 0x10]
mov word [esp + 0x20], si
mov ecx, 0x18
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x88], si
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x8a]
rep stosd dword es:[edi], eax
push 0x32
lea ecx, [esp + 0x8c]
push ecx
push esi
push edx
stosw word es:[edi], ax
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41d86b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [esp]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41d844
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push str.Ime_File
push edx
mov dword [esp + 0x34], 0x32
call esi
mov eax, dword [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x20]
push ecx
call fcn.0042b8e9
mov eax, dword [ebx + 0x10]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0042bea1
add esp, 0xc
test eax, eax
je 0x41d880
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x32
lea ecx, [esp + 0x8c]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41d7e0
xor eax, eax
mov ecx, dword [esp + 0xf4]
call fcn.0042b3a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xf4]
mov eax, 1
mov dword [ebx + 0x34], eax
call fcn.0042b3a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41db70
Capabilities:
Check if file exists

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
push edi
lea eax, [esi + 4]
push eax
add edx, 0x224
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00408560
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dbbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x41dbc7
mov dword [esi + 0x50], 1
pop edi
pop esi
pop ecx
ret
Function at 0x41de30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x46420c]
push esi
mov dword [esp + 0x214], eax
push 0x104
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0xc]
push 0x44fef0
push ecx
call fcn.0042be5b
mov edx, dword [esi + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0042be5b
mov ecx, dword [0x46532c]
mov ecx, dword [ecx + 0x18]
add esp, 0x10
call fcn.0040db20
test eax, eax
je 0x41dee9
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 8]
push edx
call fcn.0040db50
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.004028f0
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x28]
call fcn.00409840
test eax, eax
jne 0x41dec2
mov dword [esi + 0x54], 1
mov ecx, dword [esp + 8]
mov edx, dword [0x46532c]
push ecx
mov ecx, dword [edx + 0x18]
call fcn.0040db70
mov ecx, dword [esp + 0x214]
call fcn.0042b3a1
pop esi
add esp, 0x214
ret
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.004028f0
mov ecx, dword [0x46532c]
mov ecx, dword [ecx + 0x28]
call fcn.00409840
test eax, eax
jne 0x41df13
mov dword [esi + 0x54], 1
mov ecx, dword [esp + 0x214]
call fcn.0042b3a1
pop esi
add esp, 0x214
ret

Function at 0x41e2c0
Capabilities:
Check if file exists
Manipulate boot configuration

Disassembly:
push 0xffffffffffffffff
push 0x44d678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
push edi
lea eax, [esi + 0x18]
push eax
add edx, 0x224
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00408560
push str.delboot.ini
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x24], 0
call fcn.00403e70
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41daeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x41db1c
mov dword [esi + 0x58], 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0x44fd64
push eax
call fcn.0042bea1
add esp, 8
test eax, eax
je 0x41e2df
mov ecx, esi
call fcn.0041db30
mov eax, dword [esi + 0x10]
push 0x44fd64
push eax
call fcn.0042bea1
add esp, 8
test eax, eax
je 0x41e2fb
mov ecx, esi
call fcn.0041de30
mov ecx, esi
pop esi
jmp 0x41da70
Function at 0x41f0e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x34]
mov esi, dword [edi - 0xc]
lea eax, [esi + esi + 2]
xor ebp, ebp
push eax
mov dword [esp + 0x30], ebp
call fcn.00443df7
mov ebx, eax
push edi
push ebx
call fcn.0042be85
add esp, 0xc
cmp esi, ebp
jl 0x41f20b
mov dword [esp + 0x14], ebp
mov ebp, 2
sub ebp, ebx
inc esi
mov edi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov ax, word [edi]
cmp ax, 0x2c
je 0x41f153
test ax, ax
jne 0x41f1f5
mov ecx, dword [esp + 0x14]
add ecx, ebx
push ecx
lea ecx, [esp + 0x14]
mov word [edi], 0
call fcn.004028f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x70]
add esi, 0x6c
test eax, eax
lea edx, [edi + ebp]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jne 0x41f186
xor edx, edx
jmp 0x41f18e
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41f1c0
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41f1c0
mov eax, dword [esp + 0x34]
mov ebp, dword [esi + 8]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 1
push ebp
call fcn.004044f0
add ebp, 4
mov dword [esi + 8], ebp
mov ebp, dword [esp + 0x20]
jmp 0x41f1d2
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00404f80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add edi, 2
dec eax
mov dword [esp + 0x18], eax
jne 0x41f141
mov edi, dword [esp + 0x34]
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x41f231
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x41f250
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x34]
mov esi, dword [edi - 0xc]
lea eax, [esi + esi + 2]
xor ebp, ebp
push eax
mov dword [esp + 0x30], ebp
call fcn.00443df7
mov ebx, eax
push edi
push ebx
call fcn.0042be85
add esp, 0xc
cmp esi, ebp
jl 0x41f37e
mov dword [esp + 0x14], ebp
mov ebp, 2
sub ebp, ebx
inc esi
mov edi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov ax, word [edi]
cmp ax, 0x2c
je 0x41f2c3
test ax, ax
jne 0x41f368
mov ecx, dword [esp + 0x14]
add ecx, ebx
push ecx
lea ecx, [esp + 0x14]
mov word [edi], 0
call fcn.004028f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x80]
add esi, 0x7c
test eax, eax
lea edx, [edi + ebp]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jne 0x41f2f9
xor edx, edx
jmp 0x41f301
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41f333
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41f333
mov eax, dword [esp + 0x34]
mov ebp, dword [esi + 8]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 1
push ebp
call fcn.004044f0
add ebp, 4
mov dword [esi + 8], ebp
mov ebp, dword [esp + 0x20]
jmp 0x41f345
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00404f80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f368
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add edi, 2
dec eax
mov dword [esp + 0x18], eax
jne 0x41f2b1
mov edi, dword [esp + 0x34]
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x41f3a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x41f3c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x34]
mov esi, dword [edi - 0xc]
lea eax, [esi + esi + 2]
xor ebp, ebp
push eax
mov dword [esp + 0x30], ebp
call fcn.00443df7
mov ebx, eax
push edi
push ebx
call fcn.0042be85
add esp, 0xc
cmp esi, ebp
jl 0x41f4f1
mov dword [esp + 0x14], ebp
mov ebp, 2
sub ebp, ebx
inc esi
mov edi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov ax, word [edi]
cmp ax, 0x2c
je 0x41f433
test ax, ax
jne 0x41f4db
mov ecx, dword [esp + 0x14]
add ecx, ebx
push ecx
lea ecx, [esp + 0x14]
mov word [edi], 0
call fcn.004028f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x90]
add esi, 0x8c
test eax, eax
lea edx, [edi + ebp]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jne 0x41f46c
xor edx, edx
jmp 0x41f474
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41f4a6
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41f4a6
mov eax, dword [esp + 0x34]
mov ebp, dword [esi + 8]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 1
push ebp
call fcn.004044f0
add ebp, 4
mov dword [esi + 8], ebp
mov ebp, dword [esp + 0x20]
jmp 0x41f4b8
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00404f80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f4db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add edi, 2
dec eax
mov dword [esp + 0x18], eax
jne 0x41f421
mov edi, dword [esp + 0x34]
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x41f517
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x41f530
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x34]
mov esi, dword [edi - 0xc]
lea eax, [esi + esi + 2]
xor ebp, ebp
push eax
mov dword [esp + 0x30], ebp
call fcn.00443df7
mov ebx, eax
push edi
push ebx
call fcn.0042be85
add esp, 0xc
cmp esi, ebp
jl 0x41f661
mov dword [esp + 0x14], ebp
mov ebp, 2
sub ebp, ebx
inc esi
mov edi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov ax, word [edi]
cmp ax, 0x2c
je 0x41f5a3
test ax, ax
jne 0x41f64b
mov ecx, dword [esp + 0x14]
add ecx, ebx
push ecx
lea ecx, [esp + 0x14]
mov word [edi], 0
call fcn.004028f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xa0]
add esi, 0x9c
test eax, eax
lea edx, [edi + ebp]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jne 0x41f5dc
xor edx, edx
jmp 0x41f5e4
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41f616
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41f616
mov eax, dword [esp + 0x34]
mov ebp, dword [esi + 8]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 1
push ebp
call fcn.004044f0
add ebp, 4
mov dword [esi + 8], ebp
mov ebp, dword [esp + 0x20]
jmp 0x41f628
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00404f80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f64b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add edi, 2
dec eax
mov dword [esp + 0x18], eax
jne 0x41f591
mov edi, dword [esp + 0x34]
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x41f687
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x41f6a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x34]
mov esi, dword [edi - 0xc]
lea eax, [esi + esi + 2]
xor ebp, ebp
push eax
mov dword [esp + 0x30], ebp
call fcn.00443df7
mov ebx, eax
push edi
push ebx
call fcn.0042be85
add esp, 0xc
cmp esi, ebp
jl 0x41f7d1
mov dword [esp + 0x14], ebp
mov ebp, 2
sub ebp, ebx
inc esi
mov edi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov ax, word [edi]
cmp ax, 0x2c
je 0x41f713
test ax, ax
jne 0x41f7bb
mov ecx, dword [esp + 0x14]
add ecx, ebx
push ecx
lea ecx, [esp + 0x14]
mov word [edi], 0
call fcn.004028f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xb0]
add esi, 0xac
test eax, eax
lea edx, [edi + ebp]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jne 0x41f74c
xor edx, edx
jmp 0x41f754
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41f786
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41f786
mov eax, dword [esp + 0x34]
mov ebp, dword [esi + 8]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 1
push ebp
call fcn.004044f0
add ebp, 4
mov dword [esi + 8], ebp
mov ebp, dword [esp + 0x20]
jmp 0x41f798
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00404f80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add edi, 2
dec eax
mov dword [esp + 0x18], eax
jne 0x41f701
mov edi, dword [esp + 0x34]
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x41f7f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4