joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433676
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov esi, edx
xor edi, edi
mov dword [ebp - 0x208], eax
cmp esi, edi
jne 0x4336a7
or eax, 0xffffffff
jmp 0x4337e9
cmp dword [ebp + 8], edi
jg 0x4336b4
push 0xfffffffffffffffe
pop eax
jmp 0x4337e9
cmp dword [ebp + 0x14], edi
jne 0x4336bd
push 0xfffffffffffffffd
jmp 0x4336ae
cmp dword [ebp + 0x10], edi
jg 0x4336c6
push 0xfffffffffffffffc
jmp 0x4336ae
cmp eax, edi
jne 0x4336ce
push 0xfffffffffffffffb
jmp 0x4336ae
cmp ecx, edi
jg 0x4336d6
push 0xfffffffffffffffa
jmp 0x4336ae
cmp dword [ebp + 0x10], ecx
jge 0x4336df
push 0xfffffffffffffff9
jmp 0x4336ae
xor edx, edx
xor ecx, ecx
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
idiv dword [ebp + 8]
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x4336e3
xor esi, esi
push ebx
movzx ecx, byte [ebp + edi - 0x204]
lea eax, [ebp + edi - 0x104]
mov dl, byte [eax]
movzx ebx, dl
add esi, ecx
add esi, ebx
and esi, 0x800000ff
jns 0x43372f
dec esi
or esi, 0xffffff00
inc esi
lea ecx, [ebp + esi - 0x104]
mov bl, byte [ecx]
inc edi
mov byte [ecx], dl
mov byte [eax], bl
cmp edi, 0x100
jl 0x433707
mov eax, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x20c], edi
cmp eax, edi
jle 0x4337e6
mov esi, dword [ebp - 0x208]
mov ecx, dword [ebp + 0x14]
sub ecx, esi
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], eax
inc edi
and edi, 0x800000ff
jns 0x433780
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi - 0x104]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x20c]
and ecx, 0x800000ff
jns 0x4337a0
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp + ecx - 0x104]
mov dl, byte [ecx]
mov byte [ecx], bl
mov byte [eax], dl
movzx ecx, byte [ecx]
movzx eax, dl
add eax, ecx
and eax, 0x800000ff
jns 0x4337cb
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x210]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
dec dword [ebp - 0x208]
jne 0x43376f
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e1a7
leave
ret
Function at 0x4337f7
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov esi, edx
xor edi, edi
mov dword [ebp - 0x208], eax
cmp esi, edi
jne 0x433828
or eax, 0xffffffff
jmp 0x43396a
cmp dword [ebp + 8], edi
jg 0x433835
push 0xfffffffffffffffe
pop eax
jmp 0x43396a
cmp eax, edi
jne 0x43383d
push 0xfffffffffffffffd
jmp 0x43382f
cmp dword [ebp + 0x10], edi
jg 0x433846
push 0xfffffffffffffffc
jmp 0x43382f
cmp dword [ebp + 0x14], edi
jne 0x43384f
push 0xfffffffffffffffb
jmp 0x43382f
cmp ecx, edi
jg 0x433857
push 0xfffffffffffffffa
jmp 0x43382f
cmp dword [ebp + 0x10], ecx
jge 0x433860
push 0xfffffffffffffff9
jmp 0x43382f
xor edx, edx
xor ecx, ecx
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
idiv dword [ebp + 8]
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x433864
xor esi, esi
push ebx
movzx ecx, byte [ebp + edi - 0x204]
lea eax, [ebp + edi - 0x104]
mov dl, byte [eax]
movzx ebx, dl
add esi, ecx
add esi, ebx
and esi, 0x800000ff
jns 0x4338b0
dec esi
or esi, 0xffffff00
inc esi
lea ecx, [ebp + esi - 0x104]
mov bl, byte [ecx]
inc edi
mov byte [ecx], dl
mov byte [eax], bl
cmp edi, 0x100
jl 0x433888
mov eax, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x20c], edi
cmp eax, edi
jle 0x433967
mov esi, dword [ebp - 0x208]
mov ecx, dword [ebp + 0x14]
sub ecx, esi
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], eax
inc edi
and edi, 0x800000ff
jns 0x433901
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi - 0x104]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x20c]
and ecx, 0x800000ff
jns 0x433921
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp + ecx - 0x104]
mov dl, byte [ecx]
mov byte [ecx], bl
mov byte [eax], dl
movzx ecx, byte [ecx]
movzx eax, dl
add eax, ecx
and eax, 0x800000ff
jns 0x43394c
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x210]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
dec dword [ebp - 0x208]
jne 0x4338f0
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e1a7
leave
ret
Function at 0x4341d6
Capabilities:
Write file on windows

Disassembly:
push 0x80
mov eax, 0x47c0f6
call fcn.0044ef10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0x4b5f3c
mov byte [ebp - 0x7c], bl
call fcn.004062f9
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x6d], bl
call fcn.00434395
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x434234
lea eax, [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, 0x40000000
push edi
push eax
call esi
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x43428a
push 1
lea ecx, [ebp - 0x6c]
call fcn.00434395
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
pop ecx
jae 0x434268
lea eax, [ebp - 0x6c]
push ebx
push ebx
push 2
push ebx
push ebx
push edi
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], eax
call fcn.00403211
cmp dword [ebp - 0x78], 0xffffffff
je 0x43436e
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x74]
push eax
push 4
push 0x4951fc
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x434365
cmp dword [ebp - 0x74], 4
jne 0x434365
push ebx
lea eax, [ebp - 0x74]
push eax
push 0x10
push dword [ebp - 0x88]
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x434365
cmp dword [ebp - 0x74], 0x10
jne 0x434365
xor eax, eax
mov byte [ebp - 0x34], bl
lea edi, [ebp - 0x33]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4342f6
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x34]
call fcn.0043a9a5
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x74]
push eax
push 0x10
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x434365
cmp dword [ebp - 0x74], 0x10
jne 0x434365
xor eax, eax
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x43433b
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x24]
call fcn.0043a9a5
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x74]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x434365
cmp dword [ebp - 0x74], 0x10
jne 0x434365
mov byte [ebp - 0x6d], 1
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00403211
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x7c], bl
je 0x43438a
mov ecx, dword [ebp - 0x80]
call fcn.004052c2
mov al, byte [ebp - 0x6d]
call fcn.0044ef93
ret 0xc
Function at 0x436c44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x436cd3
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0043f9a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x436c91
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x436cb4
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x436dfe
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x436cfb
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x436d06
xor eax, eax
jmp 0x436d51
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x436d23
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
push edx
call fcn.00438a7d
jmp 0x436d34
cmp ecx, 2
jne 0x436d3b
push edx
push dword [edi + 0x30]
mov edx, dword [edi]
call fcn.00434993
pop ecx
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
pop ecx
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.0043f9a0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edx, dword [esi + 0x74]
cmp edx, 3
jb 0x436d79
mov edi, dword [esi + 0x6c]
add edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edi]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edi + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edx, 0x106
jae 0x436d8d
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x436c4f
mov ecx, dword [esi + 0x16c0]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jae 0x436dfe
mov edi, dword [esi + 0x6c]
add edi, edx
cmp ecx, edi
jae 0x436dcd
sub eax, edi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x436db2
mov ebx, eax
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.0043fd80
add esp, 0xc
add ebx, edi
mov dword [esi + 0x16c0], ebx
jmp 0x436dfe
lea edx, [edi + 0x102]
cmp ecx, edx
jae 0x436dfe
sub edi, ecx
add edi, 0x102
sub eax, ecx
cmp edi, eax
jbe 0x436de7
mov edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.0043fd80
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
leave
ret
Function at 0x4379f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa4
call fcn.004405f0
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043fd80
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x437a48
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x437a7c
push 0x5c
add eax, eax
pop ecx
cmp cx, word [ebp + eax - 0x20e]
je 0x437a7c
mov word [ebp + eax - 0x20c], cx
xor ecx, ecx
mov word [ebp + eax - 0x20a], cx
push esi
push 0x4969a0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00454549
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa0], eax
test eax, eax
jne 0x437ab0
xor al, al
jmp 0x437bdc
push edi
push 0x4969bc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437b9b
lea ecx, [ebp - 0x2aa4]
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
mov dword [ebp - 0x2aa4], 0x2880
call eax
test eax, eax
jne 0x437b9b
mov dword [ebp - 0x2a98], ebx
lea eax, [ebp - 0x2a94]
sub dword [ebp - 0x2a98], eax
lea esi, [ebp - 0x2a8c]
mov dword [ebp - 0x2a9c], 3
lea eax, [esi + 8]
push eax
call fcn.00437bed
pop ecx
mov ecx, eax
xor eax, eax
lea edi, [ebp - 0x2a94]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov edx, dword [ebp - 0x2a98]
lea eax, [ebp + edi - 0x2a94]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x437b3e
inc edi
cmp edi, 6
jb 0x437b22
jmp 0x437b56
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x437b4e
cmp eax, 0x17
jne 0x437b91
cmp dword [ebp - 0x2a9c], ecx
jle 0x437b91
mov al, byte [esi + 0x194]
mov byte [ebx], al
mov al, byte [esi + 0x195]
mov byte [ebx + 1], al
mov al, byte [esi + 0x196]
mov byte [ebx + 2], al
mov al, byte [esi + 0x197]
mov byte [ebx + 3], al
mov al, byte [esi + 0x198]
mov byte [ebx + 4], al
mov al, byte [esi + 0x199]
mov byte [ebx + 5], al
mov dword [ebp - 0x2a9c], ecx
mov esi, dword [esi]
test esi, esi
jne 0x437b09
push dword [ebp - 0x2aa0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea edi, [ebp - 0x2a94]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, ebx
lea eax, [ebp - 0x2a94]
xor ecx, ecx
sub esi, eax
pop edi
lea eax, [ebp + ecx - 0x2a94]
mov dl, byte [esi + eax]
cmp dl, byte [eax]
jne 0x437be9
inc ecx
cmp ecx, 6
jb 0x437bbf
mov al, 1
xor ecx, ecx
test al, al
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043e1a7
leave
ret
xor al, al
jmp 0x437bd5
Function at 0x437bed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push 0x4969d0
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x110], 3
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x114], ebx
call esi
test eax, eax
jne 0x437db9
push dword [ebp - 0x124]
lea eax, [ebp - 0x108]
push 0x496a20
push 0xffffffffffffffff
push 0x103
push eax
call fcn.00454836
add esp, 0x14
lea eax, [ebp - 0x10c]
push eax
push edi
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call esi
test eax, eax
jne 0x437dad
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push 0x496a30
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x437da1
push 0x104
xor edi, edi
lea eax, [ebp - 0x108]
push ebx
inc edi
push eax
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], 0x103
call fcn.0043fd80
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push 0x496a40
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x437da1
cmp dword [ebp - 0x114], edi
jne 0x437d8b
push 3
mov esi, 0x496a50
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0044cebd
add esp, 0xc
test eax, eax
jne 0x437d61
mov dword [ebp - 0x110], ebx
jmp 0x437da1
cmp dword [ebp - 0x114], edi
jne 0x437d8b
push 3
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0044cebd
add esp, 0xc
test eax, eax
je 0x437d8b
mov dword [ebp - 0x110], 2
jmp 0x437da1
xor eax, eax
cmp dword [ebp - 0x114], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x110], eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e1a7
leave
ret
Function at 0x43aa7e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
push edi
mov edi, edx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
test eax, eax
je 0x43aac7
push eax
mov eax, dword [ebp + 0xc]
call fcn.0043a9e5
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x14]
shr ecx, 3
push 0x38
mov dword [ebp - 8], eax
and ecx, 0x3f
pop eax
cmp ecx, eax
jb 0x43aae6
push 0x78
pop eax
sub eax, ecx
push 0x496d38
call fcn.0043a9e5
lea eax, [ebp - 0xc]
push eax
push 8
pop eax
call fcn.0043a9e5
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e1a7
leave
ret 8

Function at 0x43e1a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a83e0]
jne 0x43e1b1
repz ret
jmp fcn.0044061b
Function at 0x4481ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004430b5
and dword [ebp - 0x14], 0
cmp dword [0x4b3350], 0
mov dword [ebp - 0x18], eax
jne 0x44825f
push 0x48485c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x448307
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x484850
push ebx
call edi
test eax, eax
je 0x448307
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x484840
push ebx
mov dword [0x4b3350], eax
call edi
push eax
call esi
push 0x48482c
push ebx
mov dword [0x4b3354], eax
call edi
push eax
call esi
push 0x484810
push ebx
mov dword [0x4b3358], eax
call edi
push eax
call esi
mov dword [0x4b3360], eax
test eax, eax
je 0x44825f
push 0x4847f8
push ebx
call edi
push eax
call esi
mov dword [0x4b335c], eax
mov eax, dword [0x4b335c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4482b8
cmp dword [0x4b3360], ecx
je 0x4482b8
push eax
call esi
push dword [0x4b3360]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4482b8
test ebx, ebx
je 0x4482b8
call edi
test eax, eax
je 0x4482af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4482af
test byte [ebp - 8], 1
jne 0x4482b8
or dword [ebp + 0x10], 0x200000
jmp 0x4482eb
mov eax, dword [0x4b3354]
cmp eax, dword [ebp - 0x18]
je 0x4482eb
push eax
call esi
test eax, eax
je 0x4482eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4482eb
mov eax, dword [0x4b3358]
cmp eax, dword [ebp - 0x18]
je 0x4482eb
push eax
call esi
test eax, eax
je 0x4482eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b3350]
call esi
test eax, eax
je 0x448307
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x448309
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e1a7
leave
ret
Function at 0x45cff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x475888
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a83e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x4a9728]
cmp eax, 0xffffffff
jne 0x45d025
xor ebx, ebx
jmp 0x45d02e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x45d071
mov edi, edi
cmp dword [ebx + 0x18], 0
jne 0x45d0b7
cmp dword [ebx + 0xc], 0
jne 0x45d0c0
push 0x45c130
push 0x4b37b8
call fcn.0045c350
mov eax, dword [0x4a9728]
add esp, 8
cmp eax, 0xffffffff
je 0x45d071
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x45d0a3
lea edx, [ebx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45d0a3
mov edx, dword [ebx]
mov eax, dword [edx]
push 0
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [ebx + 0xc], 0
je 0x45d108
lea ecx, [ecx]
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x45d0f2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x45d0c0
mov ebp, dword [ebx + 0x14]
mov esi, dword [ebp]
cmp esi, ebp
je 0x45d040
cmp byte [esi + 0x1d], 0
mov edi, esi
jne 0x45d158
mov eax, dword [esi + 8]
cmp byte [eax + 0x1d], 0
jne 0x45d13d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
jne 0x45d158
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
je 0x45d131
jmp 0x45d158
mov eax, dword [esi + 4]
cmp byte [eax + 0x1d], 0
jne 0x45d156
cmp esi, dword [eax + 8]
jne 0x45d156
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x45d146
mov esi, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x45d16e
mov eax, dword [edi + 0x18]
test eax, eax
je 0x45d16e
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebx + 0x10]
call fcn.00424456
cmp esi, ebp
jne 0x45d116
jmp 0x45d040
Function at 0x45d220
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x20]
push ecx
push 4
push eax
push 0x45d190
push 0
push 0
call fcn.0043f8f9
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x45d249
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x45d26d
cmp eax, 0xffffffff
je 0x45d26d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x45e730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475b00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4a83e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x484700
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00414188
mov byte [esp + 0x38], 1
call fcn.0045bb81
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.00414217
mov dword [esi], vtable.windows_file_codecvt.0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x4019ca
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a09
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a09
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a09
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a09
cmp dword [ecx + 0x74], 0xe
jbe 0x401a09
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x7a9dc7
Capabilities:
Encode data using xor

Disassembly:
mov ebx, eax
jmp 0xffcaa025
insd dword es:[edi], dx
cmp eax, esi
je 0x7a9dd9
daa
or dword [eax - 0x18], edx
sbb ecx, dword [esi]
ficom word [0xb05a0e81]
xor ecx, ebp
call 0xc8732acc
call 0x825327d9
les ebx, [ecx]
mov dword [ecx], esi
fucomi st(3)
mov bl, 0x80
loope 0x7a9dcd
jmp 0xf9078bc6
inc esp
std
fsubr st(7)
jle 0x7a9d74
stc
sbb dword [edi], ecx
xchg ebx, eax
cmpsb byte [esi], byte es:[edi]
dec esi
add dword [ebx + 0x576e7cf9], eax
ror byte [edi + 0x3af98376], 1
je 0x1b238738
jnp 0x7a9e7b
clc
mov dword [eax + 0xf00b73d], 0x803e8e84
cmp eax, 0xd8770c26
inc ecx
test edx, eax
cmp byte [0x481e0c9a], 0xc2
push eax
mov ecx, 0x8f0f9322
int 0xc
fsub qword [0x7a739f99]
invalid
pop ds
mov dword [eax], eax