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

Disassembly:
push 0x3c
mov eax, 0x5f0d8e
call fcn.0044e95a
call fcn.00403028
mov ecx, eax
call fcn.0052ea5b
push eax
lea ecx, [ebp - 0x28]
call fcn.00404479
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 8
pop esi
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040b20c
push 0x5c
push dword [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00543ce7
pop ecx
pop ecx
test eax, eax
jne 0x40c019
or eax, 0xffffffff
jmp 0x40c01e
sub eax, dword [ebp - 0x44]
sar eax, 1
inc eax
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040ba13
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040b25f
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.0040bb8d
push str..temp
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b106
add esp, 0xc
cmp dword [ebp - 0x2c], esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c094
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x8c
push esi
call fcn.0040b9d5
mov ecx, eax
call fcn.0040f179
inc eax
push eax
push esi
call fcn.0040b9d5
mov ecx, eax
call fcn.004114c9
inc esi
push esi
call fcn.0040b9d5
mov ecx, eax
call fcn.0040f179
inc eax
push eax
push esi
call fcn.0040b9d5
mov ecx, eax
call fcn.004114c9
mov esi, 0x8e
push esi
call fcn.0040b9d5
mov ecx, eax
call fcn.0040f179
inc eax
push eax
push esi
call fcn.0040b9d5
mov ecx, eax
call fcn.004114c9
call fcn.0040b9d5
mov ecx, eax
call fcn.00410921
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004037bf
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0040bb8d
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004037bf
call fcn.0044e904
ret
Function at 0x40c212
Capabilities:
Move file

Disassembly:
push 0x80
mov eax, 0x5f0dde
call fcn.0044e95a
mov edi, ecx
mov esi, dword [ebp + 8]
call fcn.00403028
mov ecx, eax
call fcn.0051637a
push eax
lea ecx, [ebp - 0x88]
call fcn.00404479
and dword [ebp - 4], 0
lea eax, [ebp - 0x88]
push str.User.zconf
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040b106
push str.ConfigTemp_
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040b106
add esp, 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push esi
call fcn.0040ca24
test al, al
jne 0x40c294
xor bl, bl
xor esi, esi
jmp 0x40c344
push str.Config.ini
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040b106
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00403028
mov ecx, eax
call fcn.0052ea5b
push eax
lea ecx, [ebp - 0x40]
call fcn.00404479
mov esi, str..temp
mov byte [ebp - 4], 4
push esi
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004049a5
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], esi
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005275ba
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x14
mov ecx, esp
push eax
call fcn.00404479
call fcn.00525bd4
add esp, 0x18
lea ecx, [ebp - 0x40]
xor esi, esi
mov bl, 1
push esi
push 1
call fcn.004037bf
push esi
push 1
lea ecx, [ebp - 0x70]
call fcn.004037bf
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004037bf
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.004037bf
push esi
push 1
lea ecx, [ebp - 0x88]
call fcn.004037bf
mov al, bl
call fcn.0044e904
ret 4
Function at 0x40c372
Capabilities:
Check if file exists

Disassembly:
push 0x460
mov eax, 0x5f0e27
call fcn.0044e95a
mov edi, ecx
mov esi, dword [ebp + 8]
call fcn.00403028
mov ecx, eax
call fcn.0051637a
push eax
lea ecx, [ebp - 0x468]
call fcn.00404479
push str.User.zmb
lea eax, [ebp - 0x468]
xor ebx, ebx
push eax
lea eax, [ebp - 0x450]
mov dword [ebp - 4], ebx
push eax
call fcn.0040b106
push str.MBTemp_
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0040b106
add esp, 0x18
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
push esi
call fcn.0040ca24
test al, al
je 0x40c4e5
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call fcn.005426c0
add esp, 0xc
call fcn.00403028
mov ecx, eax
call fcn.00516386
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0054ed04
lea eax, [ebp - 0x218]
push str.WnDictManager.exe
push eax
call fcn.0054ed04
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c4a2
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005426c0
lea eax, [ebp - 0x420]
push 0x5fadcc
push eax
call fcn.0054ed04
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0054ed04
lea eax, [ebp - 0x420]
push 0x5fadd0
push eax
call fcn.0054ed04
lea eax, [ebp - 0x420]
push eax
call fcn.0052f663
add esp, 0x28
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
call fcn.005275ba
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
sub esp, 0x14
mov ecx, esp
push eax
call fcn.00404479
call fcn.00525bd4
add esp, 0x18
mov bl, 1
xor esi, esi
lea ecx, [ebp - 0x438]
push esi
push 1
call fcn.004037bf
push esi
push 1
lea ecx, [ebp - 0x450]
call fcn.004037bf
push esi
push 1
lea ecx, [ebp - 0x468]
call fcn.004037bf
mov al, bl
call fcn.0044e904
ret 4

Function at 0x40c51b
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x5f0e57
call fcn.0044e926
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x40c534
mov eax, dword [edi]
jmp 0x40c536
mov eax, edi
push eax
call fcn.005275ba
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00531ae7
mov eax, dword [ebp - 0x14]
add esp, 0xc
sub eax, dword [ebp - 0x18]
cdq
push 0x18
pop ecx
idiv ecx
test eax, eax
je 0x40c5ae
xor ebx, ebx
lea ecx, [ebp + 0xf]
inc ebx
push ebx
push edi
push dword [ebp - 0x18]
call fcn.00533840
test eax, eax
je 0x40c5ae
mov esi, dword [ebp - 0x18]
jmp 0x40c5a4
cmp dword [esi + 0x14], 8
jb 0x40c58c
mov eax, dword [esi]
jmp 0x40c58e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c5a4
push ebx
push edi
push esi
lea ecx, [ebp + 0xf]
call fcn.00533460
add esi, 0x18
cmp esi, dword [ebp - 0x14]
jne 0x40c582
jmp 0x40c5b0
xor bl, bl
lea ecx, [ebp - 0x18]
call fcn.0040925e
mov al, bl
call fcn.0044e8ef
ret 8
Function at 0x40c5c2
Capabilities:
Copy file

Disassembly:
push 0x68
mov eax, 0x5f0e8a
call fcn.0044e95a
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x40c5dd
mov eax, dword [esi]
jmp 0x40c5df
mov eax, esi
push eax
call fcn.005275ba
pop ecx
call fcn.00403028
mov ecx, eax
call fcn.0051637a
push eax
lea ecx, [ebp - 0x28]
call fcn.00404479
xor eax, eax
mov edi, str.ConfigTemp_
push edi
mov dword [ebp - 4], eax
call fcn.005454d1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004049a5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404479
call fcn.00525bd4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00524cf0
and dword [ebp - 0x48], 0
add esp, 0x1c
xor eax, eax
mov word [ebp - 0x58], ax
push 7
pop ecx
mov dword [ebp - 0x44], ecx
and dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
call fcn.00403028
mov ecx, eax
call fcn.0052ea5b
mov edi, eax
xor eax, eax
cmp word [edi], ax
je 0x40c67f
push edi
call fcn.005454d1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.00403bdf
push str.Config.ini
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040b106
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.004044cb
xor edi, edi
lea ecx, [ebp - 0x70]
push edi
push 1
call fcn.004037bf
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push edi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040c51b
cmp byte [ebp + 0xc], 0
mov bl, al
je 0x40c6f9
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.00524e21
pop ecx
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.004037bf
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.004037bf
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004037bf
mov al, bl
call fcn.0044e904
ret 8
Function at 0x40c724
Capabilities:
Check if file exists

Disassembly:
push 0x430
mov eax, 0x5f0eba
call fcn.0044e95a
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x40c742
mov eax, dword [esi]
jmp 0x40c744
mov eax, esi
push eax
call fcn.005275ba
pop ecx
call fcn.00403028
mov ecx, eax
call fcn.0051637a
push eax
lea ecx, [ebp - 0x438]
call fcn.00404479
and dword [ebp - 4], 0
mov ebx, str.MBTemp_
push ebx
call fcn.005454d1
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.004049a5
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404479
call fcn.00525bd4
mov ebx, 0x208
lea eax, [ebp - 0x218]
push ebx
push 0
push eax
call fcn.005426c0
add esp, 0x24
call fcn.00403028
mov ecx, eax
call fcn.00516386
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0054ed04
lea eax, [ebp - 0x218]
push str.WnDictManager.exe
push eax
call fcn.0054ed04
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c84c
push ebx
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005426c0
lea eax, [ebp - 0x420]
push 0x5fadcc
push eax
call fcn.0054ed04
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0054ed04
lea eax, [ebp - 0x420]
push str.__ExportUserMb
push eax
call fcn.0054ed04
lea eax, [ebp - 0x420]
push eax
call fcn.0052f663
add esp, 0x28
push esi
lea eax, [ebp - 0x438]
mov ecx, edi
push eax
call fcn.0040c51b
cmp byte [ebp + 0xc], 0
mov bl, al
je 0x40c87e
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
push ecx
call fcn.00524e21
pop ecx
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.004037bf
mov al, bl
call fcn.0044e904
ret 8

Function at 0x40c897
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x40c8a9
mov eax, dword [edi]
jmp 0x40c8ab
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c8ba
xor al, al
jmp 0x40c8fe
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x40c8c7
mov eax, dword [esi]
jmp 0x40c8c9
mov eax, esi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404479
call fcn.00525bd4
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x40c8e6
mov eax, dword [esi]
jmp 0x40c8e8
mov eax, esi
push eax
call fcn.00524cf0
pop ecx
push esi
push edi
lea ecx, [ebp + 0xb]
call fcn.00533950
test eax, eax
setne al
pop edi
pop esi
pop ebp
ret 8

Function at 0x40e111
Capabilities:
Read .ini file

Disassembly:
call fcn.0040b9d5
mov ecx, eax
jmp fcn.00410921
Function at 0x410cb2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x418], ebx
call fcn.005426c0
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005426c0
mov eax, dword [ebx + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x41c], ecx
cmp ecx, eax
je 0x410e22
mov esi, ebx
push edi
mov ebx, dword [ecx + 0x14]
lea edi, [ebx + 0xc]
push edi
call fcn.005454d1
pop ecx
test eax, eax
jle 0x410e05
push edi
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.00404de4
mov esi, dword [ebp - 0x418]
add esp, 0xc
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x410d4a
mov eax, dword [esi]
jmp 0x410d4c
mov eax, esi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5fb2a8
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x5fb2a8
push eax
call fcn.00549fb0
pop ecx
pop ecx
test eax, eax
je 0x410d99
lea eax, [ebp - 0x20c]
push eax
call fcn.0054f0b2
pop ecx
mov ecx, dword [ebx + 4]
mov byte [ecx], al
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.00404de4
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x410db6
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, str.nothing
push eax
push esi
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00549fb0
pop ecx
pop ecx
test eax, eax
je 0x410dff
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 8]
call fcn.00549ff0
pop ecx
pop ecx
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x41c]
call fcn.00528c5d
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x41c]
cmp ecx, dword [eax]
jne 0x410d0d
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e8de
mov esp, ebp
pop ebp
ret

Function at 0x411f86
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
sub eax, 0x201
je 0x411fb5
sub eax, 9
jne 0x412000
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x412000
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x412000
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ebx
movzx eax, bx
shr edi, 0x10
push edi
push eax
mov dword [ebp + 8], eax
lea eax, [esi + 0x2f4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x411ffe
push edi
push dword [ebp + 8]
lea eax, [esi + 0x304]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x411ffe
push ebx
push 2
push 0xa1
lea ecx, [esi - 0x24]
call dword [sym.imp.DuiLib32.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x415e16
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
sub eax, 0x3ea
je 0x415e56
sub eax, 1
je 0x415e44
sub eax, 1
je 0x415e3d
sub eax, 1
jne 0x415e75
call fcn.004161da
jmp 0x415e75
call fcn.00415eec
jmp 0x415e75
xor esi, esi
push esi
call fcn.004165f2
push esi
push esi
push edi
push 0x415021
jmp 0x415e66
xor esi, esi
push esi
call fcn.004165f2
push esi
push esi
push edi
push 0x41668c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret 4
Function at 0x415fd8
Capabilities:
Create thread

Disassembly:
push 0xa0
mov eax, 0x5f1ad8
call fcn.0044e95a
mov edi, ecx
mov esi, dword [ebp + 8]
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x108]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, dword [edi + 0x334]
jne 0x416036
push 1
mov ecx, edi
call fcn.00414d5c
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 1
call fcn.00415b43
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4161aa
cmp eax, dword [edi + 0x338]
jne 0x416053
push ebx
mov ecx, edi
call fcn.004165f2
push ebx
push ebx
push edi
push 0x4165dc
jmp 0x41615d
cmp eax, dword [edi + 0x33c]
jne 0x41611d
push ebx
push 0x54
call fcn.0040b9d5
mov ecx, eax
call fcn.004114c9
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push eax
mov esi, 0x5f9ed8
mov word [ebp - 0x28], ax
push esi
call fcn.00403bdf
mov byte [ebp - 4], 1
call fcn.0053f541
lea ecx, [ebp - 0x28]
push ecx
push 0x9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004037bf
call fcn.0053f541
push 0
push 0x9d
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
xor ebx, ebx
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.00403bdf
mov byte [ebp - 4], 2
call fcn.0053f541
lea ecx, [ebp - 0x28]
push ecx
push 0x9f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.004037bf
push 0xffffffffffffffff
mov ecx, edi
call fcn.00414d5c
mov ecx, edi
call fcn.004161da
jmp 0x4161aa
cmp eax, dword [edi + 0x340]
jne 0x41612c
mov esi, str.UpUserMB
jmp 0x416139
cmp eax, dword [edi + 0x344]
jne 0x41616e
mov esi, str.DownUserMB
push esi
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [edi + 0x2ec]
call fcn.00403bdf
push ebx
mov ecx, edi
call fcn.004165f2
push ebx
push ebx
push edi
push 0x414d1f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4161aa
cmp eax, dword [edi + 0x348]
jne 0x41617d
push 0x3ea
jmp 0x41618a
cmp eax, dword [edi + 0x34c]
jne 0x416193
push 0x3eb
mov ecx, edi
call fcn.00415e16
jmp 0x4161aa
cmp eax, dword [edi + 0x328]
je 0x4161a3
cmp eax, dword [edi + 0x32c]
jne 0x4161aa
mov ecx, edi
call fcn.00416566
push str.OnBind
lea ecx, [ebp - 0xac]
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
test al, al
je 0x4161c6
mov ecx, edi
call fcn.00415e7b
lea ecx, [ebp - 0xac]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
call fcn.0044e904
ret 4
Function at 0x41accd
Capabilities:
Read .ini file

Disassembly:
push 0x280
mov eax, 0x5f230b
call fcn.0044e95a
mov dword [ebp - 0x258], ecx
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x1dc]
push ebx
push eax
call fcn.005426c0
add esp, 0xc
call fcn.00403028
mov ecx, eax
call fcn.005164d5
mov esi, eax
call fcn.0053f541
push ebx
mov edi, 0x9b
lea ecx, [ebp - 0x1f4]
push edi
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1e4], ebx
jne 0x41ad8c
push esi
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x5f9ed8
push 0x5f9fc4
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xd8], bx
jne 0x41ad58
mov eax, ebx
jmp 0x41ad65
lea eax, [ebp - 0xd8]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00403bdf
call fcn.0053f541
lea ecx, [ebp - 0x1f4]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push str.http:__theuser.wnwb.com_user_mutual_member_getuserinfo.php
lea ecx, [ebp - 0x20c]
call fcn.004021d9
xor eax, eax
lea ecx, [ebp - 0x28c]
inc eax
mov byte [ebp - 4], al
call fcn.0053285e
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0051f232
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41adce
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1dc]
push 0x5fd104
push eax
call fcn.004041c3
add esp, 0xc
lea ecx, [ebp - 0x254]
xor edi, edi
inc edi
push ebx
push edi
call fcn.0040376a
lea ecx, [ebp - 0x23c]
call fcn.0040cf28
mov esi, 0x5fa504
mov byte [ebp - 4], 3
push esi
call fcn.005454f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x23c]
call fcn.00403ad1
cmp byte [ebp - 0x1dc], 0
jne 0x41ae28
mov eax, ebx
jmp 0x41ae35
lea eax, [ebp - 0x1dc]
push eax
call fcn.005454f0
pop ecx
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x224]
call fcn.00403ad1
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00519928
cmp dword [ebp - 0x1f8], 0x10
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x20c]
push eax
call fcn.00532a54
lea ecx, [ebp - 0x28c]
call fcn.00519a93
mov ebx, eax
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
cmove esi, edi
add esi, 2
push esi
call fcn.00420fdc
push esi
xor esi, esi
mov edi, eax
push esi
push edi
call fcn.005426c0
mov ecx, dword [ebx + 4]
add esp, 0x10
mov edx, esi
sub ecx, dword [ebx]
je 0x41aec2
mov eax, dword [ebx]
mov al, byte [edx + eax]
mov byte [edx + edi], al
inc edx
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cmp edx, eax
jb 0x41aeb0
test edi, edi
je 0x41aed9
mov ecx, dword [ebp - 0x258]
push edi
call fcn.00419892
push edi
call fcn.00420fe5
pop ecx
lea ecx, [ebp - 0x23c]
call fcn.0040aeef
lea ecx, [ebp - 0x28c]
call fcn.0053289f
xor ebx, ebx
lea ecx, [ebp - 0x20c]
push esi
inc ebx
push ebx
call fcn.0040376a
push esi
push ebx
lea ecx, [ebp - 0x1f4]
call fcn.004037bf
xor eax, eax
call fcn.0044e904
ret
Function at 0x41fb37
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x208], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, eax
je 0x41fb76
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
call fcn.00403a3b
mov ecx, dword [ebp - 0x208]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20c], 0x200
jb 0x41fb88
mov edi, dword [edi]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x41fbcc
cmp byte [ebp - 0x204], al
je 0x41fbbd
lea eax, [ebp - 0x204]
push eax
call fcn.005454f0
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x204]
mov ecx, ebx
push eax
call fcn.00403ad1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e8de
mov esp, ebp
pop ebp
ret

Function at 0x41ff74
Capabilities:
Set registry value

Disassembly:
push 0x38
mov eax, 0x5f2a13
call fcn.0044e95a
mov esi, dword [ebp + 0x20]
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], ebx
mov edi, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.005454d1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403bdf
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041f8fc
add esp, 0xc
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ebx
push ecx
push ebx
push 0x20006
push 1
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x420025
push 4
lea eax, [ebp + 0x24]
push eax
push 4
push ebx
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x44]
xor ecx, ecx
inc ecx
movzx ebx, cl
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
xor eax, eax
lea ecx, [ebp - 0x40]
xor esi, esi
inc eax
push esi
push eax
call fcn.004037bf
xor eax, eax
lea ecx, [ebp - 0x28]
push esi
inc eax
push eax
call fcn.004037bf
xor eax, eax
lea ecx, [ebp + 8]
push esi
inc eax
push eax
call fcn.004037bf
mov al, bl
call fcn.0044e904
ret