Function at 0x18d32a90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x18d32ab3
xor eax, eax
jmp 0x18d32c86
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x80800080
mov edx, 1
mov eax, dword [ebp - 0x18]
mov word [eax + 8], dx
mov ecx, 0xa
mov edx, dword [ebp - 0x18]
mov word [edx + 0xa], cx
mov eax, 0xa
mov ecx, dword [ebp - 0x18]
mov word [ecx + 0xc], ax
mov edx, 0x64
mov eax, dword [ebp - 0x18]
mov word [eax + 0xe], dx
mov ecx, 0x14
mov edx, dword [ebp - 0x18]
mov word [edx + 0x10], cx
mov eax, dword [ebp - 0x18]
add eax, 0x12
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push 0x32
mov edx, dword [ebp - 4]
push edx
push 0xffffffffffffffff
push str.My_Dialog
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.18d32a60
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + 8], dx
mov ecx, 5
mov edx, dword [ebp - 0x10]
mov word [edx + 0xa], cx
mov eax, 0x64
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0xc], ax
mov edx, 0x14
mov eax, dword [ebp - 0x10]
mov word [eax + 0xe], dx
mov ecx, 0xc8
mov edx, dword [ebp - 0x10]
mov word [edx + 0x10], cx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x50000001
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 8
mov edx, dword [ebp - 0x10]
add edx, 0x12
mov dword [ebp - 0x14], edx
mov eax, 0xffff
mov ecx, dword [ebp - 0x14]
mov word [ecx], ax
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, 0x82
mov ecx, dword [ebp - 0x14]
mov word [ecx], ax
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp + 0x10], ecx
test edx, edx
je 0x18d32c21
jmp 0x18d32bf7
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.18d32a60
add esp, 4
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push 0x18d32a00
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret