joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001961
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x10019a7
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10019a3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push esi
mov esi, dword [eax]
mov eax, ecx
push edi
shr ecx, 2
lea edi, [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x10019a7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10019ae
Capabilities:
Create raw socket
Set socket configuration
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1003088]
push esi
push 2
push 3
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001a11
and word [ebp - 0x12], 0
and dword [ebp - 0x10], 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1001a11
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001a34
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 9
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1001a34
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push 0x6987
push eax
call fcn.010011fb
pop ecx
pop ecx
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 1
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01001b12
leave
ret 8

Function at 0x1001a43
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
jne 0x1001a6e
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push 0x697d
push eax
call fcn.010011fb
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
cmp dword [esp + 8], 0
je 0x1001a89
mov edx, dword [esp + 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1001a7b
mov eax, dword [esp + 8]
ret 8

Function at 0x1001b12
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003088]
jne 0x1001b1b
ret
jmp 0x1001b20
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x1003088]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x10030e0]
test eax, eax
je 0x1001b44
call eax
cmp dword [0x10030e4], 0
je 0x1001b8b
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x10030e4]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01001b12
add ebp, 0x2a8
leave
ret
Function at 0x1001bb0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001130
call fcn.01001d58
cmp word [0x1000000], 0x5a4d
jne 0x1001bef
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x1001bef
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x1001c08
cmp ecx, 0x20b
je 0x1001bf5
and dword [ebp - 0x1c], 0
jmp 0x1001c1f
cmp dword [eax + 0x1000084], 0xe
jbe 0x1001bef
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x1001c19
cmp dword [eax + 0x1000074], 0xe
jbe 0x1001bef
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10030e8], 0xffffffff
or dword [0x10030ec], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10030b4]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10030b0]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10030f0], eax
call fcn.01001d54
cmp dword [0x100308c], 0
jne 0x1001c7c
push fcn.01001d54
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001d42
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x10030ac]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10030a8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001797
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001cf4
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001d29
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001d93
ret
Function at 0x403c70
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx - 0x124]
lea ecx, [ebx - 0x124]
add ecx, dword [eax + 4]
call fcn.004100c0
mov eax, dword [ebx - 0x124]
push dword [ebx - 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x120]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx - 0x124]
push dword [ebx - 4]
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x120]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx - 0x124]
push dword [ebx - 0x1c]
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x120]
call edi
cmp dword [ebx - 0xc], 0
mov ecx, 0x120
mov edx, 0xa0
cmove edx, ecx
mov ecx, ebx
sub ecx, edx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
mov dword [ebx - 8], 0
mov eax, 1
pop ebx
ret

Function at 0x405960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x24]
push 2
push eax
push dword [esi + 0x548]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jl 0x405a72
push ebx
mov bx, word [ebp - 0x24]
mov eax, 0xff
cmp bx, ax
ja 0x405a71
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push dword [esi + 0x1c0]
call edi
cmp eax, 0xffffffff
je 0x405a70
push 0
push eax
push 0x150
push dword [esi + 0x1c0]
call edi
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x128], eax
mov ecx, dword [eax + 0x56e454]
mov dword [ebp - 0x12c], ecx
cmp ecx, 0x14
jge 0x405a06
movzx eax, bl
push eax
call fcn.004551c8
mov bl, al
add esp, 4
mov eax, dword [ebp - 0x128]
mov ecx, dword [esi + 0xf58]
mov edx, dword [ebp - 0x12c]
mov byte [esi + ecx*8 + 0x758], bl
mov ecx, dword [esi + 0xf58]
mov dword [esi + ecx*8 + 0x75c], edx
inc dword [esi + 0xf58]
push dword [eax + 0x56e458]
movzx eax, bl
push eax
lea eax, [ebp - 0x124]
push str.___c_t_s
push eax
call fcn.00406f60
add esp, 0x10
lea eax, [ebp - 0x124]
push 0
push eax
push 0
push 0x180
push dword [esi + 0x1b8]
call edi
push eax
push 0x186
push dword [esi + 0x1b8]
call edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00424790
mov esp, ebp
pop ebp
ret
Function at 0x406430
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x24]
push 2
push eax
push dword [edi + 0x548]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jge 0x406485
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 0x1cc]
call esi
push 0
push dword [edi + 0x3fc]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424790
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 0x24]
mov ecx, edi
call fcn.004057e0
xor ecx, ecx
mov ebx, eax
cmp ebx, 0xffffffff
sete cl
push ecx
push dword [edi + 0x1cc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, 0xffffffff
je 0x4064cd
push 0
push ebx
push 0x186
push dword [edi + 0x1b8]
call eax
mov ecx, edi
call fcn.00406e00
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x188
push dword [edi + 0x1b8]
call eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push dword [edi + 0x3fc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00424790
mov esp, ebp
pop ebp
ret

Function at 0x4067a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x24]
push 2
push eax
push dword [edi + 0x548]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jl 0x40690d
push ebx
mov bx, word [ebp - 0x24]
mov eax, 0xff
cmp bx, ax
ja 0x40690c
push esi
movzx esi, bl
push esi
call fcn.004551c8
push esi
mov byte [ebp - 0x125], al
call fcn.00455198
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 8
mov byte [ebp - 0x134], al
push 0
push 0
push 0x147
push dword [edi + 0x1c0]
call esi
cmp eax, 0xffffffff
je 0x40690b
push 0
push eax
push 0x150
push dword [edi + 0x1c0]
call esi
push 0
push 0
push 0x188
push dword [edi + 0x1b8]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x130], eax
mov eax, dword [eax + 0x56e454]
mov dword [ebp - 0x12c], eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x40690b
mov eax, dword [ebp - 0x12c]
cmp eax, 0x14
movzx edx, byte [ebp - 0x125]
mov dword [edi + esi*8 + 0x75c], eax
mov eax, dword [ebp - 0x130]
movzx ecx, bl
cmovge edx, ecx
mov byte [edi + esi*8 + 0x758], dl
push dword [eax + 0x56e458]
movzx eax, dl
push eax
lea eax, [ebp - 0x124]
push str.___c_t_s
push eax
call fcn.00406f60
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x124]
add esp, 0x10
push eax
push esi
push 0x181
push dword [edi + 0x1b8]
call ebx
push 0
lea eax, [esi + 1]
push eax
push 0x182
push dword [edi + 0x1b8]
call ebx
push 0
push esi
push 0x186
push dword [edi + 0x1b8]
call ebx
push dword [ebp - 0x134]
mov ecx, edi
call fcn.004057e0
cmp eax, 0xffffffff
je 0x40690b
cmp eax, esi
je 0x40690b
push eax
mov ecx, edi
call fcn.00405620
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00424790
mov esp, ebp
pop ebp
ret
Function at 0x407190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x201
push esi
mov esi, ecx
jne 0x4071b9
push 1
push 0
push 0
lea eax, [esi + 0x80]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004071e0
pop esi
pop ebp
ret 0x10

Function at 0x407a50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x828]
mov ebx, ecx
push 0x400
push eax
push dword [ebx + 0x1b8]
call esi
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x3b4]
call esi
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x1b4]
call fcn.00407360
add esp, 0xc
cmp eax, 0xffffffff
je 0x407b10
push 0
push eax
push 0x182
push dword [ebx + 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x218]
call esi
push 0
mov ecx, ebx
call fcn.00408470
xor eax, eax
cmp word [ebp - 0x828], ax
setne al
push eax
push dword [ebx + 0x1c8]
call esi
push dword [ebx + 0x3b4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebx + 0x3b4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00424790
mov esp, ebp
pop ebp
ret

Function at 0x407b20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.00424810
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x28]
push edi
mov edi, ecx
push 0x10
push eax
push dword [edi + 0x3b4]
call esi
push 0x400
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x1b8]
call esi
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x104c]
push str._s_t_s
push eax
call fcn.00406f60
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x1b4]
call fcn.00407360
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x1c
cmp eax, 0xffffffff
je 0x407bb4
push 0
push eax
push 0x182
push dword [edi + 0x1b4]
call ebx
push 0
lea eax, [ebp - 0x104c]
push eax
push 0
push 0x180
push dword [edi + 0x1b4]
call ebx
push eax
push 0x186
push dword [edi + 0x1b4]
call ebx
push 1
mov ecx, edi
call fcn.00408470
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 0x1c8]
call esi
push 1
push dword [edi + 0x218]
call esi
push dword [edi + 0x3b4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [edi + 0x3b4]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424790
mov esp, ebp
pop ebp
ret
Function at 0x401c60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x7e0
mov eax, dword [0x414008]
xor eax, esp
mov dword [esp + 0x7dc], eax
mov ecx, dword [0x415060]
lea eax, [esp + 0xc]
push eax
push 0x7d0
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push str.StringFileInfo040904B0FileVersion
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueA
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push str.StringFileInfo040904B0LegalCopyright
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [esp]
push edx
push str.ELFDWT___Signature_Creator
push str._n_s_V_s
call fcn.004037a9
mov eax, dword [esp + 0x10]
push eax
push str._nCOPYRIGHT__s_n_n
call fcn.004037a9
mov ecx, dword [esp + 0x7f0]
add esp, 0x14
xor ecx, esp
call fcn.00402fec
add esp, 0x7e0
ret
Function at 0x402fec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414008]
jne 0x402ff6
repz ret
jmp fcn.0040433a

Function at 0x40bd65
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405ef4
and dword [ebp - 4], 0
cmp dword [0x4159cc], 0
mov ebx, eax
jne 0x40be16
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bec7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40bec7
push eax
call fcn.00405e82
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4159cc], eax
call esi
push eax
call fcn.00405e82
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4159d0], eax
call esi
push eax
call fcn.00405e82
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4159d4], eax
call esi
push eax
call fcn.00405e82
pop ecx
mov dword [0x4159dc], eax
test eax, eax
je 0x40be16
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405e82
pop ecx
mov dword [0x4159d8], eax
mov eax, dword [0x4159d8]
cmp eax, ebx
je 0x40be6e
cmp dword [0x4159dc], ebx
je 0x40be6e
push eax
call fcn.00405efd
push dword [0x4159dc]
mov esi, eax
call fcn.00405efd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40be6e
test edi, edi
je 0x40be6e
call esi
test eax, eax
je 0x40be65
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40be65
test byte [ebp - 0xc], 1
jne 0x40be6e
or dword [ebp + 0x10], 0x200000
jmp 0x40bea7
mov eax, dword [0x4159d0]
cmp eax, ebx
je 0x40bea7
push eax
call fcn.00405efd
pop ecx
test eax, eax
je 0x40bea7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bea7
mov eax, dword [0x4159d4]
cmp eax, ebx
je 0x40bea7
push eax
call fcn.00405efd
pop ecx
test eax, eax
je 0x40bea7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4159cc]
call fcn.00405efd
pop ecx
test eax, eax
je 0x40bec7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bec9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2cf0000
push 0x41e090
push 0x41e028
push 0
mov dword [0x41e0f4], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4010d8
pop esi
ret
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [section.SHARED], esi
mov eax, 1
pop esi
ret
Function at 0x404000
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [str.SOFTWAREKWMUSIC]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 1
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404082
mov ecx, dword [str.KWMUSIC_HOME]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404077
mov byte [esi], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404087
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x40409d
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
pop edi
mov byte [esi + ebx - 1], 0
pop esi
mov al, 1
pop ebx
pop ecx
ret

Function at 0x4040b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x144
push esi
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push 0x104
push eax
xor esi, esi
call fcn.00404000
add esp, 8
test al, al
je 0x404157
lea edi, [esp + 0x48]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4040e2
mov ecx, dword [str.loading_ad_ad.ini]
mov edx, dword [0x4188b4]
mov eax, dword [0x4188b8]
mov dword [edi], ecx
mov ecx, dword [0x4188bc]
mov dword [edi + 4], edx
mov dx, word [0x4188c0]
mov dword [edi + 8], eax
mov al, byte [0x4188c2]
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x48]
push ecx
push 0x40
mov word [edi + 0x10], dx
lea edx, [esp + 0x10]
push edx
push 0
push 0x4188ac
push str.FlashMessage
mov byte [edi + 0x12], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x404157
lea eax, [esp + 8]
push eax
call fcn.0040cb66
add esp, 4
pop edi
pop esi
add esp, 0x144
ret
pop edi
mov eax, esi
pop esi
add esp, 0x144
ret
Function at 0x404510
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416f96
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push esi
push edi
mov esi, 0x10
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.00404000
add esp, 8
test al, al
jne 0x40456c
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret
push ebx
xor ebx, ebx
lea eax, [esp + 0x84]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404590
sub eax, edx
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401860
push str._facekwc.img
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x19c], ebx
call fcn.004043c0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 1
call fcn.00401770
cmp dword [esp + 0x40], esi
mov byte [esp + 0x190], bl
jb 0x4045f8
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040c688
add esp, 4
cmp dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
jae 0x404606
lea eax, [esp + 0x10]
push eax
push 0x3f
lea edx, [esp + 0x4c]
push edx
push ebx
push str.Version
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x404650
cmp dword [esp + 0x24], esi
jb 0x404636
mov eax, dword [esp + 0x10]
push eax
call fcn.0040c688
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret
lea eax, [esp + 0x44]
mov byte [esp + 0x83], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404660
sub eax, edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1a0]
call fcn.00401860
cmp dword [esp + 0x24], esi
jb 0x40468e
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c688
add esp, 4
mov ecx, dword [esp + 0x188]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x188
ret
Function at 0x404750
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416fb0
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
call fcn.004040b0
mov esi, dword [esp + 0x8c]
cmp esi, eax
jae 0x4048ff
push edi
xor edi, edi
push edi
push 0x418424
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
call fcn.00401860
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x8c], edi
call fcn.004046b0
mov ecx, dword [esp + 0x24]
add esp, 4
push edi
push 0x418424
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00404230
test eax, eax
jne 0x4047fb
cmp dword [esp + 0x24], 0x10
jb 0x4047e5
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c688
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], eax
push esi
push ecx
mov dword [esp + 0x84], eax
call fcn.0040aa70
push eax
lea edx, [esp + 0x34]
push str.FlashGroup
push edx
mov byte [esp + 0x9c], 1
call fcn.004019f0
mov ecx, dword [esp + 0x38]
mov esi, 0x10
add esp, 0x14
cmp ecx, esi
mov ecx, dword [esp + 0x10]
jae 0x40485b
lea ecx, [esp + 0x10]
cmp dword [eax + 0x18], esi
jb 0x404865
mov eax, dword [eax + 4]
jmp 0x404868
add eax, 4
push ebx
push ecx
push 0x20
lea ecx, [esp + 0x6c]
push ecx
push edi
push 0x4188ac
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x44]
setne bl
cmp eax, esi
jb 0x404898
mov edx, dword [esp + 0x30]
push edx
call fcn.0040c688
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
jb 0x4048bc
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040c688
add esp, 4
test bl, bl
pop ebx
je 0x4048d2
lea ecx, [esp + 0x60]
push ecx
call fcn.0040cb66
add esp, 4
mov edi, eax
jmp 0x4048d6
mov edi, dword [esp + 8]
cmp dword [esp + 0x24], esi
jb 0x4048e9
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c688
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret