Function at 0x55b280
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 8], eax
test esi, esi
push ebx
push edi
mov ebx, ecx
jne 0x55b2f3
push esi
push str.rBounds
push 0xeb7
push str.........CommonClassLibwindow.cpp
lea eax, [esi + 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 - 0x40c]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x40c]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x55b2f3
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
movsx ecx, word [esi]
movsx edi, word [esi + 6]
movsx edx, word [esi + 2]
movsx eax, word [esi + 4]
sub eax, ecx
sub edi, edx
cmp ebx, 0xd
mov dword [ebp - 0x41c], eax
mov ecx, 2
ja case.0x55b31d.0
movzx edx, byte [ebx + 0x55b668]
jmp dword [edx*4 + 0x55b658]
xor ecx, ecx
jmp case.0x55b31d.0
mov ecx, 1
jmp case.0x55b31d.0
mov ecx, 3
xor eax, eax
mov dword [ebp - 0x420], eax
mov word [ebp - 0x418], ax
mov word [ebp - 0x416], ax
mov word [ebp - 0x414], ax
mov word [ebp - 0x412], ax
mov eax, 0x55b090
call fcn.0055c910
test al, al
jne 0x55b37d
mov ecx, dword [0x5f4d48]
lea ebx, [ebp - 0x418]
mov dword [ebp - 0x420], ecx
call fcn.0055bf10
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x55b39f
add word [esi], 0x64
mov eax, 4
add word [esi + 2], ax
add word [esi + 6], ax
add word [esi + 4], 0x64
jmp 0x55b52c
cmp ebx, 1
jne 0x55b3f2
cmp dword [ebp - 0x420], 0
je 0x55b3e4
movsx ebx, word [ebp - 0x416]
movsx eax, word [ebp - 0x412]
movsx ecx, word [ebp - 0x418]
sub eax, ebx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, ebx
add word [esi + 2], ax
add word [esi + 6], ax
add ecx, 0x1e
add word [esi], cx
add word [esi + 4], cx
jmp 0x55b52c
mov dword [ebp + 8], 2
mov ebx, dword [ebp + 8]
xor eax, eax
jmp 0x55b40f
cmp ebx, 2
je 0x55b3ee
cmp ebx, 3
je 0x55b401
cmp ebx, 5
jne 0x55b46f
lea ebx, [ebp - 0x418]
call fcn.0055b100
mov ebx, dword [ebp + 8]
push eax
call fcn.0050d0b0
mov ecx, eax
xor eax, eax
add esp, 4
cmp ebx, 5
setne al
add eax, 2
mov ebx, eax
mov eax, dword [ecx + 0x28]
sub eax, dword [ebp - 0x41c]
cdq
idiv ebx
mov ebx, eax
mov eax, dword [ecx + 0x24]
add ebx, dword [ecx + 0x20]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 0x1c]
add word [esi], bx
add word [esi + 2], ax
add word [esi + 6], ax
add word [esi + 4], bx
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x55b46c
add eax, 0xffffffff
mov dword [ecx + 0xc], eax
jne 0x55b46c
push ecx
call fcn.004ff480
add esp, 4
mov ebx, dword [ebp + 8]
cmp ebx, 4
jne 0x55b52c
cmp dword [ebp - 0x420], 0
je 0x55b516
lea ebx, [ebp - 0x418]
call fcn.0055b100
push eax
call fcn.0050d0b0
movsx edx, word [ebp - 0x412]
mov ecx, dword [eax + 0x38]
add ecx, dword [eax + 0x30]
add edx, 0x14
add esp, 4
cmp edx, ecx
jg 0x55b4e6
movsx edx, word [ebp - 0x414]
mov ecx, dword [eax + 0x3c]
add ecx, dword [eax + 0x34]
add edx, 0x14
cmp edx, ecx
jg 0x55b4e6
movsx ecx, word [ebp - 0x418]
movsx edx, word [ebp - 0x416]
add edx, 0x14
add word [esi + 2], dx
add word [esi + 6], dx
add ecx, 0x14
add word [esi], cx
add word [esi + 4], cx
jmp 0x55b4fc
add word [esi], 0x32
mov ecx, 0xa
add word [esi + 2], cx
add word [esi + 6], cx
add word [esi + 4], 0x32
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x55b52c
add ecx, 0xffffffff
mov dword [eax + 0xc], ecx
jne 0x55b52c
push eax
call fcn.004ff480
add esp, 4
jmp 0x55b52c
add word [esi], 0x32
mov ecx, 0xa
add word [esi + 2], cx
add word [esi + 6], cx
add word [esi + 4], 0x32
mov ebx, esi
call fcn.0055b100
push eax
call fcn.0050d0b0
movzx ecx, word [eax + 0x34]
mov dx, word [eax + 0x30]
mov word [ebp - 0x418], cx
mov cx, word [eax + 0x3c]
add cx, word [eax + 0x34]
add esp, 4
mov word [ebp - 0x414], cx
mov cx, word [eax + 0x38]
add cx, dx
mov word [ebp - 0x412], cx
mov ecx, dword [eax + 0xc]
test ecx, ecx
mov word [ebp - 0x416], dx
jle 0x55b587
add ecx, 0xffffffff
mov dword [eax + 0xc], ecx
jne 0x55b587
push eax
call fcn.004ff480
add esp, 4
movzx ecx, word [esi + 2]
movzx eax, word [esi + 6]
movsx edx, cx
movsx eax, ax
sub eax, edx
movzx edx, word [esi + 4]
mov dword [ebp - 0x41c], eax
movzx eax, word [esi]
movsx ebx, ax
movsx edi, dx
sub edi, ebx
mov bx, word [ebp - 0x416]
cmp cx, bx
jge 0x55b5c5
mov ecx, dword [ebp - 0x416]
add ecx, 2
mov word [esi + 2], cx
cmp dx, word [ebp - 0x414]
jle 0x55b5dd
sub eax, edx
mov edx, dword [ebp - 0x414]
lea eax, [eax + edx - 2]
mov word [esi], ax
movzx eax, word [esi + 6]
cmp ax, word [ebp - 0x412]
jle 0x55b60f
mov ecx, dword [ebp - 0x412]
sub ecx, eax
sub ecx, 2
add word [esi + 2], cx
movzx eax, word [esi + 2]
cmp ax, bx
jge 0x55b60f
mov edx, dword [ebp - 0x416]
add edx, 2
mov word [esi + 2], dx
movsx eax, word [ebp - 0x418]
movsx ecx, word [esi]
add eax, 0x19
cmp ecx, eax
jge 0x55b62c
mov edx, dword [ebp - 0x418]
add edx, 0x19
mov word [esi], dx
mov cx, word [esi]
mov ax, word [esi + 2]
add ax, word [ebp - 0x41c]
add cx, di
mov word [esi + 4], cx
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
mov word [esi + 6], ax
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret