joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dde8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x481891
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x481788
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x481891
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x4817a2
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x481891
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x4817bc
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x481891
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x4817d6
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x481891
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x481891
push 3
mov ecx, esi
call fcn.004816f0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.00439f20
push 0x5830f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00482df0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48182e
push 0
mov ecx, esi
call fcn.004816f0
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x48183f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x481881
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x481881
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x481881
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.00439fb0
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.00407920
lea ecx, [ebp - 0x2c]
call fcn.0043aaf0
lea ecx, [ebp - 0x28]
call fcn.00407920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047285d
mov esp, ebp
pop ebp
ret 4
Function at 0x483270
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e12b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
mov eax, dword [ebp + 8]
push eax
call dword [edx]
cmp byte [edi + 0xc], 0
je 0x4833a6
mov ebx, dword [edi + 0x14]
lea esi, [edi + 0x20]
push 0x180
push 0x40
push 0x8109
push ebx
push esi
call fcn.00535c00
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x483386
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.0051e5a0
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.00406b20
push 0x582e6c
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str._error.__
push ebx
push str.open
push eax
call fcn.00405440
add esp, 8
push eax
call fcn.00405440
add esp, 8
push eax
call fcn.00405440
add esp, 8
mov ecx, eax
call fcn.00407e90
push eax
call fcn.00405440
add esp, 8
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xa8]
push eax
call fcn.004831b0
cmp dword [eax + 0x14], 8
jb 0x483369
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xd8]
call fcn.00407920
lea ecx, [ebp - 0xa8]
call fcn.0040ad10
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x48339c
push 2
push 0
push eax
call fcn.0053612e
add esp, 0xc
jmp 0x48339f
or eax, 0xffffffff
mov dword [edi + 8], eax
mov byte [edi + 0xc], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x4834c4
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor bl, bl
push 0
push eax
call esi
test eax, eax
movzx edx, bl
mov ecx, 1
cmove edx, ecx
mov dword [ebp - 0xac], edx
test dl, dl
jne 0x4833f9
cmp dword [ebp + 0xc], 0
je 0x4833f1
push 0xffffffffffffffff
push dword [edi + 4]
call esi
mov byte [ebp - 0xac], 1
jmp 0x4833f9
test dl, dl
je 0x4834c4
lea ecx, [edi + 0x24]
mov dword [ebp - 0xb8], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
cmp eax, ecx
je 0x48349d
mov esi, dword [ecx]
mov dword [ecx], 0
mov edx, dword [ecx + 4]
mov dword [ecx + 4], 0
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb0], eax
mov dword [ecx + 8], 0
cmp esi, edx
je 0x48349d
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x48346a
mov ecx, dword [esi]
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x483489
push dword [esi + 0x10]
push ecx
push eax
call fcn.005366ff
mov edx, dword [ebp - 0xbc]
add esp, 0xc
mov ecx, eax
jmp 0x48348c
or ecx, 0xffffffff
mov ebx, dword [edi + 8]
add esi, 0x18
add ebx, ecx
mov dword [edi + 8], ebx
cmp esi, edx
jne 0x483460
jmp 0x4834a0
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0xb8]
call fcn.00480190
cmp byte [ebp - 0xac], 0
je 0x4834c0
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
jmp 0x4834c7
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047285d
mov esp, ebp
pop ebp
ret 8
Function at 0x483d60
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e2a3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x483e05
cmp word [esi], di
je 0x483e05
test eax, eax
je 0x483dc1
cmp word [eax], di
je 0x483dc1
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x483e05
jmp 0x483e00
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0051e5a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x483e05
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x483e7c
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x483e67
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x483e35
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x483e56
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x483e9c
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x483e67
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x483e7c
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 - 0x10]
xor ecx, ebp
call fcn.0047285d
mov esp, ebp
pop ebp
ret 0x30
call fcn.0047490c
int3
Function at 0x484ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x218], esi
test ebx, ebx
je 0x4850b0
cmp dword [ebx], 2
jne 0x4850b0
cmp dword [esi + 0x14], 8
jb 0x484f26
mov esi, dword [esi]
mov dword [ebp - 0x218], esi
cmp dword [ebx + 0x10], 0
je 0x484f40
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047285d
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x484f2c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x484f5b
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x484f2c
mov ecx, dword [ebx + 0x20]
mov eax, 0x532ae21d
push edi
mov edi, dword [ebx + 0x1c]
mov esi, 1
sub ecx, edi
mov dword [ebp - 0x210], 0
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x48509d
mov dword [ebp - 0x214], 0
nop dword [eax]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0051e5a0
mov eax, dword [ebp - 0x214]
add esp, 0xc
add eax, 4
add eax, edi
push eax
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x484fe0
sub eax, edx
xor ecx, ecx
sar eax, 1
je 0x48501e
lea ebx, [ecx + 0x5c]
nop word [eax + eax]
cmp word [ebp + ecx*2 - 0x20c], 0x2f
jne 0x485013
mov word [ebp + ecx*2 - 0x20c], bx
inc ecx
cmp ecx, eax
jb 0x485000
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x214]
mov eax, dword [eax + edi]
test byte [eax + 0x26], 0x10
je 0x485041
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x485066
test esi, esi
je 0x485064
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0x210]
call fcn.004850d0
test eax, eax
je 0x485064
mov esi, 1
jmp 0x485066
xor esi, esi
mov ecx, dword [ebx + 0x20]
add edi, 0x314
inc dword [ebp - 0x210]
mov eax, 0x532ae21d
mov dword [ebp - 0x214], edi
mov edi, dword [ebx + 0x1c]
sub ecx, edi
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [ebp - 0x210], ecx
jb 0x484fa0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047285d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0047285d
mov esp, ebp
pop ebp
ret
Function at 0x485350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x485535
test edi, edi
je 0x485535
mov ecx, dword [esi + 0x20]
mov eax, 0x532ae21d
sub ecx, dword [esi + 0x1c]
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x485535
imul eax, ebx, 0x314
mov ebx, dword [esi + 0x1c]
mov ebx, dword [eax + ebx]
test byte [ebx + 0x26], 0x10
jne 0x485535
mov eax, dword [ebp + 0x10]
cmp dword [ebx + 0x18], eax
ja 0x485535
mov esi, dword [esi + 0xc]
mov edx, dword [ebx + 0x2a]
movzx eax, word [edx + esi + 0x1c]
movzx ecx, word [edx + esi + 0x1a]
add eax, edx
add ecx, eax
lea eax, [esi + 0x1e]
add eax, ecx
movzx ecx, word [ebx + 0xa]
mov dword [ebp - 8], eax
test cx, cx
jne 0x48554a
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x48543d
test eax, eax
je 0x485409
cmp ecx, esi
jb 0x485409
push esi
push eax
push edi
call fcn.0051efd0
add esp, 0xc
jmp 0x48543d
push ecx
push 0
push edi
call fcn.0051e5a0
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x485428
call fcn.00522c52
mov dword [eax], 0x16
jmp 0x485438
cmp dword [ebp - 0xc], esi
jae 0x48543d
call fcn.00522c52
mov dword [eax], 0x22
call fcn.00522b79
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x48552e
or eax, 0xffffffff
cmp edx, 8
jb 0x485506
mov esi, edx
shr esi, 3
nop dword [eax]
movzx ecx, byte [edi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
movzx ecx, byte [edi + 7]
add edi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
sub esi, 1
jne 0x485460
test edx, edx
je 0x48552a
nop word [eax + eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x583288]
sub edx, 1
jne 0x485510
not eax
jmp 0x485530
xor eax, eax
cmp eax, dword [ebx + 0x10]
je 0x485576
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047285d
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 8
jne 0x485535
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push edi
push dword [ebx + 0x14]
push eax
call fcn.00488210
add esp, 0x14
test eax, eax
je 0x485535
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x10]
jne 0x485535
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047285d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x485600
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e38f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c524c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x58
call fcn.0047298f
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x485657
push 0x58
push 0
push esi
call fcn.0051e5a0
add esp, 0xc
mov ecx, esi
call fcn.004845e0
mov esi, eax
jmp 0x485659
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x48566b
mov edi, dword [edi]
test edi, edi
je 0x485708
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485708
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x485708
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x485708
push 0
push 0
push 0
push 2
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp dword [esi + 4], 0
mov dword [esi + 8], eax
je 0x485708
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x485708
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00484a40
test eax, eax
je 0x485708
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x48571e
mov ecx, esi
call fcn.00484700
push 0x58
push esi
call fcn.004729bf
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485cb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x485daf
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x485daf
or eax, 0xffffffff
cmp esi, 8
jb 0x485d87
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
sub edi, 1
jne 0x485ce0
pop edi
test esi, esi
je 0x485daa
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x584ae0]
sub esi, 1
jne 0x485d90
not eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x48b860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
push 4
mov dword [ebp - 8], edi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [edi + 4]
xorps xmm0, xmm0
push edi
movups xmmword [ebp - 0x24], xmm0
xor ebx, ebx
mov dword [ebp - 0xc], 0
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48b936
nop dword [eax]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x48b936
cmp dword [ebp - 0x20], 0x10
jne 0x48b8fa
cmp dword [ebp - 0x24], edi
jne 0x48b8fa
mov eax, dword [ebp - 0x1c]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
call fcn.004922b0
test al, al
jne 0x48b921
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x20], 0x12
je 0x48b936
test ebx, ebx
jne 0x48b936
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48b8c0
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x20], 0x12
pop edi
pop esi
pop ebx
jne 0x48b958
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x48f170
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x48f195
or esi, 1
push 1
call edi
test ax, ax
jns 0x48f1a1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x48f1ad
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x48f1b9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x491010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x17c]
call fcn.0048af60
mov edi, dword [ebp + 8]
test eax, eax
jle 0x49106b
nop
push esi
lea ecx, [ebx + 0x17c]
mov byte [ebp + 0xb], 0
call fcn.0048c090
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x49119c
lea ecx, [ebx + 0x17c]
inc esi
call fcn.0048af60
cmp esi, eax
jl 0x491030
sub edi, 0x100
je 0x491131
sub edi, 4
je 0x4910d2
sub edi, 2
jne 0x491126
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.005307d1
mov ecx, dword [ebx + 0x54]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x4925e0
call dword [eax + 0x144]
mov esi, eax
test esi, esi
je 0x491126
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x134]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x58], 0
je 0x491126
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x70]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.0048f170
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x491126
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x491183
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
call eax
test al, al
je 0x491183
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
mov eax, dword [eax + 0x114]
call eax
test al, al
je 0x491183
mov ecx, dword [ebx + 0x58]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.0051e872
add esp, 8
test eax, eax
je 0x491183
mov ecx, dword [ebx + 0x58]
call fcn.004a24e0
test al, al
jne 0x491126
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00491d50
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a3de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x4a3e4d
cmp dword [ebp + 8], 0x100
jne 0x4a3e3d
cmp word [ebp + 0xc], 0xd
jne 0x4a3e3d
cmp byte [esi + 0x59a], 0
je 0x4a3e1e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a3e3d
cmp byte [esi + 0x59b], 0
jne 0x4a3e3d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4a3e36
push 0
push 0
push 0
push str.return
push esi
call fcn.00491670
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4aab20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f9e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5c524c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00453b60
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x4aab65
mov eax, dword [edi]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0x10]
push str.AddTabWebViewCount__group_id:_s_total_size:_d
push eax
call fcn.00414530
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 8
lea eax, [ebp - 0x14]
push edi
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.004ab3f0
mov eax, dword [esi]
mov esi, dword [ebp - 0x14]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x4aabb5
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
push eax
push edi
call fcn.0045e0b0
test al, al
mov eax, dword [ebp + 8]
je 0x4aabb7
mov esi, eax
cmp esi, eax
je 0x4aabdf
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp dword [edi + 0x14], 8
jb 0x4aabca
mov edi, dword [edi]
push eax
push edi
lea eax, [ebp - 0x10]
push str.AddTabWebViewCount__group_id:_s_count:_d
push eax
call fcn.00414530
add esp, 0x10
jmp 0x4aac05
movups xmm0, xmmword [edi]
sub esp, 0x18
mov eax, esp
push str.AddTabWebViewCount__group_id:_s_Not_Found
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x10]
push eax
call fcn.00414530
add esp, 0x20
mov esi, dword [ebp - 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4aac2f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4