joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458ec0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x404
push ebp
mov ebp, ecx
push esi
push 0x516a08
mov eax, dword [ebp + 0xc]
lea esi, [ebp + 0xc]
push eax
call fcn.0048e917
add esp, 8
mov dword [ebp + 4], eax
test eax, eax
je 0x458fed
push ebx
push edi
push str..bak
lea eax, [esp + 0x14]
push esi
push eax
call fcn.004b28eb
mov eax, dword [eax]
push 0x51ee54
push eax
call fcn.0048e917
add esp, 8
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004b2656
mov edx, dword [ebp + 4]
test byte [edx + 0xc], 0x10
jne 0x458f84
test ebx, ebx
je 0x458f84
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x14]
push edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x400
push ecx
call fcn.0048ecb3
lea edx, [esp + 0x21]
push edx
call fcn.0048ebee
mov ecx, dword [esp + 0x428]
add esp, 0x10
cmp eax, ecx
je 0x458f7b
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0048f372
add esp, 8
mov edx, dword [ebp + 4]
test byte [edx + 0xc], 0x10
je 0x458f1f
mov ecx, dword [ebp + 4]
push ecx
call fcn.0048e374
push ebx
call fcn.0048e374
mov edx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 8
mov dword [ebp + 4], 0
push edx
call edi
mov ebx, dword [esi]
push str..bak
lea eax, [esp + 0x14]
push esi
push eax
call fcn.004b28eb
mov ecx, dword [eax]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x10]
call fcn.004b2656
push str..bak
lea edx, [esp + 0x14]
push esi
push edx
call fcn.004b28eb
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.004b2656
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x404
ret 4

Function at 0x4595d0
Capabilities:
Delete file

Disassembly:
mov eax, dword [ecx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret
Function at 0x45b2f0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4e4880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x52506c]
push ebx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
cmp dword [edx - 8], ebx
jne 0x45b34a
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004b2656
fld qword [0x4ecd28]
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea eax, [esp + 0x38]
push 3
push eax
call fcn.004ac695
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x34], 1
call fcn.004b278f
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call fcn.004b2656
mov eax, dword [0x5bd5c0]
mov dword [esp + 0x20], 0
cmp eax, ebx
mov dword [esp + 0x24], 0
je 0x45b3d3
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edx
call eax
cmp eax, ebx
je 0x45b42a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
fild qword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
fmul qword [0x4f1060]
fild qword [esp + 0x20]
faddp st(1)
jmp 0x45b426
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
fild qword [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
fild qword [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
fmulp st(1)
fild qword [esp + 0x20]
fmulp st(1)
fstp qword [esp + 0x20]
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004b2656
mov ecx, dword [esp + 0x28]
pop ebx
fld qword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x45ba50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e4998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp + 4]
push esi
push eax
call fcn.0045bae0
add esp, 4
push str.NeoAudio.ini
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004b28eb
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push eax
push 0
mov ecx, dword [edx]
push ecx
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 4]
mov esi, eax
call fcn.004b2656
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b2656
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45bc10
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e49fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
xor ebx, ebx
xor esi, esi
call fcn.00435150
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push 0x104
push eax
mov dword [esp + 0x148], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004b26c4
push str.COMCTL32.DLL
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x14c], 1
call fcn.004b28eb
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x144], 2
call fcn.004351a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 1
call fcn.004b2656
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], bl
call fcn.004b2656
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
call fcn.00437a50
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.00424dc0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x144], 4
call fcn.00437a80
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x144], 5
call fcn.0045bde0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x517ab0
push edx
mov byte [esp + 0x14c], 6
mov dword [esp + 0x24], esi
call fcn.0048ed97
add esp, 0xc
call fcn.004ce953
mov eax, dword [eax + 4]
push ebx
push str.DisableFlatLook
push str.Debug
mov ecx, eax
call fcn.004cfe15
mov ecx, eax
fld dword [esp + 0x18]
fcomp qword [0x4f1068]
fnstsw ax
test ah, 1
jne 0x45bd67
cmp ecx, ebx
jne 0x45bd67
mov esi, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 5
call fcn.004b2656
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 4
call fcn.004b2656
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 3
call fcn.004b2656
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], bl
call fcn.004b2656
lea ecx, [esp + 0xc]
mov dword [esp + 0x140], 0xffffffff
call fcn.00435160
mov ecx, dword [esp + 0x138]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x46ba80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e64b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00469f70
push 0x533538
lea ecx, [esi + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esi], 0x4f2750
call fcn.004b27df
push str.Astrid_Quartex_AAC_encoder
lea ecx, [esi + 0x20]
call fcn.004b27df
push 0x520578
lea ecx, [esi + 0x6c]
mov dword [esi + 0x68], 6
call fcn.004b27df
push str._1__2__4
lea ecx, [esi + 0x2c]
mov dword [esi + 0x30], 0x80
call fcn.004b27df
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.00467870
mov eax, dword [0x5ca564]
mov byte [esp + 0x18], 1
test eax, eax
je 0x46bb32
push 0x28e
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Entering_CEncoderDos::LoadSettings__
call fcn.004244f0
add esp, 4
mov ecx, esi
call fcn.00467d60
push str.bSendStdinWavHeader
lea ecx, [esp + 8]
call fcn.004b26c4
mov ecx, dword [esi + 0xb4]
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, 0x534a44
mov byte [esp + 0x24], 2
call fcn.0043dc30
lea ecx, [esp + 4]
mov dword [esi + 0xb4], eax
mov byte [esp + 0x18], 1
call fcn.004b2656
mov eax, dword [0x5ca564]
test eax, eax
je 0x46bba8
push 0x295
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Leaving_CEncoderDos::LoadSettings__
call fcn.004244f0
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004b2656
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x70], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4831f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x483231
call fcn.004ce953
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x483231
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x483248
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x483248
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x49bba3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49bbc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0048ff44
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49bbe6
test byte [esp + 8], 2
je 0x49bbe6
call fcn.0048ffb7
mov dword [eax], 0xd
call fcn.0048ffc0
mov dword [eax], 5
jmp 0x49bbbf
xor eax, eax
ret

Function at 0x49e822
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x529e18
cmp edx, dword [eax]
je 0x49e844
add eax, 8
inc ecx
cmp eax, 0x529ea8
jl 0x49e835
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x529e18]
jne 0x49e972
mov eax, dword [0x5cc700]
cmp eax, 1
je 0x49e94c
test eax, eax
jne 0x49e875
cmp dword [0x526e14], 1
je 0x49e94c
cmp edx, 0xfc
je 0x49e972
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x49e8ac
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0049b730
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00492310
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x49e8ef
lea eax, [ebp - 0x1a4]
push eax
call fcn.00492310
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x51dfc0
push edi
call fcn.00491110
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0049b730
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0049b740
lea eax, [ebp - 0xa0]
push 0x4fb6d0
push eax
call fcn.0049b740
push dword [esi + 0x529e1c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0049b740
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004a141f
add esp, 0x2c
pop edi
jmp 0x49e972
lea eax, [ebp + 8]
lea esi, [esi + 0x529e1c]
push 0
push eax
push dword [esi]
call fcn.00492310
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4ab050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0048f200
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4ab11b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ab11b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4ab0ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4ab0d9
or bh, 8
and edi, 0x8000000
je 0x4ab0f4
mov eax, dword [0x5ce31c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4ab11b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ab4f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4ab51b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4ab53f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4ab55a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4b39e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4b3a04
cmp dword [edi + 0x3c], 0
jne 0x4b3a04
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004ce953
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004b3a43
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b3aa7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004ce953
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b3ad8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004b3afd
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b5174
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b51ac
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b2afd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b2ad5
jmp 0x4b51b8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b51bc
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x5ca670
mov ecx, edi
call fcn.004b27df
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4b520f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4b5222
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004b2afd
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004b2ad5
jmp 0x4b5222
mov ecx, esi
call fcn.004b7e2e
test eax, eax
je 0x4b5222
push edi
mov ecx, eax
call fcn.004b5174
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4b6f76
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b6fb8
call fcn.004ce953
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b6fb8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b6faf
xor eax, eax
jmp 0x4b6fc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b6fc6
pop edi
pop esi
pop ebx
ret 4
Function at 0x4bfc7b
Capabilities:
Terminate process

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ecx + ebx + 0x24]
add eax, ebx
add ecx, ebx
movzx edx, word [ecx + esi*2]
mov ebp, dword [eax + edx*4]
add ebx, ebp
je 0x4bfc6b
mov esi, dword [0x523308]
lea ebp, [esp + 4]
push ebp
mov edx, dword [0x523314]
mov eax, dword [0x523310]
push eax
push edx
push esi
call ebx
mov edx, dword [0x523328]
mov eax, dword [esp]
add eax, edx
mov ecx, dword [0x523314]
mov dword [esp], eax
mov edx, dword [eax + 4]
cmp ecx, 8
jbe 0x4bfce6
mov ecx, eax
mov eax, 8
mov edi, dword [ecx + eax]
add edi, edx
mov dword [esi + eax], edi
mov edi, dword [0x523334]
add eax, edi
mov edi, dword [0x523314]
cmp eax, edi
jb 0x4bfccc
mov eax, dword [0x52332c]
push ebp
mov dword [esi + 8], eax
push dword [esp + 8]
mov edx, dword [0x523314]
push edx
add byte [edx + 0x56], dl
call ebx
mov ecx, dword [esi + 0xc]
add ecx, esi
mov eax, dword [0x523318]
add ecx, eax
mov edx, dword [0x523318]
add esi, edx
push esi
call ecx
add esp, 4
jmp 0x4bfc6b

Function at 0x4bfcf7
Capabilities:
Terminate process

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ecx + ebx + 0x24]
add eax, ebx
add ecx, ebx
movzx edx, word [ecx + esi*2]
mov ebp, dword [eax + edx*4]
add ebx, ebp
je 0x4bfc6b
mov esi, dword [0x523308]
lea ebp, [esp + 4]
push ebp
mov edx, dword [0x523314]
mov eax, dword [0x523310]
push eax
push edx
push esi
call ebx
mov edx, dword [0x523328]
mov eax, dword [esp]
add eax, edx
mov ecx, dword [0x523314]
mov dword [esp], eax
mov edx, dword [eax + 4]
cmp ecx, 8
jbe 0x4bfce6
mov ecx, eax
mov eax, 8
mov edi, dword [ecx + eax]
add edi, edx
mov dword [esi + eax], edi
mov edi, dword [0x523334]
add eax, edi
mov edi, dword [0x523314]
cmp eax, edi
jb 0x4bfccc
mov eax, dword [0x52332c]
push ebp
mov dword [esi + 8], eax
push dword [esp + 8]
mov edx, dword [0x523314]
push edx
add byte [edx + 0x56], dl
call ebx
mov ecx, dword [esi + 0xc]
add ecx, esi
mov eax, dword [0x523318]
add ecx, eax
mov edx, dword [0x523318]
add esi, edx
push esi
call ecx
add esp, 4
jmp 0x4bfc6b
Function at 0x4d05a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004ce953
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4d05e5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d05e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4d05e9
xor eax, eax
jmp 0x4d0667
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004b2d27
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4d0621
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4d060b
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004d076c
push ebx
mov edi, eax
call fcn.004b2d50
test edi, edi
pop ecx
je 0x4d0663
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004d04be
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004d066c
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4d8eb5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x4d8f33
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc