joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455e8c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x83ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xe0
call fcn.00447175
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x42a3c1
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x42a28a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 1
mov dword [esi + 4], ecx
test ecx, ecx
je 0x42a29e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 2
mov dword [esi + 8], ecx
test ecx, ecx
je 0x42a2b2
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 3
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x42a2c6
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.0040ae50
lea eax, [edi + 0x24]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x24]
call fcn.0040ae50
lea eax, [edi + 0x30]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x30]
call fcn.0040ae50
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [edi + 0x78]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x78]
push eax
mov byte [ebp - 4], 7
call fcn.00429f30
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0xa8]
call fcn.00429f30
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], ecx
jmp 0x42a3c3
xor esi, esi
mov eax, dword [ebx + 4]
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov ecx, dword [ebx]
mov dword [ecx + eax*4], esi
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 0x42c930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45623f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x83ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 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
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0040b030
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040b030
mov word [esi + 0x60], 0
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.0040b030
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.0040b030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4304c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456802
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x83ce74]
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, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
call fcn.0040b030
cmp byte [edi], 0
mov dword [ebp - 4], 0
je 0x430568
push dword [edi + 0xc]
lea eax, [ebp - 0x1e0]
push dword [edi + 8]
push eax
call fcn.004302f0
push eax
push 0xdb0
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 1
push eax
call fcn.00430240
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040b130
push dword [ebp - 0x1b0]
call fcn.004471bc
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 0
call fcn.004471bc
add esp, 8
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call fcn.0040c1c0
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0040adf0
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1bc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.0040afd0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00430430
lea eax, [ebp - 0x1bc]
mov ecx, ebx
push eax
call fcn.00430430
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ae50
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.0040b5a0
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
cmp byte [edi + 1], 0
je 0x430688
push 0x3f4
lea eax, [ebp - 0x1e0]
push eax
call fcn.00411a10
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.0040b400
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 5
call fcn.004471bc
add esp, 4
lea ecx, [ebp - 0x19c]
push 0x4597ac
call fcn.0040b440
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00411920
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b440
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x19c]
push eax
call fcn.00412460
push 0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040cb80
push 0x110
push 0x160
lea eax, [ebp - 0x190]
push eax
push 0x80
push dword [ebp - 0x1b0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1b0]
mov esi, eax
call fcn.004471bc
add esp, 4
test esi, esi
je 0x43070b
push dword [ebp - 0x1a4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x190]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x19c]
call fcn.004471bc
push dword [ebp - 0x1bc]
call fcn.004471bc
push dword [ebp - 0x1c8]
call fcn.004471bc
push dword [ebp - 0x1d4]
call fcn.004471bc
add esp, 0x10
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.00446f75
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x83ce74]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x840a98], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.004471bc
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446f75
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x840a90]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00446f75
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x83ce74]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x4586a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446f75
mov esp, ebp
pop ebp
ret 4
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456de5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x83ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00447175
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45a3a0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45a3a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0044b360
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004479e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0043ae30
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
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
push str.unordered_map_set_too_long
call fcn.00448129
int3
Function at 0x43ae30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x43af83
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0043ad30
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43af56
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43aece
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43af49
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x43af0a
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x43af02
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43af49
mov edi, eax
cmp ebx, eax
je 0x43af26
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43af5f
cmp ebx, eax
jne 0x43af10
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x43ae92
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43af49
push str.invalid_hash_bucket_count
call fcn.00448129
int3
Function at 0x44dd53
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c5fc
push 0x45c5f4
push str.FlsAlloc
push 0x1e
call fcn.0044dc31
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44dd87
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
jmp 0x44dd8d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44ddd1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c60c
push 0x45c604
push str.FlsGetValue
push 0x20
call fcn.0044dc31
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44de08
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44f69b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44f738
push ebx
push esi
call fcn.0044f664
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044da04
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44f6e5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44f737
push edi
push eax
call fcn.0044d6f1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44f705
call fcn.0044d6b7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44f736
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044da04
add esp, 0x20
test eax, eax
jne 0x44f724
push edi
call fcn.0044d6b7
jmp 0x44f72c
push ebx
call fcn.0044d6b7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x45c220
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45c26c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
push 0x1770
push ecx
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45c268
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
pop esi
ret
mov al, 1
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
pop esi
ret

Function at 0x4631ef
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x57749a
call fcn.0054d442
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov eax, 0x59672c
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.004066c0
mov eax, str.vToolbarUpdater
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004066c0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00468077
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
call fcn.00409c40
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00409c40
cmp dword [ebp - 0x18], ebx
jne 0x46326c
lea ecx, [ebp - 0x2c]
call fcn.00409c40
xor al, al
call fcn.0054d4c5
ret
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x48]
call fcn.00406fb0
mov eax, esi
push eax
mov eax, str.log4cplusU.dll
mov byte [ebp - 4], 3
call fcn.00411970
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x463295
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4632aa
lea ecx, [ebp - 0x48]
call fcn.00409c40
jmp 0x46325c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4632b6
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x463303
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, str.CLogger::SetDllDirectory_____SetDllDirectory_failed
lea ecx, [ebp - 0x64]
call fcn.004066c0
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00462bd0
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00409c40
lea ecx, [ebp - 0x48]
call fcn.00409c40
lea ecx, [ebp - 0x2c]
call fcn.00409c40
mov al, bl
jmp 0x463266
mov bl, 1
jmp 0x4632ec

Function at 0x4635e8
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x40b000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dd3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.0040a910
mov ecx, dword [edi + 0x18]
lea eax, [esp + 0x1c]
mov ebp, 1
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebp
call fcn.0040a7d0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebp
call dword [0x6aba80]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call dword [0x6abc18]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call dword [0x6aba84]
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0x34], 4
call dword [0x6aba88]
mov ebp, dword [0x6abbac]
push eax
mov ecx, esi
mov byte [esp + 0x34], 5
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 4
call dword [0x6abc18]
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 3
call dword [0x6abbdc]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [0x6aba8c]
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x34], 6
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 3
call dword [0x6abc18]
mov ecx, dword [edi + 0x24]
mov ebp, dword [0x6ad3b4]
call ebp
mov byte [esi + 0xa], al
mov ecx, dword [edi + 0x1c]
call dword [0x6abf7c]
mov byte [esi + 8], al
mov ecx, dword [edi + 0x20]
call ebp
mov byte [esi + 9], al
mov ecx, dword [edi + 0x28]
call dword [0x6ad35c]
lea ecx, [esp + 0x14]
mov dword [esi + 0xc], eax
mov byte [esp + 0x30], bl
call dword [0x6aba90]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40eb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dde75
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.ExportDlg.1.0
mov dword [esi + 8], vtable.ExportDlg.0
push 0x55
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 6
call dword [0x6abb10]
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 7
call dword [0x6abb50]
lea ecx, [esp + 0x18]
push ecx
push 0x808900
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0x4c], 8
call dword [0x6abb54]
push 0
mov ecx, eax
mov byte [esp + 0x44], 9
call dword [0x6abb04]
push eax
call fcn.004d8b8c
mov edi, dword [0x6abb5c]
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 7
call dword [0x6abba4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 6
call edi
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x40ec1b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x40ec2e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
push 0x6becc8
lea ecx, [esp + 0x10]
call dword [0x6abbc4]
lea eax, [esp + 0xc]
push eax
push esi
mov byte [esp + 0x48], 0xa
call fcn.004abec0
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 6
call dword [0x6abc18]
mov eax, dword [esi + 0xf0]
mov byte [esp + 0x40], 5
test eax, eax
je 0x40ec97
lea ecx, [eax + 0x34]
call dword [0x6abbf0]
test al, al
jne 0x40ec97
mov ecx, dword [esi + 0xf0]
mov eax, dword [ecx + 4]
cmp eax, ecx
je 0x40ec8f
mov eax, dword [eax + 4]
cmp eax, ecx
jne 0x40ec88
push 8
call dword [0x6aba18]
lea ecx, [esi + 0x34]
mov byte [esp + 0x40], 4
call dword [0x6aba10]
lea ecx, [esi + 0x2c]
mov byte [esp + 0x40], 3
call dword [0x6abc18]
lea ecx, [esi + 0x28]
mov byte [esp + 0x40], 2
call dword [0x6abc18]
mov ecx, dword [esi + 0x24]
lea edi, [esi + 0x24]
mov byte [esp + 0x40], 1
call dword [0x6abbf0]
test al, al
jne 0x40ece0
mov ecx, dword [edi]
push ecx
mov ecx, edi
call fcn.00401260
mov ecx, dword [esi + 0x20]
lea edi, [esi + 0x20]
mov byte [esp + 0x40], 0
call dword [0x6abbf0]
test al, al
jne 0x40ecff
mov edx, dword [edi]
push edx
mov ecx, edi
call fcn.00401260
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call dword [0x6ad4d0]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret