joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bdf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8e08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0040b4c0
lea ecx, [esp + 0xc]
push ecx
push 0x436800
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x43be77
mov edx, dword [esp + 0x14]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x43be9c
mov eax, dword [esp + 0x44]
push eax
call fcn.0047b87c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047b86d
add esp, 0x30
ret
Function at 0x43f130
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4a9398
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edx, dword [esp + 0x68]
test edx, edx
mov edi, ecx
jl 0x43f283
mov ecx, dword [edi + 0x248]
test ecx, ecx
lea esi, [edi + 0x244]
je 0x43f283
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp edx, eax
jae 0x43f283
cmp edx, dword [edi + 0x26c]
je 0x43f283
push edx
mov ecx, esi
call fcn.0043e690
push eax
lea ecx, [esp + 0x18]
call fcn.0043c270
cmp dword [esp + 0x28], 0
mov dword [esp + 0x60], 0
je 0x43f26f
mov ebx, dword [edi + 0x26c]
test ebx, ebx
mov ebp, 2
jl 0x43f236
mov ecx, esi
call fcn.00433ca0
cmp ebx, eax
jae 0x43f236
push ebx
mov ecx, esi
call fcn.0043e690
mov eax, dword [eax + 0x1c]
xor ebx, ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebp
mov dword [eax + 0x34], 1
mov dword [eax + 0x38], ebx
mov eax, dword [edi + 0x26c]
push eax
mov ecx, esi
call fcn.0043e690
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 4]
push 1
add eax, 4
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x26c]
push ebx
push edx
mov ecx, esi
call fcn.0043e690
mov eax, dword [eax + 0x18]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
mov dword [edi + 0x26c], ecx
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x30], ebp
mov dword [eax + 0x34], ebp
mov dword [eax + 0x38], ebp
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x2c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x50], 0x10
jb 0x43f283
mov edx, dword [esp + 0x3c]
push edx
call fcn.0047b87c
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0047b86d
add esp, 0x50
ret 4
Function at 0x440a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.004134b0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [esp + 0x20], 0xffffffff
call ebx
mov ebp, eax
test ebp, ebp
je 0x440b54
push pe_nt_image_headers32
push edi
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
test eax, eax
je 0x440ac4
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call ebx
test eax, eax
je 0x440b2d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x440b2d
push edi
push ebx
call fcn.00432d00
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
mov esi, eax
test esi, esi
je 0x440b0f
cmp esi, 0xffffffff
jne 0x440b19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp edi, ebx
je 0x440b3b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x440b3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x440b4a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x441159
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
push edi
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
xor edi, edi
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x44124b
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x44124b
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x4411e1
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x4411e1
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov eax, edx
imul eax, edi
add eax, ecx
cmp edi, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jbe 0x4411d2
mov ebp, dword [esi + 0x48]
imul ebp, edi
add eax, ebp
mov dword [esp + 0x24], eax
mov ebp, dword [esi + 0x38]
add ebp, ecx
add edx, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4411ff
cmp dword [esi + 0x78], edi
jne 0x441207
add edi, 1
jmp 0x441172
mov eax, dword [esi + 4]
push 0x101
push ebx
push ebx
push eax
mov dword [esi + 0x78], edi
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esi + 4]
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
Function at 0x441769
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
push edi
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
xor edi, edi
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
mov dword [esp + 0x3c], edi
je 0x44188d
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x44188d
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x4417f5
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x4417f5
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov eax, edx
imul eax, edi
add eax, ecx
cmp edi, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jbe 0x4417e6
mov ebp, dword [esi + 0x48]
imul ebp, edi
add eax, ebp
mov dword [esp + 0x24], eax
mov ebp, dword [esi + 0x38]
add ebp, ecx
add edx, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x441816
add edi, 1
jmp 0x441782
mov eax, dword [esi + 0x80]
lea ecx, [esp + 0x3c]
lea ebx, [esi + 0x7c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.004416f0
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x441841
cmp eax, ebx
je 0x441846
call fcn.0047d7b0
mov eax, dword [esp + 0x14]
cmp dword [ebp + 4], eax
jne 0x44188d
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x441862
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x441867
call fcn.0047d7b0
mov ecx, dword [esi + 0x2c]
movzx edx, word [ecx + edi*8 + 4]
mov eax, dword [esi + 0x24]
push 0
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4423c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x120]
push edi
mov ebp, ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x442423
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [esp + 0x20]
push str.LoadLibrary___s___failed__error_code___08X_
push ecx
call fcn.0047d17a
add esp, 0x10
jmp 0x4424c0
push str.InitModuleInterface
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x442450
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push edi
lea edx, [esp + 0x24]
push str.GetProcAddress___s___08X____InitModuleInterface___failed__error_code___08X_
push edx
call fcn.0047d17a
add esp, 0x14
jmp 0x4424b9
mov ecx, dword [0x4ce410]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [ebp + 4]
push edx
push ecx
push esi
call eax
add esp, 0x14
test eax, eax
jne 0x442483
lea edx, [esp + 0x10]
push edx
lea ecx, [ebp + 0x278]
call fcn.00440800
mov eax, 1
jmp 0x4424c2
push eax
push edi
lea eax, [esp + 0x20]
push str.Failed_to_fetch_the_interface_from_module__s__error_code___08X
push eax
call fcn.0047d17a
mov eax, dword [esi]
add esp, 0x10
test eax, eax
je 0x4424b9
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4424b9
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047b86d
add esp, 0x10c
ret 0xc

Function at 0x4440b0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x4440ba
lea esi, [ecx - 0x20]
jmp 0x4440bc
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret

Function at 0x446fd0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x446fda
lea esi, [ecx - 0x24]
jmp 0x446fdc
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret
Function at 0x449860
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x44986a
lea esi, [ecx - 0x24]
jmp 0x44986c
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret

Function at 0x44bbc0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4aa0a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.CMitThread.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x20]
push eax
push 4
push esi
push 0x414c90
push ebx
push ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [eax], ebx
call fcn.0047d4c6
add esp, 0x18
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x30], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TUpdateThread.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
push ebx
lea edx, [esp + 0x28]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x24], 2
mov byte [ecx + 4], bl
call fcn.00403af0
push 0xffffffffffffffff
lea ecx, [esi + 0x50]
push ebx
lea eax, [esp + 0x4c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x24], 3
mov byte [ecx + 4], bl
call fcn.00403af0
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x6c], ecx
jb 0x44bc96
mov edx, dword [esp + 0x24]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jb 0x44bcba
mov eax, dword [esp + 0x48]
push eax
call fcn.0047b87c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x44
Function at 0x44c190
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4aa180
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 4]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CMitThread.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x20]
push eax
push 4
push esi
push 0x414c90
push ebx
push ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [eax], ebx
call fcn.0047d4c6
add esp, 0x18
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.CUpdateWindow::TestServerThread.0
mov dword [esi + 0x28], eax
push ebx
lea edx, [esp + 0x2c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x24], 1
mov byte [ecx + 4], bl
call fcn.00403af0
cmp dword [esp + 0x3c], 0x10
mov dword [esi + 0x24], 1
jb 0x44c23a
mov eax, dword [esp + 0x28]
push eax
call fcn.0047b87c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x20

Function at 0x44c590
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x184]
jne 0x44c5aa
cmp byte [esp + 0x10], 0
je 0x44c6fe
push ebx
mov dword [esi + 0x184], eax
sub eax, 0
push edi
je 0x44c665
sub eax, 2
jne 0x44c6fc
mov bl, byte [esp + 0x14]
test bl, bl
lea eax, [esi + 0x294]
jne 0x44c5d8
lea eax, [esi + 0x298]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x1c8]
call fcn.00426930
mov edx, dword [esi + 0x1d4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [esi + 0x234]
push 0
push eax
call edi
mov ecx, dword [esi + 0x29c]
push 0
push 0x64
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
jne 0x44c6fc
mov ebx, dword [esi + 0x18c]
test ebx, ebx
jl 0x44c6fc
lea ecx, [esi + 0x198]
call fcn.00433e10
add ebx, 1
cmp ebx, eax
jae 0x44c6fc
mov edx, dword [esi + 0x2a4]
push 5
push edx
call edi
mov eax, dword [esi + 0x29c]
push 0
push eax
call edi
pop edi
pop ebx
pop esi
ret 0xc
mov ecx, dword [esi + 0x29c]
push 0
push 0
push 0x402
push ecx
mov byte [esi + 0x188], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x29c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [esi + 0x2a4]
push 0
push eax
call edi
lea ecx, [esi + 0x1a8]
call fcn.0041ac90
mov ecx, dword [esi + 0x1cc]
push 0x4b2b78
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x1cc]
push 5
push edx
call edi
mov eax, dword [esi + 0x290]
push eax
lea ecx, [esp + 0x1c]
lea ebx, [esi + 0x1c8]
push ecx
mov ecx, ebx
call fcn.00426930
mov edx, dword [ebx]
push 5
push edx
call edi
mov eax, dword [esi + 0x1d4]
push 0
push eax
call edi
mov ecx, dword [esi + 0x234]
push 5
push ecx
call edi
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x44f720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa6c9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x6c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], 1
call fcn.004775a0
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x68], 1
call fcn.00467e00
push str.configupdateserver.txt
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x74], 2
call fcn.0041b600
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.004782f0
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x44f7bf
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x64], 1
jb 0x44f7e7
mov eax, dword [esp + 0x44]
push eax
call fcn.0047b87c
add esp, 4
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.004767a0
test eax, eax
jbe 0x44f859
lea ecx, [esp + 0x24]
call fcn.004775a0
push 0x2c
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.00476750
push eax
lea ecx, [esp + 0x2c]
call fcn.00477fb0
lea ecx, [esp + 0x24]
call fcn.004767a0
cmp eax, 1
jbe 0x44f83b
push 1
lea ecx, [esp + 0x28]
call fcn.00476750
push eax
mov ecx, edi
call fcn.0044f250
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.004775b0
lea ecx, [esp + 0x14]
add esi, 1
call fcn.004767a0
cmp esi, eax
jb 0x44f7f6
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.004775b0
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 4

Function at 0x4518b9
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0xf060
push esi
mov esi, ecx
jne 0x4518cc
call fcn.004510e0
mov eax, 1
pop esi
ret 0xc
cmp eax, 0xf020
jne 0x4518f0
cmp dword [0x4cc4b0], 0
je 0x4518e4
mov eax, dword [esi + 4]
push 0
push eax
jmp 0x4518ea
mov ecx, dword [esi + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], 0
xor eax, eax
pop esi
ret 0xc
Function at 0x4549f0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x454a06
push 0x80004005
call fcn.00401ae0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x454b70
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x220]
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x4b4a60
push 1
push esi
push 0x4b4c90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x454c43
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x454c43
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
test eax, eax
jl 0x454c43
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push 0x4b8010
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x454c37
cmp dword [esp + 0x10], esi
je 0x454c37
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 2
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
setge cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0047b86d
add esp, 0x214
ret 8
Function at 0x454e70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x18], eax
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jne 0x454edd
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0
push ecx
mov ecx, esp
push 0
push 0x50000100
push 0x4b0c8c
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 0x18]
push eax
call ebx
push eax
mov ecx, esi
call fcn.00417570
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
je 0x454f87
mov edx, dword [esi + 0x18]
lea edi, [esi + 4]
push edi
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x18]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, eax
push edi
push ebx
call ebp
test eax, eax
je 0x454f15
lea ecx, [edi + 8]
push ecx
push ebx
call ebp
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
push 1
sub edi, edx
push edi
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.00454ac0
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push edx
call edi
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
mov edx, dword [esi + 0x18]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x454f80
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4b0c8c
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, 1
jmp 0x454f89
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047b86d
add esp, 0x108
ret 4