Function at 0x421881
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, str.BtnCfm
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b90d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4218ca
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4218d7
add eax, 8
push eax
push dword [ebp + 8]
xor eax, eax
call dword [0xb5f13a]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x421901
push 0x69
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x421914
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [0xb5f13e]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x421940
push 0x69
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x28], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x421956
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x9dc
call fcn.004e3630
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, str.hMsgWnd
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b90d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x421990
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42199d
add eax, 8
push eax
push dword [ebp + 8]
xor eax, eax
call dword [0xb5f13a]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4219c7
push 0xe2
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4219da
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [0xb5f13e]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x421a06
push 0xe2
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x28], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x421a1c
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x9dc
call fcn.004e3630
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, str.BtnClose
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b90d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x421a56
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x421a63
add eax, 8
push eax
push dword [ebp + 8]
xor eax, eax
call dword [0xb5f13a]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x421a8d
push 0x15c
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x421aa0
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [0xb5f13e]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x421acc
push 0x15c
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x28], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x421ae2
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x9dc
call fcn.004e3630
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 8], eax
jne 0x421b10
mov dword [ebp - 0x10], 0
jmp 0x421b2f
mov eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
jne 0x421b28
mov dword [ebp - 0x10], 1
jmp 0x421b2f
mov dword [ebp - 0x10], 2
mov eax, str.playOut
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b90d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x421b53
push ebx
call fcn.004e082e
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004e4d10
add esp, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b90d
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x421b90
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x421b9d
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x421ba8
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [0xb5f066]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x421bd2
push 0x2c9
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x421be2
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x421bf2
push ebx
call fcn.004e082e
add esp, 4
mov eax, 0x618d85
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b90d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x421c16
push ebx
call fcn.004e082e
add esp, 4
mov eax, 0x618db8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b90d
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x421c3a
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x421c47
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x421c52
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [0xb5f066]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x421c7c
push 0x31c
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x421c8c
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x421c9c
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 8]
push 0x4223d4
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x421ce8
push 0x337
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
xor eax, eax
call dword [0xb5f1fe]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x421d17
push 0x38d
push 0x41bc8fa
push 6
call fcn.004e0834
add esp, 0xc
mov eax, 0
jmp 0x421d21
mov esp, ebp
pop ebp
ret 8