joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a1de
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x46a20c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x46a213
cmp ebx, dword [eax + 4]
jae 0x46a213
xor eax, eax
jmp 0x46a403
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x46a224
xor eax, eax
inc eax
jmp 0x46a402
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x46a23a
cmp ecx, edx
jae 0x46a37f
cmp dword [eax + 4], 0
je 0x46a243
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x46a22b
cmp dword [ebp + 8], 0
je 0x46a265
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x46a37f
cmp eax, esi
jae 0x46a37f
mov eax, dword [0x4cdb28]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x46a28a
cmp dword [esi*4 + 0x4cdb30], edi
je 0x46a383
inc esi
cmp esi, eax
jl 0x46a278
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x46a3ff
cmp dword [ebp - 8], 0x1000000
jne 0x46a3ff
test byte [ebp - 0xc], 0xcc
je 0x46a308
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x46a3ff
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x46a3ff
cmp word [eax + 0x18], 0x10b
jne 0x46a3ff
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x46a3ff
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x46a308
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x46a308
test byte [ecx + 0x27], 0x80
jne 0x46a37f
push 1
push 0x4cdb70
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x46a21c
mov ecx, dword [0x4cdb28]
test ecx, ecx
mov edx, ecx
jle 0x46a33c
lea eax, [ecx*4 + 0x4cdb2c]
cmp dword [eax], edi
je 0x46a33c
dec edx
sub eax, 4
test edx, edx
jg 0x46a330
test edx, edx
jne 0x46a36d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x46a349
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x46a361
lea eax, [edx*4 + 0x4cdb30]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x46a34f
cmp ecx, 0x10
jge 0x46a36d
inc ecx
mov dword [0x4cdb28], ecx
push 0
push 0x4cdb70
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x46a21c
xor eax, eax
jmp 0x46a402
test esi, esi
jle 0x46a21c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4cdb70
call ebx
test eax, eax
jne 0x46a21c
cmp dword [esi*4 + 0x4cdb30], edi
je 0x46a3d9
mov eax, dword [0x4cdb28]
lea esi, [eax - 1]
test esi, esi
jl 0x46a3c7
cmp dword [esi*4 + 0x4cdb30], edi
je 0x46a3c3
dec esi
jns 0x46a3b7
test esi, esi
jge 0x46a3d7
cmp eax, 0x10
jge 0x46a3d2
inc eax
mov dword [0x4cdb28], eax
lea esi, [eax - 1]
jmp 0x46a3d9
je 0x46a3f1
xor ecx, ecx
test esi, esi
jl 0x46a3f1
lea eax, [ecx*4 + 0x4cdb30]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x46a3df
push 0
push 0x4cdb70
call ebx
jmp 0x46a21c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46a53b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00467430
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x46a5d6
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4cd904]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x46a5d6
cmp eax, 1
je 0x46a5f7
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x46a5d6
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x46a5a3
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x46a5d2
xor eax, eax
inc eax
jmp 0x46a616
cmp edi, eax
jae 0x46a5da
xor eax, eax
jmp 0x46a616
cmp eax, esi
jae 0x46a5e1
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4cd904]
jmp 0x46a5fa
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46ccab
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00467430
mov eax, dword [0x4bd96c]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x4cf550]
mov dword [ebp - 4], eax
jae 0x46cdee
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x4cf560]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x46cdee
push 1
push esi
push ebx
call fcn.00467faa
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x46cdf8
push 2
push esi
push ebx
call fcn.00467faa
add esp, 0xc
cmp eax, 0xffffffff
je 0x46cdf8
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x46cd98
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00469a90
push 0x8000
push ebx
call fcn.0046ced6
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x46cd57
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00469cc9
add esp, 0xc
cmp eax, 0xffffffff
je 0x46cd75
sub edi, eax
test edi, edi
jg 0x46cd4c
jmp 0x46cd8b
cmp dword [0x4cd8fc], 5
jne 0x46cd88
mov dword [0x4cd8f8], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0046ced6
pop ecx
pop ecx
jmp 0x46cdd8
jge 0x46cdd8
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00467faa
push ebx
call fcn.0046bce9
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x46cdd8
mov dword [0x4cd8f8], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4cd8fc], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00467faa
add esp, 0xc
mov eax, esi
pop edi
jmp 0x46cdfb
mov dword [0x4cd8f8], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00462751
leave
ret
Function at 0x46d3a6
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x46d3bf
or eax, 0xffffffff
jmp 0x46d420
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x46d41c
push 0x3d
push esi
call fcn.0046d5a6
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x46d41c
cmp esi, eax
je 0x46d41c
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4cd924]
sete cl
cmp eax, dword [0x4cd928]
mov dword [ebp - 8], ecx
jne 0x46d402
mov edi, eax
call fcn.0046d345
mov dword [0x4cd924], eax
cmp eax, ebx
jne 0x46d45b
cmp dword [ebp + 0xc], ebx
je 0x46d424
cmp dword [0x4cd92c], ebx
je 0x46d424
call fcn.0046ce46
test eax, eax
je 0x46d45b
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x46d42d
xor eax, eax
jmp 0x46d41f
push 4
call fcn.00463895
cmp eax, ebx
pop ecx
mov dword [0x4cd924], eax
je 0x46d41c
mov dword [eax], ebx
cmp dword [0x4cd92c], ebx
jne 0x46d45b
push 4
call fcn.00463895
cmp eax, ebx
pop ecx
mov dword [0x4cd92c], eax
je 0x46d41c
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4cd924]
call fcn.0046d2f8
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x46d4bc
cmp dword [esi], ebx
je 0x46d4bc
lea esi, [esi + edi*4]
push dword [esi]
call fcn.004638a7
cmp dword [ebp - 8], ebx
pop ecx
jne 0x46d49f
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x46d4fd
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x46d496
mov eax, edi
shl eax, 2
push eax
push dword [0x4cd924]
call fcn.004658fd
cmp eax, ebx
pop ecx
pop ecx
je 0x46d4fd
jmp 0x46d4f8
cmp dword [ebp - 8], ebx
jne 0x46d568
cmp edi, ebx
jge 0x46d4cb
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4cd924]
call fcn.004658fd
cmp eax, ebx
pop ecx
pop ecx
je 0x46d41c
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4cd924], eax
cmp dword [ebp + 0xc], ebx
je 0x46d552
push dword [ebp - 4]
call fcn.00463900
inc eax
inc eax
push eax
call fcn.00463895
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x46d552
push dword [ebp - 4]
push esi
call fcn.00464ad0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x46d54b
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.004638a7
pop ecx
cmp dword [ebp - 8], ebx
je 0x46d560
push dword [ebp - 4]
call fcn.004638a7
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x46d41f
push dword [ebp - 4]
call fcn.004638a7
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x46d429
Function at 0x46ecc0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
push esi
push edi
mov esi, ecx
mov edx, dword [esi + 0x198]
mov ecx, dword [esp + 0x28]
dec eax
push 0
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x10]
dec ecx
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
fild dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, 0x10
fstp dword [esi + 0x130]
fild dword [esp + 0x28]
fstp dword [esi + 0x134]
mov edx, dword [eax + 0x18]
cmp edx, ecx
jb 0x46ed26
mov eax, dword [eax + 4]
jmp 0x46ed29
add eax, 4
cmp dword [0x4be558], ecx
mov ecx, dword [0x4be544]
jae 0x46ed3c
mov ecx, 0x4be544
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
push esi
push edx
mov edx, dword [esp + 0x1c]
push 0
push 0
sub edx, edi
mov edi, dword [esp + 0x18]
inc edx
push edx
mov edx, dword [esp + 0x24]
sub edx, edi
inc edx
push edx
mov edx, dword [esi + 0x198]
push DirectSoundCreate
push DirectSoundCreate
push edx
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x194]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x194]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
add esp, 0x10
ret 0x10
Function at 0x470210
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0046fbf0
test al, al
je 0x4703f5
mov ecx, dword [esi + 0x44]
call fcn.0042d410
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push 0xfffffffffffffff0
push edi
call ebp
push 0xffffffffffffffec
push edi
mov dword [esi + 0xd0], eax
call ebp
mov dword [esi + 0xd4], eax
lea eax, [esi + 0xd8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongA]
push DirectSoundCreate
push 0xfffffffffffffff0
push edi
call ebp
push 8
push 0xffffffffffffffec
push edi
call ebp
push 0
push edi
call dword [sym.imp.USER32.dll_SetMenu]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
push 0x46f520
push esi
push 0
push 0
mov dword [esi + 0xcc], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
mov dword [esi + 0xec], eax
jge 0x4702c0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov ebx, eax
call fcn.00442dc0
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x58]
add esp, 8
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
push 0x11
push edi
push eax
call dword [edx + 0x50]
test eax, eax
mov dword [esi + 0xec], eax
jl 0x47036a
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push 0
push 0
push edx
mov edx, dword [esi + 0xc8]
push edx
mov edx, dword [esi + 0xc4]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
mov dword [esi + 0xec], eax
jl 0x470324
push 0
mov ecx, esi
call fcn.0046fd70
mov eax, dword [esi + 0x50]
test eax, eax
je 0x47035c
pop edi
mov al, 1
mov byte [esi + 0xc0], al
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x1e
lea ebx, [esi + 0xf0]
push str.IDirectDraw::SetDisplayMode_:
mov ecx, ebx
call fcn.00403b80
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x470348
sub ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00405940
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push 8
push edi
push eax
call dword [ecx + 0x50]
jmp 0x4703a4
push 0x23
lea ebx, [esi + 0xf0]
push str.IDirectDraw::SetCooperativeLevel_:
mov ecx, ebx
call fcn.00403b80
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x470390
sub ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00405940
mov eax, dword [esi + 0xd0]
push eax
push 0xfffffffffffffff0
push edi
call ebp
mov ecx, dword [esi + 0xd4]
push ecx
push 0xffffffffffffffec
push edi
call ebp
mov eax, dword [esi + 0xdc]
mov edx, dword [esi + 0xe4]
mov ecx, dword [esi + 0xd8]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xe0]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x48], 0
push 0x12
push str.setupFullScreen_:
push 0
lea ecx, [esi + 0xf0]
call fcn.0046fa80
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x4706e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49c464
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
je 0x470721
mov dword [esi + 4], 0x4abcfc
mov dword [esi + 0x10], 0x4a7f74
mov dword [esi + 0x110], 0x4a2e74
push ebx
mov ecx, esi
call fcn.004788f0
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
mov dword [esi], 0x4ab83c
mov dword [esi + 0xc], 0x4abd9c
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], 0x4a2e94
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov dword [esi + eax], ebx
mov dword [esp + 0x18], 1
lea edi, [esi + 0x34]
mov eax, edi
lea ecx, [eax + 4]
mov dword [esp + 0x24], eax
mov dword [eax], 0x4a5af8
call fcn.004289a0
mov byte [esp + 0x18], 3
mov ecx, dword [esi + 4]
mov dword [esi], 0x4abce0
mov dword [esi + 0xc], 0x4abcbc
mov dword [edi], 0x4abcb8
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], 0x4a5eec
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
lea ecx, [eax - 0x10c]
mov dword [eax + esi], ecx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0xe8], bl
mov dword [esi + 0xec], ebx
mov dword [esi + 0x108], 0xf
mov dword [esi + 0x104], ebx
mov byte [esi + 0xf4], bl
mov byte [esp + 0x18], 4
mov eax, dword [esi + 0x44]
mov dword [esi + 0x30], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
call dword [eax]
sub esp, 0xc
mov edi, esp
mov eax, 0x470610
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x44]
xor edx, edx
push esi
add ecx, 0x170
mov dword [edi + 8], edx
call fcn.0046ffe0
sub esp, 0xc
mov edi, esp
mov eax, 0x46f890
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x44]
xor edx, edx
push esi
add ecx, 0x160
mov dword [edi + 8], edx
call fcn.0046ffe0
xor ecx, ecx
sub esp, 0xc
mov eax, 0x4706a0
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x44]
push esi
add ecx, 0x180
mov dword [edx + 8], ebx
call fcn.0046ffe0
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8
Function at 0x478fdc
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49c63e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
test eax, eax
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
je 0x478ff4
mov dword [esi + 4], 0x4a8000
mov dword [esi + 0x38], 0x4a2e74
push 0
mov ecx, esi
call fcn.00441c60
mov dword [esp + 0x14], 0
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.004625c0
mov byte [esp + 0x14], 1
mov eax, dword [esi + 4]
mov dword [esi], 0x4a2ea8
mov dword [edi], 0x4a2ea0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], 0x4a2e94
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x34]
mov dword [eax + esi], ecx
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x47fc00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x47fc30
push esi
call fcn.00487500
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x47fc29
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x47fca7
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x47fc97
mov eax, dword [esi + 8]
test eax, eax
je 0x47fc54
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47fc93
cmp eax, 2
je 0x47fc97
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47fc47
cmp eax, 3
je 0x47fc7a
cmp eax, 1
jne 0x47fc47
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x47fc47
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x47fc47
xor al, al
pop esi
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.0047fa90
pop esi
ret
cmp eax, 0xcc
je 0x47fcc7
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
push esi
call dword [eax]
add esp, 4
call fcn.0047fa90
pop esi
ret

Function at 0x481cc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x481ccb
xor eax, eax
ret
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
not esi
jb 0x481dc3
mov ebp, edi
shr ebp, 3
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ad900]
shr eax, 8
xor eax, esi
inc ecx
dec ebp
mov esi, eax
jne 0x481ce6
test edi, edi
je 0x481de2
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebp, dword [eax*4 + 0x4ad900]
shr esi, 8
xor esi, ebp
inc ecx
dec edi
jne 0x481dc7
pop edi
mov eax, esi
pop esi
not eax
pop ebp
ret
Function at 0x4ef160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
xor eax, 0xa1c2de5f
mov dword [ebp - 0x1c], 0xaa7575b3
mov dword [ebp - 0x18], 0xf0a59521
mov dword [ebp - 0x14], 0x315b1289
mov dword [ebp - 0x10], 0x5985ddca
push esi
push edi
cmp eax, 0xa1c2de5e
jne 0x4ef378
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0xc0]
mov ecx, eax
xor ecx, 0xd41f4efd
lea esi, [eax + edx]
xor eax, eax
cmp ecx, 0xd41f4efd
cmove esi, eax
mov eax, esi
xor eax, 0x6303632
cmp eax, 0x6303632
je 0x4ef378
mov ebx, dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push 0
push 0xf67b7b8d
push eax
lea edx, [esi + 0x324]
mov dword [ebp - 0xc], ebx
lea ecx, [esi + 0xbc]
call section..gcode
mov eax, dword [ebx + 4]
add esp, 0xc
xor eax, 0x26cbb449
cmp eax, 0x26cbb449
je 0x4ef378
mov eax, dword fs:[0x18]
xor edx, edx
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 8]
mov eax, dword fs:[0x18]
lea edi, [ebx + 0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ecx + ebx + 0x14]
add eax, ecx
add edi, eax
movzx eax, word [ecx + ebx + 6]
xor ecx, ecx
mov dword [ebp - 8], edi
mov dword [ebp + 0xc], eax
cmp cx, ax
jae 0x4ef281
nop dword [eax]
movzx eax, dx
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0xc]
lea edi, [edi + eax*8]
lea eax, [ecx + ebx]
cmp eax, entry1
ja 0x4ef275
mov eax, dword [edi + 0x10]
add eax, ecx
add eax, ebx
cmp eax, entry1
ja 0x4ef283
inc edx
cmp dx, word [ebp + 0xc]
jae 0x4ef281
mov edi, dword [ebp - 8]
jmp 0x4ef250
xor edi, edi
mov eax, edi
xor eax, 0xa2f75f9d
cmp eax, 0xa2f75f9d
je 0x4ef378
mov eax, dword fs:[0x18]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
add edi, ecx
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
add edi, edx
lea eax, [ecx + edx]
cmp eax, edi
jae 0x4ef360
mov ebx, dword [esi + 0x2fc]
nop dword [eax]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor ecx, ebx
xor edx, dword [esi + 0x300]
xor ecx, 0x45ecc763
xor edx, 0
cmp ecx, 0x45ecc763
jne 0x4ef357
test edx, edx
jne 0x4ef357
mov ecx, dword [esi + 0x304]
xor ecx, dword [eax + 8]
mov edx, dword [esi + 0x308]
xor ecx, 0xc3464624
xor edx, dword [eax + 0xc]
xor edx, 0
cmp ecx, 0xc3464624
jne 0x4ef357
test edx, edx
jne 0x4ef357
mov ecx, dword [esi + 0x30c]
xor ecx, dword [eax + 0x10]
mov edx, dword [esi + 0x310]
xor ecx, 0x5ce40551
xor edx, dword [eax + 0x14]
xor edx, 0
cmp ecx, 0x5ce40551
jne 0x4ef357
test edx, edx
jne 0x4ef357
mov ecx, dword [esi + 0x314]
xor ecx, dword [eax + 0x18]
mov edx, dword [esi + 0x318]
xor ecx, 0x15070819
xor edx, dword [eax + 0x1c]
xor edx, 0
cmp ecx, 0x15070819
jne 0x4ef357
test edx, edx
je 0x4ef362
inc eax
cmp eax, edi
jb 0x4ef2c0
xor eax, eax
mov ecx, eax
xor ecx, 0x13a19f91
cmp ecx, 0x13a19f91
je 0x4ef378
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc