joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b480
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov edx, dword [ebx + 0xc]
sub esp, 8
cmp dword [edx + 0x14], 0x10
push esi
push edi
mov edi, edx
jb 0x41b4a8
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x41b4c6
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x41b4b4
push esi
push edx
lea eax, [ebp - 8]
push eax
call fcn.0041b3f0
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41b4ec
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp dword [0x47fa98], 0x4924924
je 0x41b662
push 0x38
call fcn.004386f9
add esp, 4
mov edi, eax
push dword [ebx + 0xc]
lea ecx, [edi + 8]
call fcn.004168a0
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov ecx, dword [0x47fa98]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x478a70]
mov eax, dword [0x47faac]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x478a70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x47fa90]
comiss xmm1, xmm0
jbe 0x41b5ef
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 8], xmm0
fld qword [ebp - 8]
fstp qword [esp]
call fcn.0045fbe0
fstp qword [ebp - 8]
movsd xmm0, qword [ebp - 8]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00464010
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x47faac]
cmp eax, ecx
jae 0x41b5cb
cmp eax, 0x200
jae 0x41b5c9
shl eax, 3
cmp eax, ecx
jae 0x41b5cb
mov eax, ecx
push eax
call fcn.0041bc10
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041b3f0
mov ecx, dword [0x47fa98]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
jmp 0x41b5f2
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x47fa98], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x47fa9c]
mov dword [ebp - 4], eax
mov eax, dword [0x47faa8]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x47fa94]
jne 0x41b626
mov dword [ecx + eax*8], edi
jmp 0x41b64a
cmp esi, edx
jne 0x41b641
mov dword [ecx + eax*8], edi
mov eax, dword [ebx + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov edx, dword [ebp - 4]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41b64e
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebx + 8]
mov dword [eax], edi
pop edi
mov byte [eax + 4], 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.004399f6
int3
Function at 0x41b6d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x41b701
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41b6f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x44faf6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044f96c

Function at 0x45683e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004564bb

Function at 0x456afd
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00456a7f

Function at 0x461150
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
je 0x461204
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebp
push ebp
call esi
mov ecx, edi
mov ebx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461173
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ebx]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4611a0
pop edi
pop esi
pop ebp
pop ebx
ret
push ebx
push ebp
call esi
mov esi, eax
cmp word [ebp + esi*2 - 2], 0x5c
je 0x4611b9
mov eax, 0x5c
mov word [ebp + esi*2], ax
inc esi
mov ecx, edi
xor edx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4611c0
sub ecx, ebx
sar ecx, 1
je 0x461204
lea esi, [esi*2]
add esi, ebp
nop word [eax + eax]
mov ax, word [edi + edx*2]
lea esi, [esi + 2]
mov word [esi - 2], ax
inc edx
mov eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4611f1
sub eax, ebx
sar eax, 1
cmp edx, eax
jb 0x4611e0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x461210
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
push dword [esp + 0x10]
call fcn.004625e0
mov esi, eax
add esp, 8
test esi, esi
je 0x461257
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46123b
test al, 0x50
jne 0x46123b
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x46124e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
ret
Function at 0x462000
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18
mov eax, dword [0x47c00c]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0xc], ecx
xor esi, esi
mov dword [esp + 8], 0
push edi
mov dword [esp + 0x14], 0x24
mov dword [esp + 0x18], 0x26
mov dword [esp + 0x1c], 0x2a
cmp dword [0x47ee70], ebx
jne 0x4620a9
mov edi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 0x20
push 3
push 1
push 3
push 2
push ebx
push ebx
call edi
push edx
push eax
call edi
push edx
push eax
call edi
push edx
push eax
push 0x23
xor ecx, ecx
mov dword [0x47ee70], 0x11c
push 0x47ee70
mov dword [0x47ee74], 6
mov dword [0x47ee78], 1
mov word [0x47ef84], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [esp + 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [0x47cad0], eax
jmp 0x4620ae
mov eax, dword [0x47cad0]
test eax, eax
je 0x4620c9
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00438ebb
add esp, 0x18
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LocalFree]
test ecx, ecx
je 0x46221d
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test edi, edi
je 0x46221d
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x46221d
push 0
push eax
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp edi, eax
jbe 0x46221d
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
nop word [eax + eax]
mov eax, dword [esp + ebp*4 + 0x18]
cmp eax, 0x26
jne 0x46223b
push 0
push 0
push 0x472d0c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor esi, esi
test edi, edi
je 0x462217
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x462217
push edi
push esi
push 0x472d0c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
jne 0x462217
push esi
push 0x472d0c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4621b7
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call edi
push 0x472cb4
push 0x26
call fcn.00461020
mov esi, eax
add esp, 8
test esi, esi
je 0x462217
jmp 0x4621d4
cmp word [esi + edi*2 - 4], 0x5c
je 0x4621ce
push 0x472d08
lea eax, [edi + 1]
push eax
push esi
call fcn.004628a0
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4621e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
push dword [esp + 0x18]
call fcn.0045e582
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
add ebx, 1
jne 0x462217
push esi
call edi
inc ebp
xor esi, esi
cmp ebp, 3
jl 0x462130
mov ebp, dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call ebp
push dword [esp + 0x10]
call ebp
mov ecx, dword [esp + 0x24]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00438ebb
add esp, 0x18
ret
push 0x472cb4
push eax
jmp 0x4621a7
Function at 0x10001c60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 3
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd728
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 6
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.ACTIVE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10001d48
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10001d78
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10001ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 3
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd72c
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 6
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.ACTIVE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10001fc8
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10001ff8
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10002a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 2
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd760
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push 0x100bd75c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10002b4c
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10002b7c
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ce0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 2
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd764
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push 0x100bd75c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10002dc8
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10002df8
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10003950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 3
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd774
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.NEWS
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10003a38
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10003a68
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10003e50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd784
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.NEWS
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10003f2c
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10003f5c
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x100041f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 3
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd794
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 6
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.UPDATE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x100042d8
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10004308
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10004470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 3
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd798
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 6
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.UPDATE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10004558
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10004588
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x100049b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 2
cmp dword [eax + 0x10], 0
mov esi, 0x100d8450
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bd7ac
lea ecx, [esp + 0x30]
cmovne esi, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.USER
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x10004a98
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x10004ac8
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4