joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4628c0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4fcdc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0045c280
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea ebx, [esi + 0x2c]
lea ebp, [esi + 0x28]
mov dword [esi + 0xf50], ecx
mov ecx, dword [esp + 0x2c]
push ebx
xor eax, eax
push ebp
push 0xfa1
mov dword [esp + 0x28], eax
mov dword [esi], 0x507240
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 2
call fcn.004a9760
mov edx, dword [esi + 0x18]
mov eax, 1
shl edx, 3
push str.ChatGump_framedata
push edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], edi
push str.ChatGump_frame1
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx]
imul eax, dword [ebp]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
mov dword [edx + 0xc], eax
mov ecx, dword [ebx]
imul ecx, dword [ebp]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 0xc]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x40]
mov dx, word [ebp]
mov ecx, dword [eax + 0xc]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [ebx]
mov ecx, dword [eax + 0xc]
mov word [ecx + 2], dx
mov eax, dword [ebx]
mov edx, dword [esi + 0x40]
mov ecx, dword [ebp]
push eax
push ecx
mov eax, dword [edx + 0xc]
add eax, 4
push eax
push 0
push 0
push 0xfa1
push fcn.004d52c0
call fcn.004a97c0
mov ecx, dword [esp + 0x74]
push pe_nt_image_headers32
lea edx, [esi + 0x31a]
push ecx
push edx
call fcn.004d9a90
add esp, 0x44
mov ecx, esi
push 2
push 3
call fcn.0045c470
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
mov dword [esi + 0xf34], 0x96
mov dword [esi + 0xf38], 0x64
jg 0x462a20
mov eax, dword [esi + 0x20]
test ecx, ecx
jg 0x462a27
mov ecx, dword [esi + 0x24]
cmp eax, 0x96
jge 0x462a33
mov eax, 0x96
cmp ecx, 0x64
jge 0x462a3d
mov ecx, 0x64
mov dword [esi + 0x24], ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.0045cbb0
mov ecx, esi
call fcn.0045d320
mov eax, dword [esp + 0x24]
push 1
push eax
mov ecx, esi
call fcn.0046af30
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 0x1c
Function at 0x464fd0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd041
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046b880
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi], 0x5075e8
mov dword [esi + 0x110], eax
xor ebx, ebx
mov dword [esi + 0x114], ecx
mov dword [esi + 0x10c], ebx
mov byte [esi + 0xd8], bl
mov edi, 1
mov byte [esi + 0xd9], 6
mov byte [esi + 0xda], 1
push 0xa
mov dword [esp + 0x28], edi
mov byte [esi + 0xdb], bl
mov byte [esi + 0xdc], bl
mov word [esi + 0xde], 0x4e20
mov word [esi + 0xe0], 0x4e29
call fcn.004c12b0
add ax, word [esi + 0xde]
mov edx, dword [esp + 0x30]
lea ebp, [esi + 0xa0]
add edx, 0x24
mov word [esi + 0xe2], ax
mov dword [esi + 0x104], edi
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0xf0], edi
mov dword [esi + 0xa8], ebx
mov ecx, dword [edx]
mov eax, ebp
push 0x70
mov dword [eax], ecx
mov dx, word [edx + 4]
mov dword [esi + 0x108], ebx
mov word [eax + 4], dx
mov edi, dword [0xceced8]
movsx edx, word [ebp]
movsx ecx, word [esi + 0xa2]
mov eax, edx
sub eax, ecx
add eax, edi
lea edi, [eax + eax*4]
lea eax, [eax + edi*2]
mov edi, dword [0x56c7dc]
shl eax, 1
sub eax, edi
mov dword [esi + 0x30], eax
lea eax, [edx + ecx]
mov edi, dword [0x56c7d8]
mov dword [esi + 8], str.missile_gump
lea ecx, [eax + eax*4]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x68], ebx
lea edx, [eax + ecx*2]
mov dword [esi + 0x54], ebx
movsx eax, word [esi + 0xa4]
shl edx, 1
shl eax, 2
sub edx, eax
mov dword [esi + 0x50], ebx
sub edx, edi
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x34], edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
call fcn.004ed8ee
mov edi, eax
add esp, 8
mov dword [esp + 0x34], edi
cmp edi, ebx
mov byte [esp + 0x24], 2
je 0x4651c3
mov ecx, dword [ebp]
mov bp, word [ebp + 4]
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], bp
mov ecx, edi
mov byte [esp + 0x24], 3
call fcn.00402d30
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x16]
movsx edx, ax
mov dword [edi], 0x507588
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
mov word [edi + 0x24], ax
mov word [edi + 0x26], cx
movsx eax, cx
mov word [edi + 0x28], bp
mov dword [esp + 0x30], eax
fstp qword [edi + 0x40]
fild dword [esp + 0x30]
movsx ecx, bp
fstp qword [edi + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, edi
fild dword [esp + 0x30]
mov byte [esp + 0x24], 4
mov dword [edi + 0x3c], esi
fstp qword [edi + 0x50]
call fcn.00403bb0
mov dword [esi + 0xac], edi
jmp 0x4651c9
mov dword [esi + 0xac], ebx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x467910
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd341
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046b880
xor ebx, ebx
mov dword [esi], 0x5075e8
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x10c], ebx
mov byte [esi + 0xd8], bl
mov edi, 1
mov byte [esi + 0xd9], 6
mov byte [esi + 0xda], 1
push 0xa
mov dword [esp + 0x2c], edi
mov byte [esi + 0xdb], bl
mov byte [esi + 0xdc], bl
mov word [esi + 0xde], 0x4e20
mov word [esi + 0xe0], 0x4e29
call fcn.004c12b0
add ax, word [esi + 0xde]
lea ebp, [esi + 0xa0]
mov dword [esi + 0x104], edi
mov dword [esi + 0xec], ebx
mov word [esi + 0xe2], ax
mov eax, dword [esp + 0x34]
add eax, 0x24
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0xf0], edi
mov dword [esi + 0xa8], ebx
mov edx, dword [eax]
mov ecx, ebp
push 0x70
mov dword [ecx], edx
mov ax, word [eax + 4]
mov dword [esi + 0x108], ebx
mov word [ecx + 4], ax
mov edi, dword [0xceced8]
movsx edx, word [ebp]
movsx ecx, word [esi + 0xa2]
mov eax, edx
sub eax, ecx
add eax, edi
lea edi, [eax + eax*4]
lea eax, [eax + edi*2]
mov edi, dword [0x56c7dc]
shl eax, 1
sub eax, edi
mov dword [esi + 0x30], eax
lea eax, [edx + ecx]
mov edi, dword [0x56c7d8]
mov dword [esi + 8], str.missile_gump
lea ecx, [eax + eax*4]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x68], ebx
lea edx, [eax + ecx*2]
mov dword [esi + 0x54], ebx
movsx eax, word [esi + 0xa4]
shl edx, 1
shl eax, 2
sub edx, eax
mov dword [esi + 0x50], ebx
sub edx, edi
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x34], edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
call fcn.004ed8ee
add esp, 8
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x28], 2
je 0x467afb
mov ecx, dword [ebp]
mov bp, word [ebp + 4]
mov dword [esp + 0x18], ecx
mov word [esp + 0x1c], bp
mov ecx, edi
mov byte [esp + 0x28], 3
call fcn.00402d30
mov ax, word [esp + 0x18]
mov cx, word [esp + 0x1a]
movsx edx, ax
mov dword [edi], 0x507588
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
mov word [edi + 0x24], ax
mov word [edi + 0x26], cx
movsx eax, cx
mov word [edi + 0x28], bp
mov dword [esp + 0x30], eax
fstp qword [edi + 0x40]
fild dword [esp + 0x30]
movsx ecx, bp
fstp qword [edi + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, edi
fild dword [esp + 0x30]
mov byte [esp + 0x28], 4
mov dword [edi + 0x3c], esi
fstp qword [edi + 0x50]
call fcn.00403bb0
mov dword [esi + 0xac], edi
jmp 0x467b01
mov dword [esi + 0xac], ebx
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x46dd90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd548
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.0046b880
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov dword [ebx + 0xa8], eax
mov eax, dword [esp + 0x34]
xor ebp, ebp
push str.framedata_for_CDumbGump
push 8
mov dword [esp + 0x24], ebp
mov dword [ebx], 0x5078e0
mov dword [ebx + 0xa0], ebp
mov dword [ebx + 0xa4], ebp
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], edx
mov dword [ebx + 8], str.dumb_gump
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x50], ebp
mov dword [ebx + 0x4c], ebp
mov dword [ebx + 0x48], ebp
mov dword [ebx + 0x44], ebp
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x18], 1
call fcn.004b9f50
mov ecx, dword [ebx + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x40], edi
push str.dumb_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x24]
imul eax, dword [ebx + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [ebx + 0x40]
add esp, 0x10
mov dword [edx + 4], eax
mov eax, dword [ebx + 0x40]
mov dx, word [ebx + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [ebx + 0x40]
mov dx, word [ebx + 0x24]
mov ecx, dword [eax + 4]
xor eax, eax
mov word [ecx + 2], dx
mov ecx, dword [ebx + 0x24]
imul ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x40]
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x46dec9
mov ecx, esi
mov esi, eax
imul ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x40]
shl ecx, 1
mov edi, dword [eax + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
cmp ecx, 0xffffffff
je 0x46defa
mov eax, dword [ebx + 0x40]
xor edx, edx
mov eax, dword [eax + 4]
mov dx, word [eax + 2]
add eax, 4
push edx
xor edx, edx
mov dx, word [eax - 4]
push edx
push eax
push ebp
push ebp
push ecx
push fcn.004d4cf0
call fcn.004a97c0
add esp, 0x1c
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 0x20
Function at 0x46e170
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0046b880
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
lea ecx, [esp + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0xc]
push ecx
xor ebx, ebx
push edx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esi], 0x507a5c
mov dword [esi + 8], str.sign_gump
mov dword [esi + 0x64], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x68], ebx
call fcn.004a9760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push str.framedata_for_CDumbGump
push 8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
call fcn.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], edi
push str.dumb_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x20]
imul eax, dword [esi + 0x24]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x20]
imul ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov eax, dword [esi + 0x40]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 4]
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
add eax, 4
push edx
push eax
mov eax, dword [esi + 0x58]
push ebx
push ebx
push eax
push fcn.004d52c0
call fcn.004a97c0
mov edx, dword [esi + 0x58]
lea ecx, [esp + 0x50]
push ecx
push edx
call fcn.00469c10
mov edx, dword [esi + 0x40]
add esp, 0x40
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x18]
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x58]
add eax, 4
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [esp + 0x38]
push edx
push 0x386
push 1
push ecx
push eax
call fcn.004a7420
mov ecx, dword [esp + 0x58]
add esp, 0x30
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x18
Function at 0x46fe80
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd759
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
xor ebx, ebx
mov dword [esp + 0x34], ebx
call fcn.0046b880
mov dword [esi], 0x5075e8
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
push 0xa
mov byte [esp + 0x38], 2
mov dword [esi + 0x10c], ebx
mov byte [esi + 0xd8], bl
mov byte [esi + 0xd9], 6
mov byte [esi + 0xda], 1
mov byte [esi + 0xdb], bl
mov byte [esi + 0xdc], bl
mov word [esi + 0xde], 0x4e20
mov word [esi + 0xe0], 0x4e29
call fcn.004c12b0
add ax, word [esi + 0xde]
mov ebp, dword [esp + 0x40]
movsx ecx, word [esp + 0x42]
mov word [esi + 0xe2], ax
mov eax, 1
movsx edx, bp
mov dword [esi + 0x104], eax
mov dword [esi + 0xf0], eax
mov eax, edx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0x108], ebx
mov edi, dword [0xceced8]
sub eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
push 0x70
lea edi, [eax + eax*4]
lea eax, [eax + edi*2]
mov edi, dword [0x56c7dc]
shl eax, 1
sub eax, edi
movsx edi, word [esp + 0x48]
mov dword [esi + 0x30], eax
lea eax, [edx + ecx]
mov dword [esp + 0x20], edi
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea eax, [edi*4]
mov edi, dword [0x56c7d8]
mov dword [esi + 8], str.missile_gump
shl edx, 1
sub edx, eax
mov dword [esi + 0x64], ebx
sub edx, edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x34], edx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
call fcn.004ed8ee
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
cmp edi, ebx
mov byte [esp + 0x34], 3
je 0x470048
mov bx, word [esp + 0x40]
mov dword [esp + 0x24], ebp
mov word [esp + 0x28], bx
mov ecx, edi
mov byte [esp + 0x34], 4
call fcn.00402d30
fild dword [esp + 0x10]
mov cx, word [esp + 0x3e]
mov dword [edi], 0x507588
mov word [edi + 0x24], bp
mov word [edi + 0x26], cx
mov word [edi + 0x28], bx
mov ecx, edi
fstp qword [edi + 0x40]
fild dword [esp + 0x14]
mov byte [esp + 0x34], 5
mov dword [edi + 0x3c], esi
fstp qword [edi + 0x48]
fild dword [esp + 0x18]
fstp qword [edi + 0x50]
call fcn.00403bb0
mov dword [esi + 0xac], edi
jmp 0x47004e
mov dword [esi + 0xac], ebx
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x476680
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd99e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046b880
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ebp, 1
push str.HTMLBox_framedata
push 8
mov dword [esp + 0x24], ebx
mov dword [esi], 0x508230
mov dword [esi + 0xa0], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb0], ebp
mov byte [esi + 0xb8], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
call fcn.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], edi
push str.HTMLBox_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
add esp, 0x10
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
push 0x108
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov word [ecx + 2], dx
jne 0x4767b9
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x4767e0
push ebp
push ebx
push 0x11b7
push ebx
push esi
mov ecx, eax
call fcn.00474350
jmp 0x4767e2
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x4767e0
push ebp
push ebx
push 0x1b7
push ebx
push esi
mov ecx, eax
call fcn.00474350
jmp 0x4767e2
xor eax, eax
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xa4]
push ebp
push eax
mov byte [esp + 0x24], bl
call fcn.00474820
mov ecx, dword [esp + 0x24]
push ebp
push ecx
mov ecx, esi
call fcn.0046af30
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 0x10
Function at 0x476b00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd9e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046b880
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ebp, 1
push str.HTMLBox_framedata
push 8
mov dword [esp + 0x24], ebx
mov dword [esi], 0x5083cc
mov dword [esi + 0xa0], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb0], ebp
mov byte [esi + 0xb8], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
call fcn.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], edi
push str.HTMLBox_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
push 0x108
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
call fcn.004ed8ee
add esp, 0x14
mov dword [esp + 0x28], eax
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x476c2e
push ebp
push ebx
push 0x1b7
push ebx
push esi
mov ecx, eax
call fcn.00474350
jmp 0x476c30
xor eax, eax
mov ecx, dword [esp + 0x2c]
push ebp
push ecx
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [esi + 0xa4], eax
call fcn.00474820
mov edx, dword [esp + 0x24]
push ebp
push edx
mov ecx, esi
call fcn.0046af30
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 0xc
Function at 0x476f70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fda23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046b880
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi], 0x508568
mov dword [esi + 0xa0], eax
mov dword [esi + 0x1838], ebx
mov dword [esi + 0x183c], ebx
mov dword [esi + 0x54], ebx
mov ebp, 1
push str.HTMLBox_framedata
mov dword [esi + 0x50], ebx
push 8
mov dword [esp + 0x24], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x1820], ebx
mov dword [esi + 0x1828], ebp
mov dword [esi + 0x181c], ebx
mov dword [esi + 0x1824], ebp
mov dword [esi + 0x182c], ebx
mov dword [esi + 0x1830], ebx
mov dword [esi + 0x1834], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
call fcn.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], edi
push str.HTMLBox_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
add esp, 0x10
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
lea eax, [esi + 0x874]
mov word [ecx + 2], dx
mov ecx, 0x1f4
mov dword [eax - 0x7d0], ebx
mov dword [eax], ebx
mov dword [eax + 0x7d0], ebx
add eax, 4
dec ecx
jne 0x477098
or eax, 0xffffffff
push 0xb4
mov dword [esi + 0x1814], eax
mov dword [esi + 0x1818], eax
mov dword [esi + 0x1840], 0xdac
mov dword [esi + 0x1844], 0xdad
mov dword [esi + 0x1848], 0xdae
mov dword [esi + 0x184c], 0xdaf
mov dword [esi + 0x1850], 0xdb0
mov dword [esi + 0x1854], 0xdb1
mov dword [esi + 0x1858], 0xdb2
mov dword [esi + 0x185c], 0xdb3
mov dword [esi + 0x1860], 0xdb4
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x477139
push esi
mov ecx, eax
call fcn.0044ec60
jmp 0x47713b
xor eax, eax
mov dword [esi + 0x1864], eax
mov eax, dword [esp + 0x24]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x24], bl
call fcn.0046af30
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 8