joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463180
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x4633c4
push ebx
cmp eax, 3
jb 0x4631fb
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
xor eax, eax
and edx, 0x3ff
mov al, byte [ecx + esi + 0x1af72]
and eax, 0x7fff
shl edx, 5
xor eax, edx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x46323d
mov edx, dword [esi + 0x6af84]
sub edx, ebp
cmp edx, 0x7efa
ja 0x46323d
mov eax, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6afa0]
cmp ecx, eax
jbe 0x463225
mov dword [esi + 0x6afa0], eax
push ebp
push esi
call fcn.00462e30
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x46323d
mov edi, eax
cmp edi, 3
jb 0x463336
mov ecx, dword [esi + 0x6af84]
mov ebx, dword [esi + 0x6af88]
lea eax, [edi - 3]
sub ecx, ebx
push eax
push ecx
push esi
call fcn.00462530
mov edx, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6af98]
add esp, 0xc
sub edx, edi
mov ebx, eax
cmp edi, ecx
mov dword [esi + 0x6af90], edx
mov eax, edx
ja 0x4632e4
cmp eax, 3
jb 0x4632e4
dec edi
mov ebp, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
inc ebp
xor eax, eax
mov ecx, ebp
mov dword [esi + 0x6af84], ebp
and edx, 0x3ff
mov al, byte [esi + ecx + 0x1af72]
and ecx, 0x7fff
and eax, 0x7fff
shl edx, 5
xor eax, edx
dec edi
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x463284
jmp 0x463360
mov edx, dword [esi + 0x6af84]
xor eax, eax
add edx, edi
push 0x7f8498
mov dword [esi + 0x6af84], edx
push 1
mov al, byte [edx + esi + 0x1af70]
lea ecx, [edx + esi]
xor edx, edx
mov dword [esi + 0x6af7c], eax
mov dl, byte [ecx + 0x1af71]
and eax, 0x3ff
and edx, 0x7fff
push esi
shl eax, 5
xor edx, eax
xor edi, edi
mov dword [esi + 0x6af7c], edx
call fcn.00461560
add esp, 0xc
jmp 0x463366
mov eax, dword [esi + 0x6af84]
xor ecx, ecx
mov cl, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.00462530
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
dec ecx
mov ebx, eax
mov dword [esi + 0x6af90], ecx
inc dword [esi + 0x6af84]
test ebx, ebx
je 0x4633a0
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x46337d
lea ecx, [eax + esi + 0x1af70]
jmp 0x46337f
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004622f0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4633b5
push esi
call fcn.00463030
add esp, 4
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x4631a4
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x4633d7
lea ecx, [eax + esi + 0x1af70]
jmp 0x4633d9
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.004622f0
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x4643a0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push esi
call dword [0x4881e8]
cmp eax, 1
je 0x4643be
mov eax, 0x1000000
pop esi
add esp, 0x50
ret
lea eax, [esp + 0x20]
push eax
push esi
call dword [0x4881e4]
test eax, eax
jne 0x4643d8
mov eax, 0x200
pop esi
add esp, 0x50
ret
mov eax, dword [esp + 0x20]
push ebp
mov edx, eax
xor ebp, ebp
and edx, 1
push edi
je 0x4643ec
mov ebp, 1
test al, 2
je 0x4643f3
or ebp, 2
test al, 4
je 0x4643fa
or ebp, 4
mov ecx, eax
and ecx, 0x10
je 0x464404
or ebp, 0x10
test al, 0x20
je 0x46440b
or ebp, 0x20
test ecx, ecx
je 0x464417
or ebp, 0x40000000
jmp 0x46441d
or ebp, 0x80000000
or ebp, 0x1000000
test edx, edx
jne 0x46442d
or ebp, 0x800000
push ebx
push 0
push esi
call dword [0x4882f4]
cmp eax, 0x28
mov dword [esp + 0x14], eax
jbe 0x4644db
mov edi, dword [0x4882f8]
push 0
push 0
push 0
push esi
call edi
mov ebx, dword [0x488324]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x6c]
push 2
push edx
push esi
call ebx
push 0
push 0
push 0x24
push esi
call edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x24]
push 4
push ecx
push esi
call ebx
cmp word [esp + 0x64], 0x54ad
jne 0x4644db
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [eax + 0x34]
cmp ecx, edx
jbe 0x4644db
push 0
push 0
push eax
push esi
call edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x2c]
push 4
push ecx
push esi
call ebx
mov eax, dword [esp + 0x24]
cmp eax, 0x5a4d
je 0x4644d5
cmp eax, 0x454e
je 0x4644d5
cmp eax, 0x454c
je 0x4644d5
cmp eax, 0x4550
jne 0x4644db
or ebp, 0x400000
mov eax, dword [esp + 0x68]
pop ebx
test eax, eax
je 0x4644e6
mov dword [eax], ebp
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4644f4
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov esi, dword [esp + 0x6c]
mov edi, dword [0x4881e0]
test esi, esi
je 0x46455e
lea eax, [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
push ecx
call edi
lea edx, [esp + 0x18]
lea eax, [esp + 0x3c]
push edx
push eax
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push edx
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.004642e0
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004642e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov dword [esi + 4], eax
call fcn.004642e0
add esp, 0x18
mov dword [esi + 8], eax
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4645a1
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call edi
lea edx, [esp + 0x64]
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [0x4881dc]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
and edx, 0xffff
and eax, 0xffff
shl edx, 0x10
or edx, eax
mov dword [esi], edx
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x50
ret
Function at 0x4011a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4011b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4011cd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011ee
cmp esi, eax
jae 0x4011c7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011e0
cmp esi, eax
jae 0x4011c7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x408300
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c3608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x64aa84]
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
add eax, 0x10
cmp eax, ecx
push esi
push edi
jbe 0x40833d
call fcn.005b3b11
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
add edx, 0x10
mov eax, edx
add eax, 4
cmp eax, ecx
mov dword [ebp + 0x24], edx
jbe 0x408357
call fcn.005b3b11
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
add edx, 4
mov eax, edx
add eax, 2
cmp eax, ecx
mov dword [ebp + 0x24], edx
jbe 0x408371
call fcn.005b3b11
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
movzx ecx, word [eax + ecx]
add eax, 2
push ecx
mov dword [ebp + 0x24], eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
add edx, 4
cmp edx, eax
jbe 0x40839a
call fcn.005b3b11
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [eax + ecx]
add eax, 4
xor edi, edi
cmp ecx, edi
mov dword [ebp + 0x24], eax
mov esi, ecx
jbe 0x408430
mov edx, dword [ebp + 0x1c]
sub edx, dword [ebp + 0x24]
dec esi
test edx, edx
jle 0x408430
lea ecx, [esp + 0x10]
call fcn.005007e0
mov dword [esp + 0x30], edi
push ebp
lea ecx, [esp + 0x14]
call fcn.00500cf0
test eax, eax
je 0x4084d6
mov al, byte [esp + 0x18]
cmp al, 1
je 0x40841b
cmp al, 3
je 0x40841b
cmp al, 0x11
jne 0x4083fe
cmp byte [esp + 0x10], 3
jne 0x40841b
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x7d4], eax
jmp 0x40841b
cmp al, 2
je 0x40841b
cmp al, 0xf
je 0x40841b
cmp al, 4
jne 0x40841b
cmp byte [esp + 0x10], 3
jne 0x40841b
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x7d8], ecx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004076d0
cmp esi, edi
ja 0x4083b1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
add eax, 0x24
cmp eax, ecx
jbe 0x408442
call fcn.005b3b11
mov esi, dword [ebp + 0x24]
add esi, dword [ebp + 0x14]
mov ecx, 9
lea edi, [ebx + 0x7de]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 0x24], 0x24
mov ecx, 0x671698
call fcn.00407480
mov esi, eax
xor eax, eax
push str.Transfer
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov byte [esi + 0x34], 0xe3
mov byte [esi + 0x35], 0xb0
mov byte [esi + 0x36], al
call fcn.0057a0fd
add esp, 4
push eax
push str.Transfer
lea ecx, [esi + 0x30]
call fcn.004053c0
push 1
push esi
mov ecx, ebx
call fcn.00407260
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x7cc], eax
mov dword [ebx + 0x7c0], 4
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18]
pop ebx
call fcn.0057981f
add esp, 0x24
ret 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004076d0
xor eax, eax
jmp 0x4084b8
Function at 0x40dba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c3d19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [esp], 0
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
call fcn.0040d980
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004026e0
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov byte [esp + 0x14], 2
mov dword [esp + 8], 1
mov dword [esp + 0x14], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40dc44
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x414d80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c4b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
add esp, 4
mov dword [esp + 0x18], 3
lea ecx, [esi + 8]
call fcn.00413a20
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi], 0x5e2f80
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x414d97
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c4b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
add esp, 4
mov dword [esp + 0x18], 3
lea ecx, [esi + 8]
call fcn.00413a20
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi], 0x5e2f80
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4165e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c4e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x48]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.004146c0
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esi], 0x5e5168
mov dword [esi + 4], 0x5e603c
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xc]
push str.DecodingLookupArray
push edx
call fcn.004162c0
add esp, 0xc
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x48]
push ecx
push str.Log2Base
lea edx, [esp + 0x20]
push edx
mov ecx, eax
call fcn.00416320
mov byte [esp + 0x3c], 3
push eax
mov ecx, esi
call fcn.00569130
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x18]
call fcn.004137f0
mov al, 4
mov byte [esp + 0x3c], al
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x3c], al
mov eax, 0x5e4190
mov dword [esp + 0xc], eax
mov byte [esp + 0x3c], 1
mov dword [esp + 8], eax
mov dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
Function at 0x416840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c4f69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
je 0x416931
mov dword [esi + 4], 0x5e5398
mov dword [esi + 0x38], 0x5e5388
mov dword [esi + 0xc0], 0x5e4d3c
mov dword [esi + 0xb4], 0x5e2f88
mov dword [esp + 0x20], 0
lea eax, [esi + 0xb8]
mov ecx, 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], eax
mov dword [eax], 0x5e4190
mov dword [esp + 0x20], ecx
mov dword [eax], 0x5e41ec
mov edx, 2
mov dword [esp + 0x20], edx
lea eax, [esi + 0xbc]
mov edi, dword [eax + 4]
mov edi, dword [edi + 4]
lea ecx, [eax + 4]
mov dword [ecx + edi], 0x5e4244
mov edi, dword [ecx]
mov edi, dword [edi + 8]
mov dword [esp + 0xc], 3
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mov dword [ecx + edi], 0x5e4218
mov dword [esp + 0x20], 5
mov edi, dword [ecx]
mov dword [eax], method.CSyncObject.virtual_20
mov edi, dword [edi + 4]
mov dword [edi + eax + 4], 0x5e44b0
mov ecx, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [ecx + eax + 4], 0x5e4484
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], 7
push 0
mov ecx, esi
call fcn.00415b30
mov dword [esp + 0x20], 9
lea edi, [esi + 0x30]
mov eax, edi
mov dword [esp + 0x28], eax
mov dword [eax], 0x5e41d0
mov byte [esp + 0x20], 0xa
mov dword [eax], 0x5e41dc
mov byte [esp + 0x20], 0xb
lea ebx, [esi + 0x34]
push 0
mov ecx, ebx
call fcn.00414f10
mov edx, dword [esi + 4]
mov dword [esi], 0x5e5368
mov dword [edi], 0x5e5358
mov dword [ebx], 0x5e534c
mov eax, dword [edx + 8]
mov dword [eax + esi + 4], 0x5e533c
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], 0x5e5310
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov dword [ecx + esi + 4], 0x5e52f8
lea ecx, [esi + 0x3c]
call fcn.00558d10
mov byte [esp + 0x20], 0xc
lea ecx, [esi + 0x50]
call fcn.00558d10
mov byte [esp + 0x20], 0xd
lea ecx, [esi + 0x64]
call fcn.00558d10
mov byte [esp + 0x20], 0xe
lea ecx, [esi + 0x78]
call fcn.00558d10
mov byte [esp + 0x20], 0xf
lea ecx, [esi + 0x8c]
call fcn.00558d10
mov byte [esp + 0x20], 0x10
lea ecx, [esi + 0xa0]
call fcn.00558d10
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x418800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5c54bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [esp + 0x18], 0
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.00414e70
lea eax, [esi + 0x34]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 0
mov dword [eax], 0x5e4190
mov dword [esi + 0x30], 0x5e2f88
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x5e2f80
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x419cd6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c589a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 1
mov dword [esp + 8], esi
call fcn.00563480
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], 0x5e5f58
mov dword [esp + 0x10], 1
mov dword [esi], 0x5e5f10
mov dword [esp + 0x10], 2
mov dword [esi], 0x5e5ec8
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x10], 3
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov byte [esp + 0x10], 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 5
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov byte [esp + 0x10], 6
lea ecx, [esi + 0x34]
call fcn.00558d10
mov byte [esp + 0x10], 7
lea ecx, [esi + 0x48]
call fcn.00558d10
mov byte [esp + 0x10], 8
mov byte [esi + 0x5c], 1
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x419df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c5962
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 5
lea ecx, [esi + 0x48]
call fcn.00409170
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x34]
call fcn.00409170
mov byte [esp + 0x18], 3
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
mov byte [esp + 0x1c], 2
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
mov byte [esp + 0x20], 1
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
mov byte [esp + 0x24], 0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
add esp, 0x10
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi], 0x5e2f80
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x419e07
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c5962
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 5
lea ecx, [esi + 0x48]
call fcn.00409170
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x34]
call fcn.00409170
mov byte [esp + 0x18], 3
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
mov byte [esp + 0x1c], 2
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
mov byte [esp + 0x20], 1
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
mov byte [esp + 0x24], 0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.005abee6
add esp, 0x10
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi], 0x5e2f80
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41bb80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5ffd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 0x14], edx
mov byte [edx + 0x54], 0
lea edi, [edx + 4]
mov ecx, 0x14
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [edx], eax
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x41bda2
xor bl, bl
push 0x5e60fc
push 0x6615ec
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040dc60
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x652b84]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401b70
cmp esi, 0xffffffff
je 0x41bc35
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x41bc2a
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x41bc41
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0041a740
jmp 0x41bc44
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 1
push 0x38
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x41bc6b
push 0
mov ecx, eax
call fcn.00416730
jmp 0x41bc6d
xor eax, eax
mov esi, eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
push 0x5e60fc
push 0x6615ec
lea edx, [ebp - 0x20]
push edx
call fcn.0040dc60
add esp, 0xc
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f30
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push 1
push esi
push 1
push eax
lea ecx, [ebp - 0x184]
call fcn.0041ba30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00401b70
mov bl, 6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401b70
push 0xd8
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x41bd01
push 1
lea ecx, [ebp - 0x184]
push ecx
mov ecx, eax
call fcn.0041b8c0
jmp 0x41bd03
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], bl
mov dword [edi], eax
test eax, eax
je 0x41bd16
add eax, 0xd0
jmp 0x41bd18
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0xac]
call fcn.0041b580
mov byte [ebp - 4], 9
push 0x50
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00414c30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0xac]
call dword [edx + 0x10]
mov edx, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov byte [edi + 0x54], al
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.004135b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.004136a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xac]
call fcn.00418800
mov dword [ebp - 0x5c], 0x5e4198
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
call fcn.0041a550
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret