Function at 0x4d44c5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
mov ebx, dword [ebp + 8]
movzx edx, byte [ebx + 9]
push esi
mov esi, ecx
mov ecx, dword [ebx + 8]
push edi
mov edi, dword [ebx + 0xc]
and ecx, 0xff
cmp dword [esi + 0x238], 2
mov dword [ebp + 8], edi
jne 0x4d44fb
cmp ecx, 3
jne case.0x4d450f.5
mov eax, dword [esi + 0x20]
cmp edx, eax
jne case.0x4d450f.5
cmp ecx, 0xf
ja case.0x4d450f.7
jmp dword [ecx*4 + 0x4d4b79]
xor ebx, ebx
inc ebx
mov dword [esi + 0x34], edi
cmp edi, ebx
jne 0x4d4528
push ebx
mov edx, ebx
jmp 0x4d4635
mov ecx, dword [0x55143c]
call fcn.004221f4
push eax
push 2
pop edx
xor ecx, ecx
call fcn.004d3455
call fcn.0046e5c1
cmp dword [esi + 0x34], ebx
je 0x4d455f
mov eax, dword [0x54bd80]
test eax, eax
je 0x4d455f
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
jmp 0x4d4564
mov eax, 0x280
mov ecx, dword [0x54bda4]
xor edi, edi
test ecx, ecx
je 0x4d4588
mov edx, dword [0x54bda0]
imul eax, eax, 5
add edx, 4
cmp dword [edx], eax
ja 0x4d45ee
inc edi
add edx, 8
cmp edi, ecx
jne 0x4d457c
lea eax, [ecx - 1]
and dword [0x537edc], 0
push 0x537ed8
lea ecx, [ebp + 8]
mov dword [0x54bdec], eax
call fcn.0040917f
mov ecx, dword [0x54bda0]
lea eax, [ebp + 8]
push eax
mov eax, dword [0x54bdec]
mov ecx, dword [ecx + eax*8]
push ebx
push 0
mov edx, 0x4d4474
call fcn.00460e04
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4d45cf
call fcn.00407ac5
call fcn.0046e5dd
call fcn.004a3f7a
fstp dword [esi + 0x24]
push 0x3e8
push ebx
mov ecx, esi
call fcn.004d290e
jmp case.0x4d450f.5
mov eax, edi
jmp 0x4d458b
fild dword [ebp + 8]
fdiv qword [0x4f23f8]
fstp dword [ebp + 8]
fldz
fcomp dword [ebp + 8]
fnstsw ax
test ah, 0x44
jp 0x4d460e
fldz
jmp 0x4d4620
mov eax, dword [0x54bdec]
mov ecx, dword [0x54bda0]
fild dword [ecx + eax*8 + 4]
fdiv dword [ebp + 8]
call fcn.00401066
lea ecx, [esi + 0x28]
mov dword [esi + 0x38], eax
call fcn.0048f3cb
xor edx, edx
push 2
inc edx
xor ecx, ecx
call fcn.004d3455
jmp case.0x4d450f.5
mov dword [esi + 0x3c], edi
cmp dword [edi], 0
jne case.0x4d450f.5
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
test ecx, ecx
ja 0x4d465f
test eax, eax
jbe case.0x4d450f.5
push ecx
mov ecx, dword [edi + 4]
push eax
call fcn.004d3874
test edx, edx
jle case.0x4d450f.5
mov dword [0x54bda0], eax
mov dword [0x54bda4], edx
jmp case.0x4d450f.5
mov dword [esi + 0x40], edi
jmp case.0x4d450f.5
test edx, edx
jne case.0x4d450f.5
mov dword [esi + 0x254], edi
jmp case.0x4d450f.5
push edi
call sub.MSVCRT.dll_atoi
mov dword [0x54bdf0], eax
pop ecx
mov ecx, dword [ebx + 0xc]
mov dl, 1
call fcn.0046b3e9
jmp case.0x4d450f.5
push edi
call sub.MSVCRT.dll_atoi
mov dword [0x54bd80], eax
jmp 0x4d46a7
push edi
shl eax, 6
push dword [eax + 0x538c5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.0041ffc1
pop ecx
mov ecx, edi
jmp 0x4d46ab
mov esi, dword [esi + 4]
shl eax, 6
mov eax, dword [eax + 0x538c2c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
jmp 0x4d46ce
mov byte [0x54bdff], 0
call fcn.00489a4a
mov byte [0x5499b0], al
call fcn.004894d3
call fcn.0046e5c1
call fcn.00491a57
call fcn.0046e5dd
mov eax, dword [esi + 0x20]
mov ebx, dword [ebx + 0xc]
shl eax, 6
mov dword [eax + 0x538c50], ebx
mov eax, ebx
dec eax
mov dword [ebp - 8], ebx
je 0x4d4786
dec eax
je 0x4d477e
dec eax
je 0x4d4776
push 2
pop ecx
sub eax, ecx
je 0x4d4765
push dword [0x5518ec]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
shl ecx, 6
push dword [ecx + 0x538c2c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4d4798
mov dword [esi + 0x238], ecx
push 1
mov ecx, esi
call fcn.004d3060
jmp 0x4d4798
mov ecx, dword [esi + 0x240]
jmp 0x4d478c
mov ecx, dword [esi + 0x244]
jmp 0x4d478c
mov ecx, dword [esi + 0x23c]
mov eax, dword [esi + 0x20]
shl eax, 6
mov dword [eax + 0x538c48], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
push 0
shl ecx, 6
push dword [ecx + 0x538c34]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov eax, dword [esi + 0x20]
sub eax, 0
je 0x4d47f5
dec eax
jne 0x4d498b
lea ecx, [esi + 0x28]
call fcn.0048f3cb
lea ebx, [esi + 0x250]
mov ecx, dword [ebx]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4d47ed
call fcn.004d28ca
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [ebx], 0
jmp 0x4d498b
cmp ebx, 2
jne 0x4d4954
push dword [0x551944]
mov ebx, 0x400
lea eax, [ebp - 0x408]
push ebx
push eax
call fcn.0048d59f
mov edi, eax
mov eax, dword [0x54bd80]
add esp, 0xc
shl eax, 3
mov edx, ebx
push eax
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d2615
add edi, eax
mov eax, ebx
sub eax, edi
push 0x514cf8
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0048d59f
add esp, 0xc
push dword [0x54bd80]
add edi, eax
mov edx, ebx
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d267c
push dword [0x551948]
add edi, eax
mov eax, ebx
sub eax, edi
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0048d59f
add edi, eax
mov eax, dword [0x54bdf0]
add esp, 0xc
shl eax, 3
mov edx, ebx
push eax
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d2615
add edi, eax
mov eax, ebx
sub eax, edi
push 0x514cf8
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0048d59f
add esp, 0xc
push dword [0x54bdf0]
add edi, eax
mov edx, ebx
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d267c
add edi, eax
push 0x514b54
sub ebx, edi
lea eax, [ebp + edi*2 - 0x408]
push ebx
push eax
call fcn.0048d59f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
shl eax, 6
mov eax, dword [eax + 0x538c2c]
add esp, 0xc
push eax
push ecx
call ebx
lea ecx, [ebp - 0x408]
mov edi, eax
call fcn.0048c24e
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
call edi
mov eax, dword [esi + 0x20]
push dword [0x551ef4]
shl eax, 6
push dword [eax + 0x538c5c]
call edi
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
shl eax, 6
mov eax, dword [eax + 0x538c2c]
push eax
push ecx
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0x24c]
mov ecx, dword [ebx]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4d4971
call fcn.004d2dc1
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [ebx], 0
cmp dword [ebp - 8], 2
jne 0x4d498b
mov eax, dword [0x54bd80]
test eax, eax
je 0x4d498b
push eax
mov ecx, esi
call fcn.004d2f53
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
shl ecx, 6
push dword [ecx + 0x538c34]
push eax
call ebx
push eax
call edi
cmp dword [ebp - 8], 5
push 0
je 0x4d49ce
mov ecx, esi
call fcn.004d444d
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
push 5
shl ecx, 6
push dword [ecx + 0x538c2c]
push eax
call ebx
push eax
jmp 0x4d49da
mov eax, dword [esi + 0x20]
shl eax, 6
push dword [eax + 0x538c5c]
call edi
jmp case.0x4d450f.5
shl eax, 6
movzx eax, word [eax + 0x538c28]
push eax
mov ecx, esi
call fcn.00467d80
test al, al
je 0x4d4b35
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
push ebx
shl eax, 6
push dword [eax + 0x538c54]
call edi
mov eax, dword [esi + 0x20]
push ebx
shl eax, 6
push dword [eax + 0x538c58]
call edi
mov eax, dword [esi + 0x20]
push 5
shl eax, 6
push dword [eax + 0x538c5c]
call edi
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x402
shl ecx, 6
push dword [ecx + 0x538c34]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
push 5
shl ecx, 6
push dword [ecx + 0x538c34]
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
push 0
shl ecx, 6
push dword [ecx + 0x538c2c]
push eax
call ebx
push eax
call edi
mov eax, dword [esi + 0x20]
xor ebx, ebx
sub eax, ebx
je 0x4d4adb
dec eax
jne case.0x4d450f.5
push 0x4d8
mov ecx, esi
call fcn.00467de0
push eax
call sub.MSVCRT.dll__wtoi
movzx edi, ax
movzx eax, di
pop ecx
push eax
mov ecx, esi
call fcn.004d2983
push 0x4c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x4d4ace
push edi
push 1
mov ecx, eax
call fcn.004d39fc
jmp 0x4d4ad0
xor eax, eax
mov dword [esi + 0x250], eax
jmp 0x4d45dc
mov edi, 0x54bd60
mov ecx, edi
call fcn.0043eb66
mov ecx, dword [esi + 0x258]
xor eax, eax
cmp byte [0x54bdfd], al
sete al
sub ecx, eax
mov eax, dword [0x54bd78]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, edi
mov dword [esi + 0x44], eax
call fcn.0043ebe4
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x4d4b2b
push 0xbb9
push dword [esi + 0x44]
mov ecx, eax
push ebx
call fcn.004d3991
jmp 0x4d4b2d
xor eax, eax
mov dword [esi + 0x24c], eax
jmp case.0x4d450f.5
push 0
mov ecx, esi
call fcn.004d444d
jmp case.0x4d450f.5
mov esi, dword [esi + 4]
push 0
push edi
push 0x402
shl eax, 6
push dword [eax + 0x538c34]
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4d450f.5
push str.WndSetupWiz::OnTestEvent_Unknown_message_type
call fcn.0041ff85
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4