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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40938f
pop dword [ebp - 0x3c]
mov eax, 0x40938f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xd8a4862f
sub dword [ebp - 0x4c], 0x8a5240e4
mov dword [ebp - 0x48], 0x7ef160cf
sub dword [ebp - 0x48], 0x4cbe148a
mov dword [ebp - 0x44], 0x67648b8b
add dword [ebp - 0x44], 0xe4e7b8a3
mov dword [ebp - 0x40], 0xb46754ab
sub dword [ebp - 0x40], 0xb46754ab
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe983d1ae
sub dword [ebp - 0x4c], 0x75116858
mov dword [ebp - 0x48], 0x118b949e
add dword [ebp - 0x48], 0x2fe0ccd7
mov dword [ebp - 0x44], 0x5320f0b4
sub dword [ebp - 0x44], 0xefb18448
mov dword [ebp - 0x40], 0x6b369a
sub dword [ebp - 0x40], 0x6b369a
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x75c779ec
add eax, 0x8a7a4660
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c4be
push 0
call eax
mov ecx, 0x4b06
mov edx, eax
mov ebx, 0xf7da96fd
add ebx, 0x8689303
add ebx, dword [ebp - 0x3c]
mov esi, 0xbe22ea67
sub dword [ebp - 0x28], edi
mov edi, dword [ebx]
add dword [ebp - 0x1c], ebx
sub edi, esi
mov dword [ebp - 4], 0x21080f4e
mov dword [edx], edi
xor dword [ebp - 0x2c], 0xc43d2447
add edx, 0x955589af
sub edx, 0x955589ab
add ebx, 0x4f015b0b
sub ebx, 0x4f015b07
loop 0x40949b
add eax, 0x8daebed5
sub eax, 0x8dad9fea
mov ebx, eax
add eax, 5
mov ecx, 0xf890f6c5
sub ecx, 0xf850f6c5
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401c66
pop dword [ebp - 0xc]
mov eax, 0x3af9a6de
sub eax, 0x3ab98a78
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x93941c8a
add dword [ebp - 0x1c], 0xbabe28c1
mov dword [ebp - 0x18], 0xac335218
sub dword [ebp - 0x18], 0x7a0005d3
mov dword [ebp - 0x14], 0x2f98df51
sub dword [ebp - 0x14], 0xe34c9b23
mov dword [ebp - 0x10], 0x2b140df3
sub dword [ebp - 0x10], 0x2b140df3
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xc26ace7b
add eax, 0x3dd561d9
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x9e83f4c5
add dword [ebp - 0x1c], 0xd5ee7491
mov dword [ebp - 0x18], 0xc767a4d5
add dword [ebp - 0x18], 0x7a04bca0
mov dword [ebp - 0x14], 0x502afccf
sub dword [ebp - 0x14], 0xecbb9063
mov dword [ebp - 0x10], 0xb30f22f3
add dword [ebp - 0x10], 0x4cf0dd0d
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36572
push 0
call eax
mov ecx, 0xa4d29d2a
add ecx, 0x5b2daa46
xor esi, esi
add esi, eax
mov edx, 0x407000
add edx, dword [ebp - 0xc]
mov edi, 0x3d530d36
xor dword [ebp - 4], 0x7a104b0c
mov ebx, dword [edx]
xor dword [ebp - 4], ecx
add ebx, edi
add dword [ebp - 8], 0xa2a0f363
mov dword [esi], ebx
add dword [ebp - 8], 0x439f67db
add esi, 0xf9736420
sub esi, 0xf973641c
add edx, 0x9777d5aa
sub edx, 0x9777d5a6
loop 0x401d79
add eax, 0xeade5f49
sub eax, 0xeadd4eb6
mov ebx, eax
add eax, 5
mov ecx, 0x675c02af
add ecx, 0x98e3fd51
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000ce3e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10033f20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.1000db51
mov ebx, eax
cmp ebx, esi
je 0x1000ceaf
lea ecx, [ebp - 0x114]
call fcn.100096eb
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002140c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000cecd
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x114]
call fcn.1000db51
cmp eax, esi
jne 0x1000cf14
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x114]
mov dword [ebp - 0x108], 0x100
call ebx
test eax, eax
je 0x1000ceb7
lea ecx, [ebp - 0x114]
call fcn.100096eb
push dword [ebp - 0x118]
mov ecx, edi
call fcn.1000db51
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.100096eb
mov eax, esi
jmp 0x1000ce9e
Function at 0x1000db51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1000db60
pop dword [ebp - 0x30]
mov eax, 0x83c60500
add eax, 0x8c3ad660
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3d82a
push 0
mov eax, 0xb30cd312
add eax, 0x5cf56e5a
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x254b87c3
sub ecx, 0x254b326f
mov esi, eax
mov edx, 0x2500602c
sub edx, 0x14fcd42c
add edx, dword [ebp - 0x30]
mov edi, 0xea179d8f
mov dword [ebp - 4], 0x3404359a
mov ebx, dword [edx]
xor dword [ebp - 0x20], ecx
add ebx, edi
xor dword [ebp - 0x10], 0x232844c
mov dword [esi], ebx
add dword [ebp - 0x18], 0xa199b7ed
add esi, 4
add edx, 0x2c17e81a
sub edx, 0x2c17e816
loop 0x1000dbb9
add eax, 0x61e1be79
add eax, 0x9e1f89aa
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x1000e2ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10022f17
call fcn.100214ba
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x1000e39c
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.1000db51
add esp, 0xc
test eax, eax
js 0x1000e39c
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x1000e382
push edi
call fcn.100033e4
pop ecx
test al, al
je 0x1000e382
mov eax, edi
call fcn.100216b0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000e38e
push edi
lea ecx, [ebp - 0x428]
call fcn.1000db51
push 3
push edi
push esi
push eax
call fcn.1000db51
cmp eax, ebx
jne 0x1000e3d9
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000e3b5
lea ecx, [ebp - 0x418]
call fcn.1000cdea
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10002dcb
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.10021516
ret 0x10
push 2
push ebx
push eax
call fcn.1000cff7
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x1000e3fa
call fcn.10003ef0
mov esi, eax
jmp 0x1000e4c4
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1000e41d
call fcn.10003ef0
jmp 0x1000e4b6
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1000e413
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x1000e44d
mov esi, 0x8007000e
jmp 0x1000e4b8
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000db51
mov dword [ebp - 4], 1
jmp 0x1000e47b
cmp dword [ebp - 0x418], ebx
je 0x1000e446
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.1000db51
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1000db51
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000e3ba
lea ecx, [ebp - 0x418]
call fcn.1000cdea
jmp 0x1000e3ba
Function at 0x10014920
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x1001496f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x10014944
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x10014981
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x10014995
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x100149db
xor ecx, ecx
cmp edi, 0x100
jb 0x100149b8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x10015290
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x100152dc
jle 0x100152d7
cmp eax, 3
jg 0x100152d7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x100152ce
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x100152bc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.1000db51
mov eax, 1
ret 0x10

Function at 0x10015850
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x1001589c
jle 0x10015897
cmp eax, 3
jg 0x10015897
push esi
mov esi, dword [ecx]
test esi, esi
je 0x1001588e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x1001587c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.10016740
mov eax, 1
ret 0x10
Function at 0x10015d70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x10015eb2
dec eax
je 0x10015db6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.10015300
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x10015df4
push esi
push 1
push ebp
call fcn.10015300
test eax, eax
je 0x10015df4
mov eax, 1
jmp 0x10015df6
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x10015e67
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x10015e54
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.10015680
test eax, eax
je 0x10015e54
push esi
push ebp
push ebp
push ebp
call fcn.10015680
test eax, eax
je 0x10015e54
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.100156f0
test eax, eax
je 0x10015e54
mov eax, 1
jmp 0x10015e56
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x10015e0a
test eax, eax
je 0x10015da7
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.100156f0
test eax, eax
je 0x10015da7
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.1000db51
test eax, eax
je 0x10015da7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x10015f09
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x10015ec1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x10017130
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x10017164
sub eax, 0x64
je 0x10017164
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x10017164
push 0xc
call fcn.1001cf10
add esp, 0x24
ret
push 4
call fcn.1001cf10
add esp, 0x24
ret
Function at 0x1001c460
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x1001c485
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x1001c68c
cmp ebx, 0x40
ja 0x1001c68c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x1001c4b3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.1000db51
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.1000db51
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x1001c62e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x1001c620
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.1001ad20
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x1001c5b2
push ebx
push edx
call fcn.1000db51
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001c604
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.1001ad20
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x1001c5f7
jmp 0x1001c608
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x1001c58b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x1001c544
mov edi, dword [esp + 0x544]
test edi, edi
je 0x1001c64b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001c67a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x10004bd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a600
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1003a340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100261cd
mov edi, eax
add esp, 4
test edi, edi
je 0x10004c7d
push 1
mov dword [ebp - 4], 0
call fcn.1000fb81
add esp, 4
mov dword [edi + 4], eax
jmp 0x10004c7f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.1000b170
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x1003baf4]
mov ecx, dword [0x1003baf8]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ce70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x1000cea1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000ce90
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x1000d660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ad7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1003a340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100261cd
mov edi, eax
add esp, 4
test edi, edi
je 0x1000d6fd
push 1
mov dword [ebp - 4], 0
call fcn.1000fb81
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000d6ff
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.10004750
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x1000d75a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1000d75a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x1000d776
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1000d799
cmp byte [ebp + 0xc], 0
je 0x1000d785
push esi
call fcn.10010522
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1000d7a5
mov esi, str.ios_base::badbit_set
jmp 0x1000d7b5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1000d850
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.100057a0
push 0x10037270
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3