Function at 0x4024d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4cc
mov eax, dword [0x427280]
xor eax, esp
mov dword [esp + 0x4c8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 1
mov dword [0x4293e4], eax
call fcn.0041034e
add esp, 4
mov dword [0x4293f4], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 0xff
mov dword [esp + 0x30], 8
push eax
call dword [0x41f03c]
push 0xbc
call fcn.0041034e
add esp, 4
test eax, eax
je 0x40253c
mov ecx, eax
call fcn.004043f0
jmp 0x40253e
xor eax, eax
push 0x618
mov dword [0x4293e0], eax
call fcn.0041034e
mov esi, eax
add esp, 4
test esi, esi
je 0x40257e
push 0x208
push 0
push esi
call fcn.004150f0
add esp, 0xc
lea eax, [esi + 0x208]
push 0x208
push 0
push eax
call fcn.004150f0
add esp, 0xc
jmp 0x402580
xor esi, esi
mov edi, dword [0x4293e0]
mov dword [0x4293f0], esi
test edi, edi
je 0x4028e1
test esi, esi
je 0x4028c1
push str.rich
call dword [0x41f1a0]
mov esi, eax
call fcn.00401f20
mov ecx, ebx
call fcn.00402130
mov ecx, dword [0x4293e0]
cmp dword [ecx + 0x40], 0
jne 0x402633
push str.MPlayer_Main_Window
push 0
push 0x1f0001
call dword [0x41f190]
test eax, eax
je 0x40262d
push 0x40
push 0x423a14
push 0x423a1c
push 0
call dword [0x41f2b8]
test esi, esi
je 0x4025f6
push esi
call dword [0x41f1a8]
mov esi, dword [0x4293e0]
test esi, esi
je 0x40261a
mov ecx, esi
call fcn.00404620
push esi
call fcn.00410323
add esp, 4
mov dword [0x4293e0], 0
mov eax, dword [0x4293f0]
test eax, eax
je 0x4028f8
push eax
jmp 0x4028e6
mov ecx, dword [0x4293e0]
cmp dword [ecx + 0x3c], 0
je 0x402777
push 0xc
call fcn.0041034e
mov esi, eax
add esp, 4
test esi, esi
je 0x402663
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0
jmp 0x402665
xor esi, esi
push 0xa48
call fcn.0041034e
add esp, 4
test eax, eax
je 0x40267d
mov ecx, eax
call fcn.004064c0
push 0
push 0
push esi
push 0x403a10
push 0
push 0
mov dword [esi], 0
call fcn.004103fc
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4026ca
push 0xffffffffffffffff
push esi
call dword [0x41f188]
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x41f178]
test eax, eax
je 0x4026ca
cmp dword [esp + 0x10], 0
jne 0x4026ca
push 0x1f4
call dword [0x41f184]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2d0], ax
lea eax, [esp + 0x2d2]
push eax
call fcn.004150f0
add esp, 0xc
call fcn.00404a00
push eax
lea eax, [esp + 0x2cc]
push eax
call dword [0x41f1d8]
call fcn.00404aa0
mov esi, dword [0x41f170]
push eax
lea eax, [esp + 0x2cc]
push eax
call esi
push 0x423a54
lea eax, [esp + 0x2cc]
push eax
call esi
push 0x423a58
lea eax, [esp + 0x2cc]
push eax
call esi
mov eax, dword [0x4293e0]
mov edx, 0x423a78
mov ecx, 0x423a68
cmp dword [eax + 0x3c], 0
lea eax, [esp + 0x2c8]
cmove ecx, edx
push ecx
push eax
push ecx
push 0x423a90
push 0x80000002
call fcn.00406450
sub esp, 8
lea eax, [esp + 0x2d0]
push eax
push ecx
call fcn.00407aa0
jmp 0x4028f8
lea ecx, [esp + 0x38]
call fcn.00405180
push dword [ebp + 0x14]
lea ecx, [esp + 0x3c]
call fcn.004056c0
mov edi, dword [0x41f298]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x40286b
mov ebx, dword [0x41f29c]
lea ecx, [ecx]
cmp dword [esp + 0x18], 0x100
jne 0x402840
mov eax, dword [esp + 0x1c]
cmp eax, 9
jne 0x4027de
mov ecx, dword [esp + 0x14]
call fcn.00402090
cmp dword [esp + 0x18], 0x100
jne 0x402840
mov eax, dword [esp + 0x1c]
cmp eax, 0xd
jne 0x402840
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x208], ax
lea eax, [esp + 0x20a]
push eax
call fcn.004150f0
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x402840
push 0x64
lea ecx, [esp + 0x204]
push ecx
push eax
call dword [0x41f2b0]
push str.Button
lea eax, [esp + 0x204]
push eax
call dword [0x41f194]
test eax, eax
jne 0x402840
push eax
push eax
push 0xf5
push dword [esp + 0x20]
call ebx
lea eax, [esp + 0x14]
push eax
call dword [0x41f2ac]
lea eax, [esp + 0x14]
push eax
call dword [0x41f2bc]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x4027b0
test esi, esi
je 0x402876
push esi
call dword [0x41f1a8]
mov esi, dword [0x4293e0]
test esi, esi
je 0x40289a
mov ecx, esi
call fcn.00404620
push esi
call fcn.00410323
add esp, 4
mov dword [0x4293e0], 0
mov eax, dword [0x4293f0]
test eax, eax
je 0x4028b6
push eax
call fcn.00410323
add esp, 4
mov dword [0x4293f0], 0
lea ecx, [esp + 0x38]
call fcn.004053a0
jmp 0x4028f8
mov ecx, edi
call fcn.00404620
push edi
call fcn.00410323
mov esi, dword [0x4293f0]
add esp, 4
mov dword [0x4293e0], 0
test esi, esi
je 0x4028f8
push esi
call fcn.00410323
add esp, 4
mov dword [0x4293f0], 0
mov ecx, dword [esp + 0x4d4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041026e
mov esp, ebp
pop ebp
ret 0x10