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

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x47df47
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x47de5a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x47de30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
add edi, eax
mov dword [ecx + edx*4], edi
add edx, 1
cmp edx, 8
jb 0x47de14
cmp edx, 0x10
jae 0x47dee1
lea eax, [edx - 8]
mov dword [esp + 8], eax
jmp 0x47de80
cmp edx, dword [esp + 0x1c]
jae 0x47df47
or eax, 8
xor edi, edi
cmp eax, 1
je 0x47dec1
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x47de94
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
add edx, 1
add eax, 1
cmp edx, 0x10
mov dword [esp + 8], eax
jb 0x47de80
cmp edx, dword [esp + 0x1c]
jae 0x47df47
lea eax, [edx - 0x10]
mov dword [esp + 8], eax
mov edi, edi
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x47df26
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x47df00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
add edx, 1
add eax, 1
cmp edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
jb 0x47def0
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x47fab0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x47fad0
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x47fae0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add esi, 1
mov dword [eax], edx
add eax, 4
cmp esi, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jb 0x47fad0
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret

Function at 0x47fb40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30ea0]
movzx ebx, byte [esi + edi + 0x306a0]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
sub ecx, 1
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0e]
push edx
call fcn.0047dc40
mov dword [esp + edi*4 + 0x24], eax
add edi, 1
add esp, 8
cmp edi, 0x80
jb 0x47fb54
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x32910]
lea ecx, [esi + 0x31d58]
sub ebp, 0x31d50
lea edi, [esi + 0x31950]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x47fbd4
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32594], ebx
jbe 0x47fc31
mov edi, edi
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x47fc23
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x47fbf0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
add ebx, 1
cmp ebx, dword [esi + 0x32594]
jb 0x47fbe0
mov eax, 0xe
cmp dword [esi + 0x32594], eax
jbe 0x47fc58
mov edi, edi
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
add eax, 1
cmp eax, dword [esi + 0x32594]
jb 0x47fc40
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x47fc80
movzx edx, byte [esi + eax + 0x306a0]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
add eax, 1
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x47fc80
add dword [esp + 0x10], 0x80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x47fbd0
pop edi
pop ebp
mov dword [esi + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret
Function at 0x483e90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x483eb7
pop esi
ret
Function at 0x4872a0
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4872a7
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.004872b0
Function at 0x4872b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x4872e2
lea esp, [esp]
test cl, 3
je 0x4872e2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x606d00]
add ecx, 1
sub esi, 1
jne 0x4872c0
cmp esi, 0x20
push ebx
push edi
jb 0x4874cc
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x607100]
xor edx, dword [ebx*4 + 0x607500]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x606d00]
add ecx, 4
xor edx, dword [eax*4 + 0x607900]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x607100]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x607500]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x606d00]
add ecx, 4
xor eax, dword [edx*4 + 0x607900]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x607100]
xor edx, dword [ebx*4 + 0x607500]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x606d00]
xor edx, dword [eax*4 + 0x607900]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x607100]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x607500]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x606d00]
xor eax, dword [edx*4 + 0x607900]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x607100]
xor edx, dword [ebx*4 + 0x607500]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x606d00]
xor edx, dword [eax*4 + 0x607900]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x607100]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x607500]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x606d00]
and edx, 0xff
xor eax, dword [edx*4 + 0x607900]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x607100]
xor edx, dword [ebx*4 + 0x607500]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x606d00]
add ecx, 4
xor edx, dword [eax*4 + 0x607900]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x607100]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x607500]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x606d00]
and edx, 0xff
xor eax, dword [edx*4 + 0x607900]
sub edi, 1
jne 0x4872f2
cmp esi, 4
jb 0x487519
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x607100]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x607500]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x606d00]
and eax, 0xff
xor edi, dword [eax*4 + 0x607900]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x4874d6
test esi, esi
pop edi
pop ebx
je 0x48753d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x606d00]
add ecx, 1
sub esi, 1
jne 0x487520
not eax
pop esi
ret
Function at 0x488d40
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.005bacd5
mov ecx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x488d63
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x488d72
mov eax, 1
pop ecx
ret
Function at 0x491330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e0338
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00492100
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x70], 0
call fcn.00492160
add esp, 0x10
push 0x62a848
lea eax, [esp + 0x30]
push eax
call fcn.005bed88
int3
Function at 0x497ad0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5dfdd9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.004c0480
mov byte [esp + 0x54], 2
mov dword [edi], 0x497a00
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.00559c90
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x497bd6
test al, 1
jne 0x497bce
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x497bce
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x497bff
test al, 1
jne 0x497bff
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x497bff
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x497f50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5dfdd9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.004c0480
mov byte [esp + 0x54], 2
mov dword [edi], 0x497ea0
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.00559c90
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x498056
test al, 1
jne 0x49804e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x49804e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x49807f
test al, 1
jne 0x49807f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x49807f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x498420
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5e0259
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, dword [esp + 0x58]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x88]
mov dword [esp + 0x70], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov edx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x88]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x8c], esp
push ecx
mov ecx, dword [esp + 0x88]
mov dword [eax], edx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x90], esp
call fcn.004996c0
mov byte [esp + 0x50], 2
mov dword [edi], 0x4bc2a0
mov edx, dword [eax]
mov dword [edi + 8], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov edx, dword [eax + 8]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x10], edx
call fcn.00559c90
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x49850d
test al, 1
jne 0x498505
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498505
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x498536
test al, 1
jne 0x498536
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498536
lea ecx, [esp + 0x70]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
Function at 0x498920
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5dfdd9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.004c0480
mov byte [esp + 0x54], 2
mov dword [edi], 0x498840
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.00559c90
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x498a26
test al, 1
jne 0x498a1e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498a1e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x498a4f
test al, 1
jne 0x498a4f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498a4f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x498d40
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5dfdd9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.004c0480
mov byte [esp + 0x54], 2
mov dword [edi], 0x498c80
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.00559c90
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x498e46
test al, 1
jne 0x498e3e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498e3e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x498e6f
test al, 1
jne 0x498e6f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498e6f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret

Function at 0x49ad00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e01c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004154d0
mov dword [esi], vtable.boost::bad_function_call.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x49ad4a
add edi, 0x28
jmp 0x49ad4c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x49ad64
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x49b700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ea1f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x49b761
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.004fecb0
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x615718
test esi, esi
mov dword [edi], eax
je 0x49b7a7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x49b7a7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x49b7a7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x5ea1f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x49b821
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.004fecb0
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x615720
test esi, esi
mov dword [edi], eax
je 0x49b867
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x49b867
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x49b867
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10