Function at 0x42d3e0
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46405f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc34
mov eax, dword [0x487490]
mov dword [ebp - 0xb8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb0c], 0
mov dword [0x48d4cc], 0
mov dword [ebp - 0x34], 0
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x30]
call fcn.0045e2d2
mov dword [ebp - 4], 1
push 0x474f58
lea ecx, [ebp - 0x14]
call fcn.00404420
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0xae8], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.00404420
mov dword [ebp - 0xbdc], eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0042d0a0
add esp, 8
mov dword [ebp - 0xbe0], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x68], 3
call fcn.00454986
mov dword [ebp - 0xbe4], eax
mov eax, dword [ebp - 0xbe4]
mov dword [ebp - 0xb2c], eax
mov ecx, dword [ebp - 0xb2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb2c]
call dword [edx + 0xc]
mov dword [ebp - 0xbe8], eax
mov eax, dword [ebp - 0xbe8]
mov dword [ebp - 0xb28], eax
mov ecx, dword [ebp - 0xb28]
add ecx, 0x10
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 5
call fcn.00454986
mov dword [ebp - 0xbec], eax
mov edx, dword [ebp - 0xbec]
mov dword [ebp - 0xb34], edx
mov eax, dword [ebp - 0xb34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb34]
call dword [edx + 0xc]
mov dword [ebp - 0xbf0], eax
mov eax, dword [ebp - 0xbf0]
mov dword [ebp - 0xb30], eax
mov ecx, dword [ebp - 0xb30]
add ecx, 0x10
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0045e8c6
push 0
push 0
mov cx, word [ebp - 0xb0]
push ecx
push 2
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x30]
call fcn.0045f057
mov dword [ebp - 0xbf4], eax
mov eax, dword [ebp - 0xbf4]
mov dword [ebp - 0x1c], eax
push 0x84000000
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
push 0x4688b0
mov ecx, dword [ebp - 0x1c]
call fcn.0045f26d
mov dword [ebp - 0xbf8], eax
mov edx, dword [ebp - 0xbf8]
mov dword [ebp - 0x18], edx
call fcn.00454986
mov dword [ebp - 0xbfc], eax
mov eax, dword [ebp - 0xbfc]
mov dword [ebp - 0xb3c], eax
mov ecx, dword [ebp - 0xb3c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb3c]
call dword [edx + 0xc]
mov dword [ebp - 0xc00], eax
mov eax, dword [ebp - 0xc00]
mov dword [ebp - 0xb38], eax
mov ecx, dword [ebp - 0xb38]
add ecx, 0x10
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0xa0]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0xaec], esp
push 0x4688a8
call fcn.00404420
mov dword [ebp - 0xc04], eax
call fcn.0042dd50
add esp, 0xc
mov dword [ebp - 0xc08], eax
mov ecx, dword [ebp - 0xc08]
mov dword [ebp - 0xa8], ecx
cmp dword [ebp - 0xa8], 0xfffffffc
je 0x42d76d
push 0x474f58
push 0x46889c
push 0x468894
lea edx, [ebp - 0xb4]
push edx
call fcn.0042e8b0
add esp, 0x10
mov dword [ebp - 0xc0c], eax
mov byte [ebp - 4], 8
push 0x474f58
push 0x468888
push 0x468894
lea eax, [ebp - 0x1bc]
push eax
call fcn.0042e8b0
add esp, 0x10
mov dword [ebp - 0xc10], eax
mov byte [ebp - 4], 9
push 0x100
push 0
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00444850
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x1b8]
push edx
call fcn.00444850
add esp, 0xc
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.004454c0
add esp, 8
mov edx, dword [ebp - 0x1bc]
push edx
lea eax, [ebp - 0x1b8]
push eax
call fcn.004454c0
add esp, 8
push 0
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00444520
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x2c0]
push edx
push 0x2b
mov ecx, dword [ebp - 0x18]
call fcn.0045de07
push 0
lea eax, [ebp - 0x1b8]
push eax
call fcn.00444520
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x1b8]
push ecx
push 0x2c
mov ecx, dword [ebp - 0x18]
call fcn.0045de07
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1bc]
call fcn.00401700
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb4]
call fcn.00401700
lea ecx, [ebp - 0x64]
call fcn.0042ed90
mov dword [ebp - 0x64], 0x46887c
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
lea ecx, [ebp - 0x64]
call fcn.0042ef80
mov dword [ebp - 0xac], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x90], eax
mov eax, 1
test eax, eax
je 0x42d82f
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xb54], ecx
cmp dword [ebp - 0xb54], 0
jne 0x42d7ef
mov dword [ebp - 0xb58], 0
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0xb58]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0xb58]
mov dword [ebp - 0xac], ecx
jmp 0x42d82f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x90]
cmp eax, 0x3a98
jae 0x42d816
call fcn.00431ba6
mov dword [ebp - 0xc14], eax
cmp dword [ebp - 0xc14], 0
je 0x42d820
lea ecx, [ebp - 0x64]
call fcn.0042f0f0
jmp 0x42d82f
push 1
push 5
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x42d7ab
cmp dword [ebp - 0xac], 0
jne 0x42d8c0
push 0x10
call fcn.004554b0
add esp, 4
mov dword [ebp - 0xc18], eax
mov edx, dword [ebp - 0xc18]
mov dword [ebp - 0xaf8], edx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xaf8], 0
je 0x42d889
push 0x190
mov ecx, dword [ebp - 0xaf8]
call fcn.0045e226
mov dword [ebp - 0xc1c], eax
mov eax, dword [ebp - 0xc1c]
mov dword [ebp - 0xc20], eax
jmp 0x42d893
mov dword [ebp - 0xc20], 0
mov ecx, dword [ebp - 0xc20]
mov dword [ebp - 0xaf4], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xaf4]
mov dword [ebp - 0xaf0], edx
push 0x47a3fc
lea eax, [ebp - 0xaf0]
push eax
call fcn.00445fb8
push 0x474f58
lea ecx, [ebp - 0x9c]
call fcn.00404420
mov dword [ebp - 0xc24], eax
mov byte [ebp - 4], 0xc
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 5
mov ecx, dword [ebp - 0x18]
call fcn.0045ea20
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004445ab
add esp, 4
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x84]
call sym.DWGView.exe_public:_void___thiscall_WArchive::constructor_void_
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0045df2f
mov dword [ebp - 0xc2c], eax
cmp dword [ebp - 0xc2c], 0
je 0x42db97
cmp dword [ebp - 0x98], 0xc8
jne 0x42da3c
push 0x2800
mov ecx, dword [ebp - 0x18]
call fcn.0045de23
mov ecx, 1
test ecx, ecx
je 0x42da37
mov dword [ebp - 0x6c4], 0
push 0x400
push 0
lea edx, [ebp - 0x6c0]
push edx
call fcn.00444850
add esp, 0xc
mov eax, 1
test eax, eax
je 0x42d9e7
push 0x400
lea ecx, [ebp - 0x6c0]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
call dword [eax + 0x34]
mov dword [ebp - 0xc30], eax
mov ecx, dword [ebp - 0xc30]
mov dword [ebp - 0x6c8], ecx
cmp dword [ebp - 0x6c8], 0
je 0x42d9d7
mov edx, dword [ebp - 0x6c8]
push edx
lea eax, [ebp - 0x6c0]
push eax
lea ecx, [ebp - 0x84]
call sym.DWGView.exe_public:_void___thiscall_WArchive::Append_char___long_int_
cmp dword [ebp - 0x6c8], 0x400
jae 0x42d9e5
jmp 0x42d9e7
jmp 0x42d983
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xb68], ecx
cmp dword [ebp - 0xb68], 0
jne 0x42da05
mov dword [ebp - 0xb6c], 0
jmp 0x42da1a
mov edx, dword [ebp - 0xb68]
push edx
call fcn.00444520
add esp, 4
mov dword [ebp - 0xb6c], eax
mov eax, dword [ebp - 0xb6c]
push eax
mov ecx, dword [ebp - 0xb68]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404bb0
mov dword [ebp - 0x34], 1
jmp 0x42db97
mov edx, dword [ebp - 0x98]
mov dword [0x48d4cc], edx
push 0x474f58
lea ecx, [ebp - 0x6d8]
call fcn.00404420
mov dword [ebp - 0xc34], eax
mov byte [ebp - 4], 0xe
push 0x2800
mov ecx, dword [ebp - 0x18]
call fcn.0045de23
mov eax, 1
test eax, eax
je 0x42db4c
mov dword [ebp - 0xadc], 0
push 0x400
push 0
lea ecx, [ebp - 0xad8]
push ecx
call fcn.00444850
add esp, 0xc
mov edx, 1
test edx, edx
je 0x42db00
push 0x400
lea eax, [ebp - 0xad8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
call dword [edx + 0x34]
mov dword [ebp - 0xc38], eax
mov eax, dword [ebp - 0xc38]
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0
je 0x42daf0
mov ecx, dword [ebp - 0xae0]
push ecx
lea edx, [ebp - 0xad8]
push edx
lea ecx, [ebp - 0x84]
call sym.DWGView.exe_public:_void___thiscall_WArchive::Append_char___long_int_
cmp dword [ebp - 0xae0], 0x400
jae 0x42dafe
jmp 0x42db00
jmp 0x42da9c
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb84], eax
cmp dword [ebp - 0xb84], 0
jne 0x42db1e
mov dword [ebp - 0xb88], 0
jmp 0x42db33
mov ecx, dword [ebp - 0xb84]
push ecx
call fcn.00444520
add esp, 4
mov dword [ebp - 0xb88], eax
mov edx, dword [ebp - 0xb88]
push edx
mov eax, dword [ebp - 0xb84]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.00404bb0
push 1
push 0x48d4d4
lea ecx, [ebp - 0x6d4]
call fcn.0043b381
mov dword [ebp - 0xc3c], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6d8]
push ecx
mov ecx, 0x48d4d0
call fcn.00404940
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6d4]
call fcn.0043b35f
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6d8]
call fcn.00401700
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x84]
call sym.DWGView.exe_public_virtual:_void___thiscall_WArchive::destructor_void_
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x9c]
call fcn.00401700
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.0042ee60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00401700
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00401700
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00401700
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00401700
jmp 0x42dc1b
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x42dc76
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb00], eax
mov ecx, dword [ebp - 0xb00]
mov dword [ebp - 0xafc], ecx
cmp dword [ebp - 0xafc], 0
je 0x42dc6c
push 1
mov edx, dword [ebp - 0xafc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xafc]
call dword [eax + 4]
mov dword [ebp - 0xc40], eax
jmp 0x42dc76
mov dword [ebp - 0xc40], 0
cmp dword [ebp - 0x1c], 0
je 0x42dcca
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb08], eax
mov ecx, dword [ebp - 0xb08]
mov dword [ebp - 0xb04], ecx
cmp dword [ebp - 0xb04], 0
je 0x42dcc0
push 1
mov edx, dword [ebp - 0xb04]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb04]
call dword [eax + 4]
mov dword [ebp - 0xc44], eax
jmp 0x42dcca
mov dword [ebp - 0xc44], 0
lea ecx, [ebp - 0x30]
call fcn.0045e954
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0xbc4], ecx
mov edx, dword [ebp - 0xbc4]
push edx
call fcn.00404cc0
add esp, 4
mov dword [ebp - 0xbc8], eax
mov eax, dword [ebp - 0xbc8]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb0c]
or edx, 1
mov dword [ebp - 0xb0c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0045eb06
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.004457b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret