joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6c88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406f34
mov eax, dword [ebp - 8]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4c6df2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406f4c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00406fd8
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4c6dca
mov eax, ebx
call fcn.00404204
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4c6dc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4c6dad
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4c6e00
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueW
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax + 2]
mov edx, 4
call fcn.00412d2c
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax]
mov edx, 4
call fcn.00412d2c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00407408
push 0x4c6e40
push dword [ebp - 0xc]
push 0x4c6e6c
push dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004074ec
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406fd8
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4c6dad
mov eax, esi
mov edx, dword [ebp - 0x20]
call fcn.004070f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6dca
mov eax, dword [ebp - 0x24]
call fcn.00404220
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6df9
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00406f44
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406f44
ret
Function at 0x4c7a90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x218], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4c7b56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20e]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407134
mov eax, dword [ebx]
mov dword [ebp - 0x214], eax
mov esi, dword [ebp - 0x214]
test esi, esi
je 0x4c7af8
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebx]
mov ecx, 1
mov edx, esi
call fcn.00407674
mov eax, dword [ebp - 0x218]
mov edx, 0x4c7b70
call fcn.0040760c
je 0x4c7b2b
mov eax, ebx
mov edx, 0x4c7b70
call fcn.00407348
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7b5d
lea eax, [ebp - 0x218]
call fcn.00406f3c
lea eax, [ebp - 4]
call fcn.00406f3c
ret
Function at 0x10002db2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10002df5
push 0x2b
push 0x4040d0d
push 6
call fcn.1000afce
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x100252c5]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.1000280a
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.1000bcb0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002e48
push ebx
call fcn.1000afe0
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10002e7e
push 0xa8
push 0x4040d0d
push 6
call fcn.1000afce
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10002e95
mov eax, 0x100252c4
jmp 0x10002eb6
mov eax, dword [ebp - 8]
test eax, eax
je 0x10002eb1
push eax
mov ebx, eax
call fcn.100016a6
inc eax
push eax
call fcn.1000afda
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10002eb6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002ec7
push ebx
call fcn.1000afe0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100054e3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000bf50
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10005557
push 0x39
push 0x4012ab7
push 6
call fcn.1000afce
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100055cd
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000bf50
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100055ca
push 0xda
push 0x4012ab7
push 6
call fcn.1000afce
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x100055d5
mov esp, ebp
pop ebp
ret 8

Function at 0x1000921c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x1000926a
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x10009260
push 0x43
push 0x4040fa7
push 6
call fcn.1000afce
add esp, 0xc
jmp 0x10009340
push dword [ebp + 8]
call fcn.10009346
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x100092ba
mov dword [ebp - 4], esp
push 7
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x100092b0
push 0xbd
push 0x4040fa7
push 6
call fcn.1000afce
add esp, 0xc
jmp 0x10009340
push dword [ebp + 8]
call fcn.10009386
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x1000930a
mov dword [ebp - 4], esp
push 5
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x10009300
push 0x137
push 0x4040fa7
push 6
call fcn.1000afce
add esp, 0xc
jmp 0x10009340
mov dword [ebp - 4], esp
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000933b
push 0x16f
push 0x4040fa7
push 6
call fcn.1000afce
add esp, 0xc
jmp 0x10009340
mov esp, ebp
pop ebp
ret 8
Function at 0x1000aa1d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.1000ab7e
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000aa7a
push 0x4d
push 0x4040e3b
push 6
call fcn.1000afce
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000aa8c
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000aab3
push 0x9c
push 0x4040e3b
push 6
call fcn.1000afce
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.1000abf4
mov eax, dword [ebp - 8]
jmp 0x1000aacc
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b8d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.1000d040
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x10020480
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x1000b992
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x1000b98b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x1000b976
lea edx, [esi + 1]
push edx
call fcn.1000b2c0
mov edi, eax
add esp, 4
test edi, edi
je 0x1000b968
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.1000d2d0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1000b922
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1000b9a5
push eax
call fcn.1000d490
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.1000b2c0
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x1002047c
call fcn.1000d240
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x1000be80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000be9e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000be93
pop esi
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001725
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10018004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x28], ebx
je 0x10001787
cmp dword [esi + 0x34], ebx
je 0x10001787
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001787
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
push ecx
push dword [esi + 0x34]
push dword [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x10001789
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100026ff
leave
ret 4
Function at 0x10001cdd
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x264
mov eax, 0x10010479
call fcn.1000e8e7
mov esi, ecx
mov dword [ebp - 0x23c], esi
xor eax, eax
mov dword [ebp - 0x23c], esi
lea edi, [ebp - 0x238]
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], bl
lea eax, [ebp - 0x118]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10001d3f
lea eax, [ebp - 0x118]
jmp 0x10001d4a
push str.APPDATA
call fcn.10005ad3
pop ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.100017f1
call fcn.100059b4
push 7
pop ecx
cdq
idiv ecx
lea ecx, [ebp - 0x270]
add edx, 5
call fcn.10001c33
push 1
push ecx
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10002493
push eax
lea ecx, [ebp - 0x254]
call fcn.10001a20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
lea ecx, [ebp - 0x238]
push dword [ebp - 0x244]
cmovae eax, dword [ebp - 0x254]
push eax
call fcn.10002230
lea ecx, [ebp - 0x254]
call fcn.10001bb9
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], bl
call fcn.10001bb9
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
push ebx
cmovae eax, dword [ebp - 0x238]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
call ebx
test eax, eax
jne 0x10001ef3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x10001ef3
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
js 0x10001e24
lea eax, [ebp - 0x220]
jmp 0x10001e2f
push str.TMPDIR
call fcn.10005ad3
pop ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.100017f1
call fcn.100059b4
and eax, 0x80000007
jns 0x10001e4c
dec eax
or eax, 0xfffffff8
inc eax
lea edx, [eax + 4]
lea ecx, [ebp - 0x270]
call fcn.10001c33
push 1
push ecx
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10002493
push eax
lea ecx, [ebp - 0x254]
call fcn.10001a20
mov byte [ebp - 4], 4
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
lea ecx, [ebp - 0x238]
push dword [ebp - 0x244]
cmovae eax, dword [ebp - 0x254]
push eax
call fcn.10002230
lea ecx, [ebp - 0x254]
call fcn.10001bb9
lea ecx, [ebp - 0x270]
call fcn.10001bb9
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
call ebx
test eax, eax
jne 0x10001ef3
call edi
cmp eax, 0xb7
je 0x10001ef3
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x10001f01
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call fcn.10001a20
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x10001f18
mov ecx, dword [ebp - 0x238]
inc edx
call fcn.10001bdc
mov eax, esi
call fcn.1000e8a5
ret
Function at 0x1000e860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e88d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x41313c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jne 0x41314d
cmp dword [ebp + 0xc], eax
jg 0x41314d
jl 0x41314a
cmp dword [ebp + 8], eax
jae 0x41314d
xor eax, eax
inc eax
push eax
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
xor dword [ebp + 0xc], 0x3f
jne 0x413162
call 0x8b97fdae
cmp dword [ebp + 0x10], ecx
invalid
invalid

Function at 0x4322a9
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4a7540], eax
mov edx, 0xc38bc001
mov eax, 0x4a7540
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7efc
jl 0x4322bf
mov dword [0x8b55205c], 0xc48301
mov dword [0x4a7f10], 0x35b1e801
pop edi
pop ebp
ret
Function at 0x45fbe7
Capabilities:
Encode data using xor

Disassembly:
push ebp
xchg byte [edx - 0x75], cl
inc ebp
adc al, 0x83
in al, dx
xor al, 0x89
jge 0x45fbeb
or byte [esi + 0x57], dl
sar eax, 0xff
je 0x45fc0f
cmp eax, 7
jl 0xff54fd87
cmp eax, 0x207
jge 0x45fd87
push ebx
call fcn.0044c304
mov edi, eax
cmp edi, 0xffffffff
je 0x8c35fd87
mov esi, dword [ebx + edi*4 - 0x740ffe4c]
push 0x2c
lea eax, [ebp - 0x2c]
push 0
push eax
mov dword [ebp - 0x30], 0xfff030
call fcn.00412f7b
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45fc4c
mov ecx, dword [ebx]
mov dword [esi], ecx
jmp 0x45fca8
lea edx, [ebp + 0x14]
push edx
push eax
push ebx
mov dword [ebp + 0x14], 0xffff00ff
call fcn.004341b4
test al, al
je 0x8c35fd80
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x2c], 4
mov eax, dword [ebx + ecx*4 - 0x740ffe4c]
mov eax, dword [eax]
push 0
push ecx
push eax
mov dword [esi], eax
call dword [0x4825a0]
les ecx, [edi + ecx - 0x7c]
out dx, eax
add byte [eax], al
add byte [ebx + 0x689e445], cl
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x482580]
les ecx, [edi + ecx - 0x7c]
fadd dword [eax]
add byte [eax], al
movsx eax, word [ebp + 0xc]
sub eax, 0
mov ecx, dword [ebp + 0x10]
mov byte [esi + 5], 0
mov dword [ebp - 0x2c], 0x45c70032
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
je 0x45fcfc
dec eax
jne 0x45fd20
call dword [0x4826d8]
test eax, eax
jne 0x45fcef
push edi
mov ecx, ebx
call fcn.0045fa7c
xor eax, eax
dec ebp
or byte [ecx + 0x68], dl
call 0x5ebf18
or dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], eax
mov byte [esi + 4], 1
jmp 0x45fd20
cmp word [ecx], 0
jne 0x45fd0b
mov dword [ebp - 0x28], 0xf0030800
jmp 0x45fd1c
cmp dword [ebp + 0x1c], 1
jne 0x45fd1c
mov dword [ebp - 0x28], 0x200
mov byte [esi + 5], 1
mov byte [esi + 4], 0
cmp byte [ebx + 4], 0
je 0x45fd54
cmp byte [ebx + 8], 0
je 0x45fd54
cmp edi, 7
jl 0x45fd54
mov eax, dword [ebx]
cmp dword [esi], eax
jne 0x45fd54
push eax
call dword [0x482598]
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xffffffff
je 0x45fd4e
lea edx, [eax - 4]
inc ecx
cmp ecx, edx
jle 0x45fd54
add eax, 0xfffffffc
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push eax
push 1
push ecx
push edx
call dword [0x48257c]
les ecx, [edi + ecx - 0x7c]
insd dword es:[edi], dx
add bh, bh
dec dword [ecx + 0x7d09d4bb]
jnp 0x51a45d41
push 0x18c229e8
Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x60845125
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6e077863
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10003920
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1001e0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [str.NSIS_Inetc__Mozilla_]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x1001a404]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x1001a408]
mov dword [ebp - 0x14], edx
mov eax, dword [0x1001a40c]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x1001a410]
mov dword [ebp - 0xc], ecx
mov dl, byte [0x1001a414]
mov byte [ebp - 8], dl
cmp dword [ebp + 8], 0
jne 0x10003982
push 0x1001a418
push 5
lea eax, [ebp - 0x28]
push eax
call fcn.1000b335
add esp, 0xc
jmp 0x10003995
push str.POST
push 5
lea ecx, [ebp - 0x28]
push ecx
call fcn.1000b335
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10003a6f
push 0
push 0
push 3
push 0
push 0
push 0x1bb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10003a65
push 0
push 0x80c00100
push 0
push 0
push str.HTTP_1.1
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10003a65
mov dword [ebp - 0x34], 0
cmp dword [ebp + 0x18], 0
je 0x10003a25
mov edx, dword [ebp + 0x18]
push edx
call fcn.1000b1d0
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
cmp dword [ebp + 0x14], 0
je 0x10003a41
mov eax, dword [ebp + 0x14]
push eax
call fcn.1000b1d0
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a90e
mov esp, ebp
pop ebp
ret 0x14