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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
push 0x44da20
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x42b918
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x4c
push 0
push 0x44d820
call fcn.0041ee40
add esp, 0xc
push 0x38
push 0
lea ecx, [ebp - 0x16c]
push ecx
call fcn.0041ee40
add esp, 0xc
push 0xae
push 0
lea edx, [ebp - 0x134]
push edx
call fcn.0041ee40
add esp, 0xc
push 0
call sub.WINDCS32.dll_Ordinal_61
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x3a
mov ecx, dword [ebp - 0x170]
push ecx
call sub.OM32.dll_OM32_GetBausteinInfo
test eax, eax
je 0x407758
lea edx, [ebp - 0x134]
push edx
push 0x3a
mov eax, dword [ebp - 0x170]
push eax
call sub.OM32.dll_OM32_GetClassInfo
test eax, eax
jne 0x40775f
xor eax, eax
jmp 0x4078d3
mov cl, byte [ebp - 0x170]
mov byte [0x44d85d], cl
mov byte [0x44d85e], 0
mov dx, word [ebp - 0x168]
mov word [0x44d85f], dx
mov word [0x44d863], 0x3a
mov dword [0x44d820], 0
mov eax, dword [ebp - 0x164]
mov dword [0x44d838], eax
mov ecx, dword [ebp - 0xe4]
mov dword [0x44d83c], ecx
mov edx, dword [ebp - 0x154]
mov dword [0x44d840], edx
mov dword [0x44d844], 1
mov dword [0x44d848], 0
lea eax, [ebp - 0x84]
push eax
push 0x80
push 0x44da60
push 0x42b928
push str.Actualize
push 0x42b938
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x44da60
call fcn.0041f0ce
add esp, 4
cmp eax, 0xe10
jle 0x407810
mov dword [ebp - 0x174], 0xe10
jmp 0x407823
push 0x44da60
call fcn.0041f0ce
add esp, 4
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0xa
jge 0x407838
mov dword [ebp - 0x178], 0xa
jmp 0x407877
push 0x44da60
call fcn.0041f0ce
add esp, 4
cmp eax, 0xe10
jle 0x407858
mov dword [ebp - 0x17c], 0xe10
jmp 0x40786b
push 0x44da60
call fcn.0041f0ce
add esp, 4
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [0x44d84c], eax
mov dword [0x44d850], 0
lea ecx, [ebp - 0x84]
push ecx
push 0
push str.ActualizeShow
push 0x42b954
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x44d854], eax
mov dword [0x44d858], 0
push 4
push 1
push 0
call fcn.004089ed
add esp, 0xc
mov word [0x44d824], ax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40949f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 0x40
lea eax, [ebp - 0x44]
push eax
push 0x40e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x44]
push edx
mov eax, dword [0x431c60]
sub eax, 1
imul eax, eax, 0x41
add eax, 0x431ca4
push eax
call fcn.00420050
add esp, 8
test eax, eax
je 0x40950d
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [0x431c60]
sub edx, 1
imul edx, edx, 0x41
add edx, 0x431ca4
push edx
call fcn.0041ed50
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.0040971d
add esp, 4
push 0xd
lea ecx, [ebp - 0x44]
push ecx
push 0x401
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x431c60]
sub ecx, 1
imul ecx, ecx, 0xe
add ecx, 0x431de9
push ecx
call fcn.00420050
add esp, 8
test eax, eax
je 0x409575
lea edx, [ebp - 0x44]
push edx
mov eax, dword [0x431c60]
sub eax, 1
imul eax, eax, 0xe
add eax, 0x431de9
push eax
call fcn.0041ed50
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004097d6
add esp, 4
mov edx, dword [ebp + 0xc]
sub edx, 1
imul edx, edx, 0x41
add edx, 0x431ca4
push edx
push 0x40e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp + 0xc]
sub ecx, 1
imul ecx, ecx, 0xe
add ecx, 0x431de9
push ecx
push 0x401
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 0xc]
mov dword [0x431c60], eax
push 0x40e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esp, ebp
pop ebp
ret

Function at 0x4096ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x14
lea eax, [ebp - 0x94]
push eax
push 0x401
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x94]
push edx
push 0x42b9d0
push 0x42b9d8
mov eax, dword [0x431c84]
push eax
push 0
push 5
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._spcu._3.3d_s_s_s
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push 0x42b9f8
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00416442
mov esp, ebp
pop ebp
ret
Function at 0x40971d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x40
lea eax, [ebp - 0x44]
push eax
push 0x40e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, 0xffffffff
je 0x4097d2
lea edx, [ebp - 0x44]
push edx
push 0
push 0x158
push 0x40e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4097d2
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x14a
push 0x40e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x146
push 0x40e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x48], eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
push 0x144
push 0x40e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esp, ebp
pop ebp
ret

Function at 0x4097d6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0xd
lea eax, [ebp - 0x44]
push eax
push 0x401
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, 0xffffffff
je 0x40988b
lea edx, [ebp - 0x44]
push edx
push 0
push 0x158
push 0x401
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x40988b
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x14a
push 0x401
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x146
push 0x401
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x48], eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
push 0x144
push 0x401
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x40bc3c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x430ebc], 1
push 0
push 0
push 0xf0
push 0x42b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x40bd88
push 0x80
push 0x44da60
push 0x429
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x44da60
call fcn.0041f0ce
add esp, 4
mov dword [ebp - 8], eax
push 0x80
push 0x44da60
push 0x42a
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x44da60
call fcn.0041f0ce
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [0x431a58]
cmp eax, dword [ebp - 8]
jge 0x40bce8
mov ecx, dword [0x431a58]
mov dword [ebp - 0xc], ecx
jmp 0x40bcee
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 1
jge 0x40bcfd
mov dword [ebp - 0x10], 1
jmp 0x40bd1e
mov eax, dword [0x431a58]
cmp eax, dword [ebp - 8]
jge 0x40bd12
mov ecx, dword [0x431a58]
mov dword [ebp - 0x14], ecx
jmp 0x40bd18
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [0x431a58]
cmp edx, dword [ebp - 4]
jge 0x40bd39
mov eax, dword [0x431a58]
mov dword [ebp - 0x18], eax
jmp 0x40bd3f
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x18]
jle 0x40bd4f
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x40bd71
mov ecx, dword [0x431a58]
cmp ecx, dword [ebp - 4]
jge 0x40bd65
mov edx, dword [0x431a58]
mov dword [ebp - 0x20], edx
jmp 0x40bd6b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov dword [0x431a54], eax
mov ecx, dword [ebp - 4]
mov dword [0x431a58], ecx
cmp dword [0x431a6c], 0
jne 0x40bdbe
cmp dword [0x431a70], 0
jne 0x40bdbe
cmp dword [0x431a7c], 0
jne 0x40bdbe
cmp dword [0x431a74], 0
jne 0x40bdbe
cmp dword [0x431a78], 0
jne 0x40bdbe
mov dword [ebp - 0x24], 0
jmp 0x40bdc5
mov dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x24]
mov dword [0x431a68], edx
push 0x431a40
push 0x431a00
call fcn.00409b77
add esp, 8
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov esp, ebp
pop ebp
ret
Function at 0x40fca4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x28
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0041ee40
add esp, 0xc
mov dword [ebp - 0x24], 0x40f9f2
mov ecx, dword [0x44da40]
mov dword [ebp - 0x18], ecx
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
push 0x7b
mov edx, dword [0x44da40]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0x44da20
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x40fd06
or eax, 0xffffffff
jmp 0x40fd08
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40fe23
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [0x44db68], 0
push 0x44da20
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x42c774
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x50]
push ecx
push 0x32
push 0x44da60
push 0x43103c
push 0x42c784
push 0x42c794
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x40fe8a
push 1
push 0x74
mov edx, dword [ebp + 8]
push edx
call fcn.00414583
add esp, 0xc
jmp 0x40fed5
lea eax, [ebp - 0x50]
push eax
push 0x32
push 0x44da60
push 0x431040
push 0x42c7a0
push 0x42c7b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40fed5
push 0x44da60
call dword [sym.imp.USER32.dll_CharUpperA]
push eax
push str.EXTERNALDLLNAME
call fcn.00420050
add esp, 8
test eax, eax
jne 0x40fed5
mov dword [0x44db68], 1
mov ecx, dword [0x44db68]
push ecx
mov edx, dword [0x44da14]
push edx
call fcn.004113f4
add esp, 8
test eax, eax
jne 0x40fef9
mov dword [0x44db68], 0
cmp dword [0x44db68], 0
je 0x40ff1c
push 0x74
mov eax, dword [ebp + 8]
push eax
call fcn.004144fb
add esp, 8
mov dword [0x44da38], 0
jmp 0x40ff26
mov dword [0x44da38], 5
mov esp, ebp
pop ebp
ret
Function at 0x40ff2a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44da20
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x42c7cc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0x42c7dc
push 0x42c7e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0x13ba
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0x42c7ec
push 0x42c7f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0x13ec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0x42c800
push 0x42c810
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0x141e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0x42c818
push 0x42c820
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x43102c], eax
lea edx, [ebp - 0x54]
push edx
push 0
push 0x42c828
push 0x42c82c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431030], eax
lea eax, [ebp - 0x54]
push eax
push 0x258
push 0x42c834
push 0x42c83c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431034], eax
lea ecx, [ebp - 0x54]
push ecx
push 0x1c2
push 0x42c844
push 0x42c84c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431038], eax
lea edx, [ebp - 0x54]
push edx
push 0
push 0x42c854
push 0x42c85c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 5
mov dword [0x431018], eax
lea eax, [ebp - 0x54]
push eax
push 0
push str.Autostart
push 0x42c870
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431968], eax
lea ecx, [ebp - 0x54]
push ecx
push 1
push str.StoreQuitt
push 0x42c888
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x43196c], eax
lea edx, [ebp - 0x54]
push edx
push 1
push str.QuittMessage
push 0x42c8a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431970], eax
lea eax, [ebp - 0x54]
push eax
push 1
push 0x42c8b0
push 0x42c8b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431944], eax
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0x42c8c0
push 0x42c8c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431950], eax
lea edx, [ebp - 0x54]
push edx
push 1
push 0x42c8d4
push 0x42c8dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x431948], eax
cmp dword [0x431948], 1
je 0x410153
cmp dword [0x431948], 2
je 0x410153
mov dword [0x431948], 1
mov esp, ebp
pop ebp
ret
Function at 0x410571
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 0x44da20
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x42ca54
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x50]
push ecx
push 0x14
push 0x431974
push 0x42ca64
push str.MenuAppl
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x42ca80
push 0x431974
call fcn.0042094a
add esp, 4
push eax
call fcn.00420050
add esp, 8
test eax, eax
je 0x41060e
push 0x42ca84
push 0x431974
call fcn.0042094a
add esp, 4
push eax
call fcn.00420050
add esp, 8
test eax, eax
je 0x41060e
push 0x42ca88
push 0x44da20
mov edx, dword [ebp + 8]
push edx
call fcn.0041e8ad
add esp, 0xc
jmp 0x410624
push 0x431974
push 0x44da20
mov eax, dword [ebp + 8]
push eax
call fcn.0041e8ad
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4113f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push 0x44da20
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_sys_s.ini
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x411436
call fcn.00411659
mov eax, 1
jmp 0x4114e3
lea ecx, [ebp - 0x84]
push ecx
push 0x18
lea edx, [ebp - 0xa0]
push edx
push 0x431044
push str.ExternalDllName
push str.DATASOURCE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov word [ebp - 4], ax
movsx eax, word [ebp - 4]
test eax, eax
jne 0x41148b
mov dword [0x4318b8], 0
push 0x30
push 0x44da20
push str.No_DB_function_DLL_specified__
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4114e3
lea edx, [ebp - 0xa0]
push edx
call fcn.004114e7
add esp, 4
mov dword [0x4318b8], eax
cmp dword [0x4318b8], 0
jne 0x4114ac
xor eax, eax
jmp 0x4114e3
push str.CIS_WART_ReadWartData
push 0x44da3c
mov eax, dword [0x4318b8]
push eax
call fcn.004115d6
add esp, 0xc
mov ecx, dword [0x44da3c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
je 0x4114de
call fcn.00411659
xor eax, eax
jmp 0x4114e3
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x411b03
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4310be]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x411b65
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x411b65
cmp dword [ebp - 0xc], 0
je 0x411b33
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x411b3a
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.WMC____4.4X___wmc_OnSocketEvent:_Event_from_unknown_socket___4.4X__n
push 0x44d880
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44d880
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x411c72
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
je 0x411b80
cmp dword [ebp - 0x14], 0x20
je 0x411c33
jmp 0x411c72
cmp dword [ebp - 0xc], 0
jne 0x411b8b
jmp 0x411c72
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0x20
jge 0x411b9d
mov dword [ebp - 0x18], 0x20
jmp 0x411bac
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
xor edx, edx
mov dx, word [ecx + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
sub edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0x14]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
xor eax, eax
mov ax, word [edx + 0xc]
cmp eax, 0xfe08
jle 0x411bf6
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], 0
jmp 0x411c72
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x14]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xc]
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], ecx
jge 0x411c1b
jmp 0x411c72
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004116cb
add esp, 4
jmp 0x411c72
cmp dword [ebp - 0xc], 0
je 0x411c44
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
jmp 0x411c4b
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
push ecx
push str.WMC____4.4X___wmc_OnSocketEvent:_FD_CLOSE_received____call_wmc_Disconnect___..._n
push 0x44d880
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x44d880
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.004123a9
mov esp, ebp
pop ebp
ret

Function at 0x411d1a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push str.PCU_SERV
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x411d3b
push 5
push str.PCU_SERV.EXE
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebp
ret
Function at 0x411d3d
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x411d5c
mov eax, dword [ebp - 4]
jmp 0x411dc3
mov word [ebp - 0x14], 2
push 0x3ffe
call sub.WSOCK32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
je 0x411d8f
mov eax, dword [ebp - 4]
jmp 0x411dc3
call sub.WSOCK32.dll_WSAGetLastError
push eax
mov eax, dword [ebp - 4]
push eax
push str.WMC____4.4X___wmc_Connect:_ConnectOneHost_FAILED_with__d___n
push 0x44d880
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44d880
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
push ecx
call sub.WSOCK32.dll_closesocket
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x4123a9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4310be]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4123c8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
jmp 0x4123cf
mov dword [ebp - 8], 0
push 0x431048
mov eax, dword [ebp - 8]
push eax
push str.WMC____4.4X___wmc_Disconnect:_AppName_s_n
push 0x44d880
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44d880
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x431898], 0
je 0x412448
cmp dword [ebp - 4], 0
je 0x412410
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
jmp 0x412417
mov dword [ebp - 0xc], 0
push 0x431048
mov eax, dword [ebp - 0xc]
push eax
push str.WMC____4.4X___wmc_Disconnect:_AppName_s__REENTRANT___n
push 0x44d880
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44d880
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
jmp 0x412587
mov dword [0x431898], 1
cmp dword [ebp - 4], 0
je 0x4124cb
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_shutdown
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_closesocket
mov edx, dword [ebp - 4]
cmp dword [edx + 0xfe20], 0
je 0x41248e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xfe20]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call sub.WSOCK32.dll_WSACleanup
push 0x431880
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x4318a0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [0x43105c], 0
je 0x4124ea
push 0
push 0
push 0x7d0a
mov ecx, dword [0x43105c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [0x43106e], 0
je 0x41251a
mov edx, dword [0x43106e]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [0x43106e]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x431072], 0
je 0x412530
mov ecx, dword [0x431072]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x431062], 0
je 0x412546
mov edx, dword [0x431062]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x431066], 0
je 0x41255b
mov eax, dword [0x431066]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x43106a], 0
je 0x412571
mov ecx, dword [0x43106a]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x7e
push 0
push 0x431048
call fcn.0041ee40
add esp, 0xc
mov eax, 1
mov esp, ebp
pop ebp
ret