joyce8/EMBER2024-capa huggingface dataset:
Function at 0xca4020
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd4f689
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0xdbf70c]
xor ebp, ebp
cmp eax, 0xffffffff
je 0xca4085
mov ecx, dword [0xdbf70c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
cmp ebx, ebp
je 0xca4085
mov eax, dword [ebx]
cmp eax, ebp
je 0xca40d6
inc eax
mov dword [ebx], eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x14
call fcn.00cd8a50
add esp, 4
cmp eax, ebp
je 0xca40a6
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov byte [eax + 0xc], 1
mov dword [eax + 0x10], ebp
mov esi, eax
jmp 0xca40a8
xor esi, esi
push esi
mov ebx, esi
call fcn.00ca4340
add esp, 4
test al, al
jne 0xca40d6
push esi
call fcn.00cd8a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 8
mov dword [ebx], 1
call fcn.00cd8a50
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ebp
cmp edi, ebp
je 0xca412a
mov byte [esp + 0x38], 1
push 0x34
mov dword [edi], vtable.ggadget::win32::MainLoop.0
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 2
cmp eax, ebp
je 0xca4123
push edi
mov esi, eax
call fcn.00cbd6f0
mov dword [edi + 4], eax
jmp 0xca412c
xor eax, eax
mov dword [edi + 4], eax
jmp 0xca412c
xor edi, edi
or esi, 0xffffffff
mov dword [esp + 0x38], esi
call fcn.00c22780
call fcn.00ca3ca0
test al, al
je 0xca40c0
call fcn.00ca3df0
test al, al
je 0xca40c0
push 0xc
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 3
cmp eax, ebp
je 0xca4174
push eax
call fcn.00cc1370
jmp 0xca4176
xor eax, eax
mov dword [esp + 0x38], esi
cmp eax, ebp
je 0xca40c0
mov edi, eax
call fcn.00c27770
mov eax, dword [0xdcda68]
cmp eax, ebp
je 0xca41a8
push 0xd68b48
call eax
add esp, 4
cmp eax, ebp
jne 0xca41bd
cmp dword [0xdcda68], ebp
jne 0xca41c7
mov edx, 0xca3bc0
test edx, edx
je 0xca41c7
mov dword [0xdcda68], 0xca3bc0
jmp 0xca41c7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
push ebp
lea ecx, [esp + 0x24]
push ecx
add ebx, 4
push ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0xca4bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4f5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edi, ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call edx
test al, al
jne 0xca4c49
test ebp, ebp
je 0xca4c85
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x10]
push edx
push ebp
call eax
test al, al
je 0xca4c85
mov edi, ebp
test edi, edi
je 0xca4c85
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x10]
push edi
lea edx, [esp + 0x14]
call fcn.00cbb2e0
test al, al
je 0xca4c85
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xca4c81
mov edx, dword [esp + 0x10]
push edx
call fcn.00cd8a36
add esp, 4
mov al, 1
jmp 0xca4ca3
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xca4ca1
mov eax, dword [esp + 0x10]
push eax
call fcn.00cd8a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x30
ret 8
Function at 0xca59d0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd3de18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0xdbc194]
mov edi, ecx
cmp eax, 0xffffffff
je 0xca5a82
mov ecx, dword [0xdbc194]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
test ebp, ebp
je 0xca5a82
xor ebx, ebx
mov edx, dword [ebx + 0xdb4c04]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00ca35b0
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0xca5a4d
lea eax, [esp + 0x10]
mov edx, dword [ebp]
push 0
push eax
mov eax, dword [edx + 0x1c]
mov ecx, ebp
call eax
test al, al
jne 0xca5aa2
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xca5a7a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00cd8a36
add esp, 4
add ebx, 4
cmp ebx, 0xc
jb 0xca5a22
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x2c
ret
lea edx, [esp + 0x10]
cmp esi, edx
je 0xca5afc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esi], ebx
mov ebx, dword [esp + 0x14]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x14], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xca5b18
mov eax, dword [esp + 0x10]
push eax
call fcn.00cd8a36
add esp, 4
mov al, 1
jmp 0xca5a84

Function at 0xca5da0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0xdbb6dc]
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0xca5db1
xor eax, eax
jmp 0xca5dbe
mov ecx, dword [0xdbb6dc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
push esi
mov esi, dword [esp + 0x18]
push 0xd62984
push 0
push 0
add ecx, 0x24
push esi
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, eax
call edx
pop esi
ret 0xc
Function at 0xca9810
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xd4454a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov byte [edi + 4], 0
xor ebp, ebp
push 0x18
mov dword [edi + 0x10], ebp
call fcn.00cd8a50
add esp, 4
cmp eax, ebp
je 0xca9955
mov dword [edi + 0xc], eax
mov dword [eax], eax
mov eax, dword [edi + 0xc]
mov dword [eax + 4], eax
mov eax, dword [edi + 0xc]
mov dword [eax + 8], eax
mov ecx, dword [edi + 0xc]
mov ebx, 1
mov byte [ecx + 0x14], bl
mov edx, dword [edi + 0xc]
mov byte [edx + 0x15], bl
mov dword [esp + 0x28], ebx
push 0x14
mov dword [edi + 0x20], ebp
call fcn.00cd8a50
add esp, 4
cmp eax, ebp
je 0xca993b
mov dword [edi + 0x1c], eax
mov dword [eax], eax
mov eax, dword [edi + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [eax + 8], eax
mov eax, dword [edi + 0x1c]
mov byte [eax + 0x10], bl
mov ecx, dword [edi + 0x1c]
mov byte [ecx + 0x11], bl
mov byte [esp + 0x28], 3
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
test byte [edx + 0x4c], bl
jne 0xca98d0
mov ecx, edx
or byte [ecx + 0x4c], bl
mov esi, dword [eax + 0x10]
call fcn.00c0ffb0
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
mov bl, 2
test byte [ecx + 0x4c], bl
jne 0xca98e7
or byte [ecx + 0x4c], bl
mov esi, dword [eax + 0x10]
call fcn.00c0ffb0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
test byte [edx + 0x19c], bl
jne 0xca9904
mov ecx, edx
or byte [ecx + 0x19c], bl
mov esi, dword [eax + 0x10]
call fcn.00c0ffb0
mov esi, dword [edi]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x48], ebp
je 0xca9923
mov ecx, eax
mov dword [ecx + 0x48], ebp
mov eax, dword [esi + 0x1c]
call fcn.00c337c0
mov esi, dword [esi + 0x10]
call fcn.00c0ffb0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00b94df0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebp
call fcn.00b94df0
int3

Function at 0xcab650
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0xcad420
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
cmp dword [esi + 0x4090], 0
je 0xcad4cf
cmp dword [esi + 0x6c], 0
jbe 0xcad4cf
push ebx
push ebp
mov ebp, 0xffffff78
push edi
lea edi, [esi + 0x88]
sub ebp, esi
jmp 0xcad450
movzx ecx, byte [edi]
mov eax, dword [esi + 0x4094]
mov ebx, dword [esi + 0x40a0]
xor ecx, eax
mov edx, dword [esi + 0x409c]
shr eax, 8
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
xor ecx, eax
movzx eax, cl
add eax, dword [esi + 0x4098]
mov dword [esi + 0x4094], ecx
mov ecx, dword [esi + 0x409c]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x4098], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
and edx, 0xfffd
shr ecx, 8
xor ecx, dword [ebx + eax*4]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
mov dword [esi + 0x409c], ecx
shr eax, 8
xor byte [edi], al
inc edi
lea ecx, [edi + ebp]
cmp ecx, dword [esi + 0x6c]
jb 0xcad450
pop edi
pop ebp
pop ebx
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0x88]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, dword [esi + 0x6c]
mov dword [esi + 0x6c], 0
je 0xcad4fa
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0xcadd80
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0xcadd87
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00cadd90
Function at 0xcb0500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
mov dword [esp + 0xc], edi
cmp eax, edx
jb 0xcb058d
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.00cdc600
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0xcb055f
sub eax, ebp
jmp 0xcb0561
xor eax, eax
dec edx
mov word [ecx], ax
jne 0xcb0550
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
nop
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0xcb057f
sub eax, ebp
jmp 0xcb0581
xor eax, eax
dec edx
mov word [ecx], ax
jne 0xcb0570
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0xcb0645
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov dword [esp + 0x10], edx
cmp ebx, ecx
jbe 0xcb05b5
mov ebx, ecx
test ebx, ebx
je 0xcb0609
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0xcb05d7
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00cb0fc0
jmp 0xcb05f0
cmp eax, 2
jne 0xcb05f7
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0xcb05e9
xor eax, eax
jmp 0xcb05f4
mov edx, ebx
call fcn.00cadd90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00cdc600
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0xcb0631
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0xcb0645
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0xcb0510
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0xcb3710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd46339
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x60]
lea esi, [esp + 0x30]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.00cb3530
push 0xd6c438
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x64], 1
call fcn.00b9c430
push ebp
push eax
push edi
mov byte [esp + 0x70], 2
call fcn.00b9c4e0
add esp, 0x18
mov esi, 0x10
mov byte [esp + 0x58], 1
mov dword [esp + 0xc], 1
cmp dword [esp + 0x28], esi
jb 0xcb37a6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00cd8a36
add esp, 4
mov byte [esp + 0x58], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
cmp dword [esp + 0x44], esi
jb 0xcb37d3
mov edx, dword [esp + 0x30]
push edx
call fcn.00cd8a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x50
ret

Function at 0xcb3800
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0xd44490
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
cmp ebx, edi
je 0xcb3920
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], edi
jb 0xcb384c
mov eax, dword [ebx]
jmp 0xcb384e
mov eax, ebx
mov byte [eax], 0
lea eax, [esp + 0x18]
push eax
call fcn.00ba0bc0
mov ebp, 8
add esp, 4
cmp dword [eax + 0x14], ebp
jb 0xcb386a
mov eax, dword [eax]
push 0xd79020
push eax
call fcn.00d33b9a
xor esi, esi
add esp, 8
mov dword [esp + 0x10], esi
cmp eax, 0xffffffff
je 0xcb3889
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], edi
cmp dword [esp + 0x2c], ebp
jb 0xcb38a0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00cd8a36
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], dx
cmp esi, edi
je 0xcb3920
push 2
push edi
push esi
call fcn.00cda67f
add esp, 0xc
push esi
call fcn.00ce42b6
mov ebp, eax
add esp, 4
cmp ebp, 0x1400000
jae 0xcb3917
push edi
push edi
push esi
call fcn.00cda67f
add esp, 0xc
push ebp
call fcn.00cd7a7c
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
push esi
push ebp
push 1
push edi
mov byte [esp + 0x50], 2
call fcn.00d3458f
add esp, 0x10
cmp ebp, eax
je 0xcb3924
push edi
mov dword [esp + 0x44], 0
call fcn.00cd9081
add esp, 4
push esi
call fcn.00cda768
add esp, 4
xor al, al
jmp 0xcb3946
push eax
push edi
mov ecx, ebx
call fcn.00b978a0
push edi
mov byte [esp + 0x44], 0
call fcn.00cd9081
add esp, 4
push esi
call fcn.00cda768
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x34
ret
Function at 0xcb3990
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0xd3fb18
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x14], 0x10
jb 0xcb39ce
mov edx, dword [eax]
jmp 0xcb39d0
mov edx, eax
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xcb39e7
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00b98800
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], ebx
call fcn.00ba0bc0
mov edi, 8
add esp, 4
cmp dword [eax + 0x14], edi
jb 0xcb3a1c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
cmp dword [esp + 0x3c], edi
jb 0xcb3a38
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00cd8a36
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x20], 0x10
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
jb 0xcb3a67
mov eax, dword [esp + 0xc]
push eax
call fcn.00cd8a36
add esp, 4
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
cmp eax, ebx
je 0xcb3b5f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ListComponents
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3aad
push str.CreateInstance
push eax
call edi
jmp 0xcb3aaf
xor eax, eax
mov dword [esi + 8], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3ac2
push str.DestroyInstance
push eax
call edi
jmp 0xcb3ac4
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3ad7
push str.GetInfo
push eax
call edi
jmp 0xcb3ad9
xor eax, eax
mov dword [esi + 0x10], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3aec
push str.HandleMessage
push eax
call edi
jmp 0xcb3aee
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3b01
push str.FreeBuffer
push eax
call edi
jmp 0xcb3b03
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3b16
push str.Registered
push eax
call edi
jmp 0xcb3b18
xor eax, eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
cmp eax, ebx
je 0xcb3b2b
push str.Deregistered
push eax
call edi
jmp 0xcb3b2d
xor eax, eax
mov dword [esi + 0x20], eax
cmp dword [esi + 4], ebx
je 0xcb3b5c
cmp dword [esi + 8], ebx
je 0xcb3b5c
cmp dword [esi + 0xc], ebx
je 0xcb3b5c
cmp dword [esi + 0x10], ebx
je 0xcb3b5c
cmp dword [esi + 0x14], ebx
je 0xcb3b5c
cmp dword [esi + 0x18], ebx
je 0xcb3b5c
cmp dword [esi + 0x1c], ebx
je 0xcb3b5c
cmp eax, ebx
je 0xcb3b5c
mov ebx, 1
mov byte [esi + 0x24], bl
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x48
ret 4
Function at 0xcb4120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd48188
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
xor eax, eax
mov esi, ecx
mov dword [esp + 0xc], eax
cmp byte [esi + 0x48], al
jne 0xcb4171
cmp ebx, eax
je 0xcb41dc
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
jmp 0xcb41dc
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
call fcn.00c79d20
test ebx, ebx
je 0xcb419c
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
cmp dword [esp + 0x24], 0x10
mov ecx, dword [esp + 0x10]
jae 0xcb41ab
lea ecx, [esp + 0x10]
cmp byte [esi + 0x44], 0
mov eax, dword [esi + 0x1c]
je 0xcb41c0
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esi + 0x34]
call eax
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xcb41dc
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00cd8a36
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x30
ret 4
Function at 0xcb46d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0xd3fa68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0xcb4834
cmp byte [edi + 0x49], 0
je 0xcb4834
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0xcb481f
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 8
cmp ecx, 0x10
jae 0xcb4753
lea eax, [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
lea ebx, [edi + 0x4c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov edx, eax
cmp ebp, 0x10
jae 0xcb4777
lea edx, [esp + 0x18]
mov eax, edx
add edx, dword [esp + 0x28]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x14]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0xcb47ab
dec eax
je 0xcb47af
sub eax, 2
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
jne 0xcb481a
jmp 0xcb482f
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp ebp, 0x10
jae 0xcb47c2
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x14]
sub esi, ecx
je 0xcb47ef
cmp ebp, 0x10
jae 0xcb47d3
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00d339cb
add esp, 0x10
cmp esi, eax
jne 0xcb480e
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x49], 0
je 0xcb4823
test esi, esi
jne 0xcb476a
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00b997c0
jmp 0xcb4762
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00c50ca0
xor al, al
jmp 0xcb4836
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00c50ca0
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x30
ret