Function at 0x4168b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x420], edi
jne 0x416933
push ebx
push str.templateWindow
push 0x25e
push str.........CommonCommonRunView.cpp
lea eax, [ebx + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x416933
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
test edi, edi
jne 0x416952
mov ecx, dword [0x5f3a58]
call fcn.004f2580
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xb4], 0
push esi
jne 0x416978
xor esi, esi
push 0x265
push str.........CommonCommonRunView.cpp
mov edx, str.templateWindow__mEmbeddedWindowControl
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0xb8], edi
add word [ebx + 0x46], cx
add word [ebx + 0x4a], cx
add word [ebx + 0x44], dx
add word [ebx + 0x48], dx
cmp eax, 0xffffffff
je 0x4169a7
mov si, word [ebx + 0x46]
add si, ax
mov word [ebx + 0x4a], si
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x4169ba
mov si, word [ebx + 0x44]
add si, ax
mov word [ebx + 0x48], si
mov esi, edi
mov edi, dword [edi + 0xb8]
test edi, edi
mov dword [ebp - 0x414], esi
je 0x4169f2
mov eax, edi
jmp 0x4169d6
mov esi, dword [ebp - 0x414]
movsx edi, word [esi + 0x46]
movsx esi, word [esi + 0x44]
mov dword [ebp - 0x414], eax
mov eax, dword [eax + 0xb8]
add ecx, edi
add edx, esi
test eax, eax
jne 0x4169d0
mov eax, dword [ebx + 0xb4]
add word [eax + 0x54], cx
add word [eax + 0x58], cx
add word [eax + 0x52], dx
add word [eax + 0x56], dx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x408], eax
add eax, 0x52
mov dword [ebp - 0x410], eax
mov eax, dword [edx + 4]
test eax, eax
mov dword [ebp - 0x424], eax
je 0x416a2a
add dword [eax], 1
mov edi, 1
mov esi, 0x57f9b8
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
call fcn.004ab970
mov esi, dword [ebp - 0x418]
test esi, esi
je 0x416a5a
mov dword [esi + 0x10], 0x600
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.004ac650
add esp, 0xc
test esi, esi
je 0x416a80
call fcn.004ab850
mov esi, dword [ebp - 0x424]
test esi, esi
je 0x416a8f
call fcn.004ab850
mov esi, dword [ebp - 0x408]
mov eax, dword [ebp - 0x41c]
mov edi, dword [ebp - 0x420]
push esi
push eax
push edi
call fcn.00506c50
mov ecx, dword [ebx + 0xc0]
push ecx
push 0
push esi
call fcn.004b9b40
add esp, 0x18
cmp dword [esi + 0x30], 0
jne 0x416adf
cmp dword [edi + 0xb4], 0
je 0x416adf
mov edx, dword [edi + 0xb4]
mov eax, dword [edx + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0xb4]
mov dword [esi + 0x30], ecx
mov eax, dword [ebp - 0x414]
mov dword [esi + 0x60], eax
mov edx, dword [eax + 0x3c]
mov ebx, esi
mov dword [esi + 0x5c], edx
call fcn.00418d70
cmp dword [esi + 0x30], 0
jne 0x416b08
push 0
push 0
push esi
call fcn.004b9d00
add esp, 0xc
mov edi, dword [esi + 0x38]
test edi, edi
je 0x416b47
mov eax, dword [edi]
mov edx, dword [eax + 0x7c]
mov ecx, edi
call edx
test eax, eax
je 0x416b2d
movzx ecx, byte [eax + 0x4d]
mov edx, dword [eax]
mov edx, dword [edx + 0x118]
push ecx
mov ecx, eax
call edx
cmp byte [edi + 0x4c], 0
je 0x416b47
cmp byte [edi + 0x4d], 0
je 0x416b47
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
push 1
mov ecx, edi
call edx
mov eax, dword [ebp - 0x420]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x416b68
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x416b68
push esi
call fcn.004ff480
add esp, 4
cmp byte [esi + 0x88], 0
mov ebx, dword [ebp - 0x40c]
jne 0x416b7e
mov byte [ebx + 0xbc], 1
mov eax, dword [ebx + 8]
test eax, eax
je 0x416c43
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x28], 0
jle 0x416c43
mov edx, dword [0x5b28c8]
mov ecx, dword [edx + 0x20]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x416c43
cmp byte [ebx + 0xbc], 0
push ebx
push ebx
je 0x416bbf
call eax
add esp, 8
jmp 0x416c43
call eax
mov edi, dword [ebx + 0xa4]
push 0x18
call fcn.005662c8
add esp, 0xc
test eax, eax
je 0x416bfb
mov esi, eax
call fcn.00410ba0
mov edi, eax
mov edi, edi
mov esi, dword [ebp - 0x408]
cmp byte [edi + 8], 0
je 0x416bff
mov eax, dword [edi + 0xc]
test eax, eax
je 0x416c39
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
jmp 0x416c03
xor edi, edi
jmp 0x416be6
mov byte [edi + 8], 1
mov eax, dword [edi + 0xc]
test eax, eax
je 0x416c39
cmp byte [edi + 8], 0
je 0x416c39
mov esi, dword [eax + 8]
test esi, esi
mov ecx, dword [eax + 0xc]
je 0x416c1d
add dword [esi], 1
mov eax, dword [ebp - 0x408]
push ecx
push esi
push eax
call fcn.004b9ec0
add esp, 0xc
test esi, esi
je 0x416be0
call fcn.004ab850
jmp 0x416be0
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov edi, dword [ebx + 0x90]
push 0x18
call fcn.005662c8
add esp, 4
test eax, eax
jne 0x416c5b
xor edi, edi
jmp 0x416c70
mov esi, eax
call fcn.00410ba0
mov edi, eax
mov esi, dword [ebp - 0x408]
lea ebx, [ebx]
cmp byte [edi + 8], 0
je 0x416c85
mov eax, dword [edi + 0xc]
test eax, eax
je 0x416c89
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
jmp 0x416c89
mov byte [edi + 8], 1
mov eax, dword [edi + 0xc]
test eax, eax
je 0x416d7c
cmp byte [edi + 8], 0
je 0x416d7c
mov esi, dword [eax + 0xc]
call fcn.004b5e10
push eax
call fcn.0047a430
push eax
push esi
call fcn.004ff5b0
add esp, 0xc
test al, al
je 0x416d18
cmp dword [esi + 0x38], 0
jne 0x416c64
cmp dword [esi + 0x30], 0
mov ecx, dword [ebp - 0x408]
jne 0x416cd5
mov edx, dword [ecx + 0x44]
mov dword [esi + 0x44], edx
mov dword [esi + 0x30], ecx
movsx ecx, word [ecx + 0x54]
mov eax, dword [ebp - 0x410]
movsx eax, word [eax]
add word [esi + 0x52], ax
add word [esi + 0x56], ax
add word [esi + 0x54], cx
add word [esi + 0x58], cx
mov eax, dword [ebp - 0x414]
mov dword [esi + 0x60], eax
mov ecx, dword [eax + 0x3c]
mov ebx, esi
mov dword [esi + 0x5c], ecx
call fcn.00418d70
mov edx, dword [ebp - 0x40c]
mov dword [esi + 0x60], edx
mov ebx, edx
jmp 0x416c64
call fcn.0050ba10
push eax
call fcn.0047a430
push eax
push esi
call fcn.004ff5b0
add esp, 0xc
test al, al
je 0x416c64
cmp dword [esi + 0xb8], 0
jne 0x416c64
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ebx
push esi
call fcn.004168b0
mov edi, dword [ebx + 0x90]
push 0x18
call fcn.005662c8
add esp, 0x20
test eax, eax
jne 0x416c5b
xor edi, edi
jmp 0x416c64
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x416d9c
movzx edx, byte [ecx + 0x4d]
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
push edx
call eax
mov eax, dword [ebp + 0x18]
cmp eax, 0xffffffff
je 0x416db1
mov cx, word [esi + 0x54]
add cx, ax
mov word [esi + 0x58], cx
jmp 0x416dc1
mov dx, word [ebx + 0x4a]
sub dx, word [ebx + 0x46]
add dx, word [esi + 0x54]
mov word [esi + 0x58], dx
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
mov ecx, dword [ebp - 0x410]
je 0x416ddb
mov dx, word [ecx]
add dx, ax
mov word [esi + 0x56], dx
jmp 0x416dea
mov ax, word [ebx + 0x48]
sub ax, word [ebx + 0x44]
add ax, word [ecx]
mov word [esi + 0x56], ax
cmp byte [ebp + 0x20], 0
jne 0x416e0f
push ebx
call fcn.005090d0
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
add esp, 4
call eax
mov eax, ebx
call fcn.00509070
jmp 0x416e25
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x410]
mov edx, dword [edx + 0x1a8]
push 0
push eax
call edx
mov esi, dword [ebp - 0x41c]
test esi, esi
je 0x416e34
call fcn.004ab850
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret