Function at 0x412370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43f7e9
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ef30]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x34], edi
cmp byte [edi + 0x38], 0
push ecx
lea ebx, [edi + 0x1c]
mov dword [esp + 0x34], esp
jne 0x4123cf
mov eax, esp
push ebx
push str.setlicensing__remove__target_:
push eax
call fcn.004052c0
add esp, 0xc
mov dword [esp + 0xb0], 0
jmp 0x4123eb
mov ecx, esp
push ebx
push str.setlicensing__remove_viewer__target_:
push ecx
call fcn.004052c0
add esp, 0xc
mov dword [esp + 0xb0], 1
call fcn.004038f0
or ebp, 0xffffffff
mov ecx, eax
mov dword [esp + 0xb0], ebp
call fcn.00404f60
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402880
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.00403190
test al, al
jne 0x41245c
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Target_directory_does_not_exist_
call fcn.004087b0
mov dword [esp + 0xb0], 2
call fcn.004038f0
mov ecx, eax
mov dword [esp + 0xb0], ebp
call fcn.00404f60
xor al, al
jmp 0x413358
lea ecx, [esp + 0x3c]
call fcn.0040c1b0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xac], 3
mov ebp, ecx
cmp eax, ecx
jbe 0x41248b
call fcn.004259ab
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov edi, eax
cmp eax, ecx
jbe 0x41249a
call fcn.004259ab
mov edx, dword [esp + 0x3c]
push ebp
push esi
push edi
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x50]
call fcn.0040c3b0
lea ecx, [esp + 0x8c]
call fcn.0040c1b0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov byte [esp + 0xac], 4
mov ebp, eax
cmp ecx, eax
jbe 0x4124eb
call fcn.004259ab
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x8c]
mov edi, ecx
cmp ecx, eax
jbe 0x4124fd
call fcn.004259ab
mov ecx, dword [esp + 0x8c]
push ebp
push esi
push edi
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xa0]
call fcn.0040c3b0
lea ecx, [esp + 0x74]
call fcn.0040c1b0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov byte [esp + 0xac], 5
mov ebp, eax
cmp ecx, eax
jbe 0x412551
call fcn.004259ab
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x74]
mov edi, ecx
cmp ecx, eax
jbe 0x412560
call fcn.004259ab
mov eax, dword [esp + 0x74]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x88]
call fcn.0040c3b0
lea ecx, [esp + 0x5c]
call fcn.0040c1b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov byte [esp + 0xac], 6
mov ebp, eax
cmp ecx, eax
jbe 0x4125a5
call fcn.004259ab
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov edi, ecx
cmp ecx, eax
jbe 0x4125b4
call fcn.004259ab
mov edx, dword [esp + 0x5c]
push ebp
push esi
push edi
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x70]
call fcn.0040c3b0
push str.PADS9_5
lea ecx, [esp + 0x30]
call fcn.004087b0
push str.SDD_HOME_
lea ecx, [esp + 0x34]
push ebx
push ecx
mov byte [esp + 0xb8], 7
call fcn.004051e0
mov edx, dword [esp + 0x40]
add edx, 8
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xc4], 8
call fcn.00405120
add esp, 0x18
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412636
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
cmp byte [edi + 0x38], 0
jne 0x412aa2
push str.SDD_HOMEpadswin32_blazerouter.reg
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.004051e0
add esp, 0xc
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xb0], 0xb
call fcn.0040e6b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412694
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push str.SoftwareMentor_Graphics_
push edx
call fcn.004052c0
push str.PADS_RouterStatus_Window
push eax
lea eax, [esp + 0x28]
mov bl, 0xc
push eax
mov byte [esp + 0xc4], bl
call fcn.004051e0
add esp, 0x18
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 0xd
call fcn.0040e6b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412725
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x18
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0040cd70
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xe4], 0xe
call fcn.0040cd70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0xfc], 0xf
call fcn.0040cd70
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov esi, esp
push eax
mov byte [esp + 0x100], 0x10
call fcn.00402880
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x78], esp
push str.BlazeRouter
mov byte [esp + 0x104], 0x11
call fcn.004087b0
mov ecx, edi
mov byte [esp + 0x100], 0xa
call fcn.0040eee0
lea ecx, [esp + 0x74]
call fcn.0040cef0
lea ecx, [esp + 0x8c]
call fcn.0040cef0
lea ecx, [esp + 0x5c]
call fcn.0040cef0
push 0x441fb4
lea ecx, [esp + 0x1c]
call fcn.004087b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xb0], 0x12
call fcn.0040e6b0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41282b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push str.SoftwareMentor_Graphics_
push edx
call fcn.004052c0
push str.PADS_LayoutStatus_Window
push eax
lea eax, [esp + 0x28]
mov bl, 0x13
push eax
mov byte [esp + 0xc4], bl
call fcn.004051e0
add esp, 0x18
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 0x14
call fcn.0040e6b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x18
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0040cd70
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xe4], 0x15
call fcn.0040cd70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0xfc], 0x16
call fcn.0040cd70
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov esi, esp
push eax
mov byte [esp + 0x100], 0x17
call fcn.00402880
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x78], esp
push str.powerpcb
mov byte [esp + 0x104], 0x18
call fcn.004087b0
mov edi, dword [esp + 0x88]
mov ecx, edi
mov byte [esp + 0x100], 0xa
call fcn.0040eee0
lea ecx, [esp + 0x74]
call fcn.0040cef0
lea ecx, [esp + 0x8c]
call fcn.0040cef0
lea ecx, [esp + 0x5c]
call fcn.0040cef0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push str.SoftwareMentor_Graphics_
push ecx
call fcn.004052c0
push str.PADS_LogicStatus_Window
push eax
lea edx, [esp + 0x28]
mov bl, 0x19
push edx
mov byte [esp + 0xc4], bl
call fcn.004051e0
add esp, 0x18
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 0x1a
call fcn.0040e6b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4129e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x18
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0040cd70
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xe4], 0x1b
call fcn.0040cd70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0xfc], 0x1c
call fcn.0040cd70
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov esi, esp
push eax
mov byte [esp + 0x100], 0x1d
call fcn.00402880
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x78], esp
push str.powerlogic
mov byte [esp + 0x104], 0x1e
call fcn.004087b0
mov ecx, edi
jmp 0x412d14
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push str.SoftwareMentor_Graphics_
push ecx
call fcn.004052c0
push str.PADS_Layout_ViewerStatus_Window
push eax
lea edx, [esp + 0x28]
mov bl, 0x1f
push edx
mov byte [esp + 0xc4], bl
call fcn.004051e0
add esp, 0x18
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 0x20
call fcn.0040e6b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412b0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412b33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x18
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0040cd70
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xe4], 0x21
call fcn.0040cd70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0xfc], 0x22
call fcn.0040cd70
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov esi, esp
push eax
mov byte [esp + 0x100], 0x23
call fcn.00402880
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x78], esp
push str.powerpcbviewer
mov byte [esp + 0x104], 0x24
call fcn.004087b0
mov esi, dword [esp + 0x88]
mov ecx, esi
mov byte [esp + 0x100], 0xa
call fcn.0040eee0
lea ecx, [esp + 0x74]
call fcn.0040cef0
lea ecx, [esp + 0x8c]
call fcn.0040cef0
lea ecx, [esp + 0x5c]
call fcn.0040cef0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push str.SoftwareMentor_Graphics_
push ecx
call fcn.004052c0
push str.PADS_Logic_ViewerStatus_Window
push eax
lea edx, [esp + 0x28]
mov bl, 0x25
push edx
mov byte [esp + 0xc4], bl
call fcn.004051e0
add esp, 0x18
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 0x26
call fcn.0040e6b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412c5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412c85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x18
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0040cd70
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xe4], 0x27
call fcn.0040cd70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0xfc], 0x28
call fcn.0040cd70
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov edi, esp
push eax
mov byte [esp + 0x100], 0x29
call fcn.00402880
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x78], esp
push str.powerlogicviewer
mov byte [esp + 0x104], 0x2a
call fcn.004087b0
mov ecx, esi
mov byte [esp + 0x100], 0xa
call fcn.0040eee0
lea ecx, [esp + 0x74]
call fcn.0040cef0
lea ecx, [esp + 0x8c]
call fcn.0040cef0
lea ecx, [esp + 0x5c]
call fcn.0040cef0
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x48]
sar eax, 2
test eax, eax
jbe 0x4132bc
push 0x441769
lea ecx, [esp + 0x1c]
call fcn.004087b0
mov esi, dword [esp + 0x48]
mov byte [esp + 0xac], 0x2b
cmp esi, dword [esp + 0x4c]
jbe 0x412d77
call fcn.004259ab
mov ebx, dword [esp + 0x3c]
mov ebp, esi
lea ecx, [ecx]
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
jbe 0x412d8f
call fcn.004259ab
test ebx, ebx
je 0x412d99
cmp ebx, dword [esp + 0x3c]
je 0x412d9e
call fcn.004259ab
cmp ebp, edi
je 0x412e65
test ebx, ebx
jne 0x412e08
call fcn.004259ab
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x412dbb
call fcn.004259ab
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404530
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x48], eax
jbe 0x412ddf
call fcn.004259ab
mov esi, dword [esp + 0x3c]
mov edi, ebx
mov dword [esp + 0x58], ebp
test ebx, ebx
jne 0x412e0c
call fcn.004259ab
xor eax, eax
lea ecx, [ebp + 4]
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 0x10]
ja 0x412e17
test ebx, ebx
je 0x412e10
mov eax, dword [ebx]
jmp 0x412e12
mov eax, dword [ebx]
jmp 0x412db1
mov eax, dword [ebx]
jmp 0x412df4
xor eax, eax
cmp ecx, dword [eax + 0xc]
jae 0x412e1c
call fcn.004259ab
test edi, edi
je 0x412e24
cmp edi, esi
je 0x412e29
call fcn.004259ab
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
je 0x412e43
push 2
push 0x442274
lea ecx, [esp + 0x20]
call fcn.00404530
test ebx, ebx
jne 0x412e61
call fcn.004259ab
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x412e58
call fcn.004259ab
mov ebp, dword [esp + 0x14]
jmp 0x412d80
mov eax, dword [ebx]
jmp 0x412e4e
push str.Deleting_.ini_files
lea ecx, [esp + 0x28]
call fcn.004087b0
push str.The_.ini_files_may_have_been_modified._nDo_you_want_to_delete
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 0x2c
call fcn.004087b0
push 0x44221c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0xb8], 0x2d
call fcn.004051e0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0x2e
call fcn.00404530
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x2d
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412ee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
push 0x24
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x41314c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push str.Dialog:_Title_
push ecx
call fcn.004052c0
push str.__Message_
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xc4], 0x2f
call fcn.004051e0
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xd0], 0x30
call fcn.00405120
add esp, 0x20
mov ecx, esp
mov dword [esp + 0x58], esp
push str._Answer:_YES
push eax
mov bl, 0x31
push ecx
mov byte [esp + 0xbc], bl
call fcn.004051e0
add esp, 0xc
mov byte [esp + 0xb0], 0x32
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0xb0], bl
call fcn.00404f60
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x30
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x2f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412fd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x2d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ffd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp esi, eax
jbe 0x413012
call fcn.004259ab
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
mov ebx, eax
cmp dword [esp + 0x48], eax
jbe 0x413023
call fcn.004259ab
test edi, edi
je 0x41302d
cmp edi, dword [esp + 0x3c]
je 0x413032
call fcn.004259ab
cmp esi, ebx
je 0x413244
test edi, edi
jne 0x413136
call fcn.004259ab
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x413053
call fcn.004259ab
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push esi
lea edx, [esp + 0x30]
push edx
push ecx
call fcn.00405120
mov ecx, dword [esp + 0x44]
add esp, 0xc
call fcn.004031f0
test al, al
je 0x413115
test edi, edi
jne 0x41313d
call fcn.004259ab
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x413093
call fcn.004259ab
push ecx
mov eax, esp
mov dword [esp + 0x58], esp
push str.___file_removed_
push esi
push eax
call fcn.004051e0
add esp, 0xc
mov byte [esp + 0xb0], 0x33
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0xb0], 0x2d
call fcn.00404f60
test edi, edi
jne 0x413144
call fcn.004259ab
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4130da
call fcn.004259ab
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00405120
mov eax, dword [eax]
push eax
call fcn.00426abb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x413148
call fcn.004259ab
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41312a
call fcn.004259ab
mov eax, dword [esp + 0x4c]
add esi, 4
jmp 0x413016
mov eax, dword [edi]
jmp 0x413049
mov eax, dword [edi]
jmp 0x413089
mov eax, dword [edi]
jmp 0x4130d0
mov eax, dword [edi]
jmp 0x413120
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push str.Dialog:_Title_
push edx
call fcn.004052c0
push str.__Message__
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xc4], 0x34
call fcn.004051e0
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xd0], 0x35
call fcn.00405120
add esp, 0x20
mov ecx, esp
mov dword [esp + 0x58], esp
push str._Answer:_NO
push eax
mov bl, 0x36
push ecx
mov byte [esp + 0xbc], bl
call fcn.004051e0
add esp, 0xc
mov byte [esp + 0xb0], 0x37
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0xb0], bl
call fcn.00404f60
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x35
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4131f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x34
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41321c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x2d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x2c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41326c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0x2b
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413294
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xac], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4132bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xac], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4132e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xac], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41330c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 5
call fcn.0040ce70
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 4
call fcn.0040ce70
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 3
call fcn.0040ce70
lea ecx, [esp + 0x3c]
mov dword [esp + 0xac], 0xffffffff
call fcn.0040ce70
mov al, 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret