Function at 0x4d41dc
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 0x4d4212
cmp ecx, 3
jne case.0x4d4226.5
mov eax, dword [esi + 0x20]
cmp edx, eax
jne case.0x4d4226.5
cmp ecx, 0xf
ja case.0x4d4226.7
jmp dword [ecx*4 + 0x4d4890]
xor ebx, ebx
inc ebx
mov dword [esi + 0x34], edi
cmp edi, ebx
jne 0x4d423f
push ebx
mov edx, ebx
jmp 0x4d434c
mov ecx, dword [0x551434]
call fcn.00422199
push eax
push 2
pop edx
xor ecx, ecx
call fcn.004d316e
call fcn.0046e3c9
cmp dword [esi + 0x34], ebx
je 0x4d4276
mov eax, dword [0x54bd78]
test eax, eax
je 0x4d4276
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
jmp 0x4d427b
mov eax, 0x280
mov ecx, dword [0x54bd9c]
xor edi, edi
test ecx, ecx
je 0x4d429f
mov edx, dword [0x54bd98]
imul eax, eax, 5
add edx, 4
cmp dword [edx], eax
ja 0x4d4305
inc edi
add edx, 8
cmp edi, ecx
jne 0x4d4293
lea eax, [ecx - 1]
and dword [0x537edc], 0
push 0x537ed8
lea ecx, [ebp + 8]
mov dword [0x54bde4], eax
call fcn.004090f5
mov ecx, dword [0x54bd98]
lea eax, [ebp + 8]
push eax
mov eax, dword [0x54bde4]
mov ecx, dword [ecx + eax*8]
push ebx
push 0
mov edx, 0x4d418b
call fcn.00460c16
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4d42e6
call fcn.00407a4e
call fcn.0046e3e5
call fcn.004a3d7f
fstp dword [esi + 0x24]
push 0x3e8
push ebx
mov ecx, esi
call fcn.004d2627
jmp case.0x4d4226.5
mov eax, edi
jmp 0x4d42a2
fild dword [ebp + 8]
fdiv qword [0x4f23f0]
fstp dword [ebp + 8]
fldz
fcomp dword [ebp + 8]
fnstsw ax
test ah, 0x44
jp 0x4d4325
fldz
jmp 0x4d4337
mov eax, dword [0x54bde4]
mov ecx, dword [0x54bd98]
fild dword [ecx + eax*8 + 4]
fdiv dword [ebp + 8]
call fcn.00401066
lea ecx, [esi + 0x28]
mov dword [esi + 0x38], eax
call fcn.0048f165
xor edx, edx
push 2
inc edx
xor ecx, ecx
call fcn.004d316e
jmp case.0x4d4226.5
mov dword [esi + 0x3c], edi
cmp dword [edi], 0
jne case.0x4d4226.5
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
test ecx, ecx
ja 0x4d4376
test eax, eax
jbe case.0x4d4226.5
push ecx
mov ecx, dword [edi + 4]
push eax
call fcn.004d358d
test edx, edx
jle case.0x4d4226.5
mov dword [0x54bd98], eax
mov dword [0x54bd9c], edx
jmp case.0x4d4226.5
mov dword [esi + 0x40], edi
jmp case.0x4d4226.5
test edx, edx
jne case.0x4d4226.5
mov dword [esi + 0x254], edi
jmp case.0x4d4226.5
push edi
call sub.MSVCRT.dll_atoi
mov dword [0x54bde8], eax
pop ecx
mov ecx, dword [ebx + 0xc]
mov dl, 1
call fcn.0046b197
jmp case.0x4d4226.5
push edi
call sub.MSVCRT.dll_atoi
mov dword [0x54bd78], eax
jmp 0x4d43be
push edi
shl eax, 6
push dword [eax + 0x538c5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.0041ff68
pop ecx
mov ecx, edi
jmp 0x4d43c2
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 0x4d43e5
mov byte [0x54bdf7], 0
call fcn.00489806
mov byte [0x5499a8], al
call fcn.0048928f
call fcn.0046e3c9
call fcn.004917d5
call fcn.0046e3e5
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 0x4d449d
dec eax
je 0x4d4495
dec eax
je 0x4d448d
push 2
pop ecx
sub eax, ecx
je 0x4d447c
push dword [0x5518e4]
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 0x4d44af
mov dword [esi + 0x238], ecx
push 1
mov ecx, esi
call fcn.004d2d79
jmp 0x4d44af
mov ecx, dword [esi + 0x240]
jmp 0x4d44a3
mov ecx, dword [esi + 0x244]
jmp 0x4d44a3
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 0x4d450c
dec eax
jne 0x4d46a2
lea ecx, [esi + 0x28]
call fcn.0048f165
lea ebx, [esi + 0x250]
mov ecx, dword [ebx]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4d4504
call fcn.004d25e3
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [ebx], 0
jmp 0x4d46a2
cmp ebx, 2
jne 0x4d466b
push dword [0x55193c]
mov ebx, 0x400
lea eax, [ebp - 0x408]
push ebx
push eax
call fcn.0048d35b
mov edi, eax
mov eax, dword [0x54bd78]
add esp, 0xc
shl eax, 3
mov edx, ebx
push eax
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d232e
add edi, eax
mov eax, ebx
sub eax, edi
push 0x514cc0
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0048d35b
add esp, 0xc
push dword [0x54bd78]
add edi, eax
mov edx, ebx
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d2395
push dword [0x551940]
add edi, eax
mov eax, ebx
sub eax, edi
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0048d35b
add edi, eax
mov eax, dword [0x54bde8]
add esp, 0xc
shl eax, 3
mov edx, ebx
push eax
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d232e
add edi, eax
mov eax, ebx
sub eax, edi
push 0x514cc0
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0048d35b
add esp, 0xc
push dword [0x54bde8]
add edi, eax
mov edx, ebx
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004d2395
add edi, eax
push 0x514b1c
sub ebx, edi
lea eax, [ebp + edi*2 - 0x408]
push ebx
push eax
call fcn.0048d35b
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.0048c00a
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
call edi
mov eax, dword [esi + 0x20]
push dword [0x551eec]
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 0x4d4688
call fcn.004d2ada
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 0x4d46a2
mov eax, dword [0x54bd78]
test eax, eax
je 0x4d46a2
push eax
mov ecx, esi
call fcn.004d2c6c
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 0x4d46e5
mov ecx, esi
call fcn.004d4164
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 0x4d46f1
mov eax, dword [esi + 0x20]
shl eax, 6
push dword [eax + 0x538c5c]
call edi
jmp case.0x4d4226.5
shl eax, 6
movzx eax, word [eax + 0x538c28]
push eax
mov ecx, esi
call fcn.00467b79
test al, al
je 0x4d484c
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 0x4d47f2
dec eax
jne case.0x4d4226.5
push 0x4d8
mov ecx, esi
call fcn.00467bd9
push eax
call sub.MSVCRT.dll__wtoi
movzx edi, ax
movzx eax, di
pop ecx
push eax
mov ecx, esi
call fcn.004d269c
push 0x4c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x4d47e5
push edi
push 1
mov ecx, eax
call fcn.004d3715
jmp 0x4d47e7
xor eax, eax
mov dword [esi + 0x250], eax
jmp 0x4d42f3
mov edi, 0x54bd58
mov ecx, edi
call fcn.0043ea05
mov ecx, dword [esi + 0x258]
xor eax, eax
cmp byte [0x54bdf5], al
sete al
sub ecx, eax
mov eax, dword [0x54bd70]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, edi
mov dword [esi + 0x44], eax
call fcn.0043ea83
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x4d4842
push 0xbb9
push dword [esi + 0x44]
mov ecx, eax
push ebx
call fcn.004d36aa
jmp 0x4d4844
xor eax, eax
mov dword [esi + 0x24c], eax
jmp case.0x4d4226.5
push 0
mov ecx, esi
call fcn.004d4164
jmp case.0x4d4226.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.0x4d4226.5
push str.WndSetupWiz::OnTestEvent_Unknown_message_type
call fcn.0041ff2c
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4