joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6430
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
push 0x17
push ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x6d78734d
mov dword [ebp - 0x20], 0x582e326c
mov dword [ebp - 0x1c], 0x54484c4d
mov word [ebp - 0x18], 0x5054
mov byte [ebp - 0x16], bl
call fcn.00461a30
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x461dc3
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x461da3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [ebp - 0x34]
call fcn.004615c0
push 0x4fdcf8
push 0x4fdcf8
mov ecx, 0x45
push 0x4fdcf8
push ecx
mov ecx, dword [ebp - 0x34]
mov eax, esp
mov dword [ebp - 0x2c], 0x450047
mov dword [ebp - 0x28], 0x54
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], esp
cmp eax, ebx
je 0x461e0a
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
mov byte [ebp - 4], 3
call fcn.004615c0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 4
cmp ecx, ebx
jne 0x461e32
push 0x80004003
call fcn.004986f0
mov byte [ebp - 4], 2
call fcn.00461b90
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
jne 0x461e4c
push 0x80004003
call fcn.004986f0
mov edi, dword [0x4fdcf8]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [0x4fdcfc]
mov dword [eax + 4], edi
mov edi, dword [0x4fdd00]
mov dword [eax + 8], edi
mov edi, dword [0x4fdd04]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x2c]
push ecx
mov esi, ecx
call eax
cmp eax, ebx
jge 0x461e8e
push 0x4d3768
push esi
push eax
call fcn.00498710
mov esi, dword [ebp - 0x34]
cmp esi, ebx
je 0x461ed0
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x461ecd
cmp esi, ebx
je 0x461ecd
mov eax, dword [esi]
cmp eax, ebx
je 0x461eb4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x461ec4
push eax
call fcn.0047ecd6
add esp, 4
push esi
call fcn.0047d656
add esp, 4
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x461ee2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
jmp 0x461da5
Function at 0x4623a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c64f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov word [ebp - 0x20], cx
mov word [ebp - 0x38], cx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0x61002e
mov dword [ebp - 0x30], 0x65006c
mov dword [ebp - 0x2c], 0x610078
mov dword [ebp - 0x28], 0x63002e
mov dword [ebp - 0x24], 0x6d006f
mov dword [ebp - 0x54], 0x61002e
mov dword [ebp - 0x50], 0x61006d
mov dword [ebp - 0x4c], 0x6f007a
mov dword [ebp - 0x48], 0x61006e
mov dword [ebp - 0x44], 0x730077
mov dword [ebp - 0x40], 0x63002e
mov dword [ebp - 0x3c], 0x6d006f
mov eax, dword [ecx - 0xc]
or esi, 0xffffffff
mov dword [ebp - 4], 1
test eax, eax
js 0x46245b
lea edx, [ebp - 0x34]
push edx
push ecx
call fcn.0047f374
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x46245b
sub eax, ecx
sar eax, 1
cmp eax, esi
jne 0x46250f
cmp dword [ecx - 0xc], 0
jl 0x46247f
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.0047f374
add esp, 8
test eax, eax
je 0x46247f
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, esi
jne 0x46250f
lea ecx, [ebp + 8]
call fcn.00439a80
push eax
lea ecx, [ebp + 8]
call fcn.0040195e
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x1c], 0x650074
mov dword [ebp - 0x18], 0x740078
mov word [ebp - 0x14], dx
cmp dword [ecx - 0xc], edx
jl 0x4624cd
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.0047f374
mov ecx, dword [ebp + 8]
add esp, 8
test eax, eax
je 0x4624cd
sub eax, ecx
sar eax, 1
cmp eax, esi
je 0x4624cd
lea eax, [ecx - 0x10]
jmp 0x462515
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4624ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x46250b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x462555
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462531
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [ebp - 4], esi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x462550
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 8
Function at 0x4625d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x30], 0x740068
mov dword [ebp - 0x2c], 0x700074
mov dword [ebp - 0x28], 0x2f003a
mov dword [ebp - 0x24], 0x77002f
mov dword [ebp - 0x20], 0x770077
mov dword [ebp - 0x1c], 0x62002e
mov dword [ebp - 0x18], 0x690061
mov dword [ebp - 0x14], 0x750064
mov dword [ebp - 0x10], 0x63002e
mov dword [ebp - 0xc], 0x6d006f
mov dword [ebp - 8], 0x2f
mov dword [ebp - 0x64], 0x740068
mov dword [ebp - 0x60], 0x700074
mov dword [ebp - 0x5c], 0x2f003a
mov dword [ebp - 0x58], 0x77002f
mov dword [ebp - 0x54], 0x770077
mov dword [ebp - 0x50], 0x67002e
mov dword [ebp - 0x4c], 0x6f006f
mov dword [ebp - 0x48], 0x6c0067
mov dword [ebp - 0x44], 0x2e0065
mov dword [ebp - 0x40], 0x6f0063
mov dword [ebp - 0x3c], 0x2e006d
mov dword [ebp - 0x38], 0x6b0068
mov dword [ebp - 0x34], 0x2f
call fcn.004815cc
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x3c
jae 0x4626ab
lea edx, [ebp - 0x30]
push edx
jmp 0x4626c7
cmp edx, 0x55
jae 0x4626b6
lea eax, [ebp - 0x64]
push eax
jmp 0x4626c7
cmp edx, 0x5a
jae 0x4626c2
push 0x4d37e0
jmp 0x4626c7
push 0x4cd850
mov ecx, esi
call fcn.00402008
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 4
Function at 0x4674e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x130]
call fcn.004439a0
mov ecx, edi
mov esi, eax
call fcn.004439a0
cmp eax, esi
jne 0x467639
mov ecx, edi
call fcn.0049b3c0
mov esi, dword [ebx - 0x20]
xor eax, eax
lea ecx, [ebp - 0x38]
push eax
mov edx, ecx
push edx
push eax
push esi
mov dword [ebp - 0x38], 0x6e0049
mov dword [ebp - 0x34], 0x650074
mov dword [ebp - 0x30], 0x6e0072
mov dword [ebp - 0x2c], 0x740065
mov dword [ebp - 0x28], 0x450020
mov dword [ebp - 0x24], 0x700078
mov dword [ebp - 0x20], 0x6f006c
mov dword [ebp - 0x1c], 0x650072
mov dword [ebp - 0x18], 0x5f0072
mov dword [ebp - 0x14], 0x650053
mov dword [ebp - 0x10], 0x760072
mov dword [ebp - 0xc], 0x720065
mov word [ebp - 8], ax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x467596
mov dword [ebp - 0x4c], eax
jmp 0x4675a9
lea eax, [ebp - 0x50]
push eax
push 0x45d250
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x48]
cmp edx, 0xa
jle 0x467608
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
cmp eax, 0xa
jle 0x467608
call fcn.004815cc
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
cdq
idiv ecx
mov esi, edx
call fcn.004815cc
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x44]
cdq
idiv ecx
mov ecx, dword [ebp - 0x54]
movzx eax, si
movzx edx, dx
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x200
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.004815cc
mov esi, eax
and esi, reloc.DSOUND.dll_DirectSoundCreate
jns 0x46761c
dec esi
or esi, 0xfffffffe
inc esi
imul esi, esi, 0x3e8
call fcn.004815cc
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, edi
add edx, esi
push edx
call fcn.0049b480
push edi
mov ecx, ebx
call fcn.004614a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 4
Function at 0x46b760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [ebp + 8]
sub eax, edi
cmp eax, ebx
jae 0x46b7d8
mov edi, edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x46b7c8
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
call esi
sub eax, edi
cmp eax, ebx
ja 0x46b7c8
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x46b796
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x46b780
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x475768
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
lea ecx, [ebp - 0x24]
push 0
mov edx, ecx
push edx
push 0
push ebx
mov dword [ebp - 0x24], 0x680053
mov dword [ebp - 0x20], 0x6c0065
mov dword [ebp - 0x1c], 0x20006c
mov dword [ebp - 0x18], 0x6d0045
mov dword [ebp - 0x14], 0x650062
mov dword [ebp - 0x10], 0x640064
mov dword [ebp - 0xc], 0x6e0069
mov dword [ebp - 8], 0x67
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
call esi
test eax, eax
je 0x4756db
mov dword [ebp - 0x50], eax
jmp 0x4756ee
lea eax, [ebp - 0x54]
push eax
push 0x45d250
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x475768
push edi
xor ecx, ecx
push ecx
lea edx, [ebp - 0x4c]
mov word [ebp - 0x28], cx
mov dword [ebp - 0x58], ecx
mov ecx, edx
push ecx
push 0
push eax
mov dword [ebp - 0x4c], 0x6c0041
mov dword [ebp - 0x48], 0x780065
mov dword [ebp - 0x44], 0x520061
mov dword [ebp - 0x40], 0x660065
mov dword [ebp - 0x3c], 0x65006c
mov dword [ebp - 0x38], 0x740063
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x57006e
mov dword [ebp - 0x2c], 0x64006e
mov edi, eax
mov dword [ebp - 0x5c], edx
call esi
test eax, eax
jne 0x475763
lea edx, [ebp - 0x5c]
push edx
push 0x45d250
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x58]
pop edi
test eax, eax
jne 0x47577a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x186a0
div ecx
lea eax, [ebx + edx*4]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 4
Function at 0x47bd50
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0xc9
mov ebx, ecx
call fcn.00402c1a
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x30
mov dword [esi], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea ecx, [eax + eax*8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
call fcn.004815cc
cdq
idiv esi
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + eax*8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
call fcn.004815cc
cdq
idiv edi
mov eax, 0x66666667
push 0x14
add ebx, 4
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov dword [ebp - 0x18], ecx
call fcn.004815cc
cdq
idiv dword [ebp - 0x18]
add edx, edi
push edx
call fcn.004815cc
mov ecx, dword [ebp - 0x1c]
cdq
idiv ecx
mov eax, dword [ebx]
add edx, esi
push edx
mov edx, dword [ebp - 0x18]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
mov ecx, 0x4fe87c
call fcn.0044e560
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47c7d7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4fea3c], 0
push esi
push edi
jne 0x47c74d
call fcn.0047c6b9
test eax, eax
je 0x47c792
mov eax, dword [0x4fea3c]
cmp eax, 1
jne 0x47c76e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x47c792
jmp 0x47c7d4
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x47c7d4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x47c796
xor eax, eax
jmp 0x47c7d4
mov eax, dword [esi]
push dword [0x4fea3c]
call edi
mov edi, eax
test edi, edi
je 0x47c7b8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x47c7d4
lea edi, [esi + 0xff0]
push esi
push dword [0x4fea3c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x47c7be
mov eax, esi
pop edi
pop esi
ret
jmp 0x47c739

Function at 0x47e4d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fca20]
jne 0x47e4dc
repz ret
jmp fcn.00486c9c
Function at 0x49444c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048669a
and dword [ebp - 0x14], 0
cmp dword [0x4ffa78], 0
mov dword [ebp - 0x18], eax
jne 0x4944ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4945a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4945a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4ffa78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ffa7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ffa80], eax
call edi
push eax
call esi
mov dword [0x4ffa88], eax
test eax, eax
je 0x4944ff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ffa84], eax
mov eax, dword [0x4ffa84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x494558
cmp dword [0x4ffa88], ecx
je 0x494558
push eax
call esi
push dword [0x4ffa88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x494558
test ebx, ebx
je 0x494558
call edi
test eax, eax
je 0x49454f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49454f
test byte [ebp - 8], 1
jne 0x494558
or dword [ebp + 0x10], 0x200000
jmp 0x49458b
mov eax, dword [0x4ffa7c]
cmp eax, dword [ebp - 0x18]
je 0x49458b
push eax
call esi
test eax, eax
je 0x49458b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49458b
mov eax, dword [0x4ffa80]
cmp eax, dword [ebp - 0x18]
je 0x49458b
push eax
call esi
test eax, eax
je 0x49458b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ffa78]
call esi
test eax, eax
je 0x4945a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4945a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e4d2
leave
ret

Function at 0x499300
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0047e610
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
shrd eax, edx, 0x14
xor ecx, ebp
shr edx, 0x14
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret
Function at 0x4995b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c90a6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x144]
mov dword [esi], vtable.SystemInfo.0
call fcn.00499390
push 0x11c
lea ebx, [esi + 4]
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.0047e610
add esp, 0xc
lea eax, [esi + 0x120]
push eax
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.ntdll.dll
mov dword [ebp - 0x18], vtable.CLibLoader.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x499660
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x499660
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 0xc]
push edx
lea ecx, [esi + 8]
push ecx
call eax
xor edx, edx
mov word [esi + 0x12], dx
jmp 0x499667
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test edi, edi
je 0x499672
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4996c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c90e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc7ec
mov dword [ebp - 4], 0
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x101
or eax, ecx
mov dword [ebp - 4], 0
jge 0x499735
push 0x101
mov ecx, esi
call fcn.00401485
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x499759
push ecx
push eax
call fcn.00480cec
add esp, 8
test eax, eax
js 0x49977f
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x49977f
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401000
int3
Function at 0x499900
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9179
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
call fcn.0047e610
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [0x4fc7ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fc7ec
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 1
call fcn.00499300
push eax
push str._d_M
push esi
call fcn.00401a85
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 4

Function at 0x49a0e0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19010
call fcn.0047e8f0
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x19000
lea ecx, [ebp - 0x19007]
push 0
mov dword [ebp - 0x1900c], 0
push ecx
mov dword [ebp - 0x19010], eax
mov byte [ebp - 0x19008], 0
call fcn.0047e610
add esp, 0xc
lea edx, [ebp - 0x1900c]
push edx
lea eax, [ebp - 0x19008]
push eax
push 0
mov dword [ebp - 0x1900c], 0x19000
call sub.urlmon.dll_ObtainUserAgentString
lea ecx, [ebp - 0x19008]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jg 0x49a18f
lea eax, [esi + esi]
call fcn.00480b20
mov edi, esp
test edi, edi
je 0x49a18f
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x19008]
xor edx, edx
push eax
push edx
push 3
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x49a191
xor eax, eax
mov esi, dword [ebp - 0x19010]
push eax
mov ecx, esi
call fcn.00402008
mov eax, esi
lea esp, [ebp - 0x19018]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret