joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10001d43
mov ecx, dword [ebp + 0xc]
test ecx, ecx
js 0x10001d43
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10001d2a
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
test ecx, ecx
jle 0x10001d26
push edi
cmp ebx, 3
jl 0x10001cb3
mov dl, byte [esi + 1]
mov cl, byte [esi]
mov bl, byte [esi + 2]
add esi, 3
mov edi, dword [section..data]
mov dword [ebp + 8], esi
movzx esi, cl
mov ecx, esi
shl esi, 4
shr ecx, 2
movzx ecx, byte [ecx + edi]
mov byte [eax], cl
movzx edi, dl
mov edx, dword [section..data]
mov ecx, edi
shr ecx, 4
or ecx, esi
movzx esi, bl
mov ebx, dword [ebp - 4]
and ecx, 0x3f
movzx ecx, byte [ecx + edx]
mov edx, esi
mov byte [eax + 1], cl
lea ecx, [edi*4]
shr edx, 6
or edx, ecx
mov ecx, dword [section..data]
and edx, 0x3f
and esi, 0x3f
movzx ecx, byte [edx + ecx]
mov edx, dword [section..data]
mov byte [eax + 2], cl
lea ecx, [eax + 3]
mov al, byte [esi + edx]
mov esi, dword [ebp + 8]
mov byte [ecx], al
jmp 0x10001d11
mov dl, byte [esi]
inc esi
cmp ebx, 2
jne 0x10001cc3
mov cl, byte [esi]
inc esi
mov byte [ebp + 0xb], cl
jmp 0x10001cc7
mov byte [ebp + 0xb], 0
mov edi, dword [section..data]
movzx edx, dl
mov ecx, edx
shl edx, 4
shr ecx, 2
movzx ecx, byte [ecx + edi]
movzx edi, byte [ebp + 0xb]
mov byte [eax], cl
mov ecx, edi
shr ecx, 4
or ecx, edx
mov edx, dword [section..data]
and ecx, 0x3f
movzx ecx, byte [ecx + edx]
mov byte [eax + 1], cl
cmp ebx, 1
jne 0x10001d02
mov cl, 0x3d
jmp 0x10001d08
and edi, 0xf
mov cl, byte [edx + edi*4]
mov byte [eax + 2], cl
lea ecx, [eax + 3]
mov byte [ecx], 0x3d
sub ebx, 3
lea eax, [ecx + 1]
mov dword [ebp - 4], ebx
test ebx, ebx
jg 0x10001c35
mov ecx, dword [ebp + 0xc]
pop edi
mov byte [eax], 0
pop ebx
add ecx, 2
mov eax, 0x55555556
imul ecx
pop esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c616
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x420]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.100643b0
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x10005754
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x10005754
call fcn.10004080
mov esi, eax
jmp 0x10005841
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10005777
call fcn.10004080
jmp 0x10005834
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x10005795
call fcn.10004080
jmp 0x10005834
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100057b6
mov esi, 0x8007000e
jmp 0x10005836
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.10003b60
jmp 0x100057e0
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x100057f7
mov esi, 0x8007000e
jmp 0x10005836
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10005817
call fcn.10004080
jmp 0x10005834
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.10005530
mov esi, eax
test edi, edi
je 0x10005841
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x10005860
lea ecx, [ebp - 0x420]
call fcn.10004d80
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004eb8b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100060f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x10006109
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006115
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10006110
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10006150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x10006165
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006170
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10009e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
je 0x10009f2e
push ebx
push edi
mov edi, dword [ebp + 0x10]
add esi, 0x48
lea ecx, [edi + 4]
lea ebx, [edi + 0x1c]
nop
mov eax, dword [edi]
mov dword [esi - 0x48], eax
lea eax, [esi - 0x44]
cmp eax, ecx
je 0x10009eb9
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi - 0x44]
call fcn.10002270
lea eax, [esi - 0x2c]
cmp eax, ebx
je 0x10009ecd
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esi - 0x2c]
call fcn.10002270
mov eax, dword [edi + 0x38]
lea ecx, [esi + 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [esi - 0xc], eax
mov eax, dword [edi + 0x40]
mov dword [esi - 8], eax
mov eax, dword [edi + 0x44]
mov dword [esi - 4], eax
mov al, byte [edi + 0x48]
mov byte [esi], al
mov eax, dword [edi + 0x4c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x58]
push eax
call fcn.100218e0
mov eax, dword [edi + 0x68]
lea ecx, [edi + 4]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x28], eax
add esi, 0x78
lea eax, [esi - 0x48]
cmp eax, dword [ebp + 0xc]
jne 0x10009ea0
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x10009f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
je 0x10009ff0
push ebx
push edi
mov edi, dword [ebp + 0x10]
add esi, 0x48
lea ecx, [edi + 4]
lea ebx, [edi + 0x1c]
nop
mov eax, dword [edi]
mov dword [esi - 0x48], eax
lea eax, [esi - 0x44]
cmp eax, ecx
je 0x10009f79
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi - 0x44]
call fcn.10021620
lea eax, [esi - 0x2c]
cmp eax, ebx
je 0x10009f8d
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esi - 0x2c]
call fcn.10021620
mov eax, dword [edi + 0x38]
lea ecx, [esi + 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [esi - 0xc], eax
mov eax, dword [edi + 0x40]
mov dword [esi - 8], eax
mov eax, dword [edi + 0x44]
mov dword [esi - 4], eax
mov ax, word [edi + 0x48]
mov word [esi], ax
mov eax, dword [edi + 0x4c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x58]
push eax
call fcn.100218e0
mov eax, dword [edi + 0x68]
lea ecx, [edi + 4]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x28], eax
add esi, 0x78
lea eax, [esi - 0x48]
cmp eax, dword [ebp + 0xc]
jne 0x10009f60
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x1000a9d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cb16
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100bb0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x1000ab82
mov ebx, dword [ebp + 0x10]
add esi, 0x18
lea edi, [ebx + 0x5c]
test ebx, ebx
je 0x1000ab5a
mov eax, dword [esi - 0x18]
lea ecx, [edi - 0x58]
mov dword [ebx], eax
mov dword [edi - 0x44], 0xf
mov dword [edi - 0x48], 0
mov byte [ecx], 0
cmp dword [esi], 0x10
jae 0x1000aa51
mov eax, dword [esi - 4]
add eax, 1
je 0x1000aa5d
push eax
lea eax, [esi - 0x14]
push eax
push ecx
call fcn.10065250
add esp, 0xc
jmp 0x1000aa5d
mov eax, dword [esi - 0x14]
mov dword [ecx], eax
mov dword [esi - 0x14], 0
mov eax, dword [esi - 4]
mov dword [edi - 0x48], eax
mov eax, dword [esi]
mov dword [edi - 0x44], eax
mov dword [esi], 0xf
cmp dword [esi], 0x10
mov dword [esi - 4], 0
jb 0x1000aa7f
mov eax, dword [esi - 0x14]
jmp 0x1000aa82
lea eax, [esi - 0x14]
mov byte [eax], 0
lea ecx, [edi - 0x40]
mov dword [edi - 0x2c], 0xf
mov dword [edi - 0x30], 0
mov byte [ecx], 0
cmp dword [esi + 0x18], 0x10
jae 0x1000aab7
mov eax, dword [esi + 0x14]
add eax, 1
je 0x1000aac3
push eax
lea eax, [esi + 4]
push eax
push ecx
call fcn.10065250
add esp, 0xc
jmp 0x1000aac3
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 0x14]
mov dword [edi - 0x30], eax
mov eax, dword [esi + 0x18]
mov dword [edi - 0x2c], eax
mov dword [esi + 0x18], 0xf
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0
jb 0x1000aae8
mov eax, dword [esi + 4]
jmp 0x1000aaeb
lea eax, [esi + 4]
mov byte [eax], 0
mov eax, dword [esi + 0x20]
mov dword [edi - 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [edi - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [edi - 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [edi - 0x18], eax
movzx eax, byte [esi + 0x30]
mov byte [edi - 0x14], al
mov eax, dword [esi + 0x34]
mov dword [edi - 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [edi - 8], eax
mov byte [edi - 4], 0
mov al, byte [esi + 0x40]
test al, al
je 0x1000ab45
test edi, edi
je 0x1000ab41
mov ecx, dword [esi + 0x48]
mov dword [edi + 4], ecx
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov byte [edi - 4], 1
mov eax, dword [esi + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
add esi, 0x78
add ebx, 0x78
add edi, 0x78
lea ecx, [esi - 0x18]
cmp ecx, eax
jne 0x1000aa13
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
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 0x1000aba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cb16
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100bb0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x1000ad5a
mov ebx, dword [ebp + 0x10]
add esi, 0x18
lea edi, [ebx + 0x5c]
test ebx, ebx
je 0x1000ad32
mov eax, dword [esi - 0x18]
lea ecx, [edi - 0x58]
mov dword [ebx], eax
xor eax, eax
mov dword [edi - 0x44], 7
mov dword [edi - 0x48], 0
mov word [ecx], ax
cmp dword [esi], 8
jae 0x1000ac25
mov eax, dword [esi - 4]
add eax, 1
je 0x1000ac31
add eax, eax
push eax
lea eax, [esi - 0x14]
push eax
push ecx
call fcn.10065250
add esp, 0xc
jmp 0x1000ac31
mov eax, dword [esi - 0x14]
mov dword [ecx], eax
mov dword [esi - 0x14], 0
mov eax, dword [esi - 4]
mov dword [edi - 0x48], eax
mov eax, dword [esi]
mov dword [edi - 0x44], eax
mov dword [esi], 7
cmp dword [esi], 8
mov dword [esi - 4], 0
jb 0x1000ac53
mov eax, dword [esi - 0x14]
jmp 0x1000ac56
lea eax, [esi - 0x14]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [edi - 0x30], ecx
lea ecx, [edi - 0x40]
mov dword [edi - 0x2c], 7
mov word [ecx], ax
cmp dword [esi + 0x18], 8
jae 0x1000ac8d
mov eax, dword [esi + 0x14]
add eax, 1
je 0x1000ac99
add eax, eax
push eax
lea eax, [esi + 4]
push eax
push ecx
call fcn.10065250
add esp, 0xc
jmp 0x1000ac99
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 0x14]
mov dword [edi - 0x30], eax
mov eax, dword [esi + 0x18]
mov dword [edi - 0x2c], eax
mov dword [esi + 0x18], 7
cmp dword [esi + 0x18], 8
mov dword [esi + 0x14], 0
jb 0x1000acbe
mov eax, dword [esi + 4]
jmp 0x1000acc1
lea eax, [esi + 4]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x20]
mov dword [edi - 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [edi - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [edi - 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [edi - 0x18], eax
mov ax, word [esi + 0x30]
mov word [edi - 0x14], ax
mov eax, dword [esi + 0x34]
mov dword [edi - 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [edi - 8], eax
mov byte [edi - 4], cl
mov al, byte [esi + 0x40]
test al, al
je 0x1000ad1d
test edi, edi
je 0x1000ad19
mov ecx, dword [esi + 0x48]
mov dword [edi + 4], ecx
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov byte [edi - 4], 1
mov eax, dword [esi + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
add esi, 0x78
add ebx, 0x78
add edi, 0x78
lea ecx, [esi - 0x18]
cmp ecx, eax
jne 0x1000abe3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
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 0x1000af20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
mov dl, byte [eax]
inc eax
test dl, dl
je 0x1000b023
push ebx
push esi
push edi
mov cl, byte [eax]
inc eax
mov byte [ebp - 1], cl
cmp cl, 0x2d
jne 0x1000afa5
mov cl, byte [eax]
inc eax
mov byte [ebp - 1], cl
mov dword [ebp + 0xc], eax
test cl, cl
je 0x1000afe6
movsx ebx, dl
movsx edx, cl
mov dword [ebp - 8], edx
cmp ebx, edx
jg 0x1000afd5
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edx
nop dword [eax + eax]
movzx edi, bl
mov ecx, edi
and edi, 0x3f
shr ecx, 6
lea esi, [edx + ecx*8]
xor ecx, ecx
xor edx, edx
bts ecx, edi
cmp edi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp edi, 0x40
cmovae edx, ecx
or dword [esi], ecx
or dword [esi + 4], edx
inc ebx
mov edx, dword [ebp - 0xc]
cmp ebx, eax
jle 0x1000af70
mov eax, dword [ebp + 0xc]
jmp 0x1000afd2
mov ecx, dword [ebp + 8]
movzx edi, dl
mov edx, dword [ecx]
mov ecx, edi
shr ecx, 6
and edi, 0x3f
lea esi, [edx + ecx*8]
xor ecx, ecx
xor edx, edx
bts ecx, edi
cmp edi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp edi, 0x40
cmovae edx, ecx
or dword [esi], ecx
or dword [esi + 4], edx
mov cl, byte [ebp - 1]
mov dl, cl
test cl, cl
jne 0x1000af37
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
movzx esi, dl
mov eax, esi
and esi, 0x3f
shr eax, 6
mov ecx, dword [ebx]
pop edi
lea edx, [ecx + eax*8]
xor eax, eax
bts eax, esi
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
pop esi
cmovae ecx, eax
or dword [edx], eax
or dword [edx + 4], ecx
mov ecx, dword [ebx]
pop ebx
mov eax, dword [ecx]
or dword [ecx + 4], 0x2000
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x10014220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008de20
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100bb0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.100664fd
add esp, 8
mov dword [edi], vtable.boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_class_std::_Vector_val_struct_std::_Simple_types_char____.0
lea ecx, [edi + 0x10]
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x10]
mov dword [edi + 0xc], eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x1001429c
mov eax, dword [ecx]
jmp 0x1001429e
mov eax, ecx
push 0xffffffffffffffff
push 0
push edx
mov byte [eax], 0
call fcn.10002270
lea esi, [edi + 0x28]
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x2c]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x100142cd
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x30]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x10], eax
mov eax, edi
mov dword [edi], 0x100990f4
mov dword [esi], 0x10099100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10014310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dff8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100bb0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.100664fd
add esp, 8
mov dword [edi], vtable.boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_class_std::_Vector_val_struct_std::_Simple_types_char____.0
lea ecx, [edi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esi + 0x10]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.10002270
mov dword [edi + 0x28], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi], 0x100990f4
mov dword [edi + 0x28], 0x10099100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10015630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e0ca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.1004fe03
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100156f0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.100664fd
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100b3a00
push eax
call fcn.100657c4
push edi
push esi
call fcn.10050742
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004eb8b
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b270
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e600
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0x1009e674
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x1001b2ec
push 0x10098070
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1001b3b6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1001b3b6
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 2
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov esi, eax
test esi, esi
jns 0x1001b317
push str.GetHtmlContent:_lpDoc3__get_documentElement_lpElem__failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1001b394
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 3
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov esi, eax
test esi, esi
jns 0x1001b33f
push str.GetHtmlContent:_lpElem__get_outerHTML_strHtml__failed_n
jmp 0x1001b385
push dword [ebp - 0x1c]
call fcn.1004e820
mov edi, eax
test edi, edi
je 0x1001b37d
cmp byte [edi], 0
jne 0x1001b356
xor ecx, ecx
jmp 0x1001b369
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b360
sub ecx, edx
push ecx
push edi
mov ecx, ebx
call fcn.100023a0
push edi
call fcn.1004f017
add esp, 4
jmp 0x1001b38b
or esi, 0xffffffff
push str.GetHtmlContent:__com_util::ConvertBSTRToString_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x1001b3a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x1001b3b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1001b3ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004eb8b
mov esp, ebp
pop ebp
ret 8