joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a6d
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x42c968
push 0x42c96c
call fcn.0041484d
mov esi, eax
xor edi, edi
pop ecx
pop ecx
cmp esi, edi
je 0x402ac3
push edi
push 0x2580
push esi
call fcn.00413f31
add esp, 0xc
push esi
push 5
push 1
push 0x42c978
call fcn.004146d3
push esi
call fcn.004144f5
add esp, 0x14
cmp byte [0x43878b], 1
jne 0x402b8a
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.004160a0
add esp, 0xc
mov eax, 0x42c980
mov dword [ebp - 0x684], edi
call fcn.004060cc
mov eax, 0x42c99c
call fcn.004060cc
mov eax, 0x42c9c8
call fcn.004060cc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x684]
push eax
movzx eax, word [ebp - 0x210]
sub eax, 0x41
push eax
call fcn.00403a2b
push dword [ebp - 0x684]
call fcn.00403935
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x402b8a
lea esi, [ebp - 0x448]
call fcn.00403cb5
test eax, eax
je 0x402b8a
call fcn.00402bef
mov eax, dword [ebp - 0x448]
mov ecx, 0x8d
lea edi, [ebp - 0x680]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x680], eax
lea eax, [ebp - 0x680]
call fcn.00403d40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a49
leave
ret
Function at 0x402d31
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x318
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0x294], eax
push ebx
push esi
lea eax, [ebp + 0x190]
push eax
mov esi, 0x104
xor ebx, ebx
push esi
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x42ca10
lea eax, [ebp + 0x190]
push esi
push eax
call fcn.00414c6b
add esp, 0xc
push esi
lea eax, [ebp + 0x8c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00414bb5
lea eax, [ebp - 0x78]
push 0x5c
push eax
call fcn.00414c20
add esp, 0x14
cmp eax, ebx
je 0x402daf
mov byte [eax], bl
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x402e93
mov eax, 0x435550
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402ddf
sub eax, edx
lea ecx, [ebp + 0x8c]
push edi
mov esi, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x402df4
lea eax, [ebp + 0x190]
sub ecx, edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402e06
imul ecx, ecx, 3
sub eax, edi
add ecx, eax
lea esi, [ecx + esi + 0x32]
push esi
call fcn.0040960e
push esi
mov edi, eax
push ebx
push edi
call fcn.004160a0
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x8c]
push eax
push eax
push 0x435550
push esi
push edi
call fcn.00414c4d
mov eax, edi
add esp, 0x2c
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402e4f
push ebx
lea ecx, [ebp - 0x80]
push ecx
sub eax, esi
push eax
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea eax, [ebp + 0x190]
push eax
push 0x42ca1c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp edi, ebx
je 0x402e92
push edi
call fcn.00409619
pop ecx
pop edi
mov ecx, dword [ebp + 0x294]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a49
add ebp, 0x298
leave
ret

Function at 0x402f56
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x42c930
push dword [ebp + 8]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x402fbd
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 4]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [eax], esi
call fcn.0040960e
push esi
mov edi, eax
push 0
push edi
call fcn.004160a0
push esi
push ebx
push edi
call fcn.0041b600
add esp, 0x1c
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x403469
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
push 0x118
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004160a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4034ed
cmp dword [ebp - 0x7c], 5
mov eax, dword [ebp - 0x78]
jne 0x4034d7
test eax, eax
jne 0x4034c6
cmp word [ebp + 0x94], 4
jb 0x4034ed
inc esi
cmp eax, 2
jne 0x4034cd
push eax
pop esi
jae 0x4034d4
cmp eax, 1
jne 0x4034ed
push 3
pop esi
cmp dword [ebp - 0x7c], 6
jne 0x4034ed
test eax, eax
jne 0x4034e5
push 4
jmp 0x4034ec
cmp eax, 1
jne 0x4034ed
push 5
pop esi
mov ecx, dword [ebp + 0x9c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413a49
add ebp, 0xa0
leave
ret

Function at 0x403505
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push connect
push dword [ebp + 8]
or esi, 0xffffffff
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
jne 0x403534
mov edx, esi
jmp 0x403553
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
jne 0x40354a
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x403624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004160a0
add esp, 0xc
cmp dword [0x434f90], 3
lea eax, [ebp - 0x20c]
jne 0x40368a
push esi
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42c7e0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00413c41
add esp, 0xc
pop esi
jmp 0x403696
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x42ca4c
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x10
call fcn.00413a49
leave
ret

Function at 0x40372b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
xor edx, edx
xor eax, eax
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x18], edx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], edx
je 0x403773
mov eax, dword [ebp + 0xc]
mov edx, 0x200
mul edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
shl ecx, 9
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, eax
mov eax, edx
pop edi
leave
ret
Function at 0x405231
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
mov dword [ebp - 8], ecx
cmp dword [eax], ecx
je 0x4052ae
push esi
mov esi, dword [ebp + 0x10]
cmp esi, ecx
push edi
jle 0x405258
mov eax, dword [ebp + 0xc]
add eax, ecx
not byte [eax]
inc ecx
cmp ecx, esi
jl 0x40524c
lea eax, [esi + 7]
push eax
mov dword [ebp - 4], eax
call fcn.0040960e
push dword [ebp + 0x10]
mov ebx, eax
push dword [ebp + 0xc]
add esi, 5
mov word [ebx], si
lea edi, [ebx + 2]
mov esi, 0x435010
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 7]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0041b600
mov eax, dword [ebp + 8]
add esp, 0x10
push 0
push dword [ebp - 4]
push ebx
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
cmp eax, 0xffffffff
je 0x4052b1
cmp eax, dword [ebp - 4]
jne 0x4052b1
mov dword [ebp - 8], 1
jmp 0x4052b1
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4052bc
push ebx
call fcn.00409619
pop ecx
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x4053ee
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x8e4
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov dword [ebp - 0x868], eax
mov eax, dword [ebp + 0x7c]
push edi
mov dword [ebp - 0x874], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x85c], ax
lea eax, [ebp - 0x85a]
mov esi, ecx
push eax
mov dword [ebp - 0x870], esi
mov ebx, edx
call fcn.004160a0
xor eax, eax
add esp, 0xc
lea edi, [ebp - 0x85c]
mov dword [ebp - 0x864], edi
cmp ebx, eax
je 0x40545a
mov dword [ebp - 0x864], ebx
mov edi, ebx
xor ecx, ecx
mov word [edi], cx
mov esi, dword [esi]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x86c], eax
cmp esi, eax
je 0x4055c0
cmp dword [ebp - 0x868], eax
je 0x4055c0
push 0xc7
push eax
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x5b]
push eax
call fcn.004160a0
add esp, 0xc
xor ebx, ebx
push ebx
push 2
lea eax, [ebp - 0x5c]
push eax
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
call esi
cmp eax, 0xffffffff
je 0x405598
cmp eax, ebx
je 0x405598
movzx edi, word [ebp - 0x5c]
lea eax, [edi + 2]
push eax
call fcn.0040960e
pop ecx
mov dword [ebp - 0x860], eax
test edi, edi
jle 0x4055ab
push 0
mov eax, edi
sub eax, ebx
push eax
mov eax, dword [ebp - 0x860]
add eax, ebx
push eax
mov eax, dword [ebp - 0x870]
push dword [eax]
call esi
cmp eax, 0xffffffff
je 0x405530
test eax, eax
je 0x405530
add ebx, eax
cmp edi, ebx
jg 0x4054d5
push 5
pop ecx
cmp ebx, ecx
jl 0x4055ab
mov edx, dword [ebp - 0x860]
sub ebx, ecx
mov edi, edx
mov esi, 0x435010
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x405550
push 0x42cb40
push 0x3ff
push dword [ebp - 0x864]
jmp 0x4055a3
push 0x42cb40
push 0x3ff
push dword [ebp - 0x864]
call fcn.00413cbe
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x4055ab
test ebx, ebx
jle 0x40555f
lea eax, [edx + 5]
mov ecx, ebx
not byte [eax]
inc eax
dec ecx
jne 0x405559
mov esi, dword [ebp - 0x874]
mov eax, dword [esi]
add edx, 5
cmp eax, ebx
jl 0x40557f
push ebx
push edx
push dword [ebp - 0x868]
call fcn.0041b600
mov dword [esi], ebx
jmp 0x40558c
push eax
push edx
push dword [ebp - 0x868]
call fcn.0041b600
mov dword [ebp - 0x86c], 1
jmp 0x4055a8
push 0x42cb40
push 0x3ff
push edi
call fcn.00413cbe
add esp, 0xc
cmp dword [ebp - 0x860], 0
je 0x4055c0
push dword [ebp - 0x860]
call fcn.00409619
pop ecx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x86c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a49
add ebp, 0x70
leave
ret
Function at 0x40576b
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.00418550
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x78]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0x4057b1
xor eax, eax
jmp 0x4057ff
cmp dword [ebp - 0x78], ebx
jbe 0x4057ee
push 0
push 0x1000
lea eax, [ebp - 0x74]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4057ee
mov ecx, dword [ebp - 0x7c]
push dword [ecx]
push eax
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.004146d3
add ebx, dword [ebp - 0x80]
add esp, 0x10
mov dword [0x438204], ebx
cmp ebx, dword [ebp - 0x78]
jb 0x4057b6
mov eax, dword [ebp - 0x7c]
push dword [eax]
call fcn.004144f5
cmp ebx, dword [ebp - 0x78]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0xf8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a49
add ebp, 0xf90
leave
ret

Function at 0x405ccd
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
xor esi, esi
call fcn.004160a0
add esp, 0xc
test edi, edi
je 0x405d93
and dword [ebp - 0x7c], esi
mov ecx, 0x42ca0c
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x405d18
sub eax, esi
sar eax, 1
je 0x405d3c
push 0x42c804
push ecx
lea eax, [ebp - 0x7c]
push eax
call fcn.00413e54
add esp, 0xc
jmp 0x405d70
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x42cb9c
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00413c41
push 0x42c804
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00413e54
add esp, 0x18
xor esi, esi
inc esi
cmp dword [ebp - 0x7c], 0
je 0x405d93
push dword [ebp - 0x7c]
push esi
push 0x200
push edi
call fcn.004146d3
push dword [ebp - 0x7c]
call fcn.004144f5
add esp, 0x14
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413a49
add ebp, 0x194
leave
ret
Function at 0x405dab
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.004160a0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x405e86
push edi
mov edi, 0x42c840
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x405dfa
sub eax, edx
sar eax, 1
je 0x405e85
cmp dword [0x434f90], 3
mov esi, 0x104
lea eax, [ebp - 0x74]
jne 0x405e37
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42c7e0
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00413c41
add esp, 0xc
jmp 0x405e3f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00413c41
push 0x42c7fc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00413e54
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x405e85
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00414461
push dword [ebp - 0x78]
call fcn.004144f5
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00413a49
add ebp, 0x198
leave
ret

Function at 0x405e9f
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x433c24]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.004160a0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x405f51
push edi
mov edi, 0x42cb9c
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x405eea
sub eax, edx
sar eax, 1
je 0x405f50
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00413c41
push 0x42c7fc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00413e54
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x405f50
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00414461
push dword [ebp - 0x78]
call fcn.004144f5
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00413a49
add ebp, 0x198
leave
ret
Function at 0x408d68
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x408e0e
cmp dword [ebx + 4], 0xffffffff
jne 0x408e0e
lea esi, [ebx + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x408d95
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x408dcc
cmp ax, 0x2f
je 0x408dcc
dec esi
dec esi
mov ax, word [esi + 2]
inc esi
inc esi
test ax, ax
jne 0x408db9
mov edi, esi
mov esi, 0x42c7e0
movsd dword es:[edi], dword [esi]
push 0x20
call fcn.004095df
and dword [eax + 0x1c], 0
and dword [eax + 0xc], 0
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
push eax
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 0x10], 0
mov dword [eax + 0x18], ecx
call fcn.004082d9
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x408e13
mov eax, 0x1000000
pop edi
pop esi
pop ecx
ret 8

Function at 0x413a49
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433c24]
jne 0x413a53
repz ret
jmp fcn.0041857b

Function at 0x421faa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041b9d7
and dword [ebp - 4], 0
cmp dword [0x437fc8], 0
mov ebx, eax
jne 0x42205b
push 0x42b6e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42210c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42b6d8
push edi
call esi
test eax, eax
je 0x42210c
push eax
call fcn.0041b965
mov dword [esp], 0x42b6c8
push edi
mov dword [0x437fc8], eax
call esi
push eax
call fcn.0041b965
mov dword [esp], 0x42b6b4
push edi
mov dword [0x437fcc], eax
call esi
push eax
call fcn.0041b965
mov dword [esp], 0x42b698
push edi
mov dword [0x437fd0], eax
call esi
push eax
call fcn.0041b965
pop ecx
mov dword [0x437fd8], eax
test eax, eax
je 0x42205b
push 0x42b680
push edi
call esi
push eax
call fcn.0041b965
pop ecx
mov dword [0x437fd4], eax
mov eax, dword [0x437fd4]
cmp eax, ebx
je 0x4220b3
cmp dword [0x437fd8], ebx
je 0x4220b3
push eax
call fcn.0041b9e0
push dword [0x437fd8]
mov esi, eax
call fcn.0041b9e0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4220b3
test edi, edi
je 0x4220b3
call esi
test eax, eax
je 0x4220aa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4220aa
test byte [ebp - 0xc], 1
jne 0x4220b3
or dword [ebp + 0x10], 0x200000
jmp 0x4220ec
mov eax, dword [0x437fcc]
cmp eax, ebx
je 0x4220ec
push eax
call fcn.0041b9e0
pop ecx
test eax, eax
je 0x4220ec
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4220ec
mov eax, dword [0x437fd0]
cmp eax, ebx
je 0x4220ec
push eax
call fcn.0041b9e0
pop ecx
test eax, eax
je 0x4220ec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x437fc8]
call fcn.0041b9e0
pop ecx
test eax, eax
je 0x42210c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42210e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41c015
lea edi, [esi - 0x1b015]
push edi
jmp 0x42374a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423740
mov eax, 1
add ebx, ebx
jne 0x423763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423758
jne 0x423774
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423758
xor ecx, ecx
sub eax, 3
jb 0x423788
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4237fa
mov ebp, eax
add ebx, ebx
jne 0x423793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4237a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4237c4
inc ecx
add ebx, ebx
jne 0x4237b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4237a5
jne 0x4237c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4237a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4237e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4237d5
jmp 0x423746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4237e4
add edi, ecx
jmp 0x423746
pop esi
mov edi, esi
mov ecx, 0x9d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423802
cmp byte [edi], 2
jne 0x423802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x423807
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x42387f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2390c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23948]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423834
mov ecx, edi
jns 0x423863
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23950]
or eax, eax
je 0x423879
mov dword [ebx], eax
add ebx, 4
jmp 0x423851
call dword [esi + 0x2394c]
mov ebp, dword [esi + 0x23954]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4238b3
sub esp, 0xffffff80
jmp 0x401cf0
Function at 0x6620142f
Capabilities:
Create process on windows
Create process suspended
Set environment variable
Terminate process

Disassembly:
mov eax, 0x66215ede
call fcn.6620b838
sub esp, 0x36c
lea ecx, [ebp - 0x218]
push ebx
push edi
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.66202d60
lea eax, [ebp - 0x218]
mov esi, 0x66217468
push esi
push eax
mov byte [ebp - 4], 1
call fcn.66203680
lea ecx, [ebp - 0x118]
pop edi
pop edi
call fcn.66202d60
lea eax, [ebp - 0x118]
push ebx
push eax
push dword [ebp - 0x218]
mov byte [ebp - 4], 2
call fcn.662039e0
sub esp, 0xfffffff4
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jl 0x662014f5
lea ecx, [ebp - 0x378]
push 0xffffffffffffffff
push 0x66217464
call fcn.66203530
lea ecx, [ebp - 0x118]
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.66202c70
neg eax
sbb al, al
lea ecx, [ebp - 0x378]
inc al
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 2
call fcn.66203260
push ebx
cmp byte [ebp - 0xd], bl
je 0x662014f2
push str.AppSync
push str.Your_application_was_updated._____________Please_relaunch_to_use_the_new_version
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call edi
lea eax, [ebp - 0x68]
push 0x44
pop esi
push esi
push ebx
push eax
call fcn.6620b860
sub esp, 0xfffffff4
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.662034b0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
lea eax, [ebp - 0x14]
push 1
push ebx
push eax
call esi
push eax
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea esi, [ebp - 0x168]
push dword [ebp - 0x14]
push 0x662173a8
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x168]
sub esp, 0xfffffff4
push eax
push str.TS_PARENT_HANDLE
call edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push dword [ebp - 0x2c8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x662014eb
lea ecx, [ebp - 0x2c8]
call fcn.66203260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.66203260
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x218]
call fcn.66203260
lea ecx, [ebp + 8]
or dword [ebp - 4], 0xffffffff
call fcn.66203260
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret