joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10085c25
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10091340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10075eba
mov dword [ebp - 0x14], eax
cmp dword [0x1067def8], esi
jne 0x10085d18
push 0x800
push esi
push 0x100091bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10085ca5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10085df8
push esi
push esi
push 0x100091bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10085df8
push 0x100091d4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10085df8
push eax
call ebx
push 0x100091e0
push edi
mov dword [0x1067def8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100091f0
push edi
mov dword [0x1067defc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009204
push edi
mov dword [0x1067df00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067df08], eax
test eax, eax
je 0x10085d15
push 0x10009220
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067df04], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10085d3d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10085d30
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10085d52
push 4
pop eax
jmp 0x10085dfa
cmp dword [ebp - 0x14], esi
je 0x10085d52
push dword [0x1067def8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10085d37
mov eax, dword [0x1067df04]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10085db0
cmp dword [0x1067df08], edi
je 0x10085db0
push eax
call ebx
push dword [0x1067df08]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10085db0
test eax, eax
je 0x10085db0
call ecx
test eax, eax
je 0x10085da5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10085da5
test byte [ebp - 8], 1
jne 0x10085db0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10085de0
mov eax, dword [0x1067defc]
cmp eax, edi
je 0x10085ddd
push eax
call ebx
test eax, eax
je 0x10085ddd
call eax
mov esi, eax
test esi, esi
je 0x10085ddd
mov eax, dword [0x1067df00]
cmp eax, edi
je 0x10085ddd
push eax
call ebx
test eax, eax
je 0x10085ddd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067def8]
call ebx
test eax, eax
je 0x10085df8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10085dfa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071824
mov esp, ebp
pop ebp
ret
Function at 0x40eb40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4d4
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.00404ce0
mov dword [esp + 0x18], eax
xor esi, esi
mov ecx, dword [ebx]
mov dword [esp + 0x10], esi
mov edx, dword [ecx + 0x280]
mov ebx, dword [ecx + 0x27c]
sub edx, ebx
sar edx, 4
xor ecx, ecx
lea edi, [edx - 1]
mov eax, edi
and eax, dword [esp + 0x18]
test edx, edx
je 0x40ebad
mov esi, eax
shl esi, 4
add esi, ebx
cmp dword [esi + 0xc], 0xfffffffe
jae 0x40ec42
inc eax
inc ecx
and eax, edi
cmp ecx, edx
jb 0x40eb90
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40ecee
lea eax, [edx + edx]
mov esi, 0x10000
cmp eax, esi
cmova esi, eax
cmp esi, 0x100000
jb 0x40ec23
push 2
call fcn.0047e39b
add esp, 4
push eax
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
call fcn.0048779c
lea eax, [esp + 0x30]
mov dword [esp + 0x28], 0x43
push ecx
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
mov edx, 0x43
mov dword [esp + 0x34], eax
mov ecx, eax
call fcn.0043aa60
add esp, 0x10
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x40ec23
push eax
call fcn.00472b7c
add esp, 4
mov ebx, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [ebx]
call fcn.00405e70
test al, al
je 0x40ecee
mov esi, 1
jmp 0x40eb6a
mov ecx, dword [esp + 0x1c]
mov edx, 1
call fcn.00404ce0
mov ecx, dword [esp + 0x1c]
mov edx, 2
mov edi, eax
call fcn.00404ce0
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [edx]
mov ax, word [eax + 0x2a2]
mov word [esi + 8], ax
mov eax, dword [edx]
mov al, byte [eax + 0x2a4]
mov byte [esi + 0xa], al
mov eax, dword [ebp + 0xc]
mov byte [esi + 0xb], 0
mov dword [esi + 0xc], eax
mov edx, dword [edx]
mov ecx, dword [edx + 0x274]
cmp ecx, dword [edx + 0x278]
je 0x40ecd6
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ecx + 0x30], xmm0
mov ax, word [eax + 0x38]
mov word [ecx + 0x38], ax
mov al, 1
add dword [edx + 0x274], 0x3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push ecx
lea ecx, [edx + 0x270]
call 0x4458f0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
call fcn.0047e39b
add esp, 4
push eax
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
call fcn.0048779c
lea eax, [esp + 0x290]
mov dword [esp + 0x288], 0x41
push ecx
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
mov edx, 0x41
mov dword [esp + 0x294], eax
mov ecx, eax
call fcn.0043aa60
add esp, 0x10
push dword [esp + 0x284]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x288]
cmp eax, ecx
je 0x40ed59
push eax
call fcn.00472b7c
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00444865
mov dword [edi - 0x57ba72e5], ebp
push eax
call fcn.00444875
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0044482a
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x444b53
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00444865
dec edi
add ah, dl
lea eax, [ebp - 0x40]
push eax
call fcn.00444875
push eax
push esi
push dword [ebp + 8]
call fcn.0044482a
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00444865
iretd

Function at 0x444c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00444875
push eax
push esi
push dword [ebp + 8]
call fcn.0044482a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00444875
push eax
push esi
push dword [ebp + 8]
call fcn.0044482a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00444865
int 0x22
sub byte [eax + ecx*4 - 0x63], cl
jl 0x444cea
invalid
invalid
Function at 0x444ef0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x444f19
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x444f14
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x444efe
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add byte [ebx + 0x34572bd6], cl
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x444f06
cmp edx, ebx
jne 0x445054
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x444ed5
add eax, dword [eax + 4]
jmp 0x444ec2
mov dword [ebp + 0xc], ebx
jmp 0x444f24
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x444f3c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x444f5a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x444fb8
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x444f9f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x444fa8
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x444fb2
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x444f94
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x444f1e
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x4450b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00444875
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044482a
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
inc esp
cld
invalid
dec dword [ecx]
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00444875
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044482a
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
invalid
movsd dword es:[edi], dword [esi]
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x535f53d7
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x6ce4744c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4246f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.0041a35c
push eax
lea ecx, [esp + 0x10]
push str.CLSID_
push ecx
mov dword [esp + 0x34], 0
call fcn.0041a5f7
push 0x430650
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.0041a583
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.0041a2ee
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.0041a2ee
lea eax, [esp + 0x30]
push str.InprocServer32
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0041a583
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 8]
mov byte [esp + 0x28], 5
push edx
push eax
push 0x80000000
call esi
test eax, eax
je 0x40110d
lea eax, [esp + 0x30]
push str.InprocHandler32
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0041a583
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push eax
push 0x80000000
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.0041a2ee
test bl, bl
jne 0x40110d
lea eax, [esp + 0x30]
push str.LocalServer32
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0041a583
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push eax
push 0x80000000
call esi
test eax, eax
lea ecx, [esp + 0x18]
sete bl
call fcn.0041a2ee
test bl, bl
je 0x40110f
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call fcn.0041a2ee
pop esi
test bl, bl
pop ebx
je 0x401153
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041a2ee
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041a2ee
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x401720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4247b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x432034]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov ecx, dword [0x432034]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 8], ecx
mov edx, dword [0x432034]
mov dword [esi + 0xc], edx
mov eax, dword [0x432034]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 3
mov ecx, edi
call fcn.004195d7
mov dword [edi], method.CPtrArray.virtual_0
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 4
call fcn.004014f0
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0x14], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], ebx
mov dword [esi], ebx
mov word [esi + 0x30], bx
mov dword [esi + 0x18], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ebp, dword [esi + 0x18]
test ebp, ebp
jle 0x401f9e
mov eax, dword [esi + 0x14]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x401f99
mov ecx, edi
call fcn.004017d0
push edi
call fcn.0041a8a1
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x401f7f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x10]
call fcn.0041978c
mov ebp, dword [esi + 0x2c]
xor ebx, ebx
xor edi, edi
cmp ebp, ebx
jle 0x401fd6
mov ecx, dword [esi + 0x28]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x401fcf
mov ecx, ebx
call fcn.004017d0
push ebx
call fcn.0041a8a1
add esp, 4
inc edi
cmp edi, ebp
jl 0x401fb5
xor ebx, ebx
or ebp, 0xffffffff
lea ecx, [esi + 0x24]
push ebp
push ebx
call fcn.0041978c
mov edi, dword [esi + 0x70]
cmp edi, ebx
je 0x401ffd
mov ecx, edi
call fcn.00401ee0
push edi
call fcn.0041a8a1
add esp, 4
mov dword [esi + 0x70], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x40200b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi], ebx
lea eax, [esi + 0x50]
mov dword [esi + 0x3c], 3
mov word [esi + 0x38], bx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov edx, dword [0x42a5f8]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [0x42a5fc]
mov dword [ecx + 4], edx
mov edx, dword [0x42a600]
mov dword [ecx + 8], edx
mov edx, dword [0x42a604]
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
lea ecx, [esi + 0x40]
mov dword [esi + 0x40], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x60]
call fcn.0041a279
lea ecx, [esi + 0x6c]
call fcn.0041a279
lea ecx, [esi + 0x64]
call fcn.0041a279
lea ecx, [esi + 0x68]
call fcn.0041a279
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x404c20
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x425308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x432034]
push ebx
push ebp
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
push ecx
call fcn.0040a7a0
mov edx, dword [esp + 0x10]
add esp, 4
mov eax, dword [edx - 8]
test eax, eax
jne 0x404c7e
push 0x10
push 0x430bf8
push 0x430de0
mov ecx, edi
call fcn.0041d90c
jmp 0x404e42
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x14]
call fcn.004185b2
mov eax, dword [eax]
push 0x430650
push eax
call fcn.0040da12
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0041a2ee
test bl, bl
je 0x404cbe
push 0x430650
lea ecx, [esp + 0x10]
call fcn.0041a6ca
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ebp
call fcn.0041a35c
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004186a6
cmp eax, 0xffffffff
je 0x404d17
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004185b2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.0041a427
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.0041a2ee
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0041a51d
mov eax, dword [esp + 0x14]
mov bl, 3
push eax
push ebp
mov byte [esp + 0x2c], bl
call fcn.0040dbe7
add esp, 8
test eax, eax
jne 0x404d5b
push 0x40
push 0x430dd8
push 0x430dc4
mov ecx, edi
call fcn.0041d90c
jmp 0x404e26
push esi
push 0
push str.ENewFrame
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x404d9d
push 0x24
push 0x4306e8
push 0x430d4c
mov ecx, edi
call fcn.0041d90c
cmp eax, 6
jne 0x404d9d
push 1
push esi
call dword [sym.imp.USER32.dll_FlashWindow]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040aa80
add esp, 4
test eax, eax
pop esi
je 0x404dca
push 0x124
push 0x4306e8
push 0x430d18
mov ecx, edi
call fcn.0041d90c
cmp eax, 6
jne 0x404e26
mov edx, dword [esp + 0x14]
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x404d43
mov eax, dword [0x432034]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push ebp
push 0x430cf4
push edx
mov byte [esp + 0x34], 4
call fcn.00418a4e
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ecx, edi
push 0x10
push 0x430bf8
push eax
call fcn.0041d90c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.0041a2ee
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0041a2ee
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.0041a2ee
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041a2ee
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x40a7a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
mov ecx, ebx
call fcn.0041a279
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareFlySkyEInstall
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a85f
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.Path
push eax
mov dword [esp + 0x20], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a854
push edi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xf], 0x5c
je 0x40a847
mov edi, 0x430650
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x18]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop ebp
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.0041a477
pop edi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
add esp, 0x10c
ret