joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425880
Capabilities:
Get common file path

Disassembly:
cmp dword [edi], 0
push esi
jne 0x425922
cmp dword [edi + 4], 0xffffffff
jne 0x425922
lea esi, [edi + 0x244]
push esi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x4258b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4258b0
sub eax, edx
sar eax, 1
movzx ecx, word [edi + eax*2 + 0x242]
cmp cx, 0x5c
je 0x4258e7
cmp cx, 0x2f
je 0x4258e7
mov word [edi + eax*2 + 0x244], 0x2f
mov word [edi + eax*2 + 0x246], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea esi, [esp + 0x14]
call fcn.00424870
add esp, 8
test eax, eax
jne 0x425909
mov eax, dword [esp + 0xc]
pop esi
ret 8
call fcn.00424c50
mov dword [edi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop esi
ret 8
mov eax, 0x1000000
pop esi
ret 8

Function at 0x425e90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x41c]
push ebp
xor ebp, ebp
cmp ebx, ebp
push edi
mov edi, dword [esp + 0x428]
je 0x425f2c
push 0x104
lea eax, [esp + 0x218]
push ebx
push eax
call fcn.0043a53d
lea eax, [esp + 0x220]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x425ee0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x425ee0
sub eax, edx
sar eax, 1
je 0x425f0a
lea ecx, [esp + eax*2 + 0x212]
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x425f07
cmp ax, 0x5c
jne 0x425f0a
mov word [ecx], bp
lea ecx, [esp + 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425f2c
push ebp
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [edi]
cmp ax, bp
je 0x426009
mov ecx, edi
mov edx, edi
movzx eax, ax
nop
cmp ax, 0x2f
je 0x425f4c
cmp ax, 0x5c
jne 0x425f4e
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
cmp ax, bp
jne 0x425f40
cmp ecx, edi
je 0x425f90
sub ecx, edi
sar ecx, 1
push esi
add ecx, ecx
mov esi, ecx
push esi
lea eax, [esp + 0x21c]
push edi
push eax
call fcn.0043ca70
lea ecx, [esp + 0x224]
push ecx
push ebx
mov word [esp + esi + 0x22c], bp
call fcn.00425e90
add esp, 0x14
pop esi
cmp ebx, ebp
mov word [esp + 0xc], bp
je 0x425fac
push 0x104
lea edx, [esp + 0x10]
push ebx
push edx
call fcn.0043a53d
add esp, 0xc
lea eax, [esp + 0xc]
mov word [esp + 0x212], bp
lea edx, [eax + 2]
jmp 0x425fc0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x425fc0
sub eax, edx
sar eax, 1
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x10]
push edi
push edx
call fcn.0043a53d
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov word [esp + 0x216], bp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x426009
push ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00438866
add esp, 0x414
ret
Function at 0x426980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x458666
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x473564]
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.00438b6e
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x478e48]
push ebx
push 0x478e50
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.00403810
mov ecx, dword [0x478e4c]
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 0x426b80
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 0x426bff
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x426bff
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x426bc5
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00403cd0
jmp 0x426bce
push 0
sub eax, ecx
call fcn.00406ea0
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.00403610
push eax
push esi
call ebp
test eax, eax
je 0x426bff
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 8]
jne 0x426bff
pop edi
mov al, 1
pop ebp
pop ecx
ret
pop edi
xor al, al
pop ebp
pop ecx
ret
Function at 0x426c10
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a118
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x473564]
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 0x426c4d
lea eax, [esp + 0x28]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x426cc8
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x426c6c
lea eax, [esp + 0x28]
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x426cc8
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.00403610
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426cc1
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 0x10]
jne 0x426cc1
mov eax, ebp
call fcn.00426b80
test al, al
je 0x426cc1
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], 0x10
jb 0x426cdc
mov eax, dword [esp + 0x28]
push eax
call fcn.0043870c
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 0x427b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x458949
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x473564]
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 0x427bd1
mov ecx, dword [edi]
jmp 0x427bd3
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x427c0d
cmp eax, 0x10
jb 0x427be4
mov ecx, dword [edi]
jmp 0x427be6
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x427c0d
cmp eax, 0x10
jb 0x427bfa
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00403810
jmp 0x427c50
cmp eax, 0x10
jae 0x427c1f
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00404300
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x427c2b
mov eax, dword [edi]
jmp 0x427c2d
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00438711
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x427c4d
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.00438866
add esp, 0x28
ret
Function at 0x427c70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x458949
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x473564]
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 0x427d21
mov ecx, dword [edi]
jmp 0x427d23
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x427d5d
cmp eax, 0x10
jb 0x427d34
mov ecx, dword [edi]
jmp 0x427d36
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x427d5d
cmp eax, 0x10
jb 0x427d4a
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00403810
jmp 0x427da0
cmp eax, 0x10
jae 0x427d6f
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00404300
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x427d7b
mov eax, dword [edi]
jmp 0x427d7d
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00438711
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x427d9d
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.00438866
add esp, 0x28
ret
Function at 0x4280b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4588ab
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.00428080
push 0x63
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0xa4], ebx
push eax
mov byte [esp + 0x38], bl
call fcn.0043e250
mov eax, dword [esp + 0x20]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x28], esi
jae 0x428126
lea eax, [esp + 0x14]
push eax
push 0x63
lea ecx, [esp + 0x34]
push ecx
push 0x45fd0b
push 0x45febc
push 0x45fec0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x2c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x428157
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.00403c00
cmp dword [esp + 0x28], esi
jb 0x428182
mov eax, dword [esp + 0x14]
push eax
call fcn.0043870c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00438866
add esp, 0x94
ret
Function at 0x42a940
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c426
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x1c], 0xfffffe00
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc0], 1
mov ecx, 0xf
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0xa0], ecx
mov byte [esp + 0xa4], bl
lea edx, [esp + 0x14]
push edx
push eax
lea edi, [esp + 0x34]
mov byte [esp + 0xc8], 2
call fcn.00414b20
test al, al
je 0x42ab0c
cmp byte [esp + 0x1c], 7
jne 0x42ab0c
push 0x45fdfc
push str.open
lea eax, [esp + 0x1c]
push eax
call fcn.0041db80
cmp byte [eax + 8], 5
jne 0x42ab0c
push 0x45fdfc
push str.open
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041db80
push eax
call fcn.0041d3d0
mov byte [esi + 0x74], al
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jb 0x42aaa9
mov edx, dword [esp + 0x88]
push edx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x6c], esi
mov edi, 0xf
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x42aad6
mov eax, dword [esp + 0x58]
push eax
call fcn.0043870c
add esp, 4
lea esi, [esp + 0x40]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.004070d0
lea esi, [esp + 0x2c]
call fcn.00435b70
lea ecx, [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call fcn.0041ca30
mov al, 1
jmp 0x42ab2b
lea edi, [esp + 0x2c]
call fcn.00406d20
lea ecx, [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call fcn.0041ca30
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00438866
mov esp, ebp
pop ebp
ret 4
Function at 0x42abe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45bdb0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
and dword [esp + 0x2c], 0xfffffe00
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x90], 1
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov edi, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
test edi, edi
mov ebp, dword [ebx + 4]
je 0x42ac62
cmp edi, ebx
je 0x42ac67
call fcn.0043899f
cmp esi, ebp
je 0x42acfa
test edi, edi
jne 0x42ac78
call fcn.0043899f
cmp esi, dword [edi + 4]
jne 0x42ac82
call fcn.0043899f
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041c860
mov byte [esp + 0x90], 2
cmp esi, dword [edi + 4]
jne 0x42aca1
call fcn.0043899f
mov edx, dword [esi + 0x28]
cmp edx, 0x10
lea eax, [esi + 0x14]
jb 0x42acb0
mov ecx, dword [eax]
jmp 0x42acb2
mov ecx, eax
cmp edx, 0x10
mov esi, dword [esi + 0x24]
jb 0x42acbc
mov eax, dword [eax]
add ecx, esi
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0041db80
mov ecx, eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x90], 1
call fcn.0041cb30
mov ecx, eax
call fcn.0041ca30
lea esi, [esp + 0x18]
call fcn.004048b0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x42ac57
mov ebx, vtable.Json::FastWriter.0
mov esi, 0xf
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
mov byte [esp + 0x80], 0
mov byte [esp + 0x81], 0
mov byte [esp + 0x82], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x98], 3
call fcn.004202b0
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
xor ebp, ebp
push ebp
push eax
mov byte [esp + 0x9c], 4
call fcn.00403810
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x42ad7b
mov edx, dword [esp + 0x40]
push edx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
mov dword [esp + 0x60], ebx
jb 0x42ad9f
mov eax, dword [esp + 0x68]
push eax
call fcn.0043870c
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
mov dword [esp + 0x60], vtable.Json::Writer.0
mov dword [esp + 0x90], 0xffffffff
call fcn.0041ca30
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00438866
add esp, 0x80
ret 8
Function at 0x42ba10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45b862
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebp
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
mov edi, ecx
mov ecx, ebp
mov eax, edi
call fcn.0042c310
test edi, edi
mov esi, eax
jne 0x42ba53
call fcn.0043899f
cmp esi, dword [edi + 4]
je 0x42ba66
lea eax, [esi + 0x10]
mov edx, ebp
call fcn.00416e00
test eax, eax
jge 0x42badf
and dword [esp + 0x24], 0xfffffe00
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x1c]
push eax
push ebp
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x88], 1
call fcn.0042bf30
push esi
push edi
push eax
lea edx, [esp + 0x20]
push edx
push edi
mov byte [esp + 0x90], 2
call fcn.0042bc60
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x80], 1
call fcn.00404da0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0041ca30
test edi, edi
jne 0x42bae8
call fcn.0043899f
cmp esi, dword [edi + 4]
jne 0x42baf2
call fcn.0043899f
lea eax, [esi + 0x30]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 4
Function at 0x42e5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45abc8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x13]
push ecx
push 0x4763d8
push str.InsertLineBreaks
mov ecx, esi
call edx
test al, al
mov bl, byte [esp + 0x13]
jne 0x42e623
mov bl, 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x4763e4
push str.MaxLineLength
mov ecx, esi
call edx
test al, al
mov eax, dword [esp + 0x14]
jne 0x42e648
mov eax, 0x48
test bl, bl
mov esi, 0x4637e4
jne 0x42e656
mov esi, 0x45fd0b
neg bl
mov dword [esp + 0x20], 6
mov dword [esp + 0x14], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sbb ebx, ebx
and ebx, eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 0x44]
push eax
call fcn.0042ccc0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x7c], 0
call fcn.0042ccc0
mov esi, eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, str.EncodingLookupArray
mov byte [esp + 0x80], 1
call fcn.0042e7f0
add esp, 8
mov byte [esp + 0x78], 2
movzx ecx, byte [eax + 8]
push ecx
push str.PaddingByte
mov edi, eax
call fcn.0042e940
movzx edx, byte [eax + 8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push str.GroupSize
mov edi, eax
call fcn.00412c00
movzx edx, byte [eax + 8]
push edx
push esi
push str.Separator
mov edi, eax
call fcn.00412b40
movzx ecx, byte [eax + 8]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.Terminator
mov edi, eax
call fcn.00412b40
push 1
lea ecx, [esp + 0x24]
push ecx
push str.Log2Base
mov edi, eax
call fcn.00412c00
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x42e753
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043916a
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043916a
add esp, 8
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a801
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x473564]
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.0042e890
push eax
push esi
call fcn.00431ef0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x42e871
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 0x42f380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45a688
mov eax, dword fs:[0]
push eax
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
or edx, 0xffffffff
mov dword [eax], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [eax + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x24], cl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x430700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a801
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x473564]
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.004307a0
push eax
push esi
call fcn.00431ef0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x430781
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 0x431ff0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
xor eax, eax
shr edx, 2
je 0x432034
mov edi, ebx
sub esi, ecx
mov eax, ecx
sub edi, ecx
mov dword [esp + 0xc], edx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
sub edx, 1
mov dword [edi + eax - 4], ebp
jne 0x432016
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x432061
add ebx, eax
add esi, eax
add ecx, eax
test edi, edi
jbe 0x432061
mov edx, esi
mov esi, ebx
sub edx, ecx
mov eax, ecx
sub esi, ecx
mov cl, byte [eax + edx]
xor cl, byte [eax]
add eax, 1
sub edi, 1
mov byte [eax + esi - 1], cl
jne 0x432050
pop edi
pop esi
pop ebx
pop ecx
ret