joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov al, 0xad
push esi
mov esi, ecx
mov byte [esp + 0x11], al
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0x18]
mov ebx, 0x10
cmp eax, ebx
push edi
mov byte [esp + 0x10], 8
mov byte [esp + 0x11], 0xd9
mov byte [esp + 0x12], 0x17
mov byte [esp + 0x13], 0xbc
mov byte [esp + 0x14], 0x5f
mov byte [esp + 0x16], 0x51
mov byte [esp + 0x17], 0x2d
mov byte [esp + 0x18], 0xee
mov byte [esp + 0x19], 0x99
mov byte [esp + 0x1a], 0xff
mov byte [esp + 0x1b], 0xb
mov byte [esp + 0x1c], 0xdd
mov byte [esp + 0x1d], 0x79
mov byte [esp + 0x1e], 0x9f
mov byte [esp + 0x20], 0xe5
mov byte [esp + 0x21], 0x2a
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0xd0
mov byte [esp + 0x24], 0xce
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x26
mov byte [esp + 0x27], 0xc6
mov byte [esp + 0x28], 0xdb
mov byte [esp + 0x29], 0xb3
mov byte [esp + 0x2a], 0x16
mov byte [esp + 0x2b], 0x9a
mov byte [esp + 0x2c], 0xb1
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x34
mov byte [esp + 0x2f], 0x40
lea edi, [esi + 4]
jb 0x40f61b
mov ecx, dword [edi]
jmp 0x40f61d
mov ecx, edi
lea edx, [esp + 0x10]
cmp edx, ecx
jb 0x40f654
cmp eax, ebx
jb 0x40f62d
mov ecx, dword [edi]
jmp 0x40f62f
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x10]
cmp edx, ecx
jbe 0x40f654
cmp eax, ebx
jb 0x40f642
mov edi, dword [edi]
push ebx
lea edx, [esp + 0x14]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.004032f0
jmp 0x40f68f
cmp eax, ebx
jae 0x40f664
mov eax, dword [esi + 0x14]
push eax
push ebx
mov ecx, esi
call fcn.00403b10
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x40f66f
mov eax, dword [edi]
jmp 0x40f671
mov eax, edi
push ebx
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call fcn.0045af8f
add esp, 0x10
cmp dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
jb 0x40f68b
mov edi, dword [edi]
mov byte [edi + 0x10], 0
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
lea esi, [ebp + 4]
jb 0x40f69d
mov eax, dword [esi]
jmp 0x40f69f
mov eax, esi
lea edx, [esp + 0x20]
cmp edx, eax
jb 0x40f6e7
cmp ecx, ebx
jb 0x40f6af
mov eax, dword [esi]
jmp 0x40f6b1
mov eax, esi
mov edx, dword [ebp + 0x14]
add edx, eax
lea eax, [esp + 0x20]
cmp edx, eax
jbe 0x40f6e7
cmp ecx, ebx
jb 0x40f6c4
mov esi, dword [esi]
push ebx
lea ecx, [esp + 0x24]
sub ecx, esi
push ecx
push ebp
mov ecx, ebp
call fcn.004032f0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x24
ret
cmp ecx, ebx
jae 0x40f6f7
mov edx, dword [ebp + 0x14]
push edx
push ebx
mov ecx, ebp
call fcn.00403b10
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
jb 0x40f702
mov eax, dword [esi]
jmp 0x40f704
mov eax, esi
push ebx
lea edx, [esp + 0x24]
push edx
push ecx
push eax
call fcn.0045af8f
add esp, 0x10
cmp dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
jb 0x40f71e
mov esi, dword [esi]
mov ecx, dword [esp + 0x30]
pop edi
mov byte [esi + 0x10], 0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045b0e4
add esp, 0x24
ret
Function at 0x40f740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.0040f550
mov ecx, dword [esp + 0x34]
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0xc], 1
jae 0x40f7c4
lea ecx, [esp + 0x30]
cmp dword [esp + 0x60], ebp
mov eax, dword [esp + 0x4c]
jae 0x40f7d2
lea eax, [esp + 0x4c]
push ebx
lea edx, [esp + 0x10]
push edx
push ecx
push eax
mov ecx, esi
lea edx, [esp + 0x20]
call fcn.00411c50
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.004032f0
cmp dword [esp + 0x28], ebp
jb 0x40f80b
mov eax, dword [esp + 0x14]
push eax
call fcn.0045ac5a
add esp, 4
cmp dword [esp + 0x44], ebp
jb 0x40f81e
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0045ac5a
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x40f841
mov edx, dword [esp + 0x4c]
push edx
call fcn.0045ac5a
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x68
ret
Function at 0x40f860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.0040f550
mov eax, dword [esp + 0x34]
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0xc], 1
jae 0x40f8e4
lea eax, [esp + 0x30]
cmp dword [esp + 0x60], ebp
mov edx, dword [esp + 0x4c]
jae 0x40f8f2
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004120d0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.004032f0
cmp dword [esp + 0x28], ebp
jb 0x40f928
mov edx, dword [esp + 0x14]
push edx
call fcn.0045ac5a
add esp, 4
cmp dword [esp + 0x44], ebp
jb 0x40f93b
mov eax, dword [esp + 0x30]
push eax
call fcn.0045ac5a
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x40f95e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0045ac5a
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x68
ret
Function at 0x411a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47bace
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], 2
mov dword [esi], vtable.CryptoPP::Grouper.0
mov dword [esi + 4], vtable.CryptoPP::Grouper.1.0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov byte [esp + 0x14], 6
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x411a7c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov dword [esi + 0xc], edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x413e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c431
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.00414150
push eax
push esi
call fcn.00446910
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x413ec2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x413ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c431
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.004140a0
push eax
push esi
call fcn.00446910
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x413f61
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x414460
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 8
push esi
push 0
push 0
push 0
push 1
push 0
mov esi, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [edi], eax
jne 0x414483
xor al, al
pop esi
add esp, 8
ret
push ebp
mov ebp, 0x10
cmp dword [esi + 0x44], ebp
jb 0x414493
mov ecx, dword [esi + 0x30]
jmp 0x414496
lea ecx, [esi + 0x30]
movzx edx, word [esi + 0x48]
push 0
push 0
push 3
push 0
push 0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [edi + 4], eax
jne 0x4144bc
pop ebp
xor al, al
pop esi
add esp, 8
ret
cmp dword [esi + 0x64], ebp
jb 0x4144c6
mov edx, dword [esi + 0x50]
jmp 0x4144c9
lea edx, [esi + 0x50]
cmp dword [esi + 0x28], ebp
jb 0x4144d3
mov ecx, dword [esi + 0x14]
jmp 0x4144d6
lea ecx, [esi + 0x14]
push ebx
mov ebx, dword [esi + 0xc]
push 0
push ebx
push 0
push 0
push str.HTTP_1.0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [edi + 8], eax
je 0x41457e
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push esi
push 2
push eax
call ebx
test eax, eax
je 0x41457e
mov ecx, dword [edi + 8]
push 4
lea eax, [esi + 4]
push eax
push 5
push ecx
call ebx
test eax, eax
je 0x41457e
mov eax, dword [edi + 8]
push 4
lea edx, [esi + 8]
push edx
push 6
push eax
call ebx
test eax, eax
je 0x41457e
test dword [esi + 0xc], 0x800000
je 0x414587
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x1f
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x41457e
mov edx, dword [edi + 8]
or dword [esp + 0xc], 0x3380
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1f
push edx
call ebx
test eax, eax
jne 0x414587
pop ebx
pop ebp
xor al, al
pop esi
add esp, 8
ret
cmp dword [esi + 0x9c], ebp
mov edx, dword [esi + 0x98]
jb 0x41459d
mov ecx, dword [esi + 0x88]
jmp 0x4145a3
lea ecx, [esi + 0x88]
cmp dword [esi + 0x80], ebp
mov eax, dword [esi + 0x7c]
jb 0x4145b3
mov esi, dword [esi + 0x6c]
jmp 0x4145b6
add esi, 0x6c
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push esi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
pop ebx
test eax, eax
pop ebp
setne al
pop esi
add esp, 8
ret
Function at 0x414710
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x408
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebp
mov ebp, dword [esp + 0x410]
push edi
mov edi, dword [esi + 8]
test edi, edi
jne 0x414738
xor al, al
jmp 0x4147a5
push 0x3ff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00460ae0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x400
lea edx, [esp + 0x14]
push edx
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x4147a3
mov eax, dword [esp + 8]
test eax, eax
je 0x4147a3
push eax
lea eax, [esp + 0x10]
push eax
mov eax, ebp
call fcn.00403930
mov eax, dword [esi + 8]
lea ecx, [esp + 8]
push ecx
push 0x400
lea edx, [esp + 0x14]
push edx
push eax
call edi
test eax, eax
jne 0x414775
mov al, 1
mov ecx, dword [esp + 0x40c]
pop edi
pop ebp
xor ecx, esp
call fcn.0045b0e4
add esp, 0x408
ret 4
Function at 0x416870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
mov dword [esp + 0x3c], 1
call fcn.00416940
test al, al
jne 0x4168e8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041dd60
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
call fcn.00418800
mov edx, dword [eax]
lea eax, [esp + 0xc]
call fcn.0041de00
call fcn.00418800
mov ecx, dword [eax]
mov eax, dword [edi + 4]
sub eax, dword [esi + 0x44]
mov dword [ecx + 0x10], eax
call fcn.00418800
mov ecx, dword [eax]
mov eax, dword [edi + 8]
sub eax, dword [esi + 0x44]
mov dword [esp + 0x30], 0xffffffff
mov dword [ecx + 0x14], eax
lea ecx, [esp + 0xc]
call fcn.0041dd60
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x423550
Capabilities:
Write file on windows

Disassembly:
cmp dword [edi + 0x1c], 0x10
push ebx
mov ebx, dword [esp + 8]
push esi
jb 0x423561
mov eax, dword [edi + 8]
jmp 0x423564
lea eax, [edi + 8]
push 0x4868d0
push eax
call fcn.0045b5d2
mov esi, eax
add esp, 8
test esi, esi
je 0x42359e
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x423580
push esi
sub eax, edx
push 1
push eax
push ebx
call fcn.0045b48c
push esi
call fcn.0045b657
add esp, 0x14
pop esi
mov eax, edi
pop ebx
ret 4

Function at 0x423e40
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x479a3f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea ebp, [edi + 4]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x14], edi
mov byte [ebp], bl
mov dword [esp + 0x90], ebx
push eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x84], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.004235b0
cmp byte [esp + 0x80], bl
jne 0x423efe
lea esi, [esp + 0x18]
mov byte [esp + 0x80], 1
call fcn.00423650
mov eax, dword [edi + 0x18]
mov esi, 0x10
cmp eax, esi
jb 0x423f0f
mov ecx, dword [ebp]
jmp 0x423f11
mov ecx, ebp
lea edx, [esp + 0x70]
cmp edx, ecx
jb 0x423f4a
cmp eax, esi
jb 0x423f22
mov ecx, dword [ebp]
jmp 0x423f24
mov ecx, ebp
mov edx, dword [edi + 0x14]
add edx, ecx
lea ecx, [esp + 0x70]
cmp edx, ecx
jbe 0x423f4a
cmp eax, esi
jb 0x423f38
mov ebp, dword [ebp]
push esi
lea edx, [esp + 0x74]
sub edx, ebp
push edx
push edi
mov ecx, edi
call fcn.004032f0
jmp 0x423f86
cmp eax, esi
jae 0x423f5a
mov eax, dword [edi + 0x14]
push eax
push esi
mov ecx, edi
call fcn.00403b10
mov ecx, dword [edi + 0x18]
cmp ecx, esi
jb 0x423f66
mov eax, dword [ebp]
jmp 0x423f68
mov eax, ebp
push esi
lea edx, [esp + 0x74]
push edx
push ecx
push eax
call fcn.0045af8f
add esp, 0x10
cmp dword [edi + 0x18], esi
mov dword [edi + 0x14], esi
jb 0x423f83
mov ebp, dword [ebp]
mov byte [ebp + 0x10], bl
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x84
ret
Function at 0x423fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4799f6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
lea edi, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov byte [esp + 0x18], 1
push ebx
mov dword [esi], 1
call fcn.0045b2c2
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x4a1444]
push ebx
push 0x4a144c
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.004032f0
mov ecx, dword [0x4a1448]
mov dword [esi + 0x4c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x4241b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push 0
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push esi
mov dword [esp + 0x1c], 0
call ebp
test eax, eax
je 0x42422f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x42422f
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x4241f5
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00403a20
jmp 0x4241fe
push 0
sub eax, ecx
call fcn.00403250
mov eax, dword [edi + 0x14]
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x14], 0
call fcn.00402fa0
push eax
push esi
call ebp
test eax, eax
je 0x42422f
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 8]
jne 0x42422f
pop edi
mov al, 1
pop ebp
pop ecx
ret
pop edi
xor al, al
pop ebp
pop ecx
ret
Function at 0x424240
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a608
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x42427d
lea eax, [esp + 0x28]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x4242f8
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x42429c
lea eax, [esp + 0x28]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4242f8
mov eax, dword [edi + 0x14]
push ebx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x1c], ebx
call fcn.00402fa0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4242f1
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 0x10]
jne 0x4242f1
mov eax, ebp
call fcn.004241b0
test al, al
je 0x4242f1
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], 0x10
jb 0x42430c
mov eax, dword [esp + 0x28]
push eax
call fcn.0045ac5a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x425a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x479969
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea edi, [esi + 4]
mov byte [esp + 0x14], 0x48
mov byte [esp + 0x15], 0x3f
mov byte [esp + 0x16], 0xb6
mov byte [esp + 0x17], 0x1f
mov byte [esp + 0x18], 0xcb
mov byte [esp + 0x19], 0x20
mov byte [esp + 0x1a], 0xce
mov byte [esp + 0x1b], 0xd
mov byte [esp + 0x1c], 0x4a
mov byte [esp + 0x1d], 0xdd
mov byte [esp + 0x1e], 0x71
mov byte [esp + 0x1f], 0xa3
mov byte [esp + 0x20], 0x1e
mov byte [esp + 0x21], 0x9f
mov byte [esp + 0x22], 0x9b
mov byte [esp + 0x23], 0x88
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [edi], bl
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov dword [esp + 0xc], 1
jb 0x425ab1
mov ecx, dword [edi]
jmp 0x425ab3
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x425aed
cmp eax, 0x10
jb 0x425ac4
mov ecx, dword [edi]
jmp 0x425ac6
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x425aed
cmp eax, 0x10
jb 0x425ada
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.004032f0
jmp 0x425b30
cmp eax, 0x10
jae 0x425aff
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00403b10
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x425b0b
mov eax, dword [edi]
jmp 0x425b0d
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0045af8f
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x425b2d
mov edi, dword [edi]
mov byte [edi + 0x10], bl
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x28
ret
Function at 0x425b50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x479969
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, 0xf
lea edi, [esi + 4]
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0x45
mov byte [esp + 0x16], 0xe2
mov byte [esp + 0x17], 0xfe
mov byte [esp + 0x18], 0xed
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x97
mov byte [esp + 0x1b], 0x6c
mov byte [esp + 0x1c], 5
mov byte [esp + 0x1d], 0x3c
mov byte [esp + 0x1e], 0x8e
mov byte [esp + 0x1f], 0x9b
mov byte [esp + 0x20], 0x62
mov byte [esp + 0x21], 0x30
mov byte [esp + 0x22], 0x54
mov byte [esp + 0x23], 0xc4
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [edi], bl
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov dword [esp + 0xc], 1
jb 0x425c01
mov ecx, dword [edi]
jmp 0x425c03
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x425c3d
cmp eax, 0x10
jb 0x425c14
mov ecx, dword [edi]
jmp 0x425c16
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x425c3d
cmp eax, 0x10
jb 0x425c2a
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.004032f0
jmp 0x425c80
cmp eax, 0x10
jae 0x425c4f
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00403b10
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x425c5b
mov eax, dword [edi]
jmp 0x425c5d
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0045af8f
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x425c7d
mov edi, dword [edi]
mov byte [edi + 0x10], bl
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x28
ret