Function at 0x408b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c60e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47ca80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x52d
ja 0x408b8c
cmp dword [ebp - 0x28], 0x52d
je 0x408cbd
cmp dword [ebp - 0x28], 0x11
je 0x408c4b
cmp dword [ebp - 0x28], 0x52c
je 0x408b9e
jmp 0x408d97
cmp dword [ebp - 0x28], 0x52e
je 0x408d58
jmp 0x408d97
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x408c46
push 1
mov edx, dword [0x47e060]
mov eax, dword [edx]
mov ecx, dword [0x47e060]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
jne 0x408c1e
mov eax, dword [0x47e060]
mov edx, dword [eax]
mov ecx, dword [0x47e060]
mov eax, dword [edx + 8]
call eax
push eax
lea ecx, [ebp - 0x14]
call fcn.00402fd0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00403140
push eax
push 0
push 0x6b4
push 0x461d70
push 0x461d84
call fcn.00405d80
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403050
jmp 0x408c46
push 0x461d9c
push 0
push 0x6b8
push 0x461dc4
push 0x461dd8
call fcn.00405d80
add esp, 0x14
push 2
mov ecx, dword [ebp - 0x24]
call fcn.004223ca
jmp 0x408d97
call fcn.0040e1a0
test eax, eax
je 0x408cb8
cmp dword [0x47df38], 0
je 0x408cb8
cmp dword [0x47df3c], 0
je 0x408cb8
cmp dword [0x47df40], 0
je 0x408cab
push str.ck_W
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x47df38]
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x408f10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x408dab
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x20]
push eax
call dword [0x47df3c]
jmp 0x408d97
push 1
mov ecx, dword [0x47e060]
mov edx, dword [ecx]
mov ecx, dword [0x47e060]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
jne 0x408d2e
mov ecx, dword [0x47e060]
mov edx, dword [ecx]
mov ecx, dword [0x47e060]
mov eax, dword [edx + 8]
call eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402fd0
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.00403140
push eax
push 0
push 0x6df
push 0x461e18
push 0x461e2c
call fcn.00405d80
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403050
jmp 0x408d56
push str.EDPEDISK:Unload_Success_Program_Exit_
push 0
push 0x6e3
push 0x461e6c
push str.CEdpDiskDlg::WindowProc
call fcn.00405d80
add esp, 0x14
push 2
mov ecx, dword [ebp - 0x24]
call fcn.004223ca
jmp 0x408d97
movsx ecx, byte [ebp + 0xc]
push ecx
call fcn.00440f15
add esp, 4
mov byte [ebp - 0x1e], al
movsx edx, byte [0x47e04c]
push edx
call fcn.00440f15
add esp, 4
mov byte [ebp - 0x1d], al
movsx eax, byte [ebp - 0x1e]
test eax, eax
je 0x408d8f
movsx ecx, byte [ebp - 0x1d]
movsx edx, byte [ebp - 0x1e]
cmp ecx, edx
jne 0x408d97
mov ecx, dword [ebp - 0x24]
call fcn.00407290
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00423870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc