joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4563f4
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x186c
call fcn.00438a90
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov dword [esp + 0x18], eax
call fcn.00433f70
pop ecx
push dword [esp + 0x14]
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x1c], eax
call fcn.00438870
add esp, 0xc
mov esi, 0x3ff
push esi
lea eax, [esp + 0x7d]
push ebx
push eax
mov byte [esp + 0x84], bl
call fcn.00438870
add esp, 0xc
push esi
lea eax, [esp + 0x87d]
push ebx
push eax
mov byte [esp + 0x884], bl
call fcn.00438870
add esp, 0xc
push esi
lea eax, [esp + 0x107d]
push ebx
push eax
mov byte [esp + 0x1084], bl
call fcn.00438870
add esp, 0xc
push esi
lea eax, [esp + 0x47d]
push ebx
push eax
mov byte [esp + 0x484], bl
call fcn.00438870
add esp, 0xc
push esi
lea eax, [esp + 0xc7d]
push ebx
push eax
mov byte [esp + 0xc84], bl
call fcn.00438870
add esp, 0xc
push esi
lea eax, [esp + 0x147d]
push ebx
push eax
mov byte [esp + 0x1484], bl
call fcn.00438870
lea eax, [esp + 0x84]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x884]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1084]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x484]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc84]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x1484]
mov dword [esp + 0x44], eax
lea eax, [esi + 1]
add esp, 0xc
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x45652c
lea ecx, [esp + 0x1c]
push ecx
push ebx
sub eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov esi, dword [esp + 0x2c]
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [0x48b430]
push 2
pop edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], 3
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 6
cmp eax, ebx
jne 0x45658a
call fcn.00401f8f
mov dword [0x48b430], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push ebx
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
cmp esi, ebx
jne 0x456607
mov esi, dword [esp + 0x18]
jmp 0x456603
mov eax, dword [esi + 4]
sub eax, ebx
je 0x4565fa
sub eax, edi
je 0x4565dc
sub eax, 0x15
jne 0x456600
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
mov dword [esp + 0x1c], 0x2e
push ebx
push dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
jmp 0x456600
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov edx, dword [esp + 0x10]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4565ee
jmp 0x456600
mov eax, dword [esp + 0x10]
mov byte [eax], bl
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x4565ab
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push edi
mov edi, 0x94
push edi
mov esi, eax
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00438870
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
lea edx, [esi + 0xc]
jae 0x4566eb
mov eax, 0x46e4f8
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4566da
jmp 0x456701
mov eax, str.ROOTSECURITYCENTER2
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4566f2
mov esi, 0x208
push esi
call fcn.00433f70
push esi
mov edi, eax
push 0
push edi
call fcn.00438870
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push str.WV__lu._lu_
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x456969
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x466637
call fcn.00465f60
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push esi
push 0x46b840
push 1
xor ebx, ebx
push ebx
push 0x46b910
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x45699c
xor al, al
jmp 0x456a22
push edi
lea eax, [esi + 0xc]
push eax
lea edi, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.004017b9
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x4569b9
mov edx, dword [eax]
jmp 0x4569bb
xor edx, edx
mov eax, dword [esi]
mov edi, dword [eax]
lea ecx, [esi + 4]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [edi + 0xc]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00401820
pop edi
cmp dword [ebp - 0x14], ebx
jge 0x4569ed
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x456995
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esi + 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x456a20
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x456995
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x456a61
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x114]
cmp eax, 0xffffffff
je 0x456a9a
xor esi, esi
push esi
lea ecx, [ebp - 4]
push ecx
push edi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456a96
cmp dword [ebp - 4], esi
je 0x456a96
xor eax, eax
inc eax
jmp 0x456abf
xor eax, eax
jmp 0x456abf
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x118]
jb 0x456aa9
xor al, al
jmp 0x456abf
mov ecx, dword [esi]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.00437d30
add esp, 0xc
add dword [esi + 4], edi
mov al, 1
pop esi
leave
ret 4
Function at 0x457275
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x46d7c0
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x45736a
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x45736a
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push ebx
push 3
push ebx
push 2
push ebx
push str..C:
call edi
mov dword [ebp - 4], eax
push ebx
cmp eax, 0xffffffff
jne 0x45736e
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push str..VWIN32
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x45736a
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], eax
push 0x1c
xor eax, eax
inc eax
push ecx
push eax
push dword [ebp - 4]
mov byte [ebp - 0x58], bl
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x28], 0x860
mov dword [ebp - 0x24], 0x440d
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x457361
test byte [ebp - 0x18], 1
jne 0x457361
movzx edx, word [ebp - 0x44]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ebp - 0x51]
mov ecx, edx
mov edi, eax
not ecx
shl edi, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
xor edi, ecx
shl edx, 2
not eax
not ecx
xor edx, eax
xor edx, ecx
mov dword [esi + 4], edx
mov dword [esi], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
leave
ret
lea ecx, [ebp - 0xc]
push ecx
push 0x18
lea ecx, [ebp - 0x30]
push ecx
push ebx
push ebx
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x457361
cmp dword [ebp - 0xc], ebx
jbe 0x457361
mov edx, dword [ebp - 0x20]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
jmp 0x457341
Function at 0x457a8a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.advapi32.dll
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetSecurityInfo
push esi
mov dword [ebp - 0x24], esi
call edi
push str.SetSecurityInfo
push esi
mov dword [ebp - 0xc], eax
call edi
push str.SetEntriesInAclA
push esi
mov dword [ebp - 0x18], eax
call edi
push str.AllocateAndInitializeSid
push esi
mov dword [ebp - 0x14], eax
call edi
mov edi, eax
cmp dword [ebp - 0xc], ebx
je 0x457bfe
cmp dword [ebp - 0x18], ebx
je 0x457bfe
cmp dword [ebp - 0x14], ebx
je 0x457bfe
cmp edi, ebx
je 0x457bfe
push ebx
push 0x2000000
push 3
push ebx
push ebx
push 0x60000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x457bfe
lea ecx, [ebp - 0x1c]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push 4
xor esi, esi
inc esi
push esi
push eax
mov dword [ebp - 0x1c], ebx
call dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
jne 0x457b50
cmp dword [ebp - 0x10], ebx
jne 0x457bd8
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], 0x500
call edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push eax
push esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], 0x10000000
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], ebx
call dword [ebp - 0x14]
cmp dword [ebp - 8], ebx
je 0x457bc6
push ebx
push dword [ebp - 8]
push ebx
push ebx
push 4
push esi
push dword [ebp - 0x20]
call dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x457c08
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x457d41
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 5
push dword [esi + 0xf4]
call ebx
push 1
push dword [esi + 0xf4]
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x100]
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
mov byte [esi + 0x13a], 0
pop ebx
ret
Function at 0x458164
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
test eax, eax
je 0x4581e6
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
sub ebx, esi
mov dword [ebp - 8], eax
xor edi, edi
cmp dword [str.AcceptEULA], edi
je 0x4581c5
mov eax, 0x478d5c
push dword [eax]
push dword [ebx + esi]
call fcn.00434be0
pop ecx
pop ecx
test eax, eax
je 0x4581b8
inc edi
mov eax, edi
imul eax, eax, 0xc
lea eax, [eax + 0x478d5c]
cmp dword [eax], 0
jne 0x458195
jmp 0x4581c5
mov eax, edi
imul eax, eax, 0xc
mov eax, dword [eax + 0x478d58]
mov dword [esi], eax
imul edi, edi, 0xc
cmp dword [edi + 0x478d5c], 0
jne 0x4581db
or dword [esi], 0xffffffff
mov dword [ebp - 4], 0x80020006
add esi, 4
dec dword [ebp - 8]
jne 0x458186
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x458213
cmp dword [ebp - 4], 0x80020006
jne 0x45825d
push dword [ebp + 0x1c]
mov eax, dword [eax + 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80020006
jne 0x45825d
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.00438870
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp - 0x10c]
push str.Failed_to_resolve__S_as_a_window.external_method_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
leave
ret 0x18

Function at 0x458363
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [ebp + 8], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push edi
jne 0x4583ff
push 0
push dword [esi + 0xe8]
call ebx
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x2c]
mov eax, dword [esi + 0xb0]
mov dword [eax + 0x24], 1
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x18]
push 5
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4583ff
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d688
pop ecx
test eax, eax
jne 0x4583ff
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4583ff
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi + 0xe0], 0
jge 0x4583ba
push 0
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 1
push dword [esi + 0xe8]
call ebx
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x10c]
pop edi
pop ebx
leave
ret 4
Function at 0x45924c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
push edi
lea edi, [esi + 0x130]
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [esp], str.destroy_monitor
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call eax
pop ecx
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
ret
push 0
push dword [esi + 0xf4]
mov dword [esi], vtable.CWizardSheet.0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x13b], 0
je 0x45926e
call fcn.00454519
mov eax, dword [esi + 8]
test eax, eax
je 0x45927b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x11c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
push edi
test eax, eax
je 0x459297
push eax
call ebx
and dword [esi + 0x11c], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x4592ab
push eax
call ebx
and dword [esi + 0x120], 0
mov eax, dword [esi + 0x124]
test eax, eax
je 0x4592bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4592cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x4592d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
cmp dword [esi + 0xd8], ebx
jle 0x459300
lea edi, [esi + 0xb0]
mov ecx, dword [edi]
test ecx, ecx
je 0x4592f4
mov eax, dword [ecx]
push 1
call dword [eax]
inc ebx
add edi, 4
cmp ebx, dword [esi + 0xd8]
jl 0x4592e8
cmp byte [esi + 0x13c], 0
pop edi
pop ebx
je 0x459312
mov eax, esi
jmp 0x457c0d
ret
Function at 0x45a8e9
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x466cfa
call fcn.00465f60
sub esp, 0x138
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call fcn.004011df
mov dword [ebp - 4], ebx
call fcn.0040128e
call fcn.0045628c
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov eax, edi
call fcn.00401233
cmp esi, ebx
je 0x45aa63
mov eax, str.gcsdk.dll
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], str.gcsdk_core.dll
mov dword [ebp - 0x2c], str.rdpwatcher.dll
mov dword [ebp - 0x28], str.wpsapi.dll
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x140]
lea ecx, [esi + eax + 0xd950]
push ecx
lea ecx, [esi + eax + 0xd94c]
push ecx
add eax, 0xb844
push eax
push dword [ebp - 0x14]
call fcn.00462c3d
push 0x103
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00438870
add esp, 0x1c
push dword [ebp - 0x14]
lea eax, [ebp - 0x144]
push dword [ebp + 0xc]
push str._S_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x45aa10
mov eax, dword [edi + 0x140]
push ebx
lea ecx, [ebp - 0x38]
push ecx
push dword [eax + esi + 0xd950]
push dword [eax + esi + 0xd94c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45aa07
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x140]
lea ecx, [ebp - 0x144]
lea edx, [eax + esi + 0xda58]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x45aa23
mov edi, dword [edi + 0x140]
push dword [esi + edi + 0xd94c]
add edi, 0xb844
push edi
call fcn.0045e26f
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x34]
pop ecx
add esi, 0x210
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x45a95d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x45bc0d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466d7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
push edi
call fcn.0045dd4e
mov edi, eax
xor eax, eax
push 0x206
mov word [esp + 0x6c], ax
xor esi, esi
lea eax, [esp + 0x6e]
push esi
push eax
call fcn.00438870
mov eax, dword [edi]
add esp, 0xc
cmp eax, esi
jne 0x45bc5e
mov eax, 0x46c570
push eax
lea eax, [esp + 0x6c]
push 0x46e188
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x30], esi
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xf0]
push 0x69
push eax
mov dword [esp + 0x3c], 0x45b987
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], str.ChatWindow
call dword [sym.imp.USER32.dll_RegisterClassW]
xor eax, eax
mov dword [esp + 0x58], esi
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x24], 0x15e
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
sub eax, dword [esp + 0xc]
push ebx
push dword [ebx + 0xf0]
push esi
push dword [ebx + 0xf4]
push ecx
push eax
push esi
push esi
push 0xc80000
lea eax, [esp + 0x8c]
push eax
push str.ChatWindow
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4c
mov dword [ebx + 0x120], eax
call fcn.00433f70
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], esi
cmp eax, esi
je 0x45bd74
lea ecx, [esp + 0xc]
push ecx
push dword [ebx + 0x120]
mov edi, ebx
mov esi, eax
call fcn.0045c8b4
mov esi, eax
or dword [esp + 0x27c], 0xffffffff
mov dword [ebx + 0x128], esi
call fcn.00464f76
mov ecx, dword [ebx + 0x128]
mov eax, dword [ecx]
xor esi, esi
push esi
push 1
call dword [eax + 0x30]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x128]
push dword [ebp + 8]
call fcn.0046587e
mov eax, dword [ebx + 0x128]
call fcn.0045c81a
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
push 1
push esi
push esi
add eax, 0x14
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x14
push eax
push 0xffffffffffffffff
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x274]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45cb2a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x13c
push esi
push edi
cmp edx, 0x103
jne 0x45cb52
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0x38]
call fcn.00457e43
xor eax, eax
jmp 0x45cc98
xor edi, edi
xor eax, eax
cmp edx, 0x10f
jne 0x45cc36
push ebx
push 0xfe
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13a]
push edi
push eax
call fcn.00438870
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax + 8]
push 0x38
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00438870
add esp, 0x18
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
push edi
push edi
push ebx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x28], 0x7f
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push 3
lea eax, [ebp - 0x13c]
push 0x46d8d8
push eax
call fcn.00447dc9
add esp, 0xc
pop ebx
test eax, eax
jne 0x45cbfb
lea eax, [ebp - 0x13c]
push str..valueactive.
push eax
call fcn.00434c6b
pop ecx
pop ecx
test eax, eax
je 0x45cbfb
mov eax, dword [esi]
mov eax, dword [eax + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x45cb4b
mov esi, dword [ebp + 8]
mov byte [esi + 0x11], 1
cmp dword [esi - 0x18], edi
je 0x45cc10
mov eax, dword [esi - 0x38]
push edi
call fcn.0045856c
mov esi, dword [esi - 0x38]
cmp dword [esi + 0x144], edi
je 0x45cb4b
push edi
push edi
push dword [esi + 0x140]
push 5
call fcn.004622aa
add esp, 0x10
jmp 0x45cb4b
mov ecx, 0x4874d8
cmp dword [ecx], edi
je 0x45cc68
cmp edx, dword [ecx - 8]
je 0x45cc4a
inc eax
add ecx, 0x10
jmp 0x45cc3b
push dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
shl eax, 4
mov ecx, dword [eax + 0x4874dc]
lea ecx, [ecx + edx - 0x3c]
call dword [eax + 0x4874d8]
jmp 0x45cc98
push dword [ebp + 0x28]
mov eax, dword [ebp + 8]
push dword [ebp + 0x24]
mov eax, dword [eax - 0x38]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x18]
mov ecx, eax
lea eax, [ecx + 0x7ffdfffd]
neg eax
sbb eax, eax
and eax, ecx
pop edi
pop esi
leave
ret 0x24