joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c6e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4935c4
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4c56f0]
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, dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
mov esi, ecx
push str.btnclose
lea ecx, [esi + 0x2c]
call ebx
push str.fbwb
lea ecx, [esi + 0x2c]
mov dword [esi + 0x234], eax
call ebx
mov ebx, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
push 0xffffffffffffffff
push str.http:__tongji.yinyue.fm_feedback_b.html
lea ecx, [ebp - 0xb8]
mov dword [esi + 0x238], eax
call ebx
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::Append_char_const__]
push 0x4a49bc
lea ecx, [ebp - 0xb8]
call edi
push 0xffffffffffffffff
push 0x4a1d98
lea ecx, [ebp - 0x140]
call ebx
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetCurrentPath_void_]
add esp, 4
push str.Data_setup.ini
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call edi
mov ebx, dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::GetData_void_const]
lea ecx, [ebp - 0xfc]
call ebx
push eax
push 0x63
lea ecx, [ebp - 0x74]
push ecx
push 0x4a1d98
push 0x4a153c
push 0x4a153c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0xb8]
call edi
cmp dword [esi + 0x238], 0
je 0x41c80e
lea ecx, [ebp - 0xb8]
call ebx
mov ecx, dword [esi + 0x238]
push eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWebBrowserUI::SetHomePage_char_const__]
mov ecx, dword [esi + 0x238]
push 1
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWebBrowserUI::SetAutoNavigation_bool_]
lea ecx, [ebp - 0xb8]
call ebx
mov esi, dword [esi + 0x238]
call fcn.0041cb10
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0xfc]
call esi
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call esi
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.0046eadd
mov esp, ebp
pop ebp
ret
Function at 0x41d9e0
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi]
sub esp, 8
push 0
push 0x102
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [esi + 4], eax
test eax, eax
jne 0x41da2f
mov edx, dword [esi]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [0x4d55a0]
push 0
push 0
push 0x403
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push edi
push 0
lea ecx, [ebp - 4]
push ecx
lea edi, [esi + 8]
push edi
push 0x20000013
push eax
mov dword [ebp - 4], 4
call ebx
cmp dword [edi], 0x190
jbe 0x41da74
mov ecx, dword [0x4d55a0]
push 0
push 0
push 0x403
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 4]
push 0
lea edx, [ebp - 8]
push edx
lea eax, [esi + 0xc]
push eax
push 0x20000005
push ecx
mov dword [ebp - 8], 4
call ebx
mov edx, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
pop edi
mov dword [esi + 0x10], eax
pop ebx
cmp eax, 0xffffffff
jne 0x41dac2
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x41dad0
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4c56f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
xor edi, edi
lea eax, [ebp - 0x404]
push edi
push eax
mov esi, ecx
call fcn.00475cb0
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push edx
push eax
mov dword [ebp - 0x408], edi
call ebx
cmp dword [ebp - 0x408], edi
je 0x41db86
lea esp, [esp]
mov eax, 0x66666667
imul edi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x41db30
mov ecx, dword [esi + 0x10]
push edi
lea edx, [ebp - 0x40c]
push edx
push 0x400
lea eax, [ebp - 0x404]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41dbaa
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x408]
push edx
push 0x400
lea eax, [ebp - 0x404]
push eax
push ecx
call ebx
cmp dword [ebp - 0x408], edi
jne 0x41db30
mov esi, dword [esi + 0x10]
test esi, esi
je 0x41db94
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046eadd
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046eadd
mov esp, ebp
pop ebp
ret
Function at 0x423460
Capabilities:
Hide graphical window

Disassembly:
push str.BtnMini
lea ecx, [edi + 0x2c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
test eax, eax
je 0x423480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xd0]
push 0
call eax
cmp byte [edi + 0x230], 0
push esi
mov esi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jne 0x42349c
mov ecx, dword [0x4d5594]
push 1
push 0
call esi
mov ecx, dword [0x4d55b8]
cmp byte [ecx + 0x230], 1
jne 0x4234bd
mov edx, dword [0x4d55a0]
push 0
push 0
push edx
mov ecx, edi
call fcn.0042be90
mov ecx, dword [0x4d55a0]
cmp byte [ecx + 0x2fb], 0
je 0x423501
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x4234fa
cmp dword [0x4d55bc], 0
je 0x4234fa
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4d55bc]
push 1
push 0
call esi
mov ecx, dword [0x4d55a0]
mov byte [ecx + 0x2fb], 0
push 0
push 1
push 0xfa0
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret

Function at 0x423610
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2114
call fcn.00482af0
mov eax, dword [0x4c56f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x110c]
push ecx
push 0x1000
lea edx, [ebp - 0x1108]
push edx
mov dword [ebp - 0x1110], eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x42365b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046eadd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110c]
push ebx
push esi
push edi
shr eax, 2
xor edi, edi
test eax, eax
jle 0x4236e2
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp + edi*4 - 0x1108]
push ecx
push 0
push 0x410
call ebx
lea edx, [ebp - 0x1114]
push edx
mov esi, eax
push 0x1000
lea eax, [ebp - 0x2114]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov edx, dword [ebp - 0x2114]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov eax, dword [ebp - 0x1110]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00471ca0
add esp, 8
test eax, eax
jne 0x4236f5
mov edx, dword [ebp - 0x110c]
inc edi
shr edx, 2
cmp edi, edx
jl 0x423673
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046eadd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + edi*4 - 0x1108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046eadd
mov esp, ebp
pop ebp
ret
Function at 0x423710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c56f0]
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
lea ebx, [ebp - 0x1e0]
call fcn.00429f30
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push 0xffffffffffffffff
mov ecx, eax
call edi
mov ebx, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
push eax
lea ecx, [ebp - 0x158]
call ebx
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x1e0]
call esi
push str.fmol.exe
lea ecx, [ebp - 0x158]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::Append_char_const__]
push 0xffffffffffffffff
push str.MusicFM
lea ecx, [ebp - 0x19c]
call ebx
push str..lnk
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 3
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::Append_char_const__]
lea eax, [ebp - 0x228]
push eax
push 0x19
push 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4237f2
mov edx, dword [ebp - 0x228]
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ebx, [ebp - 0x224]
call fcn.00429f30
mov ecx, eax
mov byte [ebp - 4], 4
call edi
lea ecx, [ebp - 0x19c]
mov ebx, eax
call edi
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x228], eax
call edi
mov edi, dword [ebp - 0x228]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, eax
call fcn.00404410
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call esi
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.0046eadd
mov esp, ebp
pop ebp
ret
Function at 0x428090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4983f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4c56f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x238]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2c0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [ebp + 8]
push eax
call edx
mov bl, al
mov eax, dword [esi + 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
je 0x428112
push esi
push 0
push 0x42a7e0
call fcn.00471bed
push 0x381
push str.CMainFrameWnd::setChannel
push str.Source_FilesMainFrame.cpp
call fcn.0040a540
add esp, 0x18
mov eax, esi
call fcn.00428180
cmp dword [ebp + 0x1c], 0x10
push eax
mov eax, dword [ebp + 8]
jae 0x428126
lea eax, [ebp + 8]
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xffffffffffffffff
push eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
mov ebx, dword [0x4d55a4]
add ebx, 0x24c
call fcn.00407070
mov ecx, esi
push eax
call fcn.0042c920
cmp dword [ebp + 0x1c], 0x10
jb 0x428162
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046ead2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x429c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
movzx eax, word [ebp + 8]
push 0x4a53f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x429c51
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x429c78
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.00474120
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x429ccf
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x429cd1
xor esi, esi
mov edx, dword [ebp + 0xc]
push edi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42c800
Capabilities:
Hide graphical window

Disassembly:
push str.BtnMini
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
test eax, eax
je 0x42c820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xd0]
push 0
call eax
mov ecx, dword [0x4d5594]
push ebx
mov ebx, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push edi
push 1
push 0
call ebx
mov ecx, dword [0x4d55a0]
mov edi, dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
push 0
push 0
push 0
push 0
call edi
mov ecx, dword [0x4d5594]
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4d55b8]
cmp byte [ecx + 0x230], 1
jne 0x42c877
push 0
push 0
push esi
mov ecx, esi
call fcn.0042be90
cmp byte [esi + 0x2fb], 0
je 0x42c8af
mov eax, dword [esi + 0x304]
test eax, eax
je 0x42c8a8
cmp dword [0x4d55bc], 0
je 0x42c8a8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4d55bc]
push 1
push 0
call ebx
mov byte [esi + 0x2fb], 0
push 0
push 1
push 0xfa0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
ret

Function at 0x42d850
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
jne 0x42d952
push 0xac
push str.CMusicPlayer::play_complete
push str.Source_FilesMusicPlayer.cpp
call fcn.0040a540
mov eax, dword [esi + 0x1c]
add esp, 0xc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x1c]
push ecx
mov byte [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [0x4d55a0]
mov esi, dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
push str.PlayProgress
add ecx, 0x2c
call esi
test eax, eax
je 0x42d8be
mov edx, dword [eax]
push str.false
mov ecx, eax
mov eax, dword [edx + 0x108]
push str.mouse
call eax
mov ecx, dword [0x4d5598]
push str.PlayProgress
add ecx, 0x2c
call esi
test eax, eax
je 0x42d8e8
mov edx, dword [eax]
push str.false
mov ecx, eax
mov eax, dword [edx + 0x108]
push str.mouse
call eax
mov ecx, dword [0x4d55a0]
push str.DownloadProgress
add ecx, 0x2c
call esi
test eax, eax
je 0x42d912
mov edx, dword [eax]
push str.false
mov ecx, eax
mov eax, dword [edx + 0x108]
push str.mouse
call eax
mov ecx, dword [0x4d5598]
push str.DownloadProgress
add ecx, 0x2c
call esi
test eax, eax
je 0x42d93c
mov edx, dword [eax]
push str.false
mov ecx, eax
mov eax, dword [edx + 0x108]
push str.mouse
call eax
mov ecx, dword [0x4d55a0]
push ecx
push 0
push 0x42a7e0
call fcn.00471bed
add esp, 0xc
pop esi
ret
Function at 0x42d960
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 8], 0
mov dword [esi], vtable.ArkThread.0
je 0x42d992
cmp byte [esi + 9], 0
jne 0x42d992
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 9], 1
test byte [ebp + 8], 1
je 0x42d9a1
push esi
call fcn.0046ead2
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x42d9b0
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 8], 0
mov dword [esi], vtable.ArkThread.0
je 0x42d9dc
cmp byte [esi + 9], 0
jne 0x42d9dc
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 9], 1
ret
Function at 0x42f470
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4d55b8]
cmp byte [eax + 0x230], 1
jne 0x42f490
mov ecx, dword [0x4d55a0]
push 0
push 0
push ecx
mov ecx, esi
call fcn.0042be90
push str.BtnMini
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
test eax, eax
je 0x42f4b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xd0]
push 0
call eax
cmp byte [esi + 0x244], 0
push edi
mov edi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jne 0x42f4cc
mov ecx, dword [0x4d5594]
push 1
push 0
call edi
push 0
push 1
push 0xfa0
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x4d55a0]
cmp byte [ecx + 0x2fb], 0
je 0x42f528
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x42f521
cmp dword [0x4d55bc], 0
je 0x42f521
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4d55bc]
push 1
push 0
call edi
mov ecx, dword [0x4d55a0]
mov byte [ecx + 0x2fb], 0
pop edi
ret

Function at 0x42f530
Capabilities:
Create thread

Disassembly:
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
push esi
push 0
push 0x42f630
mov dword [esi], vtable.CPopWnd.0
mov dword [esi + 0x10], vtable.CPopWnd.1.0
mov dword [esi + 0x20], vtable.CPopWnd.2.0
mov dword [esi + 0x24], vtable.CPopWnd.3.0
mov dword [esi + 0x28], vtable.CPopWnd.4.0
call fcn.00471bed
add esp, 0xc
mov eax, esi
ret
Function at 0x4304a0
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491b08
mov eax, dword fs:[0]
push eax
mov eax, 0x1905c
call fcn.00482af0
mov eax, dword [0x4c56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19068], esi
mov dword [ebp - 0x19058], 0
push 0
push 0
push 0
mov ebx, 1
push ebx
push 0
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x430518
push 0xffffffffffffffff
push 0x4a1520
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
mov dword [ebp - 0x19058], ebx
jmp 0x430669
push 0
push 0x102
push 0
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x430548
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x430650
push eax
mov dword [ebp - 0x19060], eax
mov dword [ebp - 0x19064], eax
lea eax, [ebp - 0x19064]
push eax
lea ecx, [ebp - 0x19060]
push ecx
push 0x20000013
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x19060], 0x190
ja 0x430644
push 0x19000
lea edx, [ebp - 0x19010]
push 0
push edx
mov dword [ebp - 0x1905c], 0
call fcn.00475cb0
add esp, 0xc
lea eax, [ebp - 0x1905c]
push eax
push 0x19000
lea ecx, [ebp - 0x19010]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x430644
mov eax, dword [ebp - 0x1905c]
test eax, eax
je 0x430644
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + eax - 0x19010], 0
call ebx
push edi
call ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x19010]
push edx
lea ecx, [ebp - 0x19054]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
push 0x19000
lea eax, [ebp - 0x19010]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00475cb0
add esp, 0xc
lea ecx, [ebp - 0x19054]
push ecx
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x19054]
mov dword [ebp - 0x19058], 1
call edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call edi
jmp 0x430676
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
push 0xffffffffffffffff
push 0x4a1520
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
mov dword [ebp - 0x19058], 1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046eadd
mov esp, ebp
pop ebp
ret 0x44