joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4243b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
test esi, esi
mov ebx, eax
jne 0x4243c1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi], 0
mov edi, edi
cmp esi, 0x400000
mov eax, 0x400000
ja 0x4243df
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x424416
test ecx, ecx
je 0x42440f
test esi, esi
ja 0x4243d0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x427240
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x47d7c8], ecx
add edx, 1
cmp edx, 0x100
jl 0x427243
cmp edx, 0x800
jae 0x42732b
nop
mov eax, dword [edx*4 + 0x47d3c8]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x47d7c8]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x47d7c4], eax
jb 0x427300
mov dword [0x47f7c8], 0x429700
call fcn.004298d0
test eax, eax
jne 0x427348
mov dword [0x47f7c8], 0x4297b0
pop ecx
ret
Function at 0x4273a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x14]
mov ebx, edx
mov edx, dword [eax + 0x10]
push ecx
push edx
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.00429570
xor edi, edi
add esp, 8
cmp eax, edi
jne 0x42751b
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x78], eax
cmp dword [esp + 0xac], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0x40000
ja 0x427453
jb 0x42744f
cmp ebx, 0x40000
jae 0x427453
mov dword [esp + 0x14], ebx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x427507
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xb8]
push 1
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x3c]
call fcn.00429110
mov esi, eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x28], eax
add esp, 0x14
sub ebx, eax
sbb dword [esp + 0xac], 0
test esi, esi
jne 0x427507
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x4274e4
test eax, eax
jne 0x4274cd
cmp edi, dword [esp + 0x4c]
je 0x4274e4
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x427507
xor edi, edi
jmp 0x427430
cmp ecx, dword [esp + 0xb4]
jne 0x427502
cmp dword [esp + 0x14], 0
jne 0x427502
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x427507
cmp eax, 4
je 0x427507
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00445276
add esp, 0x90
ret
Function at 0x427540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
cmp dword [eax + 0x14], edi
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
je 0x427587
mov eax, edi
jmp 0x4276dd
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00429960
add esp, 4
cmp eax, ebx
jne 0x4276dd
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
cmp dword [esp + 0xcc], ebx
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
ja 0x42761c
jb 0x427611
cmp dword [esp + 0xc8], eax
jae 0x42761c
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4276c9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.00429b00
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x4276c9
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x4276ae
cmp eax, ebx
jne 0x427698
cmp edi, dword [esp + 0x4c]
je 0x4276ae
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4275f0
jmp 0x4276c9
cmp ecx, dword [esp + 0xd4]
jne 0x4276c4
cmp dword [esp + 0x14], ebx
jne 0x4276c4
cmp dword [esp + 0x20], 1
je 0x4276c9
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00445276
add esp, 0xb0
ret
Function at 0x429df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x429e0d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x429e3f
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x429e3f
add edi, 1
cmp edi, ebx
jb 0x429e30
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x429f48
cmp eax, 3
jbe 0x429e74
xor esi, esi
mov al, byte [edi + 4]
test al, al
mov dword [esp + 0x10], ebp
je 0x429eb1
cmp al, 0xff
je 0x429eb1
and esi, 3
add esi, esi
or esi, 1
add ebp, 1
jmp 0x429e23
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x429e58
movzx ecx, byte [esi + 0x469558]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x469550], 0
mov al, byte [eax + 4]
je 0x429e9d
test al, al
je 0x429e9d
cmp al, 0xff
jne 0x429e58
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
add ebp, 1
jmp 0x429e23
movzx ecx, byte [edi + 2]
xor edx, edx
mov dh, al
movzx eax, byte [edi + 1]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
lea ebx, [ebx]
sub edx, ebp
sub edx, 5
test esi, esi
mov eax, edx
je 0x429f19
movzx edx, byte [esi + 0x469558]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x429efc
cmp bl, 0xff
jne 0x429f15
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, eax
jmp 0x429ed0
mov ebx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and cl, 1
sub cl, 1
not cl
mov byte [edi + 4], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [edi + 3], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 2], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x429e23
cmp eax, 3
pop edi
pop ebx
jbe 0x429f5f
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
shl esi, cl
mov eax, ebp
and esi, 7
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret
Function at 0x42ceda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42cf20
call fcn.0042ff59
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42cf20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x42cf63
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x42cf4c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42cf4c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42cf60
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43521a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x43525d
call fcn.0042ff59
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43525d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x435278
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00434dd1
test ebx, ebx
mov esi, eax
je 0x435276
test edi, edi
je 0x435276
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43624b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x436279
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x436297
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004361b5
jmp 0x436297
mov eax, dword [esi + 0x14]
test eax, eax
je 0x436297
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004361b5
test edi, edi
mov eax, edi
jne 0x436281
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x47c40c]
test ecx, ecx
je 0x43635a
jmp 0x43624a
ret 8

Function at 0x445276
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x478424]
jne 0x445280
repz ret
jmp fcn.0044d132
Function at 0x446d71
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x446d9e
call fcn.0044a55a
mov dword [eax], esi
call fcn.0044a547
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00446304
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x446d7a
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x446dcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044a56d
pop ecx
call fcn.0044a547
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x446df4
test al, 1
je 0x446df4
test byte [esp + 0xc], 2
je 0x446df4
call fcn.0044a55a
mov dword [eax], 5
call fcn.0044a547
mov dword [eax], 0xd
jmp 0x446dc4
xor eax, eax
pop esi
ret

Function at 0x447490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4474bd
call fcn.0044a55a
mov dword [eax], esi
call fcn.0044a547
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00446304
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x447499
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4474ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044a56d
pop ecx
call fcn.0044a547
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x447513
test al, 1
je 0x447513
test byte [esp + 0xc], 2
je 0x447513
call fcn.0044a55a
mov dword [eax], 5
call fcn.0044a547
mov dword [eax], 0xd
jmp 0x4474e3
xor eax, eax
pop esi
ret
Function at 0x458592
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044fb99
xor ebx, ebx
cmp dword [0x47d174], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x458667
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4585d2
xor eax, eax
jmp 0x45872b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x465bec
push edi
call esi
cmp eax, ebx
je 0x4585cb
push eax
call fcn.0044fb36
mov dword [esp], 0x465bdc
push edi
mov dword [0x47d174], eax
call esi
push eax
call fcn.0044fb36
mov dword [esp], 0x465bc8
push edi
mov dword [0x47d178], eax
call esi
push eax
call fcn.0044fb36
mov dword [0x47d17c], eax
lea eax, [ebp - 8]
push eax
call fcn.00445e4b
test eax, eax
pop ecx
pop ecx
je 0x458635
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00446208
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x458667
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044fb36
cmp eax, ebx
pop ecx
mov dword [0x47d184], eax
je 0x458667
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044fb36
pop ecx
mov dword [0x47d180], eax
mov eax, dword [0x47d180]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4586e0
cmp dword [0x47d184], esi
je 0x4586e0
push eax
call fcn.0044fba2
pop ecx
call eax
cmp eax, ebx
je 0x4586ad
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x47d184]
call fcn.0044fba2
pop ecx
call eax
test eax, eax
je 0x4586ad
test byte [ebp - 0x18], 1
jne 0x4586e0
lea eax, [ebp - 0xc]
push eax
call fcn.00445e82
test eax, eax
pop ecx
je 0x4586c8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00446208
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4586d7
or dword [ebp + 0x10], 0x200000
jmp 0x458711
or dword [ebp + 0x10], 0x40000
jmp 0x458711
mov eax, dword [0x47d178]
cmp eax, esi
je 0x458711
push eax
call fcn.0044fba2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x458711
mov eax, dword [0x47d17c]
cmp eax, esi
je 0x458711
push dword [ebp - 4]
push eax
call fcn.0044fba2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x47d174]
call fcn.0044fba2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45c7d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47d2b0]
mov dword [ebp - 4], eax
jmp 0x45c7e9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x45c806
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x45c7e0
mov esp, ebp
pop ebp
ret
Function at 0x45c810
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x47d2c0], eax
je 0x45c82e
mov eax, 0x10dd
jmp 0x45c90f
mov eax, dword [0x47d2d0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45c8ac
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x45c88a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x45c88a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045c980
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042a2ef
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x45c836
mov dword [0x47d2d0], 0
call fcn.0045c920
mov ecx, dword [0x47d2cc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x45c8f9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042a2ef
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x45c8c4
mov dword [0x47d2cc], 0
mov dword [0x47d2c0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45ce80
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x45ce95
xor eax, eax
jmp 0x45cf0a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x45cec2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x45cf05
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x45cf03
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x45ceff
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x45cf03
xor eax, eax
jmp 0x45cf0a
jmp 0x45ceb9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45cfb0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x47d2c4], 0
je 0x45cfc9
mov eax, dword [0x47d2c4]
jmp 0x45d069
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x45cfdb
xor eax, eax
jmp 0x45d069
push 8
call fcn.0042a2c4
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d031
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x45d01a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042a2ef
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x47d2c4], eax
mov dword [0x47d2c8], 0
mov eax, dword [ebp - 4]
jmp 0x45d069
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x45d04b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x45cffb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x47d2cc]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x47d2cc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x45d880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0045d950
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x45d93c
cmp dword [ebp - 4], 0x50000000
jb 0x45d8bc
cmp dword [ebp - 4], 0x80000000
ja 0x45d8bc
mov dword [ebp - 4], 0x80010000
jmp 0x45d895
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0044bc10
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x45d8e2
jmp 0x45d93c
cmp dword [ebp - 0x10], 0x10000
jne 0x45d925
cmp dword [ebp - 0x14], 0x10000
jb 0x45d925
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45d918
mov eax, dword [ebp - 0x24]
jmp 0x45d93e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x45d937
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0045d950
add esp, 4
mov dword [ebp - 4], eax
jmp 0x45d895
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45d980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0045da50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x45da44
cmp dword [ebp - 4], 0x50000000
jb 0x45d9c1
cmp dword [ebp - 4], 0x80000000
ja 0x45d9c1
mov dword [ebp - 4], 0x4fff0000
jmp 0x45d99a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0044bc10
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x45d9e7
jmp 0x45da44
cmp dword [ebp - 0x10], 0x10000
jne 0x45da2a
cmp dword [ebp - 0x14], 0x10000
jb 0x45da2a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45da1d
mov eax, dword [ebp - 0x24]
jmp 0x45da46
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x45da3f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0045da50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x45d99a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45e4df
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x478424]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045e474
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0044bc10
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45e52e
cmp dword [ebp - 0x1c], 5
jb 0x45e546
jmp 0x45e542
cmp dword [ebp - 0x10], 1
jne 0x45e546
cmp dword [ebp - 0x1c], 4
ja 0x45e542
jne 0x45e546
cmp dword [ebp - 0x18], 0
jbe 0x45e546
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x468618
call fcn.0045e348
test eax, eax
jge 0x45e567
mov byte [0x47d350], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00445276
add ebp, 0x78
leave
ret