joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484a40
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x108]
mov dword [ebp - 0x1ac], 0x240
push eax
push 0x103
mov dword [0x585f5c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [0x53c0e8]
xor edi, edi
mov dword [ebp - 0x1b0], edi
lea eax, [eax + eax*2]
cmp dword [eax*4 + 0x4c51c0], 0xffffffff
je 0x484bd2
push ebx
push esi
lea ebx, [ebx]
push 0x9c
xor ebx, ebx
mov dword [ebp - 0x1b4], 0x64
lea eax, [ebp - 0x1a4]
mov esi, 0x64
push ebx
push eax
mov dword [ebp - 0x1a8], esi
call fcn.0049cbc0
add esp, 0xc
lea eax, [ebp - 0x1a4]
push eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x484b9f
cmp dword [ebp - 0x13c], 0xf
jb 0x484b65
mov esi, dword [ebp - 0x138]
xor edx, edx
mov edi, dword [ebp - 0x134]
imul eax, esi, 0x64
div edi
mov ecx, eax
xor eax, eax
cmp ecx, 0x87
jle 0x484b15
cmp ecx, 0xaf
setge al
inc eax
mov ecx, dword [0x53c0e8]
mov edx, dword [ebp - 0x1b0]
lea edx, [edx + ecx*2]
add edx, ecx
cmp eax, dword [edx*4 + 0x4c51c0]
jne 0x484b5f
cmp esi, 0x400
jl 0x484b5f
cmp edi, 0x240
jl 0x484b5f
cmp esi, dword [ebp - 0x1b4]
jl 0x484b5f
cmp edi, dword [ebp - 0x1a8]
jl 0x484b5f
mov dword [ebp - 0x1b4], esi
mov esi, edi
mov dword [ebp - 0x1a8], esi
jmp 0x484b65
mov esi, dword [ebp - 0x1a8]
push 0x9c
lea eax, [ebp - 0x1a4]
inc ebx
push 0
push eax
call fcn.0049cbc0
add esp, 0xc
lea eax, [ebp - 0x1a4]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
jne 0x484ae3
cmp esi, 0x64
jne 0x484bc0
mov edi, dword [ebp - 0x1b0]
mov eax, dword [0x53c0e8]
inc edi
mov dword [ebp - 0x1b0], edi
lea ecx, [edi + eax*2]
add ecx, eax
cmp dword [ecx*4 + 0x4c51c0], 0xffffffff
jne 0x484aa0
jmp 0x484bd0
mov dword [ebp - 0x1ac], esi
mov dword [0x585f5c], 1
pop esi
pop ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1ac]
xor ecx, ebp
pop edi
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x484fb0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x53c0f4], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x128], ebx
je 0x485239
push esi
push edi
push 0x4c3d40
push ebx
xor edi, edi
call fcn.00494396
mov esi, eax
lea eax, [ebp - 0x120]
push esi
push 1
push 0x14
push eax
call fcn.00495739
add esp, 0x18
cmp eax, 1
jne 0x485210
lea eax, [ebp - 0x120]
cmp dword [eax], 0x9a925a98
jne 0x485045
cmp dword [eax + 4], 0x30304354
jne 0x485045
mov edx, eax
mov ecx, ebx
call fcn.0048c420
mov eax, dword [0x4c9ad4]
lea ebx, [edi + 0x64]
mov dword [ebp - 0x120], eax
mov eax, dword [str.TS00]
mov dword [ebp - 0x11c], eax
jmp 0x4850c5
lea eax, [ebp - 0x120]
cmp dword [eax], 0x9a925a98
jne 0x485210
cmp dword [eax + 4], 0x31304354
jne 0x485210
mov edx, eax
mov ecx, ebx
call fcn.0048c420
mov eax, dword [0x4c9aec]
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [str.TS01]
push 1
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x124]
push 2
push eax
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x485210
push esi
push eax
movzx eax, word [ebp - 0x124]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x485210
lea ebx, [eax + 0x64]
mov eax, dword [ebp - 0x110]
add eax, 2
mov dword [ebp - 0x110], eax
add eax, 0x20
push eax
call fcn.00497cab
mov edi, eax
add esp, 4
test edi, edi
jne 0x4850f9
push 0x10
push str.malloc
push 0x4c9a90
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x110]
push esi
push 1
add eax, 0xfffffffe
push eax
push edi
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x485210
push esi
call fcn.00494b54
mov eax, dword [ebp - 0x110]
mov ecx, edi
mov byte [edi + eax - 2], 0x54
mov eax, dword [ebp - 0x110]
mov byte [edi + eax - 1], 0x53
mov edx, dword [ebp - 0x110]
call fcn.00487220
push 0x4c3dd8
push dword [ebp - 0x128]
call fcn.00494396
mov esi, eax
add esp, 0xc
test esi, esi
je 0x485210
sub ebx, 0x64
je 0x4851c5
dec ebx
jne 0x4851d9
push esi
push 1
lea eax, [ebp - 0x120]
push 0x14
push eax
call fcn.0049528d
lea ecx, [ebp - 0x10c]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485183
sub ecx, edx
push esi
push 1
push 2
lea eax, [ecx + 1]
movzx eax, ax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
push eax
call fcn.0049528d
movzx eax, word [ebp - 0x124]
push esi
push 1
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0049528d
add esp, 0x20
jmp 0x4851d9
push esi
push 1
lea eax, [ebp - 0x120]
push 0x14
push eax
call fcn.0049528d
add esp, 0x10
push esi
push 1
push dword [ebp - 0x110]
push edi
call fcn.0049528d
add esp, 0x10
cmp eax, 1
jne 0x485210
push edi
call fcn.00494034
push esi
call fcn.00494b54
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
push 0x4c9af8
call fcn.004857d0
add esp, 4
test edi, edi
je 0x48522a
push edi
call fcn.00494034
add esp, 4
test esi, esi
je 0x485237
push esi
call fcn.00494b54
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x4857d0
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.0049f010
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c0fc]
add esp, 0x18
test eax, eax
je 0x485810
call eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [0x53bf98], 0
je 0x485916
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x48584d
mov byte [ebp - 0x1404], al
jmp 0x485874
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48586d
push 0x1000
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x1404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485883
sub ecx, edx
lea edx, [ebp - 0x404]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x485895
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x1000
jb 0x4858d1
push 0x1000
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485921
lea edx, [ebp - 0x404]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x4858e0
push edi
lea edi, [ebp - 0x1404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4858f1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485921
lea ecx, [ebp - 0x404]
call fcn.00482b20
push 0x104
push 0x573048
push dword [0x53bb48]
mov dword [0x53bf98], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40015
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x48596e
mov eax, dword [0x53c0f8]
test eax, eax
je 0x48597e
jmp 0x48597c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call eax
push 0xffffffffffffffff
call fcn.0049501f
int3
Function at 0x485990
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.0049f010
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c0fc]
add esp, 0x18
test eax, eax
je 0x4859d0
call eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [0x53bf98], 0
je 0x485ad6
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x485a0d
mov byte [ebp - 0x1404], al
jmp 0x485a34
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x485a2d
push 0x1000
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x1404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485a43
sub ecx, edx
lea edx, [ebp - 0x404]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x485a55
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x1000
jb 0x485a91
push 0x1000
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ae1
lea edx, [ebp - 0x404]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x485aa0
push edi
lea edi, [ebp - 0x1404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x485ab1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ae1
lea ecx, [ebp - 0x404]
call fcn.00482b20
push 0x104
push 0x573048
push dword [0x53bb48]
mov dword [0x53bf98], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40010
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x485b2e
mov eax, dword [0x53c0f8]
test eax, eax
je 0x485b3e
jmp 0x485b3c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call eax
push 0xffffffffffffffff
call fcn.0049501f
int3
Function at 0x485b50
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.0049f010
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c100]
add esp, 0x18
test eax, eax
je 0x485b90
call eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [0x53bf98], 0
je 0x485c96
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x485bcd
mov byte [ebp - 0x1404], al
jmp 0x485bf4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x485bed
push 0x1000
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x1404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485c03
sub ecx, edx
lea edx, [ebp - 0x404]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x485c15
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x1000
jb 0x485c51
push 0x1000
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ca1
lea edx, [ebp - 0x404]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x485c60
push edi
lea edi, [ebp - 0x1404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x485c71
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ca1
lea ecx, [ebp - 0x404]
call fcn.00482b20
push 0x104
push 0x573048
push dword [0x53bb48]
mov dword [0x53bf98], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40030
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x485cee
mov eax, dword [0x53c0f8]
test eax, eax
je 0x485cfe
jmp 0x485cfc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call eax
push 0xffffffffffffffff
call fcn.0049501f
int3
Function at 0x485d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c100]
add esp, 0x18
test eax, eax
je 0x485d4c
call eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x104
push 0x573048
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40000
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret

Function at 0x485da0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c100]
add esp, 0x18
test eax, eax
je 0x485ddc
call eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x104
push 0x573048
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x24
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
cmp eax, 6
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x485e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x220]
xor edi, edi
push eax
push 0x4b44a0
push 1
push edi
mov esi, edx
mov dword [ebp - 0x214], edi
xorps xmm0, xmm0
mov dword [ebp - 0x228], esi
push 0x4b4490
mov ebx, ecx
movq qword [ebp - 0x21c], xmm0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x485f43
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push edi
push ecx
push eax
mov esi, dword [eax]
mov dword [ebp - 0x21c], 0xc
mov eax, dword [esi + 0x28]
call eax
cmp dword [ebp - 0x214], edi
je 0x485f32
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0xffffffffffffffff
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x220]
mov eax, dword [esi + 0x14]
call eax
test eax, eax
je 0x485ee6
mov edi, 1
jmp 0x485f32
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x230]
push 0
xorps xmm0, xmm0
movq qword [ebp - 0x230], xmm0
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x230], 8
mov dword [ebp - 0x22c], ecx
mov eax, dword [esi + 0x1c]
call eax
mov eax, dword [esi + 0xc]
push 7
push dword [ebp - 0x220]
call eax
test eax, eax
mov ecx, 2
cmovne edi, ecx
push dword [ebp - 0x220]
mov eax, dword [esi + 8]
call eax
mov esi, dword [ebp - 0x228]
cmp dword [ebp - 0x214], 0
jne 0x485fff
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x485f8a
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
push 2
cmp esi, 1
mov ecx, 0x4c3c4c
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, 0x4c6694
cmovne eax, ecx
push eax
push 1
push 0
push str.TileWallpaper
push dword [ebp - 0x224]
call esi
cmp dword [ebp - 0x228], 2
mov ecx, 0x4c3c4c
push 2
mov eax, 0x4c9b68
cmovne eax, ecx
push eax
push 1
push 0
push str.WallpaperStyle
push dword [ebp - 0x224]
call esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push ebx
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
mov ecx, 4
cmove edi, ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x490db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53c5d4], 0
push esi
jne 0x490e15
push 0x490da0
call fcn.0049543a
add esp, 4
push 0x5889d0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4912c0
push 0
push 0
call fcn.004981a8
add esp, 0x18
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x53c5d8], 0
mov dword [0x53c5d4], 1
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push edi
push 0x5889d0
call esi
mov edi, dword [0x53c5d8]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x490e8f
mov eax, dword [edi + 0x6a8]
mov edi, dword [edi + 0x620]
push 0x5889d0
mov dword [ebp - 4], eax
call esi
test edi, edi
je 0x490e79
push 0x5889d0
call esi
mov esi, dword [0x53c5d8]
test esi, esi
je 0x490e72
nop
cmp dword [esi + 0x620], edi
je 0x490ecd
mov esi, dword [esi + 0x6a8]
test esi, esi
jne 0x490e60
push 0x5889d0
call ebx
push 0x5889d0
call ebx
mov eax, dword [ebp - 4]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
jne 0x490e34
push 0x5889d0
call ebx
cmp dword [0x53c5d8], 0
pop edi
pop ebx
je 0x490eb4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
cmp dword [0x53c5d8], 0
jne 0x490ea7
mov dword [0x53c5e0], 0
mov dword [0x53c5dc], 0
pop esi
mov esp, ebp
pop ebp
ret
push 0x5889d0
call ebx
mov dword [esi + 0x650], 0
jmp 0x490e79

Function at 0x491730
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x53c5e8]
test eax, eax
je 0x49174f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x53c5e8], 0
call fcn.0047ec40
push 0xfffffffffffffffa
push 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push 0x4916f0
push 0
push str.NAMECACHE
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0xa
push eax
mov dword [0x53c5e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x53c5e8], 0
jne 0x491789
or eax, 0xffffffff
ret
call fcn.0047ec40
xor eax, eax
ret
Function at 0x4918f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x588a40]
mov ebx, ecx
push edi
mov edi, dword [0x588a0c]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x491a02
cmp dword [esi + 0x10], 0
jne 0x4919fa
mov ecx, dword [ebx]
mov edx, ecx
mov eax, dword [0x588a24]
imul edx, dword [0x5889f4]
mov dword [ebp - 8], ecx
add ecx, dword [0x588a28]
imul ecx, dword [edi + 8]
add edx, dword [0x588a14]
mov dword [ebp - 4], edx
lea eax, [ecx + eax*4]
add eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 4]
jge 0x491ad6
lea ebx, [ebx]
mov ebx, dword [esi + 8]
mov eax, edx
mov ecx, dword [ebp - 4]
cdq
mov esi, dword [esi + 0x2c]
and edx, 0x3fff
add eax, edx
sar ecx, 6
sar eax, 0xe
and ecx, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [0x5889f0]
cdq
and edx, 0x3fff
push ecx
mov ecx, dword [0x588a2c]
shl ecx, 2
lea edi, [edx + eax]
mov eax, ebx
mov edx, dword [ebp - 0x14]
imul eax, edx
inc edx
imul edx, ebx
mov ebx, dword [ebp - 0xc]
sar edi, 0xe
shl edi, 2
add eax, esi
push ecx
add eax, edi
add edx, esi
push eax
add edx, edi
mov ecx, ebx
call fcn.00492910
mov eax, dword [0x588a0c]
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
inc ecx
add edx, dword [0x5889f4]
add ebx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
cmp ecx, dword [eax + 4]
jge 0x491ad6
mov esi, dword [0x588a40]
jmp 0x491960
test eax, eax
je 0x491acb
cmp dword [esi + 0x10], 0
je 0x491acb
mov edx, dword [ebx]
mov ecx, edx
mov eax, dword [0x588a28]
imul ecx, dword [0x5889f4]
add eax, edx
imul eax, dword [edi + 8]
mov dword [ebp - 4], edx
add ecx, dword [0x588a14]
add eax, dword [edi + 0x2c]
add eax, dword [0x588a24]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
cmp edx, dword [ebx + 4]
jge 0x491ad6
mov edi, dword [esi + 8]
mov eax, ecx
mov esi, dword [esi + 0x2c]
cdq
and edx, 0x3fff
sar ecx, 6
and ecx, 0xff
push ecx
push dword [0x588a2c]
lea ebx, [edx + eax]
mov ecx, edi
mov eax, dword [0x5889f0]
cdq
and edx, 0x3fff
sar ebx, 0xe
add eax, edx
imul ecx, ebx
sar eax, 0xe
lea edx, [ebx + 1]
mov ebx, dword [ebp - 8]
imul edx, edi
add ecx, esi
add ecx, eax
push ecx
mov ecx, ebx
add edx, esi
add edx, eax
call fcn.00492910
mov eax, dword [0x588a0c]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add ecx, dword [0x5889f4]
add ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
cmp eax, dword [edx + 4]
jge 0x491ad6
mov esi, dword [0x588a40]
jmp 0x491a43
push str.HQGrpModifyCopy_NotSupportFormat_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4924b0
Capabilities:
Check os version
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
mov dword [0x53c5ec], 0
push 0
push eax
call fcn.0049cbc0
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x492519
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x492544
cmp dword [ebp - 0x88], 2
jne 0x492544
cmp dword [ebp - 0x94], 5
jne 0x492544
mov eax, dword [0x53c5ec]
mov ecx, 1
cmp dword [ebp - 0x90], 0
cmove eax, ecx
mov dword [0x53c5ec], eax
push 0
push 0x492340
mov dword [0x588a44], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret

Function at 0x492c00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, 0x1000
mov ebx, dword [edi + 0x8f8]
sub ebx, dword [edi + 0x8f4]
cmp ebx, eax
cmovg ebx, eax
cmp dword [edi + 0x8e4], 0
lea eax, [edi + 0x5d4]
jne 0x492c39
lea eax, [edi + 0x4d0]
push 0x4c3d40
push eax
call fcn.00494396
mov esi, eax
add esp, 8
mov dword [ebp - 8], esi
test esi, esi
jne 0x492c5a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x8f0]
add eax, dword [edi + 0x8f4]
push 0
push eax
push esi
call fcn.00497be2
push esi
push ebx
push 1
push dword [ebp - 4]
call fcn.00495739
push dword [ebp - 8]
mov esi, eax
add dword [edi + 0x8f4], esi
call fcn.00494b54
add esp, 0x20
or eax, 0xffffffff
cmp esi, ebx
cmovne esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret